Granary integrated detection method, granary integrated detection equipment and granary integrated detection medium
Through the integrated granary detection method, the granary environmental parameters are monitored in real time, and the problem of insufficient granary data collection dimensions is solved, and the monitoring and early warning of grain storage security is realized, and environmental regulation is adapted to changes in grain types.
Patent Information
- Application Number
- CN202411610813.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-07
AI Technical Summary
In the existing technology, there are too few attention dimensions for granary data collection, so it is impossible to comprehensively evaluate the environmental safety of granary, and it cannot be responded in a timely manner when food types are replaced.
Provide a method of integrated granary detection. By obtaining granary information, calculating the layout location of the terminal monitoring unit, generating and encrypting the acquisition instructions, sending them to the terminal detection unit to obtain environmental parameters such as temperature, humidity, moisture content and carbon dioxide gas concentration. , monitor and automatically adjust environmental control equipment in real time according to changes.
A comprehensive real-time monitoring and early warning of the granary environment is achieved to ensure the safety of food storage, and to quickly adjust environmental regulation according to changes in food types to reduce food loss caused by environmental inadaptation.
Smart Images

Figure CN119394367A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of granary detection, and in particular to a method, equipment and medium for integrated granary detection. Background Art
[0002] During the storage period, electronic sensors are distributed in the grain pile to monitor the grain temperature in real time. Temperature and humidity sensors are placed on the top of the warehouse, and the data is transmitted to the computer system for analysis and processing. Measuring temperature alone cannot accurately determine other key quality indicators of grain. The storage quality of grain is affected by many factors, such as moisture content, humidity, and pests. Focusing only on temperature may ignore other potential problems, resulting in the failure to take effective countermeasures in time. For example, when the moisture content of grain is too high, even if the temperature shows normal, it may actually have begun to change in quality such as mold, which cannot be detected by temperature measurement alone. Temperature is sometimes not the only or most sensitive indicator of grain deterioration. Some early grain quality problems may not immediately cause obvious changes in temperature. For example, pests may be small in number in the early stage and have no obvious impact on temperature, but they continue to damage grain. If only temperature is measured, it may be considered that the grain is in a safe state, thereby delaying the time for treatment and causing greater losses.
[0003] Through the above analysis, the problems and defects of the prior art are as follows:
[0004] The existing technology focuses on too few dimensions in granary data collection, making it impossible to comprehensively assess the environmental safety of the granary and unable to respond in a timely manner when the type of grain changes. Summary of the invention
[0005] The embodiments of the present application provide a method, device and medium for integrated detection of granaries, which can solve the problems in the prior art that granary data collection focuses on too few dimensions, cannot comprehensively evaluate the safety of the granary environment, and cannot respond in time when the grain type changes.
[0006] In a first aspect, an embodiment of the present application provides a method for integrated detection of a granary, characterized in that the method includes: obtaining granary information, the granary information including the storage capacity, historical data and three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map including the length, width and height of the granary; calculating the layout position of the terminal monitoring unit according to the granary information; generating a collection instruction through a remote platform, and sending the collection instruction to a warehouse-level platform; wherein the collection instruction includes a sensor type, monitoring time and monitoring frequency; encrypting the collection instruction through the warehouse-level platform to obtain an encrypted instruction, and sending the encrypted instruction to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform via a wireless network, and the warehouse-level platform is connected to the remote platform via a wired network; the terminal detection unit obtains corresponding environmental parameters according to the encrypted instruction.
[0007] In one implementation of the present application, the layout position of the terminal monitoring unit is calculated based on the granary information, specifically including: setting the initial temperature, and setting the temperature threshold according to historical data to obtain the initial position of the terminal monitoring unit; adopting a grid layout, changing the position of the sensor according to a first preset ratio, adjusting the initial temperature to the temperature threshold according to a second preset ratio, and calculating the coverage and error of the current position and initial position of the sensor at the current temperature and the initial temperature respectively; based on the coverage and error, selecting the optimal current position through the Metropolis criterion.
[0008] In one implementation of the present application, after selecting the optimal current position according to the coverage and error through the Metropolis criterion, the method also includes: marking the layout position of the terminal monitoring unit on the three-dimensional map, wherein the warehouse-level platform is connected to the power supply unit through a DC-DC isolation module, and the terminal monitoring unit includes a collection device and an output device, and the collection device includes a temperature sensor, a humidity sensor and an air sensor.
[0009] In one implementation of the present application, after sending the encrypted instruction to the terminal detection unit, the method also includes: when receiving the encrypted instruction, the terminal detection unit enters a wake-up mode; decrypts the encrypted instruction and starts the corresponding collection device to collect; after the environmental parameters are successfully uploaded, enters a sleep mode.
[0010] In one implementation of the present application, the terminal detection unit obtains the corresponding environmental parameters according to the encrypted instructions, specifically including: when collecting two or more data of temperature, humidity, and air at the same time, filtering the item sets with an occurrence frequency higher than a preset threshold through the Apriori algorithm to obtain frequent item sets; generating association rules based on the frequent item sets.
[0011] In one implementation of the present application, after the terminal detection unit obtains the corresponding environmental parameters according to the encrypted instructions, the method also includes: when the environmental parameters exceed a first preset threshold, executing a predetermined strategy, the predetermined strategy includes starting or stopping an output device, the output device includes a fumigator and a ventilator; when the environmental parameters exceed a second preset threshold, immediately triggering an early warning mechanism.
[0012] In one implementation of the present application, the method further includes: acquiring historical data, the historical data including food type, indoor temperature, indoor humidity, and outdoor temperature and outdoor humidity corresponding to the same timestamp; and obtaining a temperature threshold based on the indoor temperature.
[0013] In one implementation of the present application, after obtaining the temperature threshold according to the indoor temperature, the method also includes: presetting the adjustment time frequency according to the frequency of changes in the indoor temperature and indoor humidity; and adjusting the first preset threshold and the second preset threshold of the indoor temperature according to the time frequency and the current outdoor temperature.
[0014] In the second aspect, an embodiment of the present application also provides a device for integrated detection of granaries, the device comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: obtain granary information, the granary information including the storage capacity, historical data and three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map including the length, width and height of the granary; calculate the layout position of the terminal monitoring unit according to the granary information; generate collection instructions through a remote platform, and send the collection instructions to a warehouse-level platform; wherein the collection instructions include sensor type, monitoring time and monitoring frequency; encrypt the collection instructions through the warehouse-level platform to obtain encrypted instructions, and send the encrypted instructions to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform via a wireless network, and the warehouse-level platform is connected to the remote platform via a wired network; the terminal detection unit obtains corresponding environmental parameters according to the encrypted instructions.
[0015] On the third aspect, the embodiment of the present application also provides a non-volatile computer storage medium for integrated granary detection, storing computer executable instructions, and the computer executable instructions are set to: obtain granary information, the granary information includes the storage capacity, historical data and three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map includes the length, width and height of the granary; calculate the layout position of the terminal monitoring unit according to the granary information; generate collection instructions through the remote platform, and send the collection instructions to the warehouse-level platform; wherein the collection instructions include sensor type, monitoring time and monitoring frequency; encrypt the collection instructions through the warehouse-level platform to obtain encrypted instructions, and send the encrypted instructions to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform via a wireless network, and the warehouse-level platform is connected to the remote platform via a wired network; the terminal detection unit obtains corresponding environmental parameters according to the encrypted instructions.
[0016] The embodiments of the present application provide a method, equipment and medium for integrated detection of granaries, which is an integrated detection system that can accurately measure the temperature, humidity, moisture content and carbon dioxide gas concentration in the granary at the same time, realize real-time monitoring and early warning of the granary environment, and ensure the safety of grain storage; when the type of grain is changed, the operating status of the environmental control equipment, such as ventilation, humidification, cooling, etc., can be quickly adjusted through the remote control system according to the storage requirements of the new grain to meet the storage needs of the new grain. Timely strategy adjustments help reduce grain losses due to environmental inadaptability and improve storage efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 A flow chart of a method for integrated detection of granaries provided in an embodiment of the present application;
[0019] Figure 2 An overall logic diagram of a method for integrated detection of a granary provided in an embodiment of the present application;
[0020] Figure 3 A remote platform workflow diagram of a method for integrated detection of granaries provided in an embodiment of the present application;
[0021] Figure 4 A schematic diagram of a warehouse-level platform for a method for integrated detection of grain warehouses provided in an embodiment of the present application;
[0022] Figure 5 A schematic diagram of a terminal collection unit of a method for integrated detection of a granary provided in an embodiment of the present application;
[0023] Figure 6 A workflow diagram of a terminal collection unit of a method for integrated detection of a granary provided in an embodiment of the present application;
[0024] Figure 7 A schematic diagram of the internal structure of a device for integrated granary detection provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0026] The embodiments of the present application provide a method, device and medium for integrated detection of granaries, which solve the problems in the prior art that granary data collection focuses on too few dimensions, cannot comprehensively evaluate the safety of the granary environment, and cannot respond in time when the grain type changes.
[0027] The technical solution proposed in the embodiments of the present application is described in detail below with reference to the accompanying drawings.
[0028] Figure 1This is a flow chart of a method for integrated detection of granaries provided in an embodiment of the present application. Figure 1 As shown, a method for integrated detection of a granary provided in an embodiment of the present application specifically comprises the following steps:
[0029] Step 10: Obtain granary information, which includes the storage capacity, historical data and three-dimensional map of the granary, as well as the type of grain to be stored. The three-dimensional map includes the length, width and height of the granary;
[0030] In this step, the granaries include bungalows, building warehouses, and arched warehouses. Different types of grains have different water absorption, so the distance between temperature measurement nodes is no more than 5m, and the vertical point distance is no more than 2m. Therefore, for different types of grains, the layout position and temperature threshold of the terminal monitoring unit are different.
[0031] As an optional embodiment, the method may further include: acquiring historical data, the historical data including food type, indoor temperature, indoor humidity, and outdoor temperature and outdoor humidity corresponding to the same timestamp; and obtaining a temperature threshold according to the indoor temperature.
[0032] In this step, the temperature of the granary, as an open or semi-open space, is easily affected by external environmental conditions. First, historical data is obtained to view the impact of different grain types, seasons, outdoor temperature, and humidity on the indoor space, and temperature and humidity thresholds are set accordingly.
[0033] As an optional embodiment, after obtaining the temperature threshold according to the indoor temperature, the method may also include: presetting the adjustment time frequency according to the frequency of changes in the indoor temperature and indoor humidity; and adjusting the first preset threshold and the second preset threshold of the indoor temperature according to the time frequency and the current outdoor temperature.
[0034] In this step, for example, the adjustment frequency can be set to three months for different seasons; an upper warning limit and a lower warning limit are set for the temperature in each season, and an upper limit and a lower limit are set for the automatic adjustment of the granary.
[0035] Step 20: Calculate the location of the terminal monitoring unit according to the granary information;
[0036] As an optional embodiment, the layout position of the terminal monitoring unit is calculated according to the granary information, which may specifically include: Step 201: setting the initial temperature, and setting the temperature threshold according to historical data to obtain the initial position of the terminal monitoring unit; Step 202: adopting a grid layout, changing the position of the sensor according to a first preset ratio, adjusting the initial temperature to the temperature threshold according to a second preset ratio, and calculating the coverage and error of the current position and the initial position of the sensor at the current temperature and the initial temperature respectively; Step 203: selecting the optimal current position according to the coverage and error using the Metropolis criterion.
[0037] In this step, for example, the granary can be tested with the warning upper limit value, and then the sensor position is moved one meter to the left, and then the temperature is lowered by 5 degrees, and the coverage rate and error are calculated respectively to find the position with the maximum coverage rate and the minimum error.
[0038] As an optional embodiment, after selecting the optimal current position according to the coverage and error through the Metropolis criterion, the method may also include: Step 204: marking the layout position of the terminal monitoring unit on the three-dimensional map, wherein the warehouse-level platform is connected to the power supply unit through a DC-DC isolation module, and the terminal monitoring unit includes a collection device and an output device, and the collection device includes a temperature sensor, a humidity sensor and an air sensor.
[0039] In this step, the temperature sensor uses a high-precision digital temperature sensor, which can quickly and accurately measure the temperature at different positions in the granary; the humidity sensor uses a high-performance capacitive humidity sensor to accurately detect the relative humidity in the granary; the moisture sensor uses a temperature and humidity integrated cable to indirectly measure the moisture content in the grain; the gas sensor selects a carbon dioxide sensor as needed, such as an electrochemical sensor or an infrared sensor. The moisture content of grain is directly related to its storage stability. Too high moisture content can easily cause grain heating, mildew and insect pests, while too low moisture content may affect the taste and nutritional value of grain. Regularly testing the moisture content of grain can take drying or moisturizing measures in time to ensure that the moisture content of grain is within a safe range; changes in carbon dioxide concentration can reflect the respiration and microbial activity of grain. When the respiration of grain is strong or there is microbial fermentation, the carbon dioxide concentration will increase. Monitoring the carbon dioxide concentration can help determine the storage status of grain, discover potential problems in time, and take corresponding measures, such as ventilation, to reduce the carbon dioxide concentration and maintain the freshness of grain.
[0040] Step 30: Generate a collection instruction through the remote platform and send the collection instruction to the warehouse-level platform; wherein the collection instruction includes the sensor type, monitoring time and monitoring frequency;
[0041] In this step, the overall logic is as follows Figure 2As shown; the remote platform is located in the warehouse data center or a third-party data center and is the main window for human-computer interaction, such as Figure 3 As shown, its main function is to generate setting change instructions and analyze data to generate alarm events. The triggered alarm events can be pushed to mobile phones and trigger alarm devices; the collection instructions are to change the judgment conditions, and the encrypted collection instructions are pushed to the warehouse-level platform, and the data is interacted with the warehouse-level host using Ethernet or 4G communication methods; on the remote platform, according to the monitoring needs and plans, the collection instructions are generated, the temperature sensor, the humidity sensor, when to start monitoring every day, and how often to collect data.
[0042] Step 40: Encrypt the collection instruction through the warehouse-level platform to obtain the encrypted instruction, and send the encrypted instruction to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform through a wireless network, and the warehouse-level platform is connected to the remote platform through a wired network;
[0043] In this step, if Figure 4 As shown, the warehouse-level platform is based on the central processor ARM (Advanced RISC Machines, Advanced Reduced Instruction Set Machine) as the core, and is composed of a power supply unit 41, a display unit 46, a storage unit 44, an encryption algorithm unit 42, a communication unit 43, and a wireless communication 47. The communication unit 43 is used as a physical layer for data transmission and a data transmission and receiving interface. After receiving the data from the communication unit, the encryption algorithm unit 42 determines whether to encrypt or decrypt according to the data direction. The encryption algorithm adopts AES (Advanced Encryption Standard, Advanced Encryption Standard) is encrypted for the first time, and then Base64 encryption is performed for the second time, and then MD5 encryption is used for data transmission; the received data is decrypted by Base64 and enters the processor, and it is determined that the setting instruction is stored in the memory. Due to communication failure or network disconnection, the data will be temporarily stored in the memory 44. The display unit 46 displays the currently received data, and the storage data can be consulted. The central processing unit 41 can use an industrial-grade ARM core CPU with floating-point operation function. The wireless communication 47 is responsible for data interaction with the detection unit in the warehouse, receiving the original data in the warehouse, and sending it to the central processing unit 41 for secondary data operation. The power supply unit has a wide voltage DC input, a built-in voltage-stabilized power supply, and can be connected to an external solar panel. There is a battery management circuit inside to provide a stable voltage output to the processor unit.
[0044] As an optional embodiment, after sending the encrypted instruction to the terminal detection unit, the method may also include: Step 401: when receiving the encrypted instruction, the terminal detection unit enters the wake-up mode; Step 402: decrypting the encrypted instruction and starting the corresponding collection device for collection; Step 403: after the environmental parameters are successfully uploaded, entering the sleep mode.
[0045] In this step, if Figure 5 As shown, a low-power processor 52 is used, the sleep power consumption is as low as μA level, and it wakes up regularly for data collection; the bus 51 is connected to an external bus-type sensor, which has the advantages of low power consumption, large number of loads, and long transmission distance; the wireless communication unit 53 adopts LORA (Long Range Radio) communication, which is controlled by the processor 52, wakes up when communication is required, and goes to sleep after the communication is completed, as shown in FIG. Figure 6 As shown, the power management 54 adopts lithium battery management chip technology, which can manage charging and discharging. The design program adopts timed wake-up collection, automatically organizes and converts data, opens the network connection, uploads data, and automatically enters the sleep state after the upload is successful, waiting for the next time period to wake up.
[0046] Step 50: The terminal detection unit obtains corresponding environmental parameters according to the encrypted instructions.
[0047] As an optional embodiment, the terminal detection unit obtains the corresponding environmental parameters according to the encrypted instructions, which may specifically include: Step 501: when two or more data of temperature, humidity, and air are collected simultaneously, the item sets with an occurrence frequency higher than a preset threshold are filtered through the Apriori algorithm to obtain frequent item sets; Step 502: association rules are generated according to the frequent item sets.
[0048] In this step, by simultaneously detecting the temperature, humidity, moisture and carbon dioxide concentration, the environmental conditions of the granary and the storage status of the grain can be comprehensively analyzed. If one or more of the parameters are abnormal, such as increased temperature, increased humidity, excessive moisture or increased carbon dioxide concentration, the root cause of the problem can be quickly determined and targeted measures can be taken to deal with it. Real-time monitoring of these parameters can implement a prevention-oriented management strategy. Before problems occur, through trend analysis of parameters, possible problems can be predicted in advance, and corresponding preventive measures can be taken to avoid grain losses. For example, if it is found that the temperature and humidity have an upward trend, ventilation, cooling, dehumidification and other operations can be performed in advance to prevent grain deterioration.
[0049] As an optional embodiment, after the terminal detection unit obtains the corresponding environmental parameters according to the encrypted instructions, the method may also include: Step 60: When the environmental parameters exceed the first preset threshold, execute a predetermined strategy, the predetermined strategy includes starting or stopping the output device, the output device includes a fumigator and a ventilator; when the environmental parameters exceed the second preset threshold, immediately trigger the early warning mechanism.
[0050] In this step, the simultaneous detection of multiple parameters provides a scientific basis for granary management. According to the changes in different parameters, a reasonable management plan can be formulated to optimize ventilation, dehumidification, fumigation and other operation processes to improve management efficiency and quality. With the help of advanced sensor technology and the Internet of Things platform, remote monitoring of granaries can be achieved. Managers can check the temperature, humidity, moisture, carbon dioxide concentration and other parameters of the granary anytime and anywhere through mobile phones, computers and other terminal devices, and timely grasp the operating status of the granary, improving the convenience and timeliness of management.
[0051] The above is an embodiment of the method proposed in this application. Based on the same inventive concept, the embodiment of this application also provides a device for integrated detection of grain silos, the structure of which is as follows: Figure 7 shown.
[0052] Figure 7 This is a schematic diagram of the internal structure of a device for integrated detection of grain silos provided in an embodiment of the present application. Figure 7 As shown, the device includes:
[0053] at least one processor 701;
[0054] and, a memory 702 communicatively connected to at least one processor;
[0055] Among them, the memory 702 stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor 701 so that at least one processor 701 can: obtain granary information, the granary information includes the storage capacity, historical data and three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map includes the length, width and height of the granary; calculate the layout position of the terminal monitoring unit according to the granary information; generate collection instructions through the remote platform, and send the collection instructions to the warehouse-level platform; wherein the collection instructions include sensor type, monitoring time and monitoring frequency; encrypt the collection instructions through the warehouse-level platform to obtain encrypted instructions, and send the encrypted instructions to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform via a wireless network, and the warehouse-level platform is connected to the remote platform via a wired network; the terminal detection unit obtains corresponding environmental parameters according to the encrypted instructions.
[0056] Some embodiments of the present application provide corresponding Figure 1A non-volatile computer storage medium for integrated detection of granaries, storing computer executable instructions, wherein the computer executable instructions are configured to: obtain granary information, the granary information including the storage capacity, historical data and three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map including the length, width and height of the granary; calculate the layout position of the terminal monitoring unit according to the granary information; generate a collection instruction through a remote platform, and send the collection instruction to a warehouse-level platform; wherein the collection instruction includes a sensor type, a monitoring time and a monitoring frequency; encrypt the collection instruction through the warehouse-level platform to obtain an encrypted instruction, and send the encrypted instruction to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform via a wireless network, and the warehouse-level platform is connected to the remote platform via a wired network; the terminal detection unit obtains corresponding environmental parameters according to the encrypted instruction.
[0057] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the IoT device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0058] The system and medium provided in the embodiments of the present application correspond one-to-one to the method. Therefore, the system and medium also have similar beneficial technical effects to the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the system and medium will not be repeated here.
[0059] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0060] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0061] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0062] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0063] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0064] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0065] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0066] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0067] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for integrated detection of granaries, characterized in that: The method comprises: Obtaining granary information, the granary information including storage capacity, historical data and a three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map including the length, width and height of the granary; Calculate the location of the terminal monitoring unit according to the granary information; Generate a collection instruction through a remote platform, and send the collection instruction to the warehouse-level platform; wherein the collection instruction includes sensor type, monitoring time and monitoring frequency; Encrypting the collection instruction through the warehouse-level platform to obtain an encrypted instruction, and sending the encrypted instruction to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform through a wireless network, and the warehouse-level platform is connected to the remote platform through a wired network; The terminal detection unit obtains corresponding environmental parameters according to the encrypted instruction.
2. A method for integrated detection of granaries according to claim 1, characterized in that: Calculating the location of the terminal monitoring unit according to the granary information specifically includes: Setting an initial temperature and setting a temperature threshold according to the historical data to obtain an initial position of the terminal monitoring unit; Adopting a grid layout, changing the position of the sensor according to a first preset ratio, adjusting the initial temperature to a temperature threshold according to a second preset ratio, and calculating the coverage and error of the current position and the initial position of the sensor at the current temperature and the initial temperature respectively; According to the coverage rate and the error, the optimal current position is selected by using the Metropolis criterion.
3. A method for integrated detection of granaries according to claim 2, characterized in that: After selecting the optimal current position according to the coverage rate and the error by using the Metropolis criterion, the method further includes: The location of the terminal monitoring unit is marked on the three-dimensional map, wherein the warehouse-level platform is connected to the power supply unit via a DC-DC isolation module, and the terminal monitoring unit includes a collection device and an output device, and the collection device includes a temperature sensor, a humidity sensor and an air sensor.
4. The method for integrated detection of granaries according to claim 1, characterized in that: After sending the encrypted instruction to the terminal detection unit, the method further includes: Upon receiving the encrypted instruction, the terminal detection unit enters a wake-up mode; Decrypting the encrypted instruction and starting the corresponding acquisition device to perform acquisition; After the environmental parameters are uploaded successfully, the system enters sleep mode.
5. The method for integrated detection of granary according to claim 1, characterized in that: The terminal detection unit obtains corresponding environmental parameters according to the encrypted instruction, specifically including: When two or more data of temperature, humidity and air are collected at the same time, the Apriori algorithm is used to filter the item sets with a frequency higher than the preset threshold to obtain frequent item sets; Generate association rules according to the frequent item sets.
6. A method for integrated detection of granaries according to claim 3, characterized in that: After the terminal detection unit obtains the corresponding environmental parameters according to the encrypted instruction, the method further includes: When the environmental parameter exceeds a first preset threshold, executing a predetermined strategy, the predetermined strategy includes starting or stopping an output device, the output device includes a fumigator and a ventilator; When the environmental parameter exceeds the second preset threshold, the early warning mechanism is immediately triggered.
7. A method for integrated detection of granaries according to claim 6, characterized in that: The method further comprises: Acquire historical data, where the historical data includes food type, indoor temperature, indoor humidity, and outdoor temperature and outdoor humidity corresponding to the same timestamp; The temperature threshold is obtained according to the indoor temperature.
8. A method for integrated detection of granaries according to claim 7, characterized in that: After obtaining the temperature threshold according to the indoor temperature, the method further includes: According to the frequency of changes in indoor temperature and indoor humidity, preset the adjustment time frequency; According to the time frequency, the first preset threshold and the second preset threshold of the indoor temperature are adjusted according to the current outdoor temperature.
9. A device for integrated detection of granaries, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to: Obtaining granary information, the granary information including storage capacity, historical data and a three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map including the length, width and height of the granary; Calculate the location of the terminal monitoring unit according to the length, width and height of the granary; Generate a collection instruction through a remote platform, and send the collection instruction to the warehouse-level platform; wherein the collection instruction includes sensor type, monitoring time and monitoring frequency; Encrypting the collection instruction through the warehouse-level platform to obtain an encrypted instruction, and sending the encrypted instruction to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform through a wireless network, and the warehouse-level platform is connected to the remote platform through a wired network; The terminal detection unit obtains corresponding environmental parameters according to the encrypted instruction.
10. A non-volatile computer storage medium for integrated detection of grain silos, storing computer executable instructions, characterized in that: The computer executable instructions are configured to: Obtaining granary information, the granary information including storage capacity, historical data and a three-dimensional map of the granary, and the type of grain to be stored, the three-dimensional map including the length, width and height of the granary; Calculate the location of the terminal monitoring unit according to the length, width and height of the granary; Generate a collection instruction through a remote platform, and send the collection instruction to the warehouse-level platform; wherein the collection instruction includes sensor type, monitoring time and monitoring frequency; Encrypting the collection instruction through the warehouse-level platform to obtain an encrypted instruction, and sending the encrypted instruction to the terminal detection unit, wherein the terminal detection unit is connected to the warehouse-level platform through a wireless network, and the warehouse-level platform is connected to the remote platform through a wired network; The terminal detection unit obtains corresponding environmental parameters according to the encrypted instruction.