CN116107248A - Crop storage monitoring method, apparatus and storage medium - Google Patents
Crop storage monitoring method, apparatus and storage medium Download PDFInfo
- Publication number
- CN116107248A CN116107248A CN202310094439.4A CN202310094439A CN116107248A CN 116107248 A CN116107248 A CN 116107248A CN 202310094439 A CN202310094439 A CN 202310094439A CN 116107248 A CN116107248 A CN 116107248A
- Authority
- CN
- China
- Prior art keywords
- parameter
- intersection
- crops
- environment
- crop
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0428—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24024—Safety, surveillance
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Greenhouses (AREA)
- Storage Of Harvested Produce (AREA)
Abstract
本发明提供了一种农作物贮存监控方法、设备和存储介质,包括获取当前环境中N种农作物的种类和抑制每种农作物发芽的环境参数;交集环境参数检测步骤:依次选取M种农作物,并检测每次选取的M种农作物的环境参数是否存在交集环境参数;若当次选取的M种农作物的环境参数存在交集环境参数,检测当前环境的参数值是否位于当次的交集环境参数对应的第一参数范围外;若当前环境的参数值位于当次的交集环境参数对应的第一参数范围外,对当前环境进行调节,使当前环境的参数值位于第一参数范围内,实现了快速准确的控制多种农作物的贮存空间的温湿度等环境参数,抑制农作物发芽,有效延迟多种农作物共同贮存的贮存时间。
The invention provides a crop storage monitoring method, equipment and storage medium, including obtaining the types of N crops in the current environment and the environmental parameters that inhibit the germination of each crop; the intersection environmental parameter detection step: sequentially select M crops, and detect Whether there is an intersection environmental parameter among the environmental parameters of the M crops selected each time; if there is an intersection environmental parameter among the environmental parameters of the M crops selected at the time, check whether the parameter value of the current environment is in the first place corresponding to the current intersection environmental parameter. Outside the parameter range; if the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environment parameter, adjust the current environment so that the parameter value of the current environment is within the first parameter range, realizing fast and accurate control Environmental parameters such as temperature and humidity in the storage space of various crops can inhibit the germination of crops and effectively delay the storage time of common storage of multiple crops.
Description
技术领域technical field
本发明涉及农作物贮存技术领域,具体提供一种农作物贮存监控方法、设备和存储介质。The invention relates to the technical field of crop storage, and specifically provides a crop storage monitoring method, equipment and storage medium.
背景技术Background technique
生活中用户往往在家中贮存适当的农作物,例如花生、大豆、地瓜、芋头、大蒜、生姜等,这些农作物有时还没来得及吃,就发芽了。同样,市场运营中,商贩也会贮存大量的粮食等农作物,这些粮食如不及时售卖,贮存不当就会发芽变质。In daily life, users often store appropriate crops at home, such as peanuts, soybeans, sweet potatoes, taro, garlic, ginger, etc. These crops sometimes germinate before they can be eaten. Similarly, in market operations, vendors will also store a large amount of grain and other crops. If these grains are not sold in time, they will germinate and deteriorate if they are not stored properly.
通常情况下,人们会凭借经验调节贮存每种农作物的温度、湿度等环境参数,防止农作物发芽。然而,由于贮存空间有限,人们在贮存农作物时,通常多种农作物一起贮存,使得人们无法便捷准确的对贮存空间的环境参数进行调节,以尽可能防止大部分甚至所有农作物不发芽。Usually, people will rely on experience to adjust the environmental parameters such as temperature and humidity for storing each crop to prevent the crops from germinating. However, due to the limited storage space, when people store crops, they usually store multiple crops together, making it impossible for people to adjust the environmental parameters of the storage space conveniently and accurately, so as to prevent most or even all crops from not germinating as much as possible.
发明内容Contents of the invention
为了克服上述缺陷,提出了本发明,以提供解决或至少部分地解决无法便捷准确的对贮存空间的环境参数进行调节,以尽可能防止大部分甚至所有农作物不发芽的技术问题的农作物贮存监控方法、设备和存储介质。In order to overcome the above-mentioned defects, the present invention is proposed to provide a crop storage monitoring method that solves or at least partially solves the technical problem that the environmental parameters of the storage space cannot be adjusted conveniently and accurately, so as to prevent most or even all crops from not germinating as much as possible , equipment and storage media.
在第一方面,本发明提供一种农作物贮存监控方法,所述农作物贮存监控方法包括:In a first aspect, the present invention provides a crop storage monitoring method, the crop storage monitoring method comprising:
获取当前环境中N种农作物的种类和抑制每种农作物发芽的环境参数;N大于或等于2;Obtain the types of N crops in the current environment and the environmental parameters that inhibit the germination of each crop; N is greater than or equal to 2;
交集环境参数检测步骤:依次选取M种农作物,并检测每次选取的M种农作物的环境参数是否存在交集环境参数;其中,M=N,N-1,N-2…2,且M大于或等于2;若两次选取组合中具有相同数量的农作物,两次选取组合中的农作物的种类至少存在一种不同的农作物;Intersection environmental parameter detection step: select M crops in turn, and detect whether there is an intersection environmental parameter among the environmental parameters of the M crops selected each time; wherein, M=N, N-1, N-2...2, and M is greater than or Equal to 2; if there are the same number of crops in the two selection combinations, there is at least one different crop type in the two selection combinations;
若当次选取的M种农作物的环境参数存在交集环境参数,检测所述当前环境的参数值是否位于当次的交集环境参数对应的第一参数范围外;If there is an intersection environmental parameter among the environmental parameters of the M types of crops selected this time, it is detected whether the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environmental parameter;
若所述当前环境的参数值位于当次的交集环境参数对应的第一参数范围外,对当前环境进行调节,使所述当前环境的参数值位于所述第一参数范围内。If the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environment parameter, adjust the current environment so that the parameter value of the current environment is within the first parameter range.
进一步地,上述所述的农作物贮存监控方法中,对当前环境进行调节,使所述当前环境的参数值位于所述第一参数范围内,包括:Further, in the above-mentioned crop storage monitoring method, adjusting the current environment so that the parameter value of the current environment is within the first parameter range includes:
确定所述第一参数范围的中心参数值;determining a central parameter value of the first parameter range;
以所述中心参数值为目标,对所述当前环境进行调节,使所述当前环境的参数值调整为所述中心参数值。Taking the central parameter value as a target, the current environment is adjusted so that the parameter value of the current environment is adjusted to the central parameter value.
进一步地,上述所述的农作物贮存监控方法中,确定所述第一参数范围的中心参数值,包括:Further, in the crop storage monitoring method described above, determining the central parameter value of the first parameter range includes:
获取当次的M种农作物中每种农作物的权重和每种农作物的交集环境参数占比;其中,所述农作物的交集环境参数占比为农作物的交集环境参数与农作物的换进参数的比值;Obtain the weight of each crop in the current M crops and the proportion of the intersection environment parameter of each crop; wherein, the proportion of the intersection environment parameter of the crop is the ratio of the intersection environment parameter of the crop to the swap-in parameter of the crop;
根据每个权重和每个交集环境参数占比,确定所述中心参数值。Determine the central parameter value according to each weight and the proportion of each intersection environment parameter.
进一步地,上述所述的农作物贮存监控方法,还包括:Further, the above-mentioned crop storage monitoring method also includes:
若N大于3,M不等于N,当多次选取相同数量的农作物执行交集环境参数检测步骤后,得到的至少两个交集环境参数时,根据每个交集环境参数对应的农作物种类,确定每个交集环境参数的优先级;If N is greater than 3, and M is not equal to N, when at least two intersection environmental parameters are obtained after selecting the same number of crops for multiple times to perform the intersection environmental parameter detection step, according to the crop type corresponding to each intersection environmental parameter, determine each priority of intersection environment parameters;
选取优先级最高的交集环境参数作为目标交集环境参数;Select the intersection environment parameter with the highest priority as the target intersection environment parameter;
若所述当前环境的参数值位于目标交集环境参数对应的第二参数范围外,将所述当前环境的参数值调整至所述第二参数范围内。If the parameter value of the current environment is outside the second parameter range corresponding to the target intersection environment parameter, adjusting the parameter value of the current environment to be within the second parameter range.
进一步地,上述所述的农作物贮存监控方法中,根据每个交集环境参数对应的农作物种类,确定每个交集环境参数的优先级,包括:Further, in the crop storage monitoring method described above, according to the crop type corresponding to each intersection environmental parameter, the priority of each intersection environmental parameter is determined, including:
根据每个交集环境参数对应的农作物种类,确定每次选取的M种农作物的总购买成本;According to the crop types corresponding to each intersection environmental parameter, determine the total purchase cost of the M crops selected each time;
根据每个总购买成本,确定每个交集环境参数的优先级。Prioritize each intersection environmental parameter based on each total purchase cost.
进一步地,上述所述的农作物贮存监控方法,还包括:Further, the above-mentioned crop storage monitoring method also includes:
若当次选取的M种农作物的环境参数存在交集环境参数,且所述当前环境的参数值位于所述第一参数范围内,维持当前环境的参数值。If the environmental parameters of the currently selected M crops have overlapping environmental parameters, and the parameter value of the current environment is within the first parameter range, the parameter value of the current environment is maintained.
进一步地,上述所述的农作物贮存监控方法,还包括:Further, the above-mentioned crop storage monitoring method also includes:
当M不等于N时,输出未被选取的农作物的信息。When M is not equal to N, output the information of the unselected crops.
进一步地,上述所述的农作物贮存监控方法,还包括:Further, the above-mentioned crop storage monitoring method also includes:
当N等于2,且M等于2时,若当次选取的M种农作物的环境参数不存在交集环境参数,输出N种农作物不宜同时贮存的提示信息;When N is equal to 2, and M is equal to 2, if the environmental parameters of the selected M crops do not have intersection environmental parameters, output the prompt information that the N crops should not be stored at the same time;
当N大于2,且M不等于N时,若当次选取的M种农作物的环境参数不存在交集环境参数,转至交集环境参数检测步骤,直到遍历所有选取组合对应的检测检测结果均为不存在交集环境参数,输出N种农作物不宜同时贮存的提示信息。When N is greater than 2, and M is not equal to N, if there is no intersection environmental parameter for the environmental parameters of the selected M crops, go to the intersection environmental parameter detection step until the detection results corresponding to all selected combinations are traversed. There are overlapping environmental parameters, output prompt information that N kinds of crops should not be stored at the same time.
在第二方面,本发明提供一种农作物贮存监控设备,所述农作物贮存监控设备包括处理器和存储装置,所述存储装置适于存储多条程序代码,所述程序代码适于由所述处理器加载并运行以执行上述任一项所述的农作物贮存监控方法。In a second aspect, the present invention provides a crop storage monitoring device comprising a processor and a storage device, the storage device is adapted to store a plurality of program codes, the program codes are adapted to be processed by the processing The device is loaded and operated to execute any one of the crop storage monitoring methods described above.
在第三方面,提供一种计算机可读存储介质,该计算机可读存储介质其中存储有多条程序代码,所述程序代码适于由处理器加载并运行以执行上述任一项技术方案所述的农作物贮存监控方法。In a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a plurality of program codes, and the program codes are adapted to be loaded and run by a processor to perform any of the above technical solutions. crop storage monitoring method.
本发明上述一个或多个技术方案,至少具有如下一种或多种有益效果:The above-mentioned one or more technical solutions of the present invention have at least one or more of the following beneficial effects:
在实施本发明的技术方案中,获取当前环境中N种农作物的种类和抑制每种农作物发芽的环境参数,并依次选取M种农作物,并检测每次选取的M种农作物的环境参数是否存在交集环境参数;若当次选取的M种农作物的环境参数存在交集环境参数,且所述当前环境的参数值位于当次的交集环境参数对应的第一参数范围外,对当前环境进行调节,使所述当前环境的参数值位于所述第一参数范围内,实现了自动控制多种农作物的贮存空间的温湿度等环境参数,抑制农作物发芽,有效延迟多种农作物共同贮存的贮存时间。采用本发明的技术方案,能够提高对贮存空间的环境参数进行调节的便捷性、准确性。In implementing the technical solution of the present invention, the types of N crops in the current environment and the environmental parameters that inhibit the germination of each crop are obtained, and M crops are selected in turn, and whether there is an intersection of the environmental parameters of the M crops selected each time is detected Environmental parameters; if there is an intersection environmental parameter among the environmental parameters of the M crops selected this time, and the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environmental parameter, adjust the current environment so that all The parameter value of the current environment is within the range of the first parameter, which realizes the automatic control of environmental parameters such as temperature and humidity in the storage space of various crops, inhibits the germination of crops, and effectively delays the storage time of common storage of multiple crops. By adopting the technical solution of the present invention, the convenience and accuracy of adjusting the environmental parameters of the storage space can be improved.
附图说明Description of drawings
参照附图,本发明的公开内容将变得更易理解。本领域技术人员容易理解的是:这些附图仅仅用于说明的目的,而并非意在对本发明的保护范围组成限制。此外,图中类似的数字用以表示类似的部件,其中:The disclosure of the present invention will become more comprehensible with reference to the accompanying drawings. Those skilled in the art can easily understand that: these drawings are only for the purpose of illustration, and are not intended to limit the protection scope of the present invention. In addition, like numerals are used to designate like parts in the drawings, wherein:
图1是根据本发明的一个实施例的农作物贮存监控方法的主要步骤流程示意图;Fig. 1 is a schematic flow chart of the main steps of a crop storage monitoring method according to an embodiment of the present invention;
图2是根据本发明的一个实施例的农作物贮存监控设备的主要结构框图。Fig. 2 is a main structural block diagram of a crop storage monitoring device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面参照附图来描述本发明的一些实施方式。本领域技术人员应当理解的是,这些实施方式仅仅用于解释本发明的技术原理,并非旨在限制本发明的保护范围。Some embodiments of the present invention are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present invention, and are not intended to limit the protection scope of the present invention.
在本发明的描述中,“模块”、“处理器”可以包括硬件、软件或者两者的组合。一个模块可以包括硬件电路,各种合适的感应器,通信端口,存储器,也可以包括软件部分,比如程序代码,也可以是软件和硬件的组合。处理器可以是中央处理器、微处理器、图像处理器、数字信号处理器或者其他任何合适的处理器。处理器具有数据和/或信号处理功能。处理器可以以软件方式实现、硬件方式实现或者二者结合方式实现。非暂时性的计算机可读存储介质包括任何合适的可存储程序代码的介质,比如磁碟、硬盘、光碟、闪存、只读存储器、随机存取存储器等等。术语“A和/或B”表示所有可能的A与B的组合,比如只是A、只是B或者A和B。术语“至少一个A或B”或者“A和B中的至少一个”含义与“A和/或B”类似,可以包括只是A、只是B或者A和B。单数形式的术语“一个”、“这个”也可以包含复数形式。In the description of the present invention, "module" and "processor" may include hardware, software or a combination of both. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and/or signal processing functions. The processor can be implemented in software, hardware or a combination of both. The non-transitory computer readable storage medium includes any suitable medium that can store program code, such as magnetic disks, hard disks, optical disks, flash memory, read only memory, random access memory, and the like. The term "A and/or B" means all possible combinations of A and B, such as only A, only B or A and B. The term "at least one of A or B" or "at least one of A and B" has a similar meaning to "A and/or B" and may include only A, only B or both A and B. The terms "a" and "the" in the singular may also include plural forms.
通常情况下,人们会凭借经验调节贮存每种农作物的温度、湿度等环境参数,防止农作物发芽。然而,由于贮存空间有限,人们在贮存农作物时,通常多种农作物一起贮存,使得人们无法准确的对贮存空间的环境参数进行调节,以尽可能防止大部分甚至所有农作物不发芽。Usually, people will rely on experience to adjust the environmental parameters such as temperature and humidity for storing each crop to prevent the crops from germinating. However, due to the limited storage space, when people store crops, usually multiple crops are stored together, so that people cannot accurately adjust the environmental parameters of the storage space, so as to prevent most or even all crops from not germinating as much as possible.
因此,为了解决上述技术问题,本发明提供了以下技术方案。Therefore, in order to solve the above technical problems, the present invention provides the following technical solutions.
参阅附图1,图1是根据本发明的一个实施例的农作物贮存监控方法的主要步骤流程示意图。如图1所示,本发明实施例中的农作物贮存监控方法主要包括下列步骤101-步骤104。Referring to accompanying drawing 1, Fig. 1 is a schematic flowchart of the main steps of a crop storage monitoring method according to an embodiment of the present invention. As shown in FIG. 1 , the crop storage monitoring method in the embodiment of the present invention mainly includes the following steps 101 - 104 .
步骤101、获取当前环境中N种农作物的种类和抑制每种农作物发芽的环境参数;
在一个具体实现过程中,可以通过图像识别等方式,对当前环境中存在的农作物进行种类识别,得到当前环境中N种农作物的种类。其中,N大于或等于2。该农作物可以包括花生、大豆、地瓜、芋头、大蒜、生姜、粮食等。In a specific implementation process, the types of crops existing in the current environment may be identified by means of image recognition, etc., to obtain the types of N types of crops in the current environment. Wherein, N is greater than or equal to 2. The crops may include peanuts, soybeans, sweet potatoes, taro, garlic, ginger, grains and the like.
在一个具体实现过程中,可以根据不同种类的农作物,建立一个抑制发芽环境数据库,可以从该抑制发芽环境数据库中选取抑制每种农作物发芽的环境参数。其中,该环境参数可以包括温度和湿度等。In a specific implementation process, an environment database for inhibiting germination can be established according to different types of crops, and environmental parameters for inhibiting germination of each type of crop can be selected from the environment database for inhibiting germination. Wherein, the environmental parameters may include temperature, humidity and the like.
步骤102、交集环境参数检测步骤:依次选取M种农作物,并检测每次选取的M种农作物的环境参数是否存在交集环境参数;
在一个具体实现过程中,可以由N、N-1,N-2…2的顺序依次选取M种农作物,然后检测每次选取的M种农作物的环境参数是否存在交集环境参数。In a specific implementation process, M crops can be selected sequentially in the order of N, N-1, N-2...2, and then it is detected whether the environmental parameters of the M crops selected each time have overlapping environmental parameters.
具体地,当M=N时,若当次选取的M种农作物的环境参数不存在交集环境参数,说明没有N种农作物可以共用的环境参数,此时,交集环境参数为空。然后从N种农作物种去除一种农作物,继续对N-1种农作物的环境参数是否存在交集环境参数,若任意组合的N-1种农作物的环境参数均不存在交集环境参数,则从N种农作物种去除两种农作物,继续对N-2种农作物的环境参数是否存在交集环境参数,以此类推,再次不再一一说明。其中,若两次选取组合中具有相同数量的农作物,两次选取组合中的农作物的种类至少存在一种不同的农作物。例如,有第一种农作物A、第二种农作物B、第三种农作物C。第一次选取组合可以为{第一种农作物A、第二种农作物B},第二次选取组合可以为{第二种农作物B、第三种农作物C}或者{第一种农作物A、第三种农作物C}。Specifically, when M=N, if there is no intersection environmental parameter among the environmental parameters of the M crops selected this time, it means that there is no environmental parameter that can be shared by the N crops, and at this time, the intersection environmental parameter is empty. Then remove one crop from the N crop species, and continue to check whether the environmental parameters of the N-1 crops have intersection environmental parameters. If there is no intersection environmental parameter for any combination of N-1 crops, the N The crop species removes the two crops, and continues to check whether the environmental parameters of the N-2 crops overlap the environmental parameters, and so on, and will not explain them one by one again. Wherein, if there are the same number of crops in the two selection combinations, there is at least one different type of crops in the two selection combinations. For example, there is a first crop A, a second crop B, and a third crop C. The first selection combination can be {the first crop A, the second crop B}, and the second selection combination can be {the second crop B, the third crop C} or {the first crop A, the second crop C} Three crops C}.
步骤103、若当次选取的M种农作物的环境参数存在交集环境参数,检测所述当前环境的参数值是否位于当次的交集环境参数对应的第一参数范围外;
若当次选取的M种农作物的环境参数存在交集环境参数,可以获取当前环境的参数值,并检测所述当前环境的参数值是否位于当次的交集环境参数对应的第一参数范围外。If there is an intersection environmental parameter among the environmental parameters of the M types of crops selected at the time, the parameter value of the current environment can be obtained, and it can be detected whether the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environmental parameter.
需要说明的是,若当次选取的M种农作物的环境参数存在交集环境参数,可以不再执行交集环境参数检测步骤,若还有其他组合,也可以继续转至交集环境参数检测步骤,直到不再有其他组合为止,停止执行交集环境参数检测步骤,本实施例不做具体限制。It should be noted that if there are intersection environmental parameters among the environmental parameters of the M crops selected at the time, the intersection environmental parameter detection step can no longer be performed, and if there are other combinations, the intersection environmental parameter detection step can also be continued until no more Until there are other combinations, the execution of the intersection environment parameter detection step is stopped, which is not specifically limited in this embodiment.
步骤104、若所述当前环境的参数值位于当次的交集环境参数对应的第一参数范围外,对当前环境进行调节,使所述当前环境的参数值位于所述第一参数范围内。Step 104: If the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environment parameter, adjust the current environment so that the parameter value of the current environment is within the first parameter range.
在一个具体实现过程中,若所述当前环境的参数值位于当次的交集环境参数对应的第一参数范围外,说明当前环境的参数值无法使M种农作物同时满足抑制发芽的环境参数,此时,可以对当前环境进行调节,使所述当前环境的参数值位于所述第一参数范围内。例如,可以通过空调对当前环境的温度和湿度等进行调节,使当前环境的温度和湿度均位于能够抑制M种农作物发芽的温度范围和湿度范围内,从而延长M中农作物的贮存时间。In a specific implementation process, if the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environment parameter, it means that the parameter value of the current environment cannot make M kinds of crops simultaneously meet the environmental parameters for suppressing germination. , the current environment may be adjusted so that the parameter value of the current environment is within the first parameter range. For example, the temperature and humidity of the current environment can be adjusted through the air conditioner, so that the temperature and humidity of the current environment are within the temperature range and humidity range that can inhibit the germination of M crops, thereby prolonging the storage time of M crops.
在一个具体实现过程中,可以按照如下方式对当前环境进行调节,使所述当前环境的参数值位于所述第一参数范围内:In a specific implementation process, the current environment may be adjusted in the following manner, so that the parameter value of the current environment is within the first parameter range:
(1)确定所述第一参数范围的中心参数值;(1) determining the central parameter value of the first parameter range;
在一个具体实现过程中,可以将第一参数范围的正中心对应的参数值作为第一参数范围的中心参数值,但是在部分农作物的交集环境参数与原有的环境参数之间的占比较小,而另一部分农作物的交集环境参数与原有的环境参数之间的占比较大时,正中心对应的参数值实际上位于交集环境参数占比较小的农作物的环境参数的边缘,虽然也能满足交集环境参数占比较小的农作物所需的环境参数,但是该环境参数并不是比较理想的,因此,可以预先针对用户对每种农作物需求设置不同的权重,从而可以获取到当次的M种农作物中每种农作物的权重。然后,根据每个权重和每种农作物的交集环境参数占比,确定所述中心参数值,从而使得所确定的中心参数值能够尽可能的较好的满足M种农作物所需的环境参数。其中,所述农作物的交集环境参数占比为农作物的交集环境参数与农作物的换进参数的比值;In a specific implementation process, the parameter value corresponding to the center of the first parameter range can be used as the central parameter value of the first parameter range, but the ratio between the intersection environmental parameters of some crops and the original environmental parameters is relatively small , while the ratio between the intersection environmental parameters of some crops and the original environmental parameters is relatively large, the parameter value corresponding to the center is actually located on the edge of the environmental parameters of the crops whose intersection environmental parameters account for a small proportion, although it can also satisfy The environmental parameters required by the crops with a small proportion of the intersection environmental parameters, but the environmental parameters are not ideal. Therefore, different weights can be set in advance according to the user's needs for each crop, so that the current M crops can be obtained The weight of each crop in . Then, according to each weight and the proportion of the intersection environmental parameters of each crop, the central parameter value is determined, so that the determined central parameter value can satisfy the environmental parameters required by the M crops as well as possible. Wherein, the ratio of the intersection environment parameter of the crops is the ratio of the intersection environment parameters of the crops to the swap-in parameters of the crops;
例如,对于农作物A其交集环境参数占比较小,而对于农作物B其交集环境参数占比较大,直接选取正中心对应的参数值,其相对于农作物A的原有中心值较远,而相对于农作物B的原有中心值较近,对于农作物B而言更适合贮存,而对于农作A而言,虽然也能贮存时间较长,但是相对于采用靠近农作物A的原有中心值的参数而言,贮存效果较差,而采用上述中心参数值的确定方法而言,若农作物A的权重大于农作物B的权重,则可以适当的将第一参数范围的中心参数值向农作物A的原有中心值靠近,从而适当延长农作物A的贮存时间,对于农作物的贮存而言,虽有影响,但是相对较小。For example, for crop A, the proportion of intersection environment parameters is small, while for crop B, the proportion of intersection environment parameters is relatively large, so the parameter value corresponding to the center is directly selected, which is far away from the original center value of crop A, and relative to The original central value of crop B is relatively close, and it is more suitable for storage for crop B, while for crop A, although it can also be stored for a longer period of time, compared with using parameters close to the original central value of crop A In other words, the storage effect is poor, but using the above-mentioned determination method of the center parameter value, if the weight of crop A is greater than the weight of crop B, then the center parameter value of the first parameter range can be properly moved to the original center of crop A The values are close to each other, so that the storage time of crop A is appropriately extended, although it has an impact on the storage of crops, but it is relatively small.
(2)以所述中心参数值为目标,对所述当前环境进行调节,使所述当前环境的参数值调整为所述中心参数值。(2) Adjusting the current environment with the central parameter value as the target, so that the parameter value of the current environment is adjusted to the central parameter value.
在一个具体实现过程中,可以通过空调等设备对当前环境进行调节,使所述当前环境的参数值逐渐调整为所述中心参数值。In a specific implementation process, the current environment may be adjusted through an air conditioner and other equipment, so that the parameter value of the current environment is gradually adjusted to the central parameter value.
本实施例的农作物贮存监控方法,获取当前环境中N种农作物的种类和抑制每种农作物发芽的环境参数,并依次选取M种农作物,并检测每次选取的M种农作物的环境参数是否存在交集环境参数;若当次选取的M种农作物的环境参数存在交集环境参数,且所述当前环境的参数值位于当次的交集环境参数对应的第一参数范围外,对当前环境进行调节,使所述当前环境的参数值位于所述第一参数范围内,实现了自动控制多种农作物的贮存空间的温湿度等环境参数,抑制农作物发芽,有效延迟多种农作物共同贮存的贮存时间。采用本发明的技术方案,能够提高对贮存空间的环境参数进行调节的便捷性、准确性。The crop storage monitoring method of this embodiment obtains the types of N crops in the current environment and the environmental parameters that inhibit the germination of each crop, and sequentially selects M crops, and detects whether there is an intersection of the environmental parameters of the M crops selected each time Environmental parameters; if there is an intersection environmental parameter among the environmental parameters of the M crops selected this time, and the parameter value of the current environment is outside the first parameter range corresponding to the current intersection environmental parameter, adjust the current environment so that all The parameter value of the current environment is within the range of the first parameter, which realizes the automatic control of environmental parameters such as temperature and humidity in the storage space of various crops, inhibits the germination of crops, and effectively delays the storage time of common storage of multiple crops. By adopting the technical solution of the present invention, the convenience and accuracy of adjusting the environmental parameters of the storage space can be improved.
在一个具体实现过程中,N大于3时,当选取的M=N-1,N-2…2时,对于每种数量均可能出现多种选取组合,所有选取组合中可能得到至少两个交集环境参数,此时,可以根据每个交集环境参数对应的农作物种类,确定每个交集环境参数的优先级;选取优先级最高的交集环境参数作为目标交集环境参数;此时,若所述当前环境的参数值位于目标交集环境参数对应的第二参数范围外,将所述当前环境的参数值调整至所述第二参数范围内。In a specific implementation process, when N is greater than 3, when the selected M=N-1, N-2...2, there may be multiple selection combinations for each quantity, and at least two intersections may be obtained in all selection combinations Environmental parameters, at this time, the priority of each intersection environmental parameter can be determined according to the crop type corresponding to each intersection environmental parameter; the intersection environmental parameter with the highest priority is selected as the target intersection environment parameter; at this time, if the current environment The parameter value of is located outside the second parameter range corresponding to the target intersection environment parameter, and the parameter value of the current environment is adjusted to be within the second parameter range.
具体地,以M=2为例,当选取组合为{第一种农作物A、第二种农作物B}时,存在第一个交集环境参数,当选取组合为{第一种农作物A、第二种农作物C}时,存在第二个交集环境参数,此时,可以对第一个交集环境参数和第二个交集环境参数进行优先级排序,若第二个交集环境参数的优先级高于第一个交集环境参数的优先级,则将第二个交集环境参数作为目标交集环境参数,并在所述当前环境的参数值位于目标交集环境参数对应的第二参数范围外时,将所述当前环境的参数值调整至目标交集环境参数对应的第二参数范围内。Specifically, taking M=2 as an example, when the selected combination is {the first crop A, the second crop B}, there is the first intersection environmental parameter, and when the selected combination is {the first crop A, the second When planting crops C}, there is a second intersection environment parameter. At this time, the priority of the first intersection environment parameter and the second intersection environment parameter can be sorted. If the priority of the second intersection environment parameter is higher than that of the first intersection environment parameter priority of one intersection environment parameter, the second intersection environment parameter is used as the target intersection environment parameter, and when the parameter value of the current environment is outside the range of the second parameter corresponding to the target intersection environment parameter, the current The parameter value of the environment is adjusted to be within the range of the second parameter corresponding to the environment parameter of the target intersection.
在一个具体实现过程中,可以根据每个交集环境参数对应的农作物种类,确定每次选取的M种农作物的总购买成本;根据每个总购买成本,确定每个交集环境参数的优先级。例如,当选取组合为{第一种农作物A、第二种农作物C}时,其购买成本为20元,当选取组合为{第一种农作物A、第二种农作物B}时,其购买成本为15元,则可以确定第二个交集环境参数的优先级高于第一个交集环境参数的优先级。In a specific implementation process, the total purchase cost of M crops selected each time can be determined according to the crop type corresponding to each intersection environmental parameter; and the priority of each intersection environmental parameter can be determined according to each total purchase cost. For example, when the selected combination is {the first crop A, the second crop C}, its purchase cost is 20 yuan; when the selected combination is {the first crop A, the second crop B}, its purchase cost is 15, it can be determined that the priority of the second intersection environment parameter is higher than that of the first intersection environment parameter.
在一个具体实现过程中,若当次选取的M种农作物的环境参数存在交集环境参数,且所述当前环境的参数值位于所述第一参数范围内,可以维持当前环境的参数值,也可以确定所述第一参数范围的中心参数值;以所述中心参数值为目标,对所述当前环境进行调节,使所述当前环境的参数值调整为所述中心参数值。In a specific implementation process, if there is an intersection environmental parameter among the environmental parameters of the M crops selected at the time, and the parameter value of the current environment is within the first parameter range, the parameter value of the current environment can be maintained, or Determine the central parameter value of the first parameter range; adjust the current environment with the central parameter value as the target, so that the parameter value of the current environment is adjusted to the central parameter value.
在一个具体实现过程中,当M不等于N时,说明有未被选中的农作物,此时,可以输出未被选取的农作物的信息,以便用户获知需要把哪些农作物取出,单独贮存。In a specific implementation process, when M is not equal to N, it means that there are unselected crops. At this time, the information of unselected crops can be output, so that the user can know which crops need to be taken out and stored separately.
在一个具体实现过程中,当N等于2,且M等于2时,若当次选取的M种农作物的环境参数不存在交集环境参数,输出N种农作物不宜同时贮存的提示信息。也就是说,如果只存在2种农作物,若当次选取的M种农作物的环境参数不存在交集环境参数,说明二者不能同时存储,此时,可以输出N种农作物不宜同时贮存的提示信息。In a specific implementation process, when N is equal to 2 and M is equal to 2, if there is no intersection environmental parameter among the environmental parameters of the M crops selected at the time, a prompt message that the N crops should not be stored at the same time is output. That is to say, if there are only two kinds of crops, if the environmental parameters of the selected M kinds of crops do not have intersection environmental parameters, it means that the two cannot be stored at the same time.
在一个具体实现过程中,当N大于2,且M不等于N时,若当次选取的M种农作物的环境参数不存在交集环境参数,转至交集环境参数检测步骤,直到遍历所有选取组合对应的检测检测结果均为不存在交集环境参数,输出N种农作物不宜同时贮存的提示信息。也就是说,存在3种以上农作物时,去除1种或多种农作物后,仍不存在交集环境参数,输出N种农作物不宜同时贮存的提示信息。In a specific implementation process, when N is greater than 2 and M is not equal to N, if there is no intersection environmental parameter for the environmental parameters of the selected M crops, go to the intersection environmental parameter detection step until all selected combinations are traversed. The detection results are all non-intersecting environmental parameters, and the prompt information that N kinds of crops are not suitable for simultaneous storage is output. That is to say, when there are more than 3 kinds of crops, after removing one or more kinds of crops, there is still no intersection environmental parameter, and the prompt information that N kinds of crops should not be stored at the same time is output.
需要指出的是,尽管上述实施例中将各个步骤按照特定的先后顺序进行了描述,但是本领域技术人员可以理解,为了实现本发明的效果,不同的步骤之间并非必须按照这样的顺序执行,其可以同时(并行)执行或以其他顺序执行,这些变化都在本发明的保护范围之内。It should be pointed out that, although the steps are described in a specific order in the above embodiments, those skilled in the art can understand that in order to achieve the effect of the present invention, different steps do not have to be executed in this order. They can be performed simultaneously (parallel) or in other sequences, and these variations are within the protection scope of the present invention.
本领域技术人员能够理解的是,本发明实现上述一实施例的方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器、随机存取存储器、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读存储介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读存储介质不包括电载波信号和电信信号。Those skilled in the art can understand that all or part of the process in the method of the above-mentioned embodiment of the present invention can also be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable In the storage medium, when the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable Storage media excludes electrical carrier signals and telecommunication signals.
进一步,本发明还提供了一种农作物贮存监控设备。Further, the present invention also provides a crop storage monitoring device.
参阅附图2,图2是根据本发明的一个实施例的农作物贮存监控设备的主要结构框图。如图2所示,本发明实施例中的农作物贮存监控设备可以包括处理器21和存储装置22。Referring to accompanying drawing 2, Fig. 2 is a main structural block diagram of a crop storage monitoring device according to an embodiment of the present invention. As shown in FIG. 2 , the crop storage monitoring device in the embodiment of the present invention may include a
存储装置21可以被配置成存储执行上述方法实施例的农作物贮存监控方法的程序,处理器22可以被配置成用于执行存储装置21中的程序,该程序包括但不限于执行上述方法实施例的农作物贮存监控方法的程序。为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该农作物贮存监控设备可以是包括各种电子设备形成的控制设备。The
在一个具体实现过程中,该存储装置22和处理器21的数目均可以为多个。而执行上述方法实施例的农作物贮存监控方法的程序可以被分割成多段子程序,每段子程序分别可以由处理器21加载并运行以执行上述方法实施例的农作物贮存监控方法的不同步骤。具体地,每段子程序可以分别存储在不同的存储装置22中,每个处理器21可以被配置成用于执行一个或多个存储装置22中的程序,以共同实现上述方法实施例的农作物贮存监控方法,即每个处理器21分别执行上述方法实施例的农作物贮存监控方法的不同步骤,来共同实现上述方法实施例的农作物贮存监控方法。In a specific implementation process, the number of the
上述多个处理器21可以是部署于同一个设备上的处理器,例如上述设备可以是由多个处理器组成的高性能设备,上述多个处理器21可以是该高性能设备上配置的处理器。此外,上述多个处理器21也可以是部署于不同设备上的处理器,例如上述设备可以是服务器集群,上述多个处理器21可以是服务器集群中不同服务器上的处理器。The above-mentioned
进一步,本发明还提供了一种计算机可读存储介质。在根据本发明的一个计算机可读存储介质实施例中,计算机可读存储介质可以被配置成存储执行上述方法实施例的农作物贮存监控方法的程序,该程序可以由处理器加载并运行以实现上述农作物贮存监控方法。为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例方法部分。该计算机可读存储介质可以是包括各种电子设备形成的存储装置设备,可选的,本发明实施例中计算机可读存储介质是非暂时性的计算机可读存储介质。Further, the present invention also provides a computer-readable storage medium. In an embodiment of a computer-readable storage medium according to the present invention, the computer-readable storage medium may be configured to store a program for executing the crop storage monitoring method of the above-mentioned method embodiment, and the program may be loaded and run by a processor to realize the above-mentioned Crop storage monitoring method. For ease of description, only the parts related to the embodiments of the present invention are shown, and for specific technical details not disclosed, please refer to the method part of the embodiments of the present invention. The computer-readable storage medium may be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in this embodiment of the present invention is a non-transitory computer-readable storage medium.
进一步,应该理解的是,由于各个模块的设定仅仅是为了说明本发明的装置的功能单元,这些模块对应的物理器件可以是处理器本身,或者处理器中软件的一部分,硬件的一部分,或者软件和硬件结合的一部分。因此,图中的各个模块的数量仅仅是示意性的。Further, it should be understood that since the setting of each module is only to illustrate the functional units of the device of the present invention, the physical device corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or Part of a combination of software and hardware. Therefore, the number of each module in the figure is only illustrative.
本领域技术人员能够理解的是,可以对装置中的各个模块进行适应性地拆分或合并。对具体模块的这种拆分或合并并不会导致技术方案偏离本发明的原理,因此,拆分或合并之后的技术方案都将落入本发明的保护范围内。Those skilled in the art can understand that each module in the device can be split or combined adaptively. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, therefore, the technical solutions after splitting or merging will all fall within the protection scope of the present invention.
至此,已经结合附图所示的优选实施方式描述了本发明的技术方案,但是,本领域技术人员容易理解的是,本发明的保护范围显然不局限于这些具体实施方式。在不偏离本发明的原理的前提下,本领域技术人员可以对相关技术特征作出等同的更改或替换,这些更改或替换之后的技术方案都将落入本发明的保护范围之内。So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings, but those skilled in the art will easily understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principles of the present invention, those skilled in the art can make equivalent changes or substitutions to relevant technical features, and the technical solutions after these changes or substitutions will all fall within the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310094439.4A CN116107248A (en) | 2023-02-01 | 2023-02-01 | Crop storage monitoring method, apparatus and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310094439.4A CN116107248A (en) | 2023-02-01 | 2023-02-01 | Crop storage monitoring method, apparatus and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116107248A true CN116107248A (en) | 2023-05-12 |
Family
ID=86262283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310094439.4A Pending CN116107248A (en) | 2023-02-01 | 2023-02-01 | Crop storage monitoring method, apparatus and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116107248A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754038A (en) * | 2015-03-06 | 2015-07-01 | 安徽皖拓自动化有限公司 | Monitoring method and device for grain in distributed grain storehouse |
CN107869879A (en) * | 2016-09-28 | 2018-04-03 | 九阳股份有限公司 | A kind of control method of refrigerator |
CN108776847A (en) * | 2018-05-29 | 2018-11-09 | 和县小辣椒电子商务有限公司 | A kind of farm produce sale storage environment sensory perceptual system |
CN113566487A (en) * | 2021-08-06 | 2021-10-29 | 松下电器研究开发(苏州)有限公司 | Food material storage system, refrigerator, food material management method and intelligent refrigerator system |
CN114253321A (en) * | 2021-11-09 | 2022-03-29 | 青岛海尔空调器有限总公司 | Crop storage method and device, electronic equipment and storage medium |
-
2023
- 2023-02-01 CN CN202310094439.4A patent/CN116107248A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104754038A (en) * | 2015-03-06 | 2015-07-01 | 安徽皖拓自动化有限公司 | Monitoring method and device for grain in distributed grain storehouse |
CN107869879A (en) * | 2016-09-28 | 2018-04-03 | 九阳股份有限公司 | A kind of control method of refrigerator |
CN108776847A (en) * | 2018-05-29 | 2018-11-09 | 和县小辣椒电子商务有限公司 | A kind of farm produce sale storage environment sensory perceptual system |
CN113566487A (en) * | 2021-08-06 | 2021-10-29 | 松下电器研究开发(苏州)有限公司 | Food material storage system, refrigerator, food material management method and intelligent refrigerator system |
CN114253321A (en) * | 2021-11-09 | 2022-03-29 | 青岛海尔空调器有限总公司 | Crop storage method and device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20170329785A1 (en) | Application recommendation method, server, and computer readable medium | |
US10028019B2 (en) | Method for controlling network media information publication, apparatus, and server | |
US12198328B2 (en) | Defect detection method, electronic device and readable storage medium | |
CN117312689B (en) | Information management platform management analysis method and system, storage medium and intelligent terminal | |
CN107403381A (en) | Collecting method and device and electronic equipment for risk test and appraisal | |
US10545972B2 (en) | Identification and elimination of non-essential statistics for query optimization | |
WO2020087758A1 (en) | Abnormal traffic data identification method, apparatus, computer device, and storage medium | |
CN107153656A (en) | A kind of information search method and device | |
CN112104912B (en) | Method, device and equipment for detecting video watching completion degree and readable storage medium | |
CN116107248A (en) | Crop storage monitoring method, apparatus and storage medium | |
CN117763024A (en) | Data fragment extraction method and device | |
CN106803246A (en) | Image quality evaluating method, device and equipment | |
CN110633304B (en) | Combined feature screening method, device, computer equipment and storage medium | |
CN116125889B (en) | Crop storage monitoring method, device and storage medium | |
CN106937173A (en) | Video playback method and device | |
KR101620659B1 (en) | Method for selecting similar users for collaborative filtering based on earth movers distance | |
TWI559216B (en) | Adjusting speaker settings | |
CN110264333B (en) | Risk rule determining method and apparatus | |
CN108961071B (en) | Method for automatically predicting combined service income and terminal equipment | |
CN114554170B (en) | Method for multi-sensor white balance synchronization and electronic device using same | |
CN112860991B (en) | Book optimization method and device based on user habits | |
CN109598525A (en) | Data processing method and device | |
CN111669656B (en) | Method and device for determining wonderful degree of video clip | |
CN112819079A (en) | Model sampling algorithm matching method and device and electronic equipment | |
CN113052412A (en) | User perception quantification method and device, computing equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |