Granary environment abnormity judgment method based on Internet of Things
Through the Internet of Things method, the granary area is divided and the granary environment is analyzed, the problem of inaccurate judgment of the granary environment is solved, and the accurate monitoring and judgment of the granary environment is achieved.
Patent Information
- Application Number
- CN202411203789.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-22
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art fails to accurately partition analysis when judging granary environments, resulting in inaccurate judgment results.
Using the Internet of Things method, we obtain granary types and grain stacking methods, divide granary areas, obtain grain data and environmental information in the partition, calculate supervision coefficients and environmental abnormality levels, and generate abnormal signals or normal signals.
Accurate judgment of the granary environment is achieved, and the accuracy of the judgment results is improved through partition monitoring and multivariate analysis.
Smart Images

Figure CN119005864A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of environmental anomaly determination, and specifically is a method for determining an environmental anomaly in a granary based on the Internet of Things. Background Art
[0002] Granaries are buildings or facilities used to store grain, and their background can be traced back to the origin of human agricultural civilization. In ancient times, people began to engage in agricultural production and grow grain crops. In order to store the harvested grain, they built simple granaries; over time, the design and function of granaries were improved and expanded. In different stages and regions of agricultural development, the form and structure of granaries are also different. The main purpose of granaries has always been to protect grain from moisture, pests and other damaging factors to ensure the preservation and storage of grain, so it is necessary to promptly and accurately detect abnormal conditions in granaries.
[0003] However, at present, when judging the granary environment, in most cases, a number of collection points are randomly selected in the granary, and the data of the collection points are statistically used to judge the granary situation, without dividing the granary into a number of granary partitions, and then each granary partition is not analyzed separately, which leads to inaccurate judgment results of the granary environment; To this end, we propose a method for determining granary environmental anomalies based on the Internet of Things. Summary of the invention
[0004] The purpose of the present invention is to propose a method for determining an abnormality in a granary environment based on the Internet of Things to solve the problems raised in the above-mentioned background technology.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions: A method for determining an abnormality in a granary environment based on the Internet of Things. The method for determining an abnormality in a granary environment is as follows: Step S1, obtaining the granary type of the target granary and the grain stacking method in the target granary, and dividing the target granary into regions; Step S2, then obtaining the grain data corresponding to the grain stored in the granary partition, and obtaining the supervision coefficient of the corresponding granary partition based on the grain data; Step S3, obtaining the partition environment information of the granary partition corresponding to the target granary; Step S4, analyzing the granary environment of the target granary to obtain an abnormal level of the environment of the target granary or generate a normal signal; Step S5: The user terminal receives the normal signal, abnormal signal or environmental abnormality level corresponding to the target granary, and the user responds according to the received signal or level.
[0006] Specifically, the types of granaries include bungalow-type granaries and vertical-type granaries; The stacking methods include plane stacking, slope stacking and column stacking; The partition environment information includes the real-time temperature value, real-time humidity value and real-time oxygen concentration value within the granary partition.
[0007] Specifically, step S1 includes the following sub-steps: Step S11: if the target granary is a vertical granary, the vertical granary is divided into regions. The division process is as follows: Step S111, obtaining the granary height corresponding to the vertical granary and the height of the grain in the granary, and then obtaining the grain proportion corresponding to the target granary by dividing the grain height by the granary height; Step S112: if the grain proportion is greater than or equal to the proportion threshold, the target granary is recorded as a full granary; if the grain proportion is less than the proportion threshold, the target granary is recorded as a not full granary; Step S113, for the target granary corresponding to the unfull granary, dividing the target granary into a plurality of granary partitions according to a fixed granary height; Step S114, for the target granary corresponding to the full granary, a certain amount of sample grains are drawn from the bottom of the target granary, the number of damaged grains and the total number of grains in the sample grains are recorded, and the grain damage rate of the sample grains is obtained by dividing the number of damaged grains by the total number of grains; Step S115: if the grain damage rate is greater than the damage rate threshold, an abnormal signal is generated and sent to the user terminal; if the grain damage rate is less than or equal to the damage rate threshold, the bottom area of the target granary and the weight of the grain stored in the target granary are obtained, and the bottom pressure of the grain at the bottom of the target granary is calculated by dividing the grain weight by the bottom area of the granary; Step S116: if the bottom pressure is greater than or equal to the pressure threshold, an abnormal signal is generated, and it is determined that the bottom grain will be damaged due to the high pressure; if the bottom pressure is less than the pressure threshold, the target grain silo is divided into several grain silo partitions according to the silo height of the target grain silo; Step S12: if the target granary is a bungalow-type granary, the bungalow-type granary is divided into regions corresponding to the target granary. The division process is specifically as follows: Step S121, recording the grain in the target granary as a flat grain pile and an inclined grain pile according to the stacking method; Step S122, obtaining the floor area of the planar grain pile, and the floor area ZDM and stacking height DJG corresponding to the inclined grain pile, and then calculating the stacking volume DJT corresponding to the inclined grain pile by a calculation formula, the specific calculation formula is: DJT=ZDM×DJG×π / 3; Step S123, comparing the stacking volume of the grain pile on the slope with the volume threshold, if the stacking volume of the grain pile on the slope is greater than or equal to the volume threshold, the corresponding grain pile on the slope is recorded as a granary partition, if the stacking volume of the grain pile on the slope is less than the volume threshold, the corresponding grain pile on the slope and its adjacent grain pile on the plane are regarded as granary partitions; Step S124: for the remaining planar grain piles, each planar grain pile is recorded as a separate grain bin partition.
[0008] Specifically, the process of determining damaged grains in step S114 is as follows: Step S1141, obtaining a grain appearance image of each grain in the sample grain; wherein the grain appearance image is specifically an outer surface image corresponding to each grain in the sample grain; Step S1142, sequentially comparing the grain appearance image with the appearance images corresponding to the various pests, if there is a grain appearance image that matches the appearance image of any one of the pests, the grain corresponding to the grain appearance image is recorded as a damaged grain; Step S1143, if the grain appearance image does not match the appearance images of all pests, proceed to the next step; Step S1144, if the color shown in the grain appearance image is the same as any moldy color, the grain corresponding to the grain appearance image is recorded as damaged grain; if the color shown in the grain appearance image is different from all moldy colors, no operation is performed.
[0009] Specifically, the grain data includes the grain entry date, grain usage, grain expected exit date, and biological activity information in the grain storage partition corresponding to the grain stored in the grain storage partition; Food uses include food consumption, livestock feed, and industrial processing; Biological activity information was the number of rodent sightings and rodent droppings sightings in the granary subarea within a week.
[0010] Specifically, step S2 includes the following sub-steps: Step S21, if there is a grain outbound date for the grain stored in the grain silo partition, the grain pre-storage date LYC of the grain stored in the corresponding grain silo partition is obtained by subtracting the grain inbound date from the grain outbound date; If there is no grain exit date for the grain stored in the granary partition, the grain storage date LYC of the grain stored in the corresponding granary partition is obtained by subtracting the grain entry date from the current date; Step S22, obtaining biological activity information in the granary partition. If the number of rodent sightings and rodent feces sightings in the granary partition within a week are both zero, the grain supervision value LJ of the grain stored in the corresponding granary partition is calculated by the formula. The specific formula is as follows: LJ=LYC×A1+YTS×A2; where A1 and A2 are weight coefficients with fixed values, A1<A2; YTS is the use correction value corresponding to grain use, the use correction value corresponding to grain use for food consumption is greater than the use correction value corresponding to grain use for animal husbandry and feed, and the use correction value corresponding to grain use for animal husbandry and feed is greater than the use correction value corresponding to grain use for industrial processing; Step S23, if any one of the number of rodent sightings and the number of rodent feces sightings in the granary partition within one week is not zero, then the sum of the number of rodent sightings and the number of rodent feces sightings is calculated and recorded as the biological anomaly number SYC; Step S24, if the number of biological anomalies is greater than or equal to the anomaly number threshold, an anomaly signal is generated and sent to the user terminal; if the number of biological anomalies is less than the anomaly number threshold, the grain supervision value LJ corresponding to the corresponding granary partition is calculated by the formula LJ=SYC×(LYC×A1+YTS×A2); Step S25, if the grain supervision value is greater than or equal to the first correction threshold, the supervision coefficient of the corresponding grain zone is set to the first supervision coefficient; if the grain supervision value is less than the first correction threshold but greater than or equal to the second correction threshold, the supervision coefficient of the corresponding grain zone is set to the second supervision coefficient; if the grain supervision value is less than the second correction threshold, the supervision coefficient of the corresponding grain zone is set to the third supervision coefficient.
[0011] Specifically, the first correction threshold is greater than the second correction threshold; The first supervision coefficient, the second supervision coefficient and the third supervision coefficient are all positive integers greater than or equal to 1, and the first supervision coefficient is greater than the second supervision coefficient, and the second supervision coefficient is greater than the third supervision coefficient.
[0012] Specifically, step S3 also includes the following sub-steps: Step S31, if the target granary is a vertical granary, a detection device is placed at the horizontal center line of each granary partition of the target granary, and the real-time temperature value, real-time humidity value and real-time oxygen concentration value corresponding to each granary partition are measured; Step S32, if the target granary is a bungalow-type granary, the floor area of the corresponding granary partition is obtained, and the preset number of detection equipment in the granary partition is obtained according to the floor area of the granary partition; The actual number of detection equipment in the corresponding granary partition is obtained by multiplying the preset number by the supervision coefficient, and then the corresponding number of detection equipment is installed for each granary partition according to the actual number, and the real-time temperature value, real-time humidity value and real-time oxygen concentration value of the corresponding number of groups in each granary partition are collected; Step S33, add the real-time temperature values of the corresponding groups in each granary partition and take the average to obtain the real-time temperature value of the corresponding granary partition. Similarly, add the real-time temperature values and real-time oxygen concentration values of the corresponding groups in each granary partition and take the average to obtain the real-time humidity value and real-time oxygen concentration value of the corresponding granary partition.
[0013] Specifically, the step S4 further includes the following sub-steps: Step S41, obtaining the partition real-time temperature value SWDn, partition real-time humidity value SSDn and partition real-time oxygen concentration value SYQn corresponding to each granary partition in the target granary; wherein n is the number of the granary partition, n=1, 2..., z, z is a positive integer; Step S42, comparing the real-time temperature value, the real-time humidity value and the real-time oxygen concentration value of each granary partition in the target granary with the corresponding thresholds in sequence; If the partition real-time temperature value, partition real-time humidity value and partition real-time oxygen concentration value corresponding to the granary partition in the target granary are all less than or equal to the corresponding threshold value, no operation is performed; if any of the partition real-time temperature value, partition real-time humidity value and partition real-time oxygen concentration value corresponding to the granary partition in the target granary is greater than the corresponding threshold value, the value of the abnormal coefficient value YCX corresponding to the target granary is increased by one; wherein the initial value of the abnormal coefficient value is zero; Step S43, after all the granary partitions in the target granary are compared, if the abnormal coefficient value is greater than or equal to the coefficient threshold, an abnormal signal is generated and sent to the user terminal; Step S44, if the abnormal coefficient value is less than the coefficient threshold, the environmental abnormal value HYD corresponding to the target granary is calculated by a calculation formula; Step S45: if the environmental abnormality value is greater than the first level threshold, the environmental abnormality level of the target granary is recorded as the first level environmental abnormality; if the environmental abnormality value is less than or equal to the first level threshold and the environmental abnormality value is greater than the second level threshold, the environmental abnormality level of the target granary is recorded as the second level environmental abnormality; if the environmental abnormality value is less than or equal to the second level threshold, a normal signal is generated and sent to the user terminal; Among them, the first level threshold is greater than the second level threshold; the probability of grain damage in the target granary corresponding to the first level environmental anomaly is greater than the probability of grain damage in the target granary corresponding to the second level environmental anomaly.
[0014] Specifically, the calculation formula for environmental anomalies is: ; In the formula, e is a natural constant.
[0015] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: On the one hand, the present invention obtains the granary type of the target granary and the stacking method of the grain in the target granary, and divides the target granary into areas, and then obtains the grain data corresponding to the grain stored in the granary area, and obtains the supervision coefficient of the corresponding granary area based on the grain data. On the other hand, the partition environment information of the granary area corresponding to the target granary is obtained, and the granary environment of the target granary is analyzed in combination with the two aspects to obtain the environmental abnormality level of the target granary or generate a normal signal. The user responds according to the received signal or level. The present invention divides the granary into areas, and sets a corresponding monitoring method in combination with multiple factors, so as to achieve accurate judgment of the granary environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0017] Figure 1 The figure is a flow chart of the method of the present invention.
[0018] Figure 2 It is a schematic diagram of the division of the neutral cylinder granary partitions of the present invention.
[0019] Figure 3 It is the front view of the bungalow-type granary in the present invention.
[0020] Figure 4 It is a top view of the bungalow-type granary in the present invention.
[0021] Figure 5 It is a schematic diagram of the structure of the electronic device in the present invention. DETAILED DESCRIPTION
[0022] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.
[0023] Example 1: Please refer to Figure 1-Figure 4 As shown, the technical solution provided by the present invention is: a method for determining an abnormality in a granary environment based on the Internet of Things, comprising: Step S1, obtaining the granary type of the target granary and the grain stacking method in the target granary, and dividing the target granary into regions; It should be specifically explained that granary types include bungalow-type granaries and vertical granaries, and the stacking methods include plane stacking, slope stacking and column stacking. Among them, bungalow-type granaries refer to room-type warehouses used to store grains. They are the largest type of granaries. Bungalow-type granaries use plane stacking or slope stacking to store one or more different types of grains, while vertical granaries are a type of granaries with a smaller footprint. Vertical granaries are usually only used to store one type of grain in the form of column stacking. In this embodiment, the above step S1 specifically includes the following sub-steps: Step S11, as Figure 2 As shown in the figure, if the target granary is a vertical granary, the vertical granary is divided into regions, and the division process is as follows: Step S111, obtaining the granary height corresponding to the vertical granary and the height of the grain in the granary, and then obtaining the grain proportion corresponding to the target granary by dividing the grain height by the granary height; Step S112: if the grain proportion is greater than or equal to the proportion threshold, the target granary is recorded as a full granary; if the grain proportion is less than the proportion threshold, the target granary is recorded as a not full granary; Step S113, for the target granary corresponding to the unfull granary, dividing the target granary into a plurality of granary partitions according to a fixed granary height; Step S114, for the target granary corresponding to the full granary, a certain amount of sample grains are drawn from the bottom of the target granary, the number of damaged grains and the total number of grains in the sample grains are recorded, and the grain damage rate of the sample grains is obtained by dividing the number of damaged grains by the total number of grains; Step S115: if the grain damage rate is greater than the damage rate threshold, an abnormal signal is generated and sent to the user terminal; if the grain damage rate is less than or equal to the damage rate threshold, the bottom area of the target granary and the weight of the grain stored in the target granary are obtained, and the bottom pressure of the grain at the bottom of the target granary is calculated by dividing the grain weight by the bottom area of the granary; The process of determining damaged grains in step S114 is as follows: Step S1141, obtaining a grain appearance image of each grain in the sample grain; wherein the grain appearance image is specifically an outer surface image corresponding to each grain in the sample grain; Step S1142, sequentially comparing the grain appearance image with the appearance images corresponding to the various pests, if there is a grain appearance image that matches the appearance image of any one of the pests, the grain corresponding to the grain appearance image is recorded as a damaged grain; Step S1143, if the grain appearance image does not match the appearance images of all pests, proceed to the next step; Step S1144, if the color shown in the grain appearance image is the same as any moldy color, the grain corresponding to the grain appearance image is recorded as a damaged grain; if the color shown in the grain appearance image is different from all moldy colors, no operation is performed; For example, if the grain in this embodiment is corn, the moldy colors of corn include black, dark brown, green, and blue-green, etc.; if the grain in this embodiment is wheat, the moldy colors of wheat include black, red, and orange, etc. The above are only common examples. In fact, different types of grains may have more color changes when they become moldy. Step S116: if the bottom pressure is greater than or equal to the pressure threshold, an abnormal signal is generated, and it is determined that the bottom grain will be damaged due to the high pressure; if the bottom pressure is less than the pressure threshold, the target grain silo is divided into several grain silo partitions according to the silo height of the target grain silo; Step S12, as Figure 3 and Figure 4 As shown, if the target granary is a bungalow-type granary, the bungalow-type granary is divided into regions corresponding to the target granary. The specific division process is as follows: Step S121, recording the grain in the target granary as a flat grain pile and an inclined grain pile according to the stacking method; Step S122, obtaining the floor area of the planar grain pile, and the floor area ZDM and stacking height DJG corresponding to the inclined grain pile, and then calculating the stacking volume DJT corresponding to the inclined grain pile by a calculation formula, the specific calculation formula is: DJT=ZDM×DJG×π / 3; Step S123, comparing the stacking volume of the grain pile on the slope with the volume threshold, if the stacking volume of the grain pile on the slope is greater than or equal to the volume threshold, the corresponding grain pile on the slope is recorded as a granary partition, if the stacking volume of the grain pile on the slope is less than the volume threshold, the corresponding grain pile on the slope and its adjacent grain pile on the plane are regarded as granary partitions; Step S124, for the remaining planar grain piles, each planar grain pile is recorded as a separate grain bin partition; Step S2, then obtaining the grain data corresponding to the grain stored in the granary partition, and obtaining the supervision coefficient of the corresponding granary partition based on the grain data; It should be specifically stated that the grain data specifically refers to the grain storage date, grain use, expected grain storage date and biological activity information in the grain storage area; the grain use specifically includes food consumption, livestock feed and industrial processing; the biological activity information specifically refers to the number of rodents and rodent feces found in the grain storage area within a week; the expected grain storage date may not exist; Furthermore, the step S2 includes the following sub-steps: Step S21, if there is a grain outgoing date for the grain stored in the granary partition, the grain pre-storage date LYC of the grain stored in the corresponding granary partition is obtained by subtracting the grain entry date from the grain outgoing date; if there is no grain outgoing date for the grain stored in the granary partition, the grain pre-storage date LYC of the grain stored in the corresponding granary partition is obtained by subtracting the grain entry date from the current date; Step S22, obtaining biological activity information in the granary partition, if the number of rodent sightings and rodent feces sightings in the granary partition within a week are both zero, calculate the grain supervision value LJ of the grain stored in the corresponding granary partition, the specific formula is as follows: LJ=LYC×A1+YTS×A2; where A1 and A2 are weight coefficients with fixed values, A1<A2; YTS is the use correction value corresponding to grain use, the use correction value corresponding to grain use for food consumption is greater than the use correction value corresponding to grain use for animal husbandry and feed, and the use correction value corresponding to grain use for animal husbandry and feed is greater than the use correction value corresponding to grain use for industrial processing; Step S23, if any one of the number of rodent sightings and the number of rodent feces sightings in the granary partition within one week is not zero, then the sum of the number of rodent sightings and the number of rodent feces sightings is calculated and recorded as the biological anomaly number SYC; Step S24: If the number of biological anomalies is greater than or equal to the anomaly threshold, an anomaly signal is generated and sent to the user terminal. If the number of biological anomalies is less than the anomaly threshold, the grain supervision value LJ corresponding to the corresponding granary partition is calculated by the formula. The specific formula is as follows: LJ=SYC×(LYC×A1+YTS×A2); the grain supervision value is used to reflect the supervision needs of grain stored in the granary partition, that is, the larger the grain supervision value, the more care is needed for the grain stored in the granary partition; Step S25, if the grain supervision value is greater than or equal to the first correction threshold, the supervision coefficient of the corresponding grain partition is set to the first supervision coefficient; if the grain supervision value is less than the first correction threshold and greater than or equal to the second correction threshold, the supervision coefficient of the corresponding grain partition is set to the second supervision coefficient; if the grain supervision value is less than the second correction threshold, the supervision coefficient of the corresponding grain partition is set to the third supervision coefficient; wherein the first correction threshold is greater than the second correction threshold, the first supervision coefficient, the second supervision coefficient and the third supervision coefficient are all positive integers greater than or equal to 1, and the first supervision coefficient is greater than the second supervision coefficient, and the second supervision coefficient is greater than the third supervision coefficient; Step S3, obtaining the partition environment information of the target granary corresponding to the granary; The partition environment information specifically includes the real-time temperature value, real-time humidity value and real-time oxygen concentration value in each granary partition; Wherein step S3 comprises the following sub-steps: Step S31: If the target granary is a vertical granary, a detection device is placed at the horizontal center line of each granary partition of the target granary. The detection device includes but is not limited to a temperature sensor, a humidity sensor, and an air sensor, and measures the real-time temperature value, real-time humidity value, and real-time oxygen concentration value corresponding to each granary partition; Step S32: if the target granary is a bungalow-type granary, the floor area of the corresponding granary partition is obtained, and the preset number of detection equipment in the granary partition is obtained according to the floor area of the granary partition; the actual number of detection equipment in the corresponding granary partition is obtained by multiplying the preset number by the supervision coefficient, and then the corresponding number of detection equipment is installed for each granary partition according to the actual number; the real-time temperature value, real-time humidity value and real-time oxygen concentration value of the corresponding number of groups of each granary partition are collected; Specifically, if the area of the granary partition is less than or equal to eight square meters, the preset number is X1; if the area of the granary partition is greater than eight square meters and less than or equal to fifteen square meters, the preset number is X2; if the area of the granary partition is greater than fifteen square meters, the preset number is X3, X3>X2>X1; Step S33, adding and averaging the real-time temperature values of the corresponding groups in each granary partition to obtain the real-time temperature value of the corresponding granary partition. Similarly, adding and averaging the real-time temperature values and real-time oxygen concentration values of the corresponding groups in each granary partition to obtain the real-time humidity value and real-time oxygen concentration value of the corresponding granary partition. Step S4, analyzing the granary environment of the target granary to obtain an abnormal level of the environment of the target granary or generate a normal signal; The step S4 further comprises the following sub-steps: Step S41, obtaining the partition real-time temperature value SWDn, partition real-time humidity value SSDn and partition real-time oxygen concentration value SYQn corresponding to each granary partition in the target granary; wherein n is the number of the granary partition, n=1, 2..., z, z is a positive integer; Step S42, compare the partition real-time temperature value, partition real-time humidity value and partition real-time oxygen concentration value of each granary partition in the target granary with the corresponding threshold value in turn; if the partition real-time temperature value, partition real-time humidity value and partition real-time oxygen concentration value corresponding to the granary partition in the target granary are all less than or equal to the corresponding threshold value, then no operation is performed; if any one of the partition real-time temperature value, partition real-time humidity value and partition real-time oxygen concentration value corresponding to the granary partition in the target granary is greater than the corresponding threshold value, then the value of the abnormal coefficient value YCX corresponding to the target granary is increased by one; wherein the initial value of the abnormal coefficient value is zero; Step S43: After all the granary partitions in the target granary are compared, if the abnormal coefficient value is greater than or equal to the coefficient threshold, an abnormal signal is generated and sent to the user terminal, wherein the value of the coefficient threshold is determined by the volume of the target granary. The larger the volume of the target granary, the larger the value of the corresponding coefficient threshold. For example, if the volume of the target granary is less than or equal to 60 cubic meters, the coefficient threshold value is 3; if the volume of the target granary is greater than 60 cubic meters and less than or equal to 200 cubic meters, the coefficient threshold value is 8; if the volume of the target granary is greater than 200 cubic meters, the coefficient threshold value is 10; When the real-time temperature value in the target granary is large, the probability of fire in the target granary will increase; when the real-time humidity value in the target granary is large, the grain will become damp, which will promote the growth of mold and fungi, causing the grain to become moldy and corrupt; when the real-time oxygen concentration value in the target granary is high, the probability of the grain in the target granary becoming moldy will increase, and the probability of fire will also increase; illustratively, in this embodiment, the threshold value corresponding to the real-time temperature value is 35°C, the threshold value corresponding to the real-time humidity value is 18%, and the threshold value corresponding to the real-time oxygen concentration value is 25%; Step S44: If the abnormal coefficient value is less than the coefficient threshold, the environmental abnormal value HYD corresponding to the target granary is calculated by the formula; the specific formula is as follows: ; In the formula, e is a natural constant; Step S45: if the environmental abnormality value is greater than the first level threshold, the environmental abnormality level of the target granary is recorded as the first level environmental abnormality; if the environmental abnormality value is less than or equal to the first level threshold and the environmental abnormality value is greater than the second level threshold, the environmental abnormality level of the target granary is recorded as the second level environmental abnormality; if the environmental abnormality value is less than or equal to the second level threshold, a normal signal is generated and sent to the user terminal; Among them, the first level threshold is greater than the second level threshold; the probability of grain damage in the target granary corresponding to the first level environmental anomaly is greater than the probability of grain damage in the target granary corresponding to the second level environmental anomaly; Step S5, the user terminal receives the normal signal, abnormal signal or environmental abnormality level corresponding to the target granary, and the user responds according to the received signal or level; In this application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficient and the proportional coefficient can be determined as long as it does not affect the proportional relationship between the parameter and the result value.
[0024] Embodiment 2: Figure 5An example of a physical structure diagram of an electronic device is provided, and the electronic device may include: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus. The processor may call the logic instructions in the memory to execute a method for determining an abnormality in a granary environment based on the Internet of Things, and the method includes: obtaining the granary type of the target granary and the stacking method of the grain in the target granary, and dividing the target granary into regions; then obtaining the grain data corresponding to the grain stored in the granary partition, and obtaining the supervision coefficient of the corresponding granary partition according to the grain data; obtaining the partition environment information of the granary partition corresponding to the target granary; analyzing the granary environment of the target granary, obtaining the abnormal environment level of the target granary or generating a normal signal; the user terminal receives the normal signal, abnormal signal, or abnormal environment level corresponding to the target granary, and the user responds according to the received signal or level.
[0025] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0026] On the other hand, the present application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute a method for determining a granary environmental abnormality based on the Internet of Things provided by the above-mentioned methods, the method including: obtaining the granary type of the target granary and the stacking method of the grain in the target granary, and dividing the target granary into areas; then obtaining the grain data corresponding to the grain stored in the granary partition, and obtaining the supervision coefficient of the corresponding granary partition based on the grain data; obtaining the partition environmental information of the granary partition corresponding to the target granary; analyzing the granary environment of the target granary to obtain the environmental abnormality level of the target granary or generate a normal signal; the user terminal receives the normal signal, abnormal signal or environmental abnormality level corresponding to the target granary, and the user responds according to the received signal or level.
[0027] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the above-mentioned method for determining an environmental abnormality of a granary based on the Internet of Things, the method comprising: obtaining the granary type of the target granary and the stacking method of the grain in the target granary, and dividing the target granary into areas; then obtaining the grain data corresponding to the grain stored in the granary partition, and obtaining the supervision coefficient of the corresponding granary partition based on the grain data; obtaining the partition environment information of the granary partition corresponding to the target granary; analyzing the granary environment of the target granary to obtain the environmental abnormality level of the target granary or generate a normal signal; the user terminal receives the normal signal, abnormal signal or environmental abnormality level corresponding to the target granary, and the user responds according to the received signal or level.
[0028] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0029] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0030] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for determining abnormality in a granary environment based on the Internet of Things, characterized in that: The specific method for determining abnormal granary environment is as follows: Step S1, obtaining the granary type of the target granary and the grain stacking method in the target granary, and dividing the target granary into regions; Step S2, then obtaining the grain data corresponding to the grain stored in the granary partition, and obtaining the supervision coefficient of the corresponding granary partition based on the grain data; Step S3, obtaining the partition environment information of the granary partition corresponding to the target granary; Step S4, analyzing the granary environment of the target granary to obtain an abnormal level of the environment of the target granary or generate a normal signal; Step S5: The user terminal receives the normal signal, abnormal signal or environmental abnormality level corresponding to the target granary, and the user responds according to the received signal or level.
2. According to the method for determining abnormality of granary environment based on the Internet of Things in claim 1, it is characterized in that: Granary types include bungalow-type granaries and vertical-type granaries; The stacking methods include plane stacking, slope stacking and column stacking; The partition environment information includes the real-time temperature value, real-time humidity value and real-time oxygen concentration value within the granary partition.
3. The method for determining an abnormality in a granary environment based on the Internet of Things according to claim 2 is characterized in that: Step S1 specifically includes the following sub-steps: Step S11: if the target granary is a vertical granary, the vertical granary is divided into regions. The division process is as follows: Step S111, obtaining the granary height corresponding to the vertical granary and the height of the grain in the granary, and then obtaining the grain proportion corresponding to the target granary by dividing the grain height by the granary height; Step S112: if the grain proportion is greater than or equal to the proportion threshold, the target granary is recorded as a full granary; if the grain proportion is less than the proportion threshold, the target granary is recorded as a not full granary; Step S113, for the target granary corresponding to the unfull granary, dividing the target granary into a plurality of granary partitions according to a fixed granary height; Step S114, for the target granary corresponding to the full granary, a certain amount of sample grains are drawn from the bottom of the target granary, the number of damaged grains and the total number of grains in the sample grains are recorded, and the grain damage rate of the sample grains is obtained by dividing the number of damaged grains by the total number of grains; Step S115: if the grain damage rate is greater than the damage rate threshold, an abnormal signal is generated and sent to the user terminal; if the grain damage rate is less than or equal to the damage rate threshold, the bottom area of the target granary and the weight of the grain stored in the target granary are obtained, and the bottom pressure of the grain at the bottom of the target granary is calculated by dividing the grain weight by the bottom area of the granary; Step S116: if the bottom pressure is greater than or equal to the pressure threshold, an abnormal signal is generated, and it is determined that the bottom grain will be damaged due to the high pressure; if the bottom pressure is less than the pressure threshold, the target grain silo is divided into several grain silo partitions according to the silo height of the target grain silo; Step S12: if the target granary is a bungalow-type granary, the bungalow-type granary is divided into regions corresponding to the target granary. The division process is specifically as follows: Step S121, recording the grain in the target granary as a flat grain pile and an inclined grain pile according to the stacking method; Step S122, obtaining the floor area of the planar grain pile, and the floor area ZDM and stacking height DJG corresponding to the inclined grain pile, and then calculating the stacking volume DJT corresponding to the inclined grain pile by a calculation formula, the specific calculation formula is: DJT = ZDM × DJG × π / 3; Step S123, comparing the stacking volume of the grain pile on the slope with the volume threshold, if the stacking volume of the grain pile on the slope is greater than or equal to the volume threshold, the corresponding grain pile on the slope is recorded as a granary partition, if the stacking volume of the grain pile on the slope is less than the volume threshold, the corresponding grain pile on the slope and its adjacent grain pile on the plane are regarded as granary partitions; Step S124: for the remaining planar grain piles, each planar grain pile is recorded as a separate grain bin partition.
4. The method for determining an abnormality in a granary environment based on the Internet of Things according to claim 3 is characterized in that: The process of determining damaged grains in step S114 is as follows: Step S1141, obtaining a grain appearance image of each grain in the sample grain; wherein the grain appearance image is specifically an outer surface image corresponding to each grain in the sample grain; Step S1142, sequentially comparing the grain appearance image with the appearance images corresponding to the various pests, if there is a grain appearance image that matches the appearance image of any one of the pests, the grain corresponding to the grain appearance image is recorded as a damaged grain; Step S1143, if the grain appearance image does not match the appearance images of all pests, proceed to the next step; Step S1144, if the color shown in the grain appearance image is the same as any moldy color, the grain corresponding to the grain appearance image is recorded as damaged grain; if the color shown in the grain appearance image is different from all moldy colors, no operation is performed.
5. The method for determining an abnormality in a granary environment based on the Internet of Things according to claim 1 is characterized in that: The grain data includes the grain storage date, grain usage, grain estimated storage date and biological activity information in the grain storage area. Food uses include food consumption, livestock feed, and industrial processing; Biological activity information was the number of rodent sightings and rodent droppings sightings in the granary partition within a week.
6. The method for determining an abnormality in a granary environment based on the Internet of Things according to claim 5 is characterized in that: The step S2 includes the following sub-steps: Step S21, if there is a grain outbound date for the grain stored in the grain silo partition, the grain pre-storage date LYC of the grain stored in the corresponding grain silo partition is obtained by subtracting the grain inbound date from the grain outbound date; If there is no grain exit date for the grain stored in the granary partition, the grain storage date LYC of the grain stored in the corresponding granary partition is obtained by subtracting the grain entry date from the current date; Step S22, obtaining biological activity information in the granary partition. If the number of rodent sightings and rodent feces sightings in the granary partition within a week are both zero, the grain supervision value LJ of the grain stored in the corresponding granary partition is calculated by the formula. The specific formula is as follows: LJ=LYC×A1+YTS×A2; where A1 and A2 are weight coefficients with fixed values, A1<A2; YTS is the use correction value corresponding to grain use, the use correction value corresponding to grain use for food consumption is greater than the use correction value corresponding to grain use for animal husbandry and feed, and the use correction value corresponding to grain use for animal husbandry and feed is greater than the use correction value corresponding to grain use for industrial processing; Step S23, if any one of the number of rodent sightings and the number of rodent feces sightings in the granary partition within one week is not zero, then the sum of the number of rodent sightings and the number of rodent feces sightings is calculated and recorded as the biological anomaly number SYC; Step S24, if the number of biological anomalies is greater than or equal to the anomaly number threshold, an anomaly signal is generated and sent to the user terminal; if the number of biological anomalies is less than the anomaly number threshold, the grain supervision value LJ corresponding to the corresponding granary partition is calculated by the formula LJ=SYC×(LYC×A1+YTS×A2); Step S25, if the grain supervision value is greater than or equal to the first correction threshold, the supervision coefficient of the corresponding grain zone is set to the first supervision coefficient; if the grain supervision value is less than the first correction threshold but greater than or equal to the second correction threshold, the supervision coefficient of the corresponding grain zone is set to the second supervision coefficient; if the grain supervision value is less than the second correction threshold, the supervision coefficient of the corresponding grain zone is set to the third supervision coefficient.
7. The method for determining an abnormality in a granary environment based on the Internet of Things according to claim 6 is characterized in that: The first correction threshold is greater than the second correction threshold; The first supervision coefficient, the second supervision coefficient and the third supervision coefficient are all positive integers greater than or equal to 1, and the first supervision coefficient is greater than the second supervision coefficient, and the second supervision coefficient is greater than the third supervision coefficient.
8. The method for determining an abnormality in a granary environment based on the Internet of Things according to claim 6 is characterized in that: Step S3 also includes the following sub-steps: Step S31, if the target granary is a vertical granary, a detection device is placed at the horizontal center line of each granary partition of the target granary, and the real-time temperature value, real-time humidity value and real-time oxygen concentration value corresponding to each granary partition are measured; Step S32, if the target granary is a bungalow-type granary, the floor area of the corresponding granary partition is obtained, and the preset number of detection equipment in the granary partition is obtained according to the floor area of the granary partition; The actual number of detection equipment in the corresponding granary partition is obtained by multiplying the preset number by the supervision coefficient, and then the corresponding number of detection equipment is installed for each granary partition according to the actual number, and the real-time temperature value, real-time humidity value and real-time oxygen concentration value of the corresponding number of groups in each granary partition are collected; Step S33, add the real-time temperature values of the corresponding groups in each granary partition and take the average to obtain the real-time temperature value of the corresponding granary partition. Similarly, add the real-time temperature values and real-time oxygen concentration values of the corresponding groups in each granary partition and take the average to obtain the real-time humidity value and real-time oxygen concentration value of the corresponding granary partition.
9. The method for determining an abnormality in a granary environment based on the Internet of Things according to claim 8, characterized in that: The step S4 further comprises the following sub-steps: Step S41, obtaining the partition real-time temperature value SWDn, partition real-time humidity value SSDn and partition real-time oxygen concentration value SYQn corresponding to each granary partition in the target granary; wherein n is the number of the granary partition, n=1, 2..., z, z is a positive integer; Step S42, comparing the real-time temperature value, the real-time humidity value and the real-time oxygen concentration value of each granary partition in the target granary with the corresponding thresholds in sequence; If the partition real-time temperature value, partition real-time humidity value and partition real-time oxygen concentration value corresponding to the granary partition in the target granary are all less than or equal to the corresponding threshold value, no operation is performed; if any of the partition real-time temperature value, partition real-time humidity value and partition real-time oxygen concentration value corresponding to the granary partition in the target granary is greater than the corresponding threshold value, the value of the abnormal coefficient value YCX corresponding to the target granary is increased by one; wherein the initial value of the abnormal coefficient value is zero; Step S43, after all the granary partitions in the target granary are compared, if the abnormal coefficient value is greater than or equal to the coefficient threshold, an abnormal signal is generated and sent to the user terminal; Step S44, if the abnormal coefficient value is less than the coefficient threshold, the environmental abnormal value HYD corresponding to the target granary is calculated by a calculation formula; Step S45: if the environmental abnormality value is greater than the first level threshold, the environmental abnormality level of the target granary is recorded as the first level environmental abnormality; if the environmental abnormality value is less than or equal to the first level threshold and the environmental abnormality value is greater than the second level threshold, the environmental abnormality level of the target granary is recorded as the second level environmental abnormality; if the environmental abnormality value is less than or equal to the second level threshold, a normal signal is generated and sent to the user terminal; Among them, the first level threshold is greater than the second level threshold; the probability of grain damage in the target granary corresponding to the first level environmental anomaly is greater than the probability of grain damage in the target granary corresponding to the second level environmental anomaly.
10. The method for determining abnormal granary environment based on the Internet of Things according to claim 9 is characterized in that: The calculation formula of environmental anomaly value is: ; In the formula, e is a natural constant.
Citation Information
Patent Citations
Grain drying and storage system
CA2885751A1
Intelligent grain collecting system
CN109712017A
Granary detection method and device based on bottom pressure intensity statistics and reserve equation
CN111721448A
Intelligent grain depot operation control management system and control method based on Internet of Things
CN115526559A
Grain stock management method and system in granary
CN118469310A
