Method, computer device and storage medium for order generation in feed mill
By obtaining the feed demand and warehouse capacity of the farm, calculating feed production volume with the consumption coefficient and generating orders, the problem of appropriate feed supply and production efficiency in large-scale breeding is solved, and coordination between the feed factory and the farm is achieved supply.
Patent Information
- Application Number
- CN202111405193.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-24
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2041-11-24
AI Technical Summary
In the field of large-scale breeding, how to generate orders to ensure efficient production and appropriate feed supply is an urgent problem.
By obtaining the feed demand of the farm and the available capacity of the temporary storage warehouse and finished product warehouse, and calculating the feed production volume based on the consumption coefficient, and generating orders to ensure the appropriateness and production efficiency of the feed supply.
The tight coupling between feed factories and farms is achieved in the Internet of Things scenario, ensuring the coordination of feed supply and efficient production, and avoiding the accumulation or insufficient feed.
Smart Images

Figure CN114169710B_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the field of farming. More specifically, the present invention relates to a method, a computer device and a computer readable storage medium for order generation in a feed mill. Background Art
[0002] In the field of livestock farming, large-scale, automated and intelligent farming methods have gradually developed. Among them, the Internet of Things technology is not only more widely and commonly used within the farms, but also plays a greater role in other places related to the farms. Moreover, the application of the Internet of Things technology has also continuously strengthened the correlation between supporting facilities such as feed mills and farms.
[0003] For example, the Internet of Things technology can be used to match farms with feed factories, and the production volume of the feed factory can be determined based on the feed demand of the farm. Orders can then be generated and feed production can be planned based on the orders, thus avoiding the blindness of feed production and reducing the occurrence of feed accumulation or shortage.
[0004] In the field of large-scale pig farming, feed mills are directly connected to farms through pipe chains, that is, the feed produced by the feed mills is transported to various breeding units on the farms through pipe chains for pigs to eat. In this case, when generating orders, feed mills also need to consider both production efficiency and the appropriate amount of feed supply.
[0005] In summary, how to generate orders to ensure efficient production and appropriate feed supply in the field of large-scale farming is an urgent problem that needs to be solved. Summary of the invention
[0006] The present invention provides a method for generating an order for a feed mill, a computer device and a computer-readable storage medium, which are used to solve the problem of how to ensure efficient production and proper feed supply.
[0007] According to a first aspect of the present invention, there is provided a method for generating an order for a feed factory, wherein the feed produced by the feed factory is sequentially transported to each breeding unit of a farm through a finished product warehouse, a pipe chain and a temporary storage warehouse; the method comprises: obtaining the feed demand of the farm and the available capacity of the temporary storage warehouse; obtaining the available capacity of the finished product warehouse; and calculating the feed production volume according to the feed demand, the available capacity of the temporary storage warehouse and the available capacity of the finished product warehouse to generate an order.
[0008] In one embodiment, obtaining the feed requirement of the farm includes: in response to the feed requirement being normal, continuing to execute the method; in response to the feed requirement being abnormal, obtaining the feed requirement again.
[0009] In one embodiment, the feed demand is calculated by the farm according to the daily breeding plan, and the available capacity of the temporary storage warehouse and the available capacity of the finished product warehouse are collected by corresponding material level sensors; obtaining the feed demand of the farm includes: obtaining the feed demand through the network at a predetermined time or a predetermined time period every day.
[0010] In one embodiment, generating an order based on the feed demand, the available capacity of the temporary storage warehouse and the available capacity of the finished product warehouse includes: C=K(A+R)+L; wherein C is the feed production, A is the daily feed demand, R is the available capacity of the temporary storage warehouse, L is the available capacity of the finished product warehouse, and K is a pre-set consumption coefficient.
[0011] In one embodiment, the consumption coefficient K=1.5-2.5.
[0012] In one embodiment, the consumption coefficient is positively correlated with the total capacity of the temporary storage warehouse and the capacity of the pipe chain.
[0013] In one embodiment, the order includes orders for multiple feeds, and the production volume of each feed is calculated independently according to the demand for each feed, the available capacity of the finished product warehouse for each feed, and the available capacity of the temporary storage warehouse for each feed.
[0014] In one embodiment, the method further comprises the step of producing feed according to the order.
[0015] According to a second aspect of the present invention, there is provided a computer device for order generation in a feed mill, comprising a memory and a processor, wherein the processor is used to execute a computer program stored in the memory to implement one of the methods described in the first aspect of the present invention.
[0016] According to a third aspect of the present invention, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, one of the methods described in the first aspect of the present invention is implemented.
[0017] The technical solution of the present invention can obtain the feed demand information of the farm and the available capacity information of the temporary storage warehouse by means of the Internet of Things, and combine it with the available capacity information of the finished product warehouse in the feed factory to calculate the feed output of the day, that is, to obtain the corresponding order. Feed processing equipment can not only ensure efficient production, but also ensure the appropriate feed supply when it is produced according to the order.
[0018] Furthermore, when calculating the technical feed production, not only the feed demand, the available capacity of the temporary storage warehouse and the available capacity of the finished product warehouse are taken into account, but the consumption coefficient is also designed according to the total capacity of the temporary storage warehouse, so that the calculated feed production makes the coupling of the feed mill and the farm in the IoT scenario closer and the cooperation with each other more coordinated. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] By reading the following detailed description with reference to the accompanying drawings, the above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:
[0020] Figure 1 is a structural schematic diagram of a feed factory and a breeding farm according to an embodiment of the present invention;
[0021] Figure 2 is a schematic diagram of a network connection between a feed factory and a breeding farm according to an embodiment of the present invention;
[0022] Figure 3 is a schematic flow chart of a method for generating an order for a feed factory according to an embodiment of the present invention;
[0023] Figure 4 is a schematic diagram of the corresponding relationship between feed factory equipment and an order generation method process according to an embodiment of the present invention;
[0024] Figure 5 is a structural schematic diagram related to a method for calculating feed production according to an embodiment of the present invention;
[0025] Figure 6 is a structural schematic diagram of a feed factory and a breeding farm according to another embodiment of the present invention;
[0026] Figure 7 is a structural schematic diagram related to a method for calculating feed production according to another embodiment of the present invention;
[0027] Figure 8 The present invention is a schematic diagram of the structure of a computer device for generating orders for a feed factory according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0029] It should be noted that in the following embodiments, the technical solution of the present invention will be described by taking a pig farm as an example; in other embodiments, the technical solution of the present invention can also be used in other farms, such as cattle farms and other livestock farms.
[0030] The embodiments of the present invention are described in detail below. Figure 1 The schematic diagram of the structure of a feed mill and a breeding farm in the IoT application scenario is shown, wherein the feed mill 1 mainly includes: feed processing equipment 11 and a finished product warehouse 12. The feed mill 1 is used to mix various raw materials and make feed, such as mixing and processing raw materials such as wheat and soybeans to make pig feed. The finished product warehouse 12 is used to store the feed made by the feed processing equipment 11, and the made feed can be called finished feed. The breeding farm 2 mainly includes a temporary storage warehouse 21 and various breeding units. The temporary storage warehouse 21 is used to temporarily store feed transported from the feed mill. The breeding unit includes Figure 1 There are three breeding units, Unit 22, Unit 23 and Unit 24, in each of which a certain number of pigs are raised. Figure 1 This is just an example. In actual application scenarios, the farm 2 may include a large number of breeding units. The temporary storage bin 21 is connected to the finished product bin 12 via a pipe chain 3. The pipe chain 3 can continuously transport the feed in the finished product bin 12 to the temporary storage bin 21 of the farm. The temporary storage bin 21 is further connected to each unit via a pipe chain, thereby transporting the feed to the feed trough of each unit for pigs to eat.
[0031] Figure 2 The schematic diagram of the network connection between the feed factory and the farm in the IoT application scenario is shown. The feed factory is provided with a feed factory host 100, and the farm is provided with a farm host 200. The feed factory host 100 and the farm host 200 are connected through a network. The network can be a small-scale network such as a local area network, or a large-scale network such as the Internet. Devices such as a server 400 can also be set in the network to store relevant data. For example, various data generated or collected by the farm host 200 can be stored in the server, and the feed factory host 100 can access the server 400 to obtain the data. Furthermore, the feed processing equipment is also provided with a feed processing equipment controller 101 for controlling the feed processing equipment. When the feed factory is producing, the feed factory host 100 can be used to generate an order, which specifies the feed production volume of the day; the feed processing equipment controller 101 can be used to obtain the generated order from the feed host 100 and start the production of the day according to the feed production volume specified in the order. In one application scenario, the feed factory host 100, the farm host 200, the server 400 and the feed processing equipment controller 101 can all be implemented using a PC or an industrial computer; in other application scenarios, they can also be implemented using a microprocessor and its peripheral circuits, or a PLC.
[0032] According to Figure 1 and Figure 2 As can be seen from the description, the feed factory host 100 is the subject for executing order generation. The order generation method of the present invention is specifically described below.
[0033] According to a first aspect of the present invention, there is provided a method for generating an order for a feed factory, the method comprising: obtaining the feed demand of the farm and the available capacity of the temporary storage warehouse; obtaining the available capacity of the finished product warehouse; and calculating the feed production volume based on the feed demand, the available capacity of the temporary storage warehouse and the available capacity of the finished product warehouse to generate an order.
[0034] Specifically, Figure 3 A schematic flow chart of a method for generating an order for a feed factory according to an embodiment of the present invention is shown, which includes steps S101 to S105.
[0035] In step S101, the feed factory host can obtain the feed demand and the available capacity of the temporary storage bin. The farm can generate the feed demand for the day and collect the available capacity of the temporary storage bin in real time. For example, the farm can calculate the feed demand for the day based on the number of pigs raised and the growth cycle of the pigs (for example, the daily feed consumption of pigs in different growth cycles can be obtained based on experience, and then the feed demand for the entire farm in one day can be obtained). The temporary storage bin of the farm is provided with a material level sensor, such as an infrared light type material level sensor. The amount of feed in the temporary storage bin on the day can be obtained based on the data of the material level sensor. The available capacity of the temporary storage bin on the day can be obtained by subtracting the amount of feed in the temporary storage bin from the total capacity of the temporary storage bin.
[0036] Further, the farm host 200 may send the feed demand and the available capacity of the temporary storage bin to the server 400 through the network, or directly send the feed demand and the available capacity of the temporary storage bin to the feed factory host 100 through the network. For example, in one embodiment, the feed factory host 100 may send a request to the server 400, and the server sends the data to the feed factory host 100 in response to the request. The farm may calculate the feed demand of the day at a predetermined time or a predetermined time period every day, collect the available capacity of the temporary storage bin, and then upload the data to the server 400. Considering that the calculation of the feed demand takes a certain amount of time, the feed factory host 100 may obtain the data from the server 400 after a period of time. For example, by setting a scheduled task, the farm host 200 completes the calculation of the feed demand and the collection of the available capacity of the temporary storage bin from 10:00 to 10:30 every morning, and the feed factory host 100 sends a request to the server 400 at 10:30 every day to obtain the data.
[0037] In step S102, the feed factory host 100 determines whether the obtained feed demand is normal. In response to the feed demand being normal, the method continues to be executed; in response to the feed demand being abnormal, the server 400 may be accessed again to re-acquire the feed demand. For example, if the obtained feed demand is determined to exceed a predetermined high warning value or be lower than a predetermined low warning value, it indicates that the feed demand is incorrect (possibly caused by a network transmission error), and therefore the feed demand needs to be re-acquired. In one embodiment, the server 400 may also return information that the feed demand is incorrect to the farm host 200, so that the farm host 200 can regenerate the feed demand.
[0038] In this embodiment, the determination of the feed demand is completed by the feed factory host 100. In other embodiments, the determination of the feed demand may also be completed by the server 400. In addition, the feed factory host 100 or the server 400 may also determine the information of the available capacity of the temporary storage bin.
[0039] In step S103, the feed factory host 100 obtains the available capacity of the finished product warehouse. The available capacity of the finished product warehouse can be obtained by collecting the material level sensor in the finished product warehouse, for example, by detecting the material level of the finished product warehouse on that day through a material level sensor such as an infrared sensor, thereby obtaining the amount of feed in the finished product warehouse on that day, and the available capacity of the finished product warehouse can be obtained by subtracting the amount of feed in the finished product warehouse from the total capacity of the finished product warehouse.
[0040] In step S104, the order is calculated, that is, the feed production volume of the day is calculated (i.e., in units of days), and then the order is generated. Specifically, the order is generated according to the feed demand, the available capacity of the temporary storage warehouse, and the available capacity of the finished product warehouse, including: C = K (A + R) + L; wherein C is the feed production volume (i.e., the output specified in the order), A is the feed demand, R is the available capacity of the temporary storage warehouse, L is the available capacity of the finished product warehouse, and K is a pre-set consumption coefficient.
[0041] To clearly demonstrate the calculation principle, please refer to Figure 4 ( Figure 4 The labels in Figure 1 ), wherein the finished product warehouse 12 is connected to the temporary storage warehouse 21 through the pipe chain 3. The dotted line part in the middle and lower part of the finished product warehouse 12 and the temporary storage warehouse 21 represents feed, and the blank part above the finished product warehouse 12 is the part without feed, and the capacity of this part is the available capacity of the finished product warehouse, represented by L; similarly, the blank part above the temporary storage warehouse 21 is the part without feed, and the capacity of this part is the available capacity of the temporary storage warehouse, represented by R.
[0042] In order to ensure that the daily feed supply is neither too much nor too little, and to ensure that the feed processing equipment of the feed factory can operate efficiently, the order output C adopted by the present invention is C = K (A + R) + L. That is to say, the order output of the day is positively correlated with the available capacity of the finished product warehouse and the available capacity of the temporary storage warehouse on the day, and considering that during the feed production, the pipe chain 3 is transporting the feed and the pigs in the farm are also consuming the feed, so in order to ensure the consumption of the pigs, the consumption coefficient K is added to ensure the appropriate feed production. Among them, the consumption coefficient K = 1.5 ~ 2.5. Preferably, since the order is generated once a day, K = 2 can be selected.
[0043] In addition, the value of K is also positively correlated with the total capacity of the temporary storage bin. That is to say, if the total capacity of the temporary storage bin is large, a larger K value can be selected, and if the total capacity of the temporary storage bin is small, a smaller K value can be selected. Furthermore, since feed is also stored in the pipe chain, the value of K can also take into account the capacity of the pipe chain. For example, if the capacity of the pipe chain is large, a larger K value can be selected, and if the total capacity of the pipe chain is small, a smaller K value can be selected. Regarding the specific value of the consumption coefficient K, engineering and technical personnel can adjust and set it according to actual conditions.
[0044] In step S105, feed production for the day is carried out according to the output of the generated order.
[0045] like Figure 5 The specific details of step S105 are shown. Figure 5 It can be seen that the feed factory host 100 executes steps S101 to S104, namely, obtaining the feed demand and the available capacity of the temporary storage warehouse, obtaining the available capacity of the finished product warehouse and generating an order. The feed processing equipment controller 101 executes steps S201 and S202.
[0046] In step S201, the feed processing equipment controller 101 may obtain the order of the day from the feed factory host 100. The feed factory host 100 may send the order of the day to the feed processing equipment controller 101. In other embodiments, the feed factory host 100 may also upload the order of the day to the server 400, and the feed processing equipment controller accesses the server 400 through the network to obtain the order of the day.
[0047] In step S202, the feed processing equipment controller 101 controls the corresponding feed processing equipment to operate so as to produce according to the output specified by the order of the day.
[0048] The above describes a complete method for generating orders according to an embodiment of the present invention. In other embodiments, the pigs raised in a breeding farm are in different growth stages and require different feeds, so a breeding farm needs multiple types of feeds. For example, piglets and adult pigs require different feeds, pregnant pigs and other pigs require different feeds, and boars and sows require different feeds. Based on this, Figure 6 The embodiment shown provides a solution, the main means of which is to allocate corresponding finished product bins and temporary storage bins to each type of feed. It should be pointed out here that Figure 6 The system in can be understood as Figure 1 An exemplary implementation of the system shown. Figure 1 The details described also apply to Figure 6 The description in and will not be repeated below.
[0049] like Figure 6 As shown, feed factory 1 includes finished product warehouse 121, finished product warehouse 122 and finished product warehouse 123. For example, finished product warehouse 121 is used to store X type feed for piglets, finished product warehouse 122 is used to store Y type feed for adult pigs, and finished product warehouse 123 is used to store Z type feed for pregnant sows. Among them, X, Y and Z are only codes, indicating different feed types and do not refer to the actual feed types. Farm 2 includes temporary storage warehouse 211, temporary storage warehouse 212 and temporary storage warehouse 213. Temporary storage warehouse 211 is used to store X type feed, temporary storage warehouse 212 is used to store Y type feed, and temporary storage warehouse 213 is used to store Z type feed.
[0050] Accordingly, if Figure 7 As shown, for X-type feed, the available capacity of the finished product warehouse 121 is L1, and the available capacity of the temporary storage warehouse 211 is R1. For Y-type feed, the available capacity of the finished product warehouse 122 is L2, and the available capacity of the temporary storage warehouse 212 is R2. For Z-type feed, the available capacity of the finished product warehouse 123 is L3, and the available capacity of the temporary storage warehouse 213 is R3.
[0051] In the order generation step of step S104, the production volume of each feed is calculated independently according to the demand for each feed, the available capacity of the finished product warehouse for each feed, and the available capacity of the temporary storage warehouse for each feed. For example, for type X feed, C1=K1(A1+R1)+L1; wherein C1 is the output of the order for type X feed (i.e., the production volume of type X feed), A1 is the demand for type X feed, and K1 is the consumption coefficient of type X feed. For type Y feed, C2=K2(A2+R2)+L2; wherein C2 is the output of the order for type Y feed (i.e., the production volume of type Y feed), A2 is the demand for type Y feed, and K2 is the consumption coefficient of type Y feed. For type Z feed, C3=K3(A3+R3)+L3; wherein C3 is the output of the order for type Z feed (i.e., the production volume of type Z feed), A3 is the demand for type Z feed, and K3 is the consumption coefficient of type Z feed.
[0052] According to the method of the above embodiment, for each type of feed, its corresponding production volume can be calculated to generate an order, so that for each type of feed, both efficient production and appropriate feed supply can be guaranteed without accumulation or shortage.
[0053] According to a second aspect of the present invention, the present invention further provides a computer device for generating an order for a feed factory (in one embodiment, the computer device may be a feed factory host 100), such as Figure 8 As shown, the computer device includes a processor, a memory, a communication interface and a communication bus, and the processor, the memory and the communication interface communicate with each other through the communication bus. The processor is used to provide computing and control capabilities. The memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer program instructions. The internal memory provides an environment for the operation of the operating system and computer program instructions in the non-volatile storage medium. The communication interface of the above-mentioned device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, an operator network, NFC (near field communication) or other technologies. The memory is used to store computer program instructions, and the computer program instructions enable the processor to execute one or more embodiments of the method of the first aspect of the present invention mentioned above.
[0054] According to the third aspect of the present invention, the present invention also provides a computer-readable storage medium. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through computer program instructions, and the computer program instructions can be stored in a non-volatile computer-readable storage medium. When the computer program instructions are executed, one or more embodiments of the method of the first aspect of the present invention can be implemented. Among them, any reference to memory, storage, database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0055] In addition, the terms "first" or "second" used in this specification to refer to numbers or ordinals are only used for descriptive purposes and cannot be understood as explicitly or implicitly indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this specification, the meaning of "plurality" is at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.
[0056] Although this specification has shown and described a plurality of embodiments of the present invention, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the thought and spirit of the present invention. It should be understood that in the process of practicing the present invention, various alternatives to the embodiments of the present invention described herein may be adopted. The attached claims are intended to define the scope of protection of the present invention, and therefore cover the modular composition, equivalent or alternatives within the scope of protection of these claims.
Claims
1. A method for generating an order for a feed factory, wherein the feed produced by the feed factory is sequentially transported to each breeding unit of a breeding farm through a finished product warehouse, a pipe chain and a temporary storage warehouse; characterized in that: The method comprises: Obtaining the feed demand of the farm and the available capacity of the temporary storage warehouse; Obtaining the available capacity of the finished product warehouse; Calculating the feed production volume according to the feed demand, the available capacity of the temporary storage warehouse and the available capacity of the finished product warehouse to generate an order; Calculating the feed production according to the feed demand, the available capacity of the temporary storage bin and the available capacity of the finished product bin includes: C=K(A+R)+L; wherein C is the feed production, A is the daily feed demand, R is the available capacity of the temporary storage bin, L is the available capacity of the finished product bin, and K is a pre-set consumption coefficient; The consumption coefficient K = 1.5 to 2.5; The consumption coefficient is positively correlated with the total capacity of the temporary storage warehouse and the capacity of the pipe chain.
2. The method according to claim 1, characterized in that Obtaining the feed requirements of the farm includes: In response to the feed demand being normal, continuing to execute the method; In response to the feed requirement being abnormal, the feed requirement is obtained again.
3. The method according to claim 1, characterized in that The feed demand is calculated by the farm according to the daily breeding plan, and the available capacity of the temporary storage warehouse and the available capacity of the finished product warehouse are collected by corresponding material level sensors; Obtaining the feed demand of the farm includes: obtaining the feed demand through the network at a predetermined time or a predetermined time period every day.
4. The method according to any one of claims 1 to 3, characterized in that: The order includes orders for multiple feeds, and the production volume of each feed is calculated independently according to the demand for each feed, the available capacity of the finished product warehouse for each feed, and the available capacity of the temporary storage warehouse for each feed.
5. The method according to claim 4, characterized in that The method further comprises the step of producing feed according to the order.
6. A computer device for generating orders for feed mills, characterized in that: The method comprises a memory and a processor, wherein the processor is used to execute a computer program stored in the memory to implement the method according to any one of claims 1 to 5.
7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Feed producing and feeding system and feed producing and feeding method aiming at marine purse net culture
CN103609839A
Breeding feeding system matched with feed processing production
CN104082839A
Method for planned production of feed
JP1995243892A