CN116508670A - Interactive pet feeding method, device, equipment and readable storage medium - Google Patents
Interactive pet feeding method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN116508670A CN116508670A CN202310695690.6A CN202310695690A CN116508670A CN 116508670 A CN116508670 A CN 116508670A CN 202310695690 A CN202310695690 A CN 202310695690A CN 116508670 A CN116508670 A CN 116508670A
- Authority
- CN
- China
- Prior art keywords
- feeding
- time
- food
- control
- interaction module
- 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.)
- Granted
Links
- 230000002452 interceptive effect Effects 0.000 title claims abstract description 65
- 238000000034 method Methods 0.000 title claims abstract description 48
- 235000013305 food Nutrition 0.000 claims abstract description 122
- 230000003993 interaction Effects 0.000 claims abstract description 110
- 230000009471 action Effects 0.000 claims abstract description 46
- 238000012544 monitoring process Methods 0.000 claims description 32
- 230000037406 food intake Effects 0.000 claims description 16
- 235000012631 food intake Nutrition 0.000 claims description 16
- 235000021316 daily nutritional intake Nutrition 0.000 claims description 14
- 230000002354 daily effect Effects 0.000 description 20
- 238000004891 communication Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000036541 health Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 230000003031 feeding effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- GNFTZDOKVXKIBK-UHFFFAOYSA-N 3-(2-methoxyethoxy)benzohydrazide Chemical compound COCCOC1=CC=CC(C(=O)NN)=C1 GNFTZDOKVXKIBK-UHFFFAOYSA-N 0.000 description 1
- FGUUSXIOTUKUDN-IBGZPJMESA-N C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 Chemical compound C1(=CC=CC=C1)N1C2=C(NC([C@H](C1)NC=1OC(=NN=1)C1=CC=CC=C1)=O)C=CC=C2 FGUUSXIOTUKUDN-IBGZPJMESA-N 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 235000003642 hunger Nutrition 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K5/00—Feeding devices for stock or game ; Feeding wagons; Feeding stacks
- A01K5/02—Automatic devices
- A01K5/0291—Automatic devices with timing mechanisms, e.g. pet feeders
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K29/00—Other apparatus for animal husbandry
- A01K29/005—Monitoring or measuring activity, e.g. detecting heat or mating
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K5/00—Feeding devices for stock or game ; Feeding wagons; Feeding stacks
- A01K5/02—Automatic devices
- A01K5/0275—Automatic devices with mechanisms for delivery of measured doses
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A40/00—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
- Y02A40/80—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in fisheries management
- Y02A40/81—Aquaculture, e.g. of fish
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Environmental Sciences (AREA)
- Animal Husbandry (AREA)
- Biodiversity & Conservation Biology (AREA)
- Birds (AREA)
- Biophysics (AREA)
- Feeding And Watering For Cattle Raising And Animal Husbandry (AREA)
Abstract
The application discloses an interactive pet feeding method, device, equipment and readable storage medium, wherein the method comprises the following steps: collecting video data and audio data of a pet in an area where an interaction module is located through a preset interaction module; the preset interaction module comprises a feeding unit for delivering food; the video data and the audio data are sent to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module; and controlling the feeding unit to execute feeding action according to the control signal. According to the method and the device, through the interaction module, information interaction between the interaction module and the user terminal is achieved, so that the feeding unit in the interaction module is controlled to execute feeding action according to the control signal fed back to the interaction module by the user terminal.
Description
Technical Field
The application relates to the technical field of internet of things, in particular to an interactive pet feeding method, device and equipment and a readable storage medium.
Background
Today people usually raise one or more pets at home to increase their living pleasure by interacting with the pets on weekdays. However, people often forget to feed the pet due to busy work, emergency treatment, long-term going to the outside, etc.
In order to ensure that the pet can acquire food at fixed time, people usually use an automatic pet feeder, food of the pet to be fed is put into the feeder in advance, and the feeding time and the feeding amount of the feeder are set, so that the feeder can automatically feed a fixed amount of food to the pet in a fixed time.
However, such an automatic pet feeder can only be executed according to the actual preset control logic, and the pet can be fed regularly and quantitatively, and especially when the user is not at home for a long time, the user cannot experience the interactive feeding effect of the remote and the pet.
Disclosure of Invention
In view of the foregoing, the present application provides a method, apparatus, device and readable storage medium for feeding pets in an interactive manner, which aims to improve the interactive experience between a user and a pet remotely.
To achieve the above object, the present application provides an interactive pet feeding method, including the steps of:
collecting video data and audio data of a pet in an area where an interaction module is located through a preset interaction module; the preset interaction module comprises a feeding unit for delivering food;
the video data and the audio data are sent to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module;
and controlling the feeding unit to execute feeding action according to the control signal.
Exemplary, the step of controlling the feeding unit to perform a feeding action according to the control signal includes:
when the control signal is a feeding signal, acquiring a feeding task table consisting of feeding amount and feeding time, and determining the control time for generating the control signal;
if the control time is not coincident with the feeding time, determining a time interval between the control time and the feeding time;
according to the time interval, the food intake corresponding to the food intake time is adjusted to obtain a control amount;
and controlling the feeding unit to execute feeding action according to the control quantity.
Illustratively, before the step of obtaining a feeding task table consisting of feeding amount and feeding time, the method further includes:
determining daily food intake and daily food intake time of the pets in the area where the interaction module is located through a monitoring unit in the preset interaction module; wherein, the daily food intake and the daily food intake time are food intake data generated by the pet when the food intake unit is not controlled;
and predicting the food throwing amount and the food throwing time required by the food throwing unit according to the daily food throwing amount and the daily food throwing time, and generating a food throwing task list according to the food throwing amount and the food throwing time.
The step of determining the time interval between the control time and the feeding time if the control time does not coincide with the feeding time includes:
if the control time is not coincident with the feeding time, determining a time section of the control time in the feeding task table; the time section consists of a first feeding time and a second feeding time in the feeding task table, and the control time is between the first feeding time and the second feeding time;
determining a first time interval between the control time and the first feeding time, and determining a second time interval between the control time and the second feeding time.
The step of adjusting the size of the feeding amount corresponding to the feeding time according to the time interval to obtain the control amount includes:
determining a first food amount required to be put in at the control time according to the first time interval;
determining a second food amount to be fed at the second feeding time according to the second time interval;
and the sum of the first feeding amount and the second feeding amount is equal to the feeding amount corresponding to the second feeding time in the feeding task table.
The step of collecting, by a preset interaction module, video data and audio data of a pet in an area where the interaction module is located includes:
and collecting video data and audio data of the pets in the area where the interaction module is located through a monitoring unit in the preset interaction module, wherein a main picture collected by the monitoring unit is the position of a feeding unit of the interaction module.
Exemplary, the step of controlling the feeding unit to perform a feeding action according to the control signal includes:
and according to the control signal, controlling the size of a food throwing port of the food throwing unit or controlling the throwing time of food throwing of the food throwing unit so as to finish the food throwing action of the food throwing unit.
Illustratively, to achieve the above object, the present application also provides an interactive pet feeding device, the device comprising:
the acquisition module is used for acquiring video data and audio data of the pets in the area where the interaction module is located through the preset interaction module; the preset interaction module comprises a feeding unit for delivering food;
the sending module is used for sending the video data and the audio data to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module;
and the control module is used for controlling the feeding unit to execute feeding action according to the control signal.
Illustratively, to achieve the above object, the present application also provides an interactive pet feeding device, the device comprising: a memory, a processor, and an interactive pet feeding program stored on the memory and executable on the processor, the interactive pet feeding program configured to implement the steps of the interactive pet feeding method as described above.
Illustratively, to achieve the above object, the present application also provides a computer-readable storage medium having stored thereon an interactive pet feeding program which, when executed by a processor, implements the steps of the interactive pet feeding method as described above.
Compared with the situation that in the related art, the automatic pet feeder can only execute according to the actual preset control logic, feeds pets regularly and quantitatively, and can not realize dynamic feeding and accurate feeding truly according to the food amount and the food feeding time of the pets, in the application, the video data and the audio data of the pets in the area where the interaction module is located are collected through the preset interaction module; the preset interaction module comprises a feeding unit for delivering food; the video data and the audio data are sent to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module; according to the control signal, the feeding unit is controlled to execute feeding action, that is to say, the interaction module is used for monitoring the pet, the audio data and the video data collected by monitoring are sent to the user terminal, the user terminal can also feed back according to the obtained audio data and video data and send the control signal to the interaction module, so that the feeding unit in the remote control interaction module is controlled to execute the action of feeding food, the effect of interaction between a user and the pet is achieved, and the interaction experience of the user and the pet is improved.
Drawings
FIG. 1 is a schematic flow chart of a first embodiment of an interactive pet feeding method of the present application;
FIG. 2 is a schematic flow chart of a second embodiment of the interactive pet feeding method of the present application;
fig. 3 is a schematic structural diagram of a hardware running environment according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of a first embodiment of an interactive pet feeding method.
Embodiments of the present application provide embodiments of an interactive pet feeding method, it being noted that although a logical sequence is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in a different order than that illustrated herein. For convenience of description, each step of executing the subject description interactive pet feeding method is omitted below, and the interactive pet feeding method includes:
step S110: collecting video data and audio data of a pet in an area where an interaction module is located through a preset interaction module; the preset interaction module comprises a feeding unit for delivering food;
the preset interactive module comprises a feeding unit for delivering food, an interactive unit, a monitoring unit and a control unit, wherein the interactive unit can be used for outputting video and audio, corresponding video data and audio data are received from the outside and are output to an area where the interactive module is located through the interactive unit, the monitoring unit can comprise a camera device, a monitor, a recording device and the like, and the monitoring unit is mainly used for collecting the video data and the audio data of the pet in the area where the interactive module is located, namely, the state, the action data and the like of the pet are monitored through the monitoring unit.
The step of collecting, by a preset interaction module, video data and audio data of a pet in an area where the interaction module is located includes:
step a: and collecting video data and audio data of the pets in the area where the interaction module is located through a monitoring unit in the preset interaction module, wherein a main picture collected by the monitoring unit is the position of a feeding unit of the interaction module.
When the monitoring unit in the preset interaction module is used for collecting video data and audio data of the pet in the area where the interaction module is located, the main purpose of the monitoring unit is to monitor whether the pet is eating or not, and whether the pet has eating requirements, for example, when the feeding unit feeds certain food to a fixed area, the pet can feed to the area according to the self requirements, and can be considered to find food in the area over time, so that the pet can spontaneously go to the area under the condition that the pet needs to feed, and at the moment, if the monitoring unit detects that the pet often wanders in the feeding area, the video data can be sent to a corresponding user terminal.
In order to achieve the above purpose, the main picture collected by the monitoring unit is set as the position of the food throwing unit of the interaction module, i.e. the monitored main picture is locked in the fixed area where the food throwing unit throws food.
The monitoring unit can be arranged on the feeding unit, and can also be arranged at any position in the area where the feeding unit is located, wherein the position of the feeding unit can be monitored, namely, the home monitoring is arranged at the corner position.
Step S120: the video data and the audio data are sent to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module;
the interaction module sends the collected video data and audio data to the user terminal, so that the corresponding user is informed of the current state of the pet through the interaction action, or the interaction mode is adopted to realize the spaced interaction between the pet and the user.
The interaction module sends the data to the user terminal as a terminal with binding relation with the interaction module, a corresponding network is added to the interaction module in an Internet of things mode, and the binding relation between the user terminal and the interaction module is established through the network.
The user terminal can also feed back corresponding control signals to the interaction module, namely, the interaction between the interaction module and the user terminal is bidirectional, the interaction module can send data to the user terminal, and the user terminal can send the control signals to the interaction module, so that the interaction module is controlled to realize corresponding feeding actions.
In addition, the user terminal can also send video data and audio data to the interaction module, namely, the audio and video conversation between the pets and the users is realized, and the interaction effect between the users and the pets is improved.
Step S130: and controlling the feeding unit to execute feeding action according to the control signal.
After the user terminal feeds back the corresponding control signals to the interaction module, the control signals comprise feeding signals and interaction signals, when the control signals are feeding signals, the interaction module can control the feeding unit to execute corresponding feeding actions according to instruction content of the control signals, and when the control signals are interaction signals, the interaction module can feed real-time video pictures of the user and play real-time audio of the user through the interaction unit, so that the effect of remote interaction between the user and the pet is achieved.
Exemplary, the step of controlling the feeding unit to perform a feeding action according to the control signal includes:
step b: and according to the control signal, controlling the size of a food throwing port of the food throwing unit or controlling the throwing time of food throwing of the food throwing unit so as to finish the food throwing action of the food throwing unit.
When the feeding unit is controlled to execute feeding action according to the control signal, the size of the feeding total amount is mainly considered, so that the size of a feeding port of the feeding unit or the feeding duration of the feeding unit is required to be controlled when the feeding unit is controlled, thereby completing the feeding action of the feeding unit.
It should be noted that, because the feeding amount needs to be controlled, in the application, the feeding unit used needs to be used to meet the requirement of dynamically adjusting the size of the feeding port and/or the feeding unit with dynamically adjustable feeding duration, and the main purpose of the feeding unit is to meet the effects of dynamically feeding and accurately feeding.
Compared with the situation that in the related art, the automatic pet feeder can only execute according to the actual preset control logic, feeds pets regularly and quantitatively, and can not realize dynamic feeding and accurate feeding truly according to the food amount and the food feeding time of the pets, in the application, the video data and the audio data of the pets in the area where the interaction module is located are collected through the preset interaction module; the preset interaction module comprises a feeding unit for delivering food; the video data and the audio data are sent to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module; according to the control signal, the feeding unit is controlled to execute feeding action, that is to say, the interaction module is used for monitoring the pet, the audio data and the video data collected by monitoring are sent to the user terminal, the user terminal can also feed back according to the obtained audio data and video data and send the control signal to the interaction module, so that the feeding unit in the remote control interaction module is controlled to execute the action of feeding food, the effect of interaction between a user and the pet is achieved, and the interaction experience of the user and the pet is improved.
Referring to fig. 2, fig. 2 is a schematic flow chart of a second embodiment of the interactive pet feeding method according to the present application, and based on the first embodiment of the interactive pet feeding method according to the present application, a second embodiment is provided, where the method further includes:
step S210: when the control signal is a feeding signal, acquiring a feeding task table consisting of feeding amount and feeding time, and determining the control time for generating the control signal;
when the control signal is a feeding signal, the feeding unit needs to be controlled to execute feeding action, and when the feeding action is executed, the main point is to control the total amount of food fed each time so as to avoid long-time hunger of the pet or too much food eaten in a short time, thereby affecting the health of the pet.
Therefore, under normal conditions, the time for feeding the pet and the total feeding amount are fixed, and the type of the fed food can be adaptively changed only when the pet is fed every day, but the user can only rely on the automatic feeding unit to feed the food at regular time and quantity when the user is not at home for a long time, so that the user cannot experience the interactive feeding effect of the remote and the pet.
For this, a corresponding remote control unit may be set, and through the network, the user may remotely control the feeding unit in the home to perform a corresponding feeding action, but at this time, there is a corresponding problem: the feeding unit can execute the action of automatically feeding food according to preset feeding tasks (comprising feeding time and feeding amount), and if the user feeds food through remote control in the feeding time of the non-feeding tasks, the feeding times in the day can be increased, the feeding amount is increased, and therefore the current feeding of the pets is excessive, and the health is affected.
Therefore, in order to avoid the above-described situation, when the control signal is a feeding signal, it is necessary to determine the time generated by the current control signal, and if the control time of the control signal coincides with the feeding time in the feeding task table, food can be directly fed, and the feeding action of the control signal at this time is taken as the feeding action in the feeding task table.
If the control time of the control signal is not coincident with the feeding time in the feeding task table, the feeding action of the control signal cannot be used as the feeding action in the feeding task table, and the feeding action of the control signal needs to be additionally controlled, so that the situation that the total amount of multiple feeding is too large to influence the health of the pet is avoided.
Illustratively, before the step of obtaining a feeding task table consisting of feeding amount and feeding time, the method further includes:
step c: determining daily food intake and daily food intake time of the pets in the area where the interaction module is located through a monitoring unit in the preset interaction module; wherein, the daily food intake and the daily food intake time are food intake data generated by the pet when the food intake unit is not controlled;
step d: and predicting the food throwing amount and the food throwing time required by the food throwing unit according to the daily food throwing amount and the daily food throwing time, and generating a food throwing task list according to the food throwing amount and the food throwing time.
In general, the time of the user at home is longer than the time of the user going on business, so the user usually feeds the pet in a fixed area within a certain period of time, and therefore, the daily feeding amount and the daily feeding time of the pet in the area where the interactive module is located can be determined by the preset monitoring unit of the interactive module, the monitoring process can be used as long-time monitoring, and in addition, the daily feeding amount and the daily feeding time refer to feeding data obtained under the condition that the feeding unit is not used.
The daily feeding time can be determined by the monitoring unit collecting specific time of feeding the pet, the specific feeding time can be according to daily feeding time of a user, the time consumed by the daily feeding of the pet can be changed in time, the daily feeding amount is required to be detected according to the image of the monitoring unit, the image of the food bowl of the pet is collected, and the analysis is carried out according to the image, so that the general weight of the food in the food bowl is estimated.
Therefore, after determining the daily feeding amount and daily feeding time of the pet by the monitoring unit, it is necessary to predict the specific feeding amount and feeding time when the corresponding feeding unit feeds food, for example, the daily feeding amount is in the range of 120g-200g, the daily feeding time is in the range of 9 points-10 points, the feeding amount when the feeding unit is used is predicted to be the average value in the range of 120g-200g, and the feeding time is a period of time between 9 points-10 points, for example, 9 points 20 branches 9 points 40 points.
Furthermore, the user may feed the pet three times in the morning, in the evening, for example, in different time periods per day, and thus, the feeding time and the feeding amount also need to correspond to the noon and the evening, wherein the feeding amount in each time period may vary accordingly.
Therefore, according to the delivery amount and the delivery time, a corresponding delivery task table needs to be generated according to the delivery amount in the relative delivery time, for example, the delivery task table comprises three delivery tasks in the morning and evening, 150g is delivered in the morning, 200g is delivered in the noon, 130g is delivered in the evening, and the like.
Step S220: if the control time is not coincident with the feeding time, determining a time interval between the control time and the feeding time;
if the control time does not overlap with the feeding time, a time interval between the control time and the feeding time is determined, wherein the criterion of the misalignment is that a period of time (for example, 10 minutes or 15 minutes, and the like, and the time required for feeding the pet is described below by taking 15 minutes as an example) is increased after the generation time of the control signal, the period of time required for feeding the pet is described by taking 15 points as an example, from 15 points as an example, the time required for feeding the pet, that is, the period of time of feeding corresponding to the control time is 15 points as 15 minutes to 15 points, the whole period of time is compared with the time in the feeding task table, and whether the overlap exists or not is determined, for example, the generation time of the control signal is 16 points as 50 minutes, the feeding time in the feeding task table is 17 points as an example, the feeding time period corresponding to the control signal is 16 points as 50 minutes to 17 points as 5 minutes, the control time overlaps with the feeding time, and the rest of time periods are not overlapped.
The step of determining the time interval between the control time and the feeding time if the control time does not coincide with the feeding time includes:
step e: if the control time is not coincident with the feeding time, determining a time section of the control time in the feeding task table; the time section consists of a first feeding time and a second feeding time in the feeding task table, and the control time is between the first feeding time and the second feeding time;
step f: determining a first time interval between the control time and the first feeding time, and determining a second time interval between the control time and the second feeding time.
If the control time is not coincident, determining a time interval between the control time and the feeding time, and calculating two time intervals respectively when calculating the time interval, for example, the feeding task table corresponds to feeding three times in the morning, the feeding task table corresponds to feeding three times in the evening, and the control time is between the feeding time in the morning and the feeding time in the noon, and calculating two time intervals between the control time and the feeding time in the morning and the feeding time in the noon respectively.
In addition, there are special cases, for example, the morning feeding time is 8 points, the control time is 7 points, the time interval between the control time and the morning feeding time needs to be calculated, and the time interval between the control time and the evening feeding time of the previous day needs to be calculated additionally.
The feeding time in the evening of the previous day is the first feeding time, and the feeding time in the morning of the current day is the second feeding time.
The time interval between the control time and the first feeding time is the first time interval, and the time interval between the control time and the second feeding time is the second time interval.
Step S230: according to the time interval, the food intake corresponding to the food intake time is adjusted to obtain a control amount;
when the time interval is calculated, the control time is not overlapped with the feeding time in the feeding task table, and at this time, according to the control time, corresponding feeding times are additionally increased beyond the feeding times in the original feeding task table, for example, the feeding times in the current feeding task table are three times, the control time is not overlapped with the feeding time, and then the feeding times of the current feeding food are increased to four times.
In order to ensure the health of the pets, however, when the number of times of food delivery on the same day increases, it is necessary to control the total amount of food delivery on the same day, for example, 500g in the total amount of food delivery on the same day in the delivery task table, and when the number of times of food delivery increases according to the control time, the total amount of food delivery on the same day increases, and therefore, when the food delivery unit is controlled to deliver food according to the control signal, it is necessary to dynamically control the amount of food delivery, which is essentially that the amount of food delivery corresponding to the time of food delivery after the control time is split into two time of delivery, and the total amount of the two amounts of food delivery corresponds to the time of delivery, for example, the control time is 15 points, the time of next time closest to the control time is 17 points, and the amount of delivery corresponding to 17 points is 120g, and at this time, it is necessary to split 120 into two times to deliver 40g at 15 points and 17 points, for example, 40g at 15 points and 80g at 17 points.
The step of adjusting the size of the feeding amount corresponding to the feeding time according to the time interval to obtain the control amount includes:
step g: determining a first food amount required to be put in at the control time according to the first time interval;
step h: determining a second food amount to be fed at the second feeding time according to the second time interval;
and the sum of the first feeding amount and the second feeding amount is equal to the feeding amount corresponding to the second feeding time in the feeding task table.
Therefore, the amount of food to be fed corresponding to the feeding time is adjusted according to the time interval, and a control amount is obtained, which is mainly adjusted by the amount of food to be fed in the feeding time, and the amount of food to be fed is split into partial amounts, and the partial amounts are fed in the control time.
When the time interval is according to the time interval, the first throwing amount needed to be thrown in the control time is adjusted and the second throwing amount needed to be thrown in the second throwing time is determined according to the first time interval and the second time interval.
When determining the amount of administration according to the first time interval and the second time interval, mainly consider the length of the first time interval and the second time interval, for example, the control time is 14 points, the first administration time in the administration task table is 12 points, the second administration time is 17 points, that is, the first time interval is 2 hours, the second time interval is 3 hours, and the main control logic is that: the first time interval is short, and the pet may not be completely digested after eating, at this time, the amount of food to be fed in the control time may be controlled to be at a smaller level, and the second time interval is long, so that the amount of food to be fed in the second time may be at a larger level.
At this time, a corresponding calculation process needs to be set, that is, a first amount of food to be delivered at the control time and a second amount of food to be delivered at the second time are calculated by the first time interval and the second time interval, respectively.
The specific calculation process is as follows:
determining a delivery amount corresponding to the second delivery time from the delivery task table, for example, the delivery amount corresponding to the second delivery time is 150g (the delivery amount is an undetached amount at this time), calculating a time interval between the first delivery time and the second delivery time, for example, the first delivery time is 12 points, the second delivery time is 17 points, the time interval between the two delivery times is 5 hours, and uniformly distributing the delivery amount corresponding to the second delivery time to 5 hours, namely, 30g of distribution result is obtained for each hour.
According to the first time interval between the control time and the first delivery time and the second time interval between the control time and the second delivery time, the first delivery amount of the control time is calculated, for example, the control time is 15 points, the first time interval from the first delivery time 12 points is 3 hours, the first delivery amount required to be delivered by the control time is determined to be 90g, the second time interval between the control time and the second delivery time 17 points is 2 hours, and the second delivery amount required to be delivered by the second delivery time is determined to be 60g.
If the first time interval is smaller than one hour, determining the quantity required to be put in for controlling the time according to the quantity of the distribution result of one hour.
And if the second time interval is smaller than one hour, taking half of the delivery amount corresponding to the second delivery time as the first delivery amount of the control time, for example, the second delivery time in the delivery task table is 17 points, the delivery amount is 150g, the control time is 16 points and 30 minutes, according to the superposition judgment basis, the delivery time period corresponding to the control time is 16 points and 30 minutes to 16 points and 45 minutes, and if the control time and the second delivery time interval are smaller than one hour, determining that 75g is delivered in the 16 points and 30 minutes to 16 points and 45 minutes, and 75g is delivered in the 17 points.
Step S240: and controlling the feeding unit to execute feeding action according to the control quantity.
According to the control quantity, the feeding unit is controlled to execute feeding action, wherein one of the feeding action is that the control time coincides with the feeding time, and the feeding action can be directly controlled according to the feeding quantity of the corresponding feeding time in the feeding task table, and the other feeding action is that the first feeding quantity of the controlled time and the second feeding quantity of the second feeding time are respectively determined according to the time interval of the control time and the feeding time in the feeding task table, and the corresponding feeding action is executed.
In this embodiment, when the control signal is a feeding signal, a feeding task table composed of a feeding amount and a feeding time is obtained, and a control time for generating the control signal is determined; if the control time is not coincident with the feeding time, determining a time interval between the control time and the feeding time; according to the time interval, the food intake corresponding to the food intake time is adjusted to obtain a control amount; according to the control quantity, the feeding unit is controlled to execute feeding action, and the situation that the number of times and the total quantity of fed foods are increased in the control time are avoided through accurate control of the feeding quantity, so that the situation that the health of the pets is influenced due to the fact that the pets eat too much foods in one day is avoided.
In addition, the application still provides an interactive pet feeding device, an interactive pet feeding device includes:
the acquisition module is used for acquiring video data and audio data of the pets in the area where the interaction module is located through the preset interaction module; the preset interaction module comprises a feeding unit for delivering food;
the sending module is used for sending the video data and the audio data to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module;
and the control module is used for controlling the feeding unit to execute feeding action according to the control signal.
Illustratively, the control module includes:
the acquisition sub-module is used for acquiring a food feeding task list consisting of food feeding amount and food feeding time when the control signal is a food feeding signal, and determining the control time for generating the control signal;
the judging sub-module is used for determining the time interval between the control time and the feeding time if the control time is not coincident with the feeding time;
the adjustment sub-module is used for adjusting the feeding amount corresponding to the feeding time according to the time interval to obtain a control amount;
and the first control sub-module is used for controlling the feeding unit to execute feeding action according to the control quantity.
Illustratively, the acquisition submodule includes:
the first determining unit is used for determining daily feeding amount and daily feeding time of the pets in the area where the interaction module is located through the monitoring unit in the preset interaction module; wherein, the daily food intake and the daily food intake time are food intake data generated by the pet when the food intake unit is not controlled;
the prediction unit is used for predicting the food throwing amount and the food throwing time required by the food throwing unit according to the daily food feeding amount and the daily food feeding time, and generating a food throwing task list according to the food throwing amount and the food throwing time.
Illustratively, the judging submodule includes:
the judging unit is used for determining the time section of the control time in the feeding task list if the control time is not coincident with the feeding time; the time section consists of a first feeding time and a second feeding time in the feeding task table, and the control time is between the first feeding time and the second feeding time;
and the determining unit is used for determining a first time interval between the control time and the first feeding time and a second time interval between the control time and the second feeding time.
Illustratively, the adjustment submodule includes:
the second determining unit is used for determining a first feeding amount required to be fed in at the control time according to the first time interval;
a third determining unit, configured to determine a second feeding amount required to be fed at the second feeding time according to the second time interval; and the sum of the first feeding amount and the second feeding amount is equal to the feeding amount corresponding to the second feeding time in the feeding task table.
Illustratively, the acquisition module includes:
and the acquisition sub-module is used for acquiring video data and audio data of the pets in the area where the interaction module is located through a monitoring unit in the preset interaction module, wherein a main picture acquired by the monitoring unit is the position of the feeding unit of the interaction module.
Illustratively, the control module includes:
and the second control submodule is used for controlling the size of a food throwing port of the food throwing unit or controlling the throwing duration of food throwing of the food throwing unit according to the control signal so as to finish the food throwing action of the food throwing unit.
The specific implementation manner of the interactive pet feeding device is basically the same as the above embodiments of the interactive pet feeding method, and will not be repeated here.
In addition, the application also provides interactive pet feeding equipment. As shown in fig. 3, fig. 3 is a schematic structural diagram of a hardware running environment according to an embodiment of the present application.
By way of example, fig. 3 may be a schematic diagram of the hardware operating environment of an interactive pet feeding device.
As shown in fig. 3, the interactive pet feeding device may include a processor 301, a communication interface 302, a memory 303, and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 perform communication with each other through the communication bus 304, and the memory 303 is used for storing a computer program; the processor 301 is configured to implement steps of the method for feeding pets in an interactive manner when executing a program stored in the memory 303.
The communication bus 304 referred to above for the interactive pet feeding device may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The communication bus 304 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface 302 is used for communication between the interactive pet feeding device and other devices described above.
The Memory 303 may include a random access Memory (Random Access Memory, RMD) or may include a Non-Volatile Memory (NM), such as at least one disk Memory. Optionally, the memory 303 may also be at least one memory device located remotely from the aforementioned processor 301.
The processor 301 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
The specific implementation manner of the interactive pet feeding device is basically the same as the above embodiments of the interactive pet feeding method, and will not be repeated here.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores an interactive pet feeding program, and the interactive pet feeding program realizes the steps of the interactive pet feeding method when being executed by a processor.
The specific implementation manner of the computer readable storage medium is basically the same as the above embodiments of the method for feeding pets, and will not be repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, including several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.
Claims (10)
1. An interactive pet feeding method, characterized in that the interactive pet feeding method comprises the following steps:
collecting video data and audio data of a pet in an area where an interaction module is located through a preset interaction module; the preset interaction module comprises a feeding unit for delivering food;
the video data and the audio data are sent to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module;
and controlling the feeding unit to execute feeding action according to the control signal.
2. The interactive pet feeding method as claimed in claim 1, wherein the step of controlling the feeding unit to perform a feeding action according to the control signal comprises:
when the control signal is a feeding signal, acquiring a feeding task table consisting of feeding amount and feeding time, and determining the control time for generating the control signal;
if the control time is not coincident with the feeding time, determining a time interval between the control time and the feeding time;
according to the time interval, the food intake corresponding to the food intake time is adjusted to obtain a control amount;
and controlling the feeding unit to execute feeding action according to the control quantity.
3. The interactive pet feeding method of claim 2, wherein prior to the step of obtaining a feeding task list consisting of feeding amounts and feeding times, the method further comprises:
determining daily food intake and daily food intake time of the pets in the area where the interaction module is located through a monitoring unit in the preset interaction module; wherein, the daily food intake and the daily food intake time are food intake data generated by the pet when the food intake unit is not controlled;
and predicting the food throwing amount and the food throwing time required by the food throwing unit according to the daily food throwing amount and the daily food throwing time, and generating a food throwing task list according to the food throwing amount and the food throwing time.
4. The interactive pet feeding method of claim 2, wherein the time interval comprises a first time interval and a second time interval, and wherein the step of determining the time interval of the control time and the feeding time if the control time does not coincide with the feeding time comprises:
if the control time is not coincident with the feeding time, determining a time section of the control time in the feeding task table; the time section consists of a first feeding time and a second feeding time in the feeding task table, and the control time is between the first feeding time and the second feeding time;
determining a first time interval between the control time and the first feeding time, and determining a second time interval between the control time and the second feeding time.
5. The interactive pet feeding method as claimed in claim 4, wherein the control amount includes a first feeding amount and a second feeding amount, and the step of adjusting the feeding amount corresponding to the feeding time according to the time interval, to obtain the control amount includes:
determining a first food amount required to be put in at the control time according to the first time interval;
determining a second food amount to be fed at the second feeding time according to the second time interval;
and the sum of the first feeding amount and the second feeding amount is equal to the feeding amount corresponding to the second feeding time in the feeding task table.
6. The interactive pet feeding method as claimed in claim 1, wherein the step of collecting video data and audio data of the pet in the area where the interactive module is located through a preset interactive module comprises the steps of:
and collecting video data and audio data of the pets in the area where the interaction module is located through a monitoring unit in the preset interaction module, wherein a main picture collected by the monitoring unit is the position of a feeding unit of the interaction module.
7. The interactive pet feeding method as claimed in claim 1, wherein the step of controlling the feeding unit to perform a feeding action according to the control signal comprises:
and according to the control signal, controlling the size of a food throwing port of the food throwing unit or controlling the throwing time of food throwing of the food throwing unit so as to finish the food throwing action of the food throwing unit.
8. An interactive pet feeding device, the interactive pet feeding device comprising:
the acquisition module is used for acquiring video data and audio data of the pets in the area where the interaction module is located through the preset interaction module; the preset interaction module comprises a feeding unit for delivering food;
the sending module is used for sending the video data and the audio data to a user terminal, wherein the user terminal is a terminal with binding relation with the interaction module, and the user terminal can feed back a control signal to the interaction module;
and the control module is used for controlling the feeding unit to execute feeding action according to the control signal.
9. An interactive pet feeding device, the device comprising: a memory, a processor, and an interactive pet feeding program stored on the memory and executable on the processor, the interactive pet feeding program configured to implement the steps of the interactive pet feeding method of any of claims 1 to 7.
10. A computer readable storage medium having stored thereon an interactive pet feeding program which when executed by a processor implements the steps of the interactive pet feeding method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310695690.6A CN116508670B (en) | 2023-06-12 | 2023-06-12 | Interactive pet feeding method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310695690.6A CN116508670B (en) | 2023-06-12 | 2023-06-12 | Interactive pet feeding method, device, equipment and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116508670A true CN116508670A (en) | 2023-08-01 |
CN116508670B CN116508670B (en) | 2024-02-13 |
Family
ID=87399634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310695690.6A Active CN116508670B (en) | 2023-06-12 | 2023-06-12 | Interactive pet feeding method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116508670B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020185075A1 (en) * | 2001-06-11 | 2002-12-12 | Glover Nolan S. | Wildlife and fish feeder |
US20120060761A1 (en) * | 2010-09-15 | 2012-03-15 | Laro Tunji S | Pet Food Server |
CN107318680A (en) * | 2017-08-02 | 2017-11-07 | 深圳市广和通无线股份有限公司 | Pet feeding control method and device |
CN110651722A (en) * | 2019-09-09 | 2020-01-07 | 中国地质大学(武汉) | Intelligent pet feeding device |
-
2023
- 2023-06-12 CN CN202310695690.6A patent/CN116508670B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020185075A1 (en) * | 2001-06-11 | 2002-12-12 | Glover Nolan S. | Wildlife and fish feeder |
US20120060761A1 (en) * | 2010-09-15 | 2012-03-15 | Laro Tunji S | Pet Food Server |
CN107318680A (en) * | 2017-08-02 | 2017-11-07 | 深圳市广和通无线股份有限公司 | Pet feeding control method and device |
CN110651722A (en) * | 2019-09-09 | 2020-01-07 | 中国地质大学(武汉) | Intelligent pet feeding device |
Also Published As
Publication number | Publication date |
---|---|
CN116508670B (en) | 2024-02-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11349779B2 (en) | Upstream bandwidth management methods and apparatus | |
JP6438476B2 (en) | System, method, and feeding device for remote pet monitoring and feeding | |
CN101682568B (en) | Method and apparatuses for adjusting bandwidth allocation during a collaboration session | |
CA2888218C (en) | Playback stall avoidance in adaptive media streaming | |
DE60114650T2 (en) | ADAPTIVE VIDEO SETTING | |
US20150373945A1 (en) | Smart Animal Feeder | |
CN108521856A (en) | Dispatching method in content distributing network and equipment | |
US20070095303A1 (en) | Electronic animal trainer with temperament learning | |
CN107959700B (en) | Self-adaptive file downloading method and cloud storage gateway | |
CN112714029B (en) | Method, device and equipment for scheduling content distribution network bandwidth | |
WO2016116720A1 (en) | System and method for live streaming of content | |
CN116508670B (en) | Interactive pet feeding method, device, equipment and readable storage medium | |
CN111757015B (en) | Exposure control method and device and electronic equipment | |
CN111417000A (en) | Method, device, electronic equipment and medium for switching video code rate | |
CN110393155B (en) | Livestock breeding management method, device and system and storage medium | |
CN112331303A (en) | Pet feeding plan generation method and device, electronic equipment and storage medium | |
US20140089485A1 (en) | Method and Arrangement for Providing Update Notifications in a Telecommunication Network | |
CN109413117A (en) | Distributed data calculation method, device, server and computer storage medium | |
CN109257614B (en) | Live session access control method, device and storage medium | |
US6772418B1 (en) | Method and system for managing subscriptions using a publisher tree | |
CN111123856B (en) | Method and device for monitoring feed proportioning process, electronic equipment and storage medium | |
CN109101340A (en) | Dynamic distribution method, device, equipment and the storage medium of barrage message | |
CN112493203A (en) | Pet food intake determining method and device, electronic equipment and storage medium | |
CN114503929A (en) | Accurate feeding method and feeding system | |
JP2020054321A (en) | Automatic feeding system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |