Method and device for automatically generating fish culture strategy and computer readable storage medium
Through mobile devices identifying the fish tank image and combining the fish database, the breeding patterns and environmental parameters in the fish tank are determined, which solves the problem that fish farmers find it difficult to obtain suitable fish species requirements, and achieves the effect of quickly generating fish farming strategies and reducing fish mortality.
Patent Information
- Application Number
- CN202411970482.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-05-27
AI Technical Summary
Fish lovers find it difficult to quickly obtain water quality, lighting and filtration system requirements suitable for different fish species, resulting in improper breeding methods and a large number of fish die.
The fish tank image is identified through mobile devices, fish information is obtained, and the breeding mode in the fish tank is determined based on the preset fish database and the breed of fish information, including a single breed breeding mode and a multi-variety mixed breeding mode. According to the breeding model, the feeding plan and environmental parameters of the fish are determined, including feeding frequency, water temperature, lighting time and brightness.
A rapid generation of fish farming strategies suitable for different fish species has been achieved, helping fish farmers ensure the suitability of the fish tank environment and reduce fish mortality.
Smart Images

Figure CN120047804A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of aquaculture, and particularly to a method, device, and computer-readable storage medium for automatically generating fish-raising strategies. Background Art
[0002] More and more people are taking fish-raising as a hobby. However, fish-raising usually requires knowledge of the requirements of different types of fish for water quality, lighting, and filtration systems. But many fish-raisers fail to master all this knowledge, resulting in improper breeding methods and a large number of fish deaths. Therefore, how to quickly obtain a fish-raising plan has become an urgent problem to be solved. Summary of the Invention
[0003] Embodiments of this application provide a method, device, and computer-readable storage medium for automatically generating fish-raising strategies to at least solve the problem of how to quickly obtain a fish-raising plan in related technologies.
[0004] In a first aspect, embodiments of this application provide a method for automatically generating fish-raising strategies, which is characterized in that the method is applied to a mobile device and includes:
[0005] Identify the fish tank image to obtain fish information;
[0006] Determine the breeding mode in the fish tank according to the preset fish database and the variety of the fish information, where the breeding mode includes a multi-variety mixed-breeding mode and a single-variety breeding mode;
[0007] If the breeding mode is a single-variety breeding mode, determine the feeding plan and environmental parameters of the fish in the fish tank according to the preset fish database and the fish information;
[0008] If the breeding mode is a multi-variety mixed-breeding mode, determine the feeding plan and environmental parameters of the fish in the fish tank according to the quantity of each type of fish in the fish information and the preset fish database.
[0009] In one embodiment, the fish information includes the quantity and length of the fish, and the method further includes:
[0010] Determine the feeding frequency of the fish in the fish tank according to the length and quantity;
[0011] Determine the fish-raising strategy according to the feeding frequency, feeding plan, and environmental parameters.
[0012] In one embodiment, determining the feeding frequency according to the length and quantity of all the fish in the fish tank includes:
[0013] Classify all the fish into large fish, medium fish, and small fish according to the length of the fish;
[0014] Determine the feeding frequency according to the quantities of the large fish, medium fish, and small fish.
[0015] In one embodiment, the aquaculture mode is a single-species aquaculture mode. Determining the feeding plan and environmental parameters of the fish in the fish tank according to the preset fish database and fish information includes:
[0016] If the aquaculture mode is a single-species aquaculture mode, determine the species of the fish according to the preset fish database, adjust the water temperature according to the species of the fish, determine the amount of feed for fish feeding, the lighting time and lighting brightness in the fish tank.
[0017] In one embodiment, if the aquaculture mode is a multi-species polyculture mode, determining the feeding plan and environmental parameters of the fish in the fish tank according to the quantity of each type of fish in the fish information and the preset fish database includes:
[0018] If the aquaculture mode is a multi-species polyculture mode, determine the species of the fish in the fish tank and the quantity of each type of fish according to the preset fish database, and obtain the lighting requirements and water temperature requirements of each type of fish;
[0019] Determine the proportion of each type of fish according to the quantity of each type of fish, and determine the mixing ratio of the feed according to the proportion;
[0020] Select the median value of the lighting requirements according to all the lighting requirements, and determine the lighting brightness and color of the fish tank;
[0021] Determine the water temperature of the fish tank according to the intersection of all the water temperature requirements, and there is at least one common element in the intersection.
[0022] In one embodiment, determining the water temperature of the fish tank according to the intersection of all the water temperature requirements includes:
[0023] If the intersection of all the water temperature requirements is an empty set, send the polyculture risk information to the mobile device.
[0024] In one embodiment, the method further includes water quality detection, and the method includes:
[0025] If the aquaculture mode is a single-species aquaculture mode, determine the water quality range according to the preset fish database;
[0026] Obtain the current water quality information of the fish tank. If the current water quality information is outside the water quality range, send the information of changing the water in the fish tank to the mobile device.
[0027] In one embodiment, the method further includes water quality detection, and the method includes:
[0028] If the aquaculture mode is a multi-species polyculture mode, determine the water quality range of each type of fish according to the preset fish database, and obtain the intersection of all the water quality ranges to determine the water quality requirements of the fish tank;
[0029] If the intersection of all the water quality ranges is an empty set, send the polyculture risk to the mobile device;
[0030] If there is at least one common element in the intersection of all water quality ranges, obtain the current water quality information. When the current water quality information is outside the intersection, obtain the tolerance of different varieties of fish to water quality changes, and determine the water change strategy based on the fish with the minimum tolerance.
[0031] In a second aspect, an embodiment of the present application provides an apparatus for automatically generating a fish farming strategy, including:
[0032] An acquisition module, configured to identify a fish tank image and obtain fish information;
[0033] A determination and cultivation module, configured to determine the cultivation mode in the fish tank according to a preset fish database and the variety of fish information, where the cultivation mode includes a multi-variety mixed cultivation mode and a single-variety cultivation mode;
[0034] The single-variety cultivation module is configured to, if the cultivation mode is the single-variety cultivation mode, determine the feeding plan and environmental parameters of the fish in the fish tank according to the preset fish database and the fish information;
[0035] The multi-variety mixed cultivation module is configured to, if the cultivation mode is the multi-variety mixed cultivation mode, determine the feeding plan and environmental parameters of the fish in the fish tank according to the quantity of each type of fish in the fish information and the preset fish database.
[0036] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the method for automatically generating a fish farming strategy as described in the first aspect above is implemented.
[0037] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method for automatically generating a fish farming strategy as described in the first aspect above is implemented.
[0038] The method, apparatus, and computer-readable storage medium for automatically generating a fish farming strategy provided by the embodiments of the present application at least have the following technical effects.
[0039] Determine the feeding frequency based on the number and length of the fish. Determine the cultivation mode in the fish tank according to the fish database and the variety of the fish, and determine the feeding plan and environmental parameters in the fish tank according to the cultivation mode. Thus, determine the fish farming strategy according to the feeding frequency, feeding plan, and environmental parameters, so as to quickly obtain a fish farming method, enabling fish farmers to raise fish according to the obtained method.
[0040] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more concise and understandable. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions thereof of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the drawings:
[0042] Figure 1 is a flowchart of a method for automatically generating fish farming strategies shown according to an exemplary embodiment;
[0043] Figure 2 is a schematic diagram of a fish farming strategy shown according to an exemplary embodiment;
[0044] Figure 3 is a block diagram of an apparatus for automatically generating fish farming strategies shown according to an exemplary embodiment;
[0045] Figure 4 is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed Embodiments
[0046] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be described and explained below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments provided in the present application without making creative efforts fall within the scope of protection of the present application.
[0047] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application. For those of ordinary skill in the art, without making creative efforts, the present application can also be applied to other similar scenarios based on these drawings. In addition, it can also be understood that although the efforts made in such a development process may be complex and lengthy, for those of ordinary skill in the art related to the content disclosed in the present application, some design, manufacturing or production changes made based on the technical content disclosed in the present application are only conventional technical means and should not be understood as insufficient disclosure of the content of the present application.
[0048] Referring to "embodiments" in the present application means that specific features, structures or characteristics described in connection with the embodiments can be included in at least one embodiment of the present application. The phrase appears in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those of ordinary skill in the art explicitly and implicitly understand that the embodiments described in the present application can be combined with other embodiments without conflict.
[0049] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the ordinary meanings understood by those with ordinary skills in the technical field to which this application belongs. The words such as "a", "an", "one kind", "the" and the like involved in this application do not indicate a quantity limitation and may represent a singular or plural number. The terms "including", "comprising", "having" and any variations thereof involved in this application are intended to cover non-exclusive inclusion; for example, a process, method, system, product or device including a series of steps or modules (units) is not limited to the listed steps or units, but may further include steps or units not listed, or may further include other steps or units inherent to these processes, methods, products or devices. The words such as "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "plurality" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, "A and / or B" may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the front and rear associated objects. The terms "first", "second", "third" and the like involved in this application are only used to distinguish similar objects and do not represent a specific order for the objects.
[0050] In a first aspect, an embodiment of the present application provides a method for automatically generating a fish farming strategy. Figure 1 It is a flowchart of a method for automatically generating a fish farming strategy shown according to an exemplary embodiment. As Figure 1 shown, the method for automatically generating a fish farming strategy includes:
[0051] Step S101: Identify the fish tank image and obtain fish information.
[0052] The mobile device takes a picture of the fish tank to obtain the fish tank image. Through image recognition technology, several fish in the fish tank image are identified to obtain fish information, and the fish information includes the number of fish, the length and species of each fish.
[0053] The mobile device takes a picture of the fish tank, obtains fish information according to the fish tank image, provides a basis for subsequent generation of a fish farming strategy, and through image recognition technology, the appearance characteristics, behavior performance, and water quality conditions of the fish can be accurately identified to more accurately judge the health status of the fish.
[0054] Step S102: Determine the farming mode in the fish tank according to the preset fish database and the species of the fish information, where the farming mode includes a multi-species mixed farming mode and a single-species farming mode.
[0055] The preset fish database is stored on the server. The preset fish database includes fish species, the dietary preferences of each species of fish, the suitable water temperature range, and water quality requirements.
[0056] According to the fish species obtained from the fish tank image in step S101, compare the fish species with the preset fish database to determine the fish species situation in the fish tank. If the fish in the fish tank only contains one species of fish, confirm that the breeding mode in the fish tank is a single-species breeding mode. If the fish in the fish tank contains multiple species of fish, determine that the breeding mode in the fish tank is a multi-species mixed breeding mode.
[0057] There are significant differences between the methods of single-species fish breeding and multi-species fish mixed breeding. Single-species fish breeding only needs to meet the needs of the fish species being bred in the current fish tank, while multi-species fish mixed breeding requires coordinating the living habits and breeding needs of multiple species of fish. Therefore, for the fish in the fish tank, it is necessary to determine the fish species according to the preset fish database and determine the breeding method to ensure the correctness of the breeding strategy.
[0058] Step S103: If the breeding mode is a single-species breeding mode, determine the feeding plan and environmental parameters of the fish in the fish tank according to the preset fish database and fish information.
[0059] If the breeding mode is a single-species breeding mode, determine the current fish species according to the preset fish database, and adjust the water temperature according to the current fish species, determine the amount of feed to be fed, the lighting time and lighting brightness in the fish tank.
[0060] According to the preset fish database, determine the current fish species, and obtain the living habits of the current species of fish. The living habits include feed requirements, lighting requirements, and water temperature requirements.
[0061] If the fish in the current fish tank is a herbivorous fish, the feed to be fed should be herbivorous feed. If the fish in the current fish tank is a carnivorous fish, the feed to be fed should be carnivorous feed. And according to the preset fish database, determine the amount of feed to be fed.
[0062] If the fish in the current fish tank is a tropical fish, provide a longer lighting time and stronger lighting brightness. If the fish in the current fish tank is a cold-water fish, reduce the lighting time and lower the lighting brightness. The specific lighting time and lighting brightness are determined according to the preset fish database, so that the fish in the fish tank can be in a suitable growth environment.
[0063] If the fish in the current fish tank is a deep-sea fish, it is necessary to turn on the lights of the deep-sea lighting color system to meet the special light color requirements of deep-sea fish.
[0064] Different varieties of fish have different requirements for water temperature. Determine the water temperature requirement of the fish in the current fish tank according to the preset fish data. The water temperature requirement is actually the temperature range that the water temperature in the fish tank should maintain, and the temperature range is between the upper water temperature limit and the lower water temperature limit. There is a temperature sensor in the fish tank. According to the temperature detected by the temperature sensor, if the water temperature is lower than the lower water temperature limit, start the heating accessory to heat the water temperature until it reaches the required temperature range. If the water temperature is higher than the upper water temperature limit, start the automatic water supply and drainage to lower the water temperature by adding water until the water temperature is lowered to the required temperature range. If the water temperature is higher than the upper water temperature limit or lower than the lower water temperature limit, the mobile device will receive the information of abnormal water temperature and provide a solution. For example, when the water temperature is higher than the upper water temperature limit, it may be caused by direct sunlight, so a solution of whether sunshade is needed is provided.
[0065] The water quality in the fish tank has a great impact on fish. The water quality directly affects the health and survival of fish. Therefore, in addition to the above water temperature requirements and lighting needs, it is also necessary to detect the water quality in the fish tank to ensure that the water quality can support the fish in the fish tank.
[0066] According to the preset fish database, determine the water quality range for the current fish to survive in the fish tank. And obtain the current water quality information of the fish tank. If the current water quality information is outside the water quality range, send the information of changing the water in the fish tank to the mobile device so that the fish-keeping personnel can obtain the solution of changing the water in the fish tank.
[0067] In addition, to maintain the water quality in the fish tank within the water quality range, another maintenance plan is also provided. That is, after the fish tank is fed, stop the water pump for 3 minutes to prevent the fish food from being sucked away by the filtration system, so as to extend the delayed working time of the filtration system, so that the filtration system can filter the impurities in the fish tank.
[0068] If a single variety of fish is cultured in the fish tank, provide a culture plan for the current variety of fish to be able to provide a method for culturing the current fish.
[0069] Step S104: If the cultivation mode is a multi-variety mixed cultivation mode, according to the quantity of each type of fish in the fish information and the preset fish database, determine the feeding plan and environmental parameters of the fish in the fish tank.
[0070] If the cultivation mode is a multi-variety mixed cultivation mode, according to the preset fish database, determine the varieties of fish in the fish tank and the quantity of each variety of fish, and obtain the lighting requirements and water temperature requirements of each variety of fish.
[0071] Determine the proportion of each variety of fish according to the quantity of each variety of fish, and determine the mixing ratio of the feed according to the proportion. For example, if there are herbivorous fish and carnivorous fish in the fish tank at the same time, determine the mixing ratio of herbivorous feed and carnivorous feed according to the proportion of herbivorous fish and carnivorous fish. If the proportion of carnivorous fish is higher than that of herbivorous fish, the proportion of carnivorous feed is higher.
[0072] Select the median value of the lighting requirements according to all the lighting requirements, and determine the lighting brightness and color of the fish tank.
[0073] Each type of fish has different requirements for lighting brightness and color. Therefore, according to the requirements of all lighting brightness, select the median value of the brightness as the lighting brightness of the fish tank to meet the needs of different varieties of fish. According to all the color requirements, select the median value of the color as the lighting color of the fish tank. For example, if there are three types of fish in the fish tank, and the requirements for lighting brightness are 100% brightness, 60% brightness and 80% brightness respectively, then the lighting brightness in the fish tank is 80%. The lighting color requirements are warm yellow light, incandescent light and warm yellow light respectively, then the lighting color in the fish tank is warm yellow light.
[0074] It should be noted that if a certain variety of fish has extremely strict requirements for living conditions, then the lighting requirements are set according to the lighting requirements of this variety of fish.
[0075] Determine the water temperature of the fish tank according to the intersection of all water temperature requirements, and there is at least one common element in the intersection.
[0076] Each type of fish also has different requirements for water temperature, but the water temperature requirement for each type of fish is a water temperature range. As long as the water temperature in the fish tank is within the water temperature range, this variety of fish can survive. For the breeding mode of multiple varieties of fish, determine the water temperature range of each type of fish according to the preset fish database, and obtain the intersection of all water temperature ranges. If there is at least one common water temperature in the intersection, set the water temperature of the fish tank to the common water temperature.
[0077] If the intersection of all the water temperature requirements is an empty set, send a polyculture risk message to the mobile device.
[0078] If the intersection of all water temperature ranges is an empty set, it means that the fish currently raised in the fish tank cannot be polycultured, and if polycultured, it is easy to cause fish death. Therefore, send a message about the polyculture risk to the mobile device to adjust the fish in the fish tank. By sending the polyculture risk to the mobile device, the breeding problem can be quickly discovered.
[0079] The water quality in the fish tank has a great impact on fish. The requirements for water quality to meet the needs of polyculture of multiple types of fish are more stringent. According to the preset fish database, determine the water quality range of each variety of fish in the fish tank. And obtain the intersection of all water quality ranges to determine the water quality requirements of the fish tank.
[0080] If the intersection of all water quality ranges is an empty set, send the risk of mixed fish farming to the mobile device.
[0081] If the intersection of the water quality ranges is an empty set, it means that the fish in the current fish tank are mixed, which will cause the death of one of the fish, so it is not suitable for mixed farming. Send the risk of mixed farming to the mobile device, so as to remind the fish farmers to make adjustments in time.
[0082] If there is at least one common element in the intersection of all water quality ranges, obtain the current water quality information. When the current water quality information is outside the intersection, obtain the tolerance of different varieties of fish to water quality changes, and determine the water change strategy based on the fish with the minimum tolerance.
[0083] If there is at least one common element in the intersection of all water quality ranges, it means that as long as the water quality of the fish tank meets the content of the intersection, the current multi-variety fish can be mixed. Obtain the current water quality information of the fish tank. If the current water quality of the fish tank is outside the intersection, it means that the current water quality of the fish tank does not meet the breeding conditions and the water quality needs to be adjusted, that is, the water in the fish tank needs to be changed. Since different varieties of fish have different tolerances to water quality changes, if the water quality changes suddenly, it will cause the fish with poor tolerance to die directly. Therefore, the variety with weaker tolerance is considered first.
[0084] In one embodiment, if the variety with weaker tolerance is goldfish, the water change strategy is to change the water slowly, with each water change being one-third of the total water volume, gradually restoring the water quality and reducing the impact on the fish. If the variety with weaker tolerance is angelfish, the water change strategy is to change the water quickly, with each water change being one-half of the total water volume, so as to quickly restore the water quality.
[0085] If there are multiple varieties of fish in the fish tank, provide a breeding plan for the current multi-variety fish and configure the fish tank environment, thus facilitating the fish farmers to raise fish.
[0086] Timely feeding helps the health of the fish and maintains a good growth rate. If the feeding frequency is too low, it will cause the fish to have poor nutrition and reduced immunity; if the feeding frequency is too high, it will cause the fish to be obese and affect the health of the fish. Therefore, after ensuring the above feeding plan and environmental parameters, it is also necessary to determine the feeding frequency of the fish in the fish tank, so as to determine the fish farming strategy based on the feeding frequency, feeding plan and environmental parameters.
[0087] In step S101, fish information is obtained, and the fish information includes the number of fish and the length of the fish in the fish tank. Then, obtaining the fish farming strategy specifically includes:
[0088] Step S100: Determine the feeding frequency of the fish in the fish tank according to the length and quantity.
[0089] Classify all the fish into big fish, medium fish and small fish according to the length of the fish. Optionally, the basis for division includes:
[0090] Fish with a length less than 6 cm are classified as small fish, fish with a length greater than 8 cm are classified as large fish, and fish with a length greater than or equal to 6 cm or less than or equal to 8 cm are classified as medium fish.
[0091] Count the number of large, medium, and small fish, and obtain reference data based on the number of fish of different sizes. The reference data satisfies the following configuration:
[0092] A = S 1 / 4 + S 2 / 2 + S 3
[0093] Where S 1 is the number of small fish, S 2 is the number of medium fish, S 3 is the number of large fish, and A is the reference data.
[0094] If the parameter data is less than 1, determine the feeding frequency as once a week.
[0095] If the reference data is greater than or equal to 1 and less than or equal to 2, determine the feeding frequency as twice a week.
[0096] If the reference data is greater than 2, determine the feeding frequency as three times a week.
[0097] Based on the size of the fish, the feeding frequency can be determined, avoiding overfeeding and resulting in water quality deterioration, and ensuring that the fish can obtain sufficient nutrition to ensure the health of the fish.
[0098] Step S200: Determine the fish-raising strategy according to the feeding frequency, feeding plan, and environmental parameters.
[0099] Based on the feeding frequency determined in step S100, and the feeding plan determined in steps S101 to S104 and the set light brightness and light color, determine the final fish-raising strategy. The fish-raising strategy is displayed on the mobile phone, and the fish-raising personnel can also adjust the fish-raising strategy according to the actual breeding situation to form a personalized fish-raising strategy.
[0100] When the fish-raising personnel approve the generated fish-raising strategy and turn on the fish-raising strategy, the fish tank will work according to the fish-raising strategy. Over time, obtain the status and information in the fish tank and adjust the feeding amount of the feed in a timely manner. When the situation in the fish tank does not conform to the fish-raising strategy, send the information to the mobile device in a timely manner so that the fish-raising personnel can obtain the information and make adjustments to the existing problems.
[0101] In one embodiment, Figure 2 is a schematic diagram of the fish-raising strategy shown according to an exemplary embodiment, as Figure 2As shown, the fish tank contains guppies, Congo tetras, and angelfish, and the number of fish is 20. According to the situation in the fish tank, the lighting effect is determined to be a lighting brightness of 50%, the color is colorful, the change speed is slow, and the lighting duration is 24 hours. The feeding frequency is once a week, and the feeding time is 11:00 every day. The flow rate of the water pump is at the first gear flow rate.
[0102] In summary, the method for automatically generating a fish-raising strategy provided by the embodiments of the present application obtains information in the fish tank through image recognition, determines the feeding frequency, breeding mode, feeding plan, environmental parameters, and water quality requirements to determine the fish-raising strategy, and realizes providing a breeding plan for fish-raisers more conveniently.
[0103] In a second aspect, the embodiments of the present application provide an apparatus for automatically generating a fish-raising strategy. Figure 3 It is a block diagram of an apparatus for automatically generating a fish-raising strategy shown according to an exemplary embodiment. As Figure 3 shown, the apparatus for automatically generating a fish-raising strategy includes:
[0104] An acquisition module, configured to identify a fish tank image and obtain fish information;
[0105] A breeding determination module, configured to determine the breeding mode in the fish tank according to a preset fish database and the variety of fish information, where the breeding mode includes a multi-variety mixed breeding mode and a single-variety breeding mode;
[0106] A single-variety breeding module, configured to, if the breeding mode is a single-variety breeding mode, determine the feeding plan and environmental parameters of the fish in the fish tank according to the preset fish database and the fish information;
[0107] A multi-variety mixed breeding module, configured to, if the breeding mode is a multi-variety mixed breeding mode, determine the feeding plan and environmental parameters of the fish in the fish tank according to the quantity of each type of fish in the fish information and the preset fish database.
[0108] In summary, the apparatus for automatically generating a fish-raising strategy provided by the present application determines the feeding frequency based on the number and length of the fish. It determines the breeding mode in the fish tank according to the fish database and the variety of the fish, and determines the feeding plan and environmental parameters in the fish tank according to the breeding mode, so as to determine the fish-raising strategy according to the feeding frequency, feeding plan, and environmental parameters, thereby quickly obtaining a fish-raising method, enabling fish-raisers to breed according to the obtained method.
[0109] It should be noted that the automatic fish - farming strategy generation device provided in this embodiment is used to implement the above - mentioned implementation manners, and those that have been described will not be repeated. As used above, terms such as "module", "unit", "sub - unit", etc. can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the above embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0110] In a third aspect, an embodiment of the present application provides an electronic device, Figure 4 which is a block diagram of an electronic device shown according to an exemplary embodiment. As Figure 4 shown, the electronic device may include a processor 81 and a memory 82 storing computer program instructions.
[0111] Specifically, the above - mentioned processor 81 may include a central processing unit (CPU), or an application - specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0112] Among them, the memory 82 may include a mass storage for data or instructions. By way of example and not limitation, the memory 82 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disc, a magneto-optical disc, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 82 may include removable or non-removable (or fixed) media. Where appropriate, the memory 82 may be internal or external to the data processing device. In a particular embodiment, the memory 82 is non-volatile memory. In a particular embodiment, the memory 82 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable read-only memory (EAROM), or a flash memory, or a combination of two or more of these. Where appropriate, the RAM may be a static random access memory (SRAM) or a dynamic random access memory (DRAM), where the DRAM may be a fast page mode dynamic random access memory (FPMDRAM), an extended date out dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.
[0113] The memory 82 can be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 81.
[0114] The processor 81 reads and executes the computer program instructions stored in the memory 82 to implement any one of the automatic fish-raising strategy device methods in the above embodiments.
[0115] In one embodiment, the automatic fish-raising strategy device may further include a communication interface 83 and a bus 80. Among them, as Figure 4 shown, the processor 81, the memory 82, and the communication interface 83 are connected through the bus 80 to complete communication with each other.
[0116] The communication interface 83 is used to implement communication between each module, device, unit, and / or device in the embodiments of the present application. The communication port 83 can also implement data communication with other components, such as external devices, image / data acquisition devices, databases, external storage, and image / data processing workstations.
[0117] Bus 80 includes hardware, software, or both, and couples the components of the device for automatically generating fish farming strategy methods to each other. Bus 80 includes, but is not limited to, at least one of the following: Data Bus, Address Bus, Control Bus, Expansion Bus, Local Bus. By way of example and not limitation, Bus 80 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. In suitable cases, Bus 80 may include one or more buses. Although the embodiments of the present application describe and illustrate specific buses, the present application contemplates any suitable bus or interconnect.
[0118] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program is stored, and when the program is executed by a processor, the method for the device for automatically generating fish farming strategies provided in the first aspect is implemented.
[0119] Among them, more specifically, the readable storage medium may include, but is not limited to: portable disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0120] In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps of implementing the method of the automatic fish farming strategy generation device provided in the first aspect.
[0121] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages. The program code can be executed completely on the user device, partially on the user device, executed as an independent software package, partially on the user device and partially on a remote device, or completely on a remote device.
[0122] The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0123] The above-described embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A method for automatically generating a fish farming strategy, characterized in that: The method is applied to a mobile device, comprising: Identify fish tank images and obtain fish information; Determine the breeding mode in the fish tank according to the preset fish database and the species of the fish information, wherein the breeding mode includes a multi-species mixed breeding mode and a single-species breeding mode; If the breeding mode is a single-species breeding mode, determining the feeding plan and environmental parameters of the fish in the fish tank according to the preset fish database and the fish information; If the breeding mode is a multi-species mixed breeding mode, the feeding plan and environmental parameters of the fish in the fish tank are determined according to the number of each fish in the fish information and the preset fish database.
2. The method for automatically generating a fish farming strategy according to claim 1, characterized in that: The fish information includes the number and length of the fish, and the method further includes: determining a feeding frequency of the fish in the fish tank according to the length and the number; A fish farming strategy is determined based on the feeding frequency, the feeding regimen and the environmental parameters.
3. The method for automatically generating a fish farming strategy according to claim 2, characterized in that: The method of determining the feeding frequency according to the length and quantity of all the fish in the fish tank comprises: Classify all fish into large fish, medium fish, and small fish according to the length of said fish; The feeding frequency is determined according to the number of the big fish, the medium fish and the small fish.
4. The method for automatically generating a fish farming strategy according to claim 1, characterized in that: The breeding mode is a single species breeding mode, and the feeding scheme and environmental parameters of the fish in the fish tank are determined according to the preset fish database and the fish information, including: If the breeding mode is a single-species breeding mode, the species of the fish is determined according to the preset fish database, and the water temperature is adjusted according to the species of the fish, and the amount of feed to be fed to the fish, the lighting time and the brightness of the light in the fish tank are determined.
5. The method for automatically generating a fish farming strategy according to claim 1, characterized in that: If the breeding mode is a multi-species mixed breeding mode, determining the feeding scheme and environmental parameters of the fish in the fish tank according to the number of each fish in the fish information and the preset fish database includes: If the breeding mode is a multi-species mixed breeding mode, the species of fish in the fish tank and the number of fish of each species are determined according to the preset fish database, and the lighting requirements and water temperature requirements of each fish species are obtained; According to the number of each species of fish, the proportion of each species of fish is determined, and the mixing ratio of the feed is determined according to the proportion; According to all the lighting requirements, select the middle value of the lighting requirements to determine the brightness and color of the light in the fish tank; The water temperature of the fish tank is determined according to the intersection of all the water temperature requirements, wherein the intersection has at least one common element.
6. The method for automatically generating a fish farming strategy according to claim 5, characterized in that: Determining the water temperature of the fish tank according to the intersection of all the water temperature requirements includes: If the intersection of all the water temperature requirements is an empty set, polyculture risk information is sent to the mobile device.
7. The method for automatically generating a fish farming strategy according to claim 1, characterized in that: The method also includes water quality testing, the method comprising: If the aquaculture mode is a single-species aquaculture mode, determining the water quality range according to the preset fish database; The current water quality information of the fish tank is obtained, and if the current water quality information is outside the water quality range, the information of replacing the water in the fish tank is sent to the mobile device.
8. The method for automatically generating fish farming strategies according to claim 1, characterized in that: The method also includes water quality testing, the method comprising: If the breeding mode is a multi-species mixed breeding mode, the water quality range of each species of fish is determined according to the preset fish database, and the intersection of all the water quality ranges is obtained to determine the water quality requirements of the fish tank; If the intersection of all the water quality ranges is an empty set, sending the polyculture risk to the mobile device; If there is at least one common element in the intersection of all the water quality ranges, the current water quality information is obtained. When the current water quality information is outside the intersection, the tolerance of different species of fish to water quality changes is obtained, and the water change strategy is determined based on the fish with the least tolerance.
9. A device for automatically generating fish farming strategies, characterized in that: include: The acquisition module is used to identify the fish tank image and obtain the fish information; A breeding mode determination module is used to determine the breeding mode in the fish tank according to a preset fish database and the species of the fish information, wherein the breeding mode includes a multi-species mixed breeding mode and a single-species breeding mode; A single-species breeding module, used to determine the feeding scheme and environmental parameters of the fish in the fish tank according to the preset fish database and the fish information if the breeding mode is a single-species breeding mode; The multi-species polyculture module is used to determine the feeding plan and environmental parameters of the fish in the fish tank according to the number of each fish in the fish information and the preset fish database if the breeding mode is a multi-species polyculture mode.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for automatically generating a fish farming strategy according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Fish polyculture judgment method based on lightweight multi-task image recognition network and knowledge graph
CN120259802A
Fish polyculture judgment method based on lightweight multi-task image recognition network and knowledge graph
CN120259802B