Pet status determination method, device, apparatus, and computer-readable storage medium

By obtaining the pet's nose print information and analyzing its movement trajectory, the pet's status information is determined, which solves the problem of the existing technology that the pet's status cannot be accurately understood, and realizes convenient pet management and timely response.

CN114299544BActive Publication Date: 2025-10-03NEW RUIPENG PET HEALTHCARE GRP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111645798.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2025-10-03
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

Existing technologies cannot accurately and effectively determine the status information of pets at home, resulting in pet owners having to view videos in real time, which wastes time and is inconvenient to manage.

Method used

By obtaining the pet's nose print information, extracting the pet's feature information and extracting the target image from the video, the pet's movement trajectory and amount of movement are determined. Based on the movement trajectory and amount, the pet's status information, including hunger, disease and lack of movement, is determined, and corresponding operations are performed through preset devices.

Benefits of technology

You can accurately understand the pet's status without having to view the video in real time, which improves the convenience and timely response capabilities of pet management and reduces the user's time consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114299544B_ABST
    Figure CN114299544B_ABST
Patent Text Reader

Abstract

The present application provides a pet status determination method, apparatus, device and computer-readable storage medium; the pet status determination method in the present application should include: obtaining pet nose print information of a target pet; extracting a target image based on the pet characteristic information of the target pet corresponding to the pet nose print information, and determining the pet movement trajectory based on the target image; determining the pet movement amount of the target pet based on the pet movement trajectory and the movement characteristic information of the pet movement trajectory; determining the pet status information based on the pet movement trajectory and the pet movement amount; in the embodiment of the present application, the user does not need to view the video in real time to effectively and accurately understand the pet status.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, apparatus, device, and computer-readable storage medium for determining a pet state. Background Art

[0002] With the development of the times, keeping pets as an opportunity for humans to get close to nature can meet human psychological needs, so people will keep pets at home.

[0003] For people who work away from home and want to know the status of their pets at home, they currently choose to install cameras to detect what is happening to their pets at home. Existing cameras are mainly responsible for collecting pet videos, and users need to view the videos in real time to determine the status of their pets, which wastes the pet owner's time. In addition, pet owners usually cannot view their pets' videos in real time, which means that it is currently impossible to accurately and effectively determine the status information of pets at home. Summary of the Invention

[0004] The present application provides a pet status determination method, apparatus, device and computer-readable storage medium, aiming to solve the problem that it is currently impossible to accurately and effectively determine the status information of a pet at home.

[0005] In one aspect, the present application provides a method for determining a pet status, the method comprising:

[0006] Obtain the target pet's nose print information;

[0007] Extracting a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determining the pet's movement trajectory based on the target image;

[0008] determining the pet exercise amount of the target pet according to the pet movement trajectory and the movement characteristic information of the pet movement trajectory;

[0009] The pet status information is determined according to the pet's movement trajectory and the pet's movement amount.

[0010] In some embodiments of the present application, extracting a target image based on the pet characteristic information of the target pet corresponding to the pet nose print information, and determining the pet's motion trajectory based on the target image, includes:

[0011] Obtaining pet feature information of a target pet corresponding to the pet nose print information, and extracting a target image containing the target pet from a preset video based on the pet feature information;

[0012] The pet positions of the target pets in each of the target images are respectively obtained, and the pet positions are sorted according to the acquisition time of the target images to obtain the pet movement trajectory.

[0013] In some embodiments of the present application, the motion characteristic information includes: motion intensity and motion time;

[0014] Determining the pet exercise amount of the target pet based on the pet's movement trajectory and the movement characteristic information of the pet's movement trajectory includes:

[0015] Segmenting the pet's motion trajectory into motion trajectory segments according to a preset duration, calculating the motion speed of each motion trajectory segment, and obtaining a target trajectory segment whose motion speed is greater than a preset speed threshold;

[0016] determining the movement intensity of the target pet according to the average movement speed and the movement speed variation of each target trajectory segment;

[0017] The preset duration corresponding to each target trajectory segment is counted to obtain the exercise time, and the pet exercise amount of the target pet is determined according to the exercise time and the exercise intensity.

[0018] In some embodiments of the present application, determining the pet status information based on the pet's movement trajectory and the pet's movement amount includes:

[0019] Dividing the activity area of ​​the target pet into a feeding area, a rest area, and an exercise area according to the target image;

[0020] If the target pet's exercise amount in the feeding area is greater than a preset first threshold, the pet status information is determined to be a hungry state;

[0021] If the target pet spends more time in the rest area than a preset time threshold, determining that the pet status information is a disease state;

[0022] If the pet movement amount of the target pet in the movement area is less than a preset second threshold, the pet status information is determined to be a movement-deficient state.

[0023] In some embodiments of the present application, after determining the pet status information based on the pet's movement trajectory and the pet's movement amount, the method includes:

[0024] If the pet status information indicates a hungry state, determining the energy consumption of the target pet based on the pet's movement trajectory;

[0025] Obtaining caloric information of pet food in a preset feeding device, and determining feeding weight based on the energy consumption and the caloric information;

[0026] The preset feeding device is controlled to output the pet feed corresponding to the feeding weight for feeding the pet.

[0027] In some embodiments of the present application, after determining the pet status information based on the pet's movement trajectory and the pet's movement amount, the method includes:

[0028] If the pet status information indicates a disease state, obtaining a preset standard amount of exercise corresponding to the pet's nose print information;

[0029] determining the disease stage of the target pet based on the ratio information of the pet's exercise amount and the standard exercise amount;

[0030] Obtain and output the pet treatment plan corresponding to the disease stage.

[0031] In some embodiments of the present application, after determining the pet exercise amount of the target pet based on the pet's movement trajectory and the movement characteristic information of the pet's movement trajectory, the method includes:

[0032] Obtaining a preset standard amount of exercise corresponding to the pet's nose print information, and comparing the pet's exercise amount with the standard amount of exercise;

[0033] If the pet's exercise volume matches the standard exercise volume, a prompt message is output;

[0034] If the pet's exercise amount does not match the standard exercise amount, the step of determining the pet's status information based on the pet's exercise trajectory and the pet's exercise amount is performed.

[0035] On the other hand, the present application provides a pet status determination device, the pet status determination device comprising:

[0036] An acquisition module is used to obtain the nose print information of the target pet;

[0037] A first determination module is configured to extract a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determine a movement trajectory of the pet based on the target image;

[0038] a second determining module, configured to determine the pet exercise amount of the target pet based on the pet's movement trajectory and movement feature information of the pet's movement trajectory;

[0039] The third determining module is used to determine the pet status information according to the pet's movement trajectory and the pet's exercise amount.

[0040] On the other hand, the present application further provides a pet status determination device, the pet status determination device comprising:

[0041] one or more processors;

[0042] Memory; and

[0043] One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the pet status determination method.

[0044] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, which is loaded by a processor to execute the steps in the pet status determination method.

[0045] The technical solution of this application obtains the target pet's nose print information; extracts a target image based on the target pet's pet feature information corresponding to the pet nose print information, and determines the pet's motion trajectory based on the target image; determines the target pet's pet exercise volume based on the pet's motion trajectory and the motion feature information of the pet's motion trajectory; and determines the pet's status information based on the pet's motion trajectory and the pet's motion volume. In this embodiment, the target pet's pet exercise volume is determined based on the pet's motion trajectory and the motion feature information of the pet's motion trajectory, and the pet's home status information is accurately determined based on the pet's motion volume. This allows the user to effectively understand the pet's home status information without having to view video information in real time, allowing for timely response, making pet management more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0047] Figure 1 Schematic diagram of a scenario of a pet status determination method provided in an embodiment of the present application;

[0048] Figure 2 This is a flow chart of an embodiment of a method for determining a pet status in an embodiment of the present application;

[0049] Figure 3 This is a flow chart of an embodiment of a pet's exercise amount in a method for determining a pet's state provided in an embodiment of the present application;

[0050] Figure 4 This is a flow chart of an embodiment of determining pet status information in a pet status determination method provided in an embodiment of the present application;

[0051] Figure 5This is a flow chart of an embodiment of feeding a pet when the pet status information indicates a hungry state in the pet status determination method provided in the embodiment of the present application;

[0052] Figure 6 This is a flow chart of an embodiment of determining a pet treatment plan in a pet status determination method provided in an embodiment of the present application;

[0053] Figure 7 This is a schematic structural diagram of an embodiment of a device for determining a pet state provided in an embodiment of the present application;

[0054] Figure 8 It is a schematic structural diagram of an embodiment of a pet status determination device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of the present invention.

[0056] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0057] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to make and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that one of ordinary skill in the art will recognize that the invention can be practiced without these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

[0058] The embodiments of the present application provide a pet status determination method, apparatus, device, and computer-readable storage medium, which are described in detail below.

[0059] The pet status determination method in an embodiment of the present invention is applied to a pet status determination device, which is provided in a pet status determination device. The pet status determination device is provided with one or more processors, memories, and one or more applications, wherein the one or more applications are stored in the memories and configured to be executed by the processor to implement the pet status determination method; the pet status determination device can be a server.

[0060] like Figure 1 As shown, Figure 1 This is a scenario diagram of the pet status determination method in an embodiment of the present application. The pet status determination scenario in the embodiment of the present invention includes a pet status determination device 100 (a pet status determination device is integrated in the pet status determination device 100), and a computer-readable storage medium corresponding to the pet status determination is run in the pet status determination device 100 to perform pet status determination.

[0061] It is understandable that Figure 1 The pet status determination device in the pet status determination scenario shown, or the devices included in the pet status determination device, does not constitute a limitation on the embodiments of the present invention. That is, the number of devices, devices, and types of devices included in the pet status determination scenario, or the number of devices and types of devices included in each device do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be regarded as equivalent replacements or derivatives of the technical solution claimed to be protected in the embodiments of the present invention.

[0062] In the embodiment of the present invention, the pet status determination device 100 is mainly used to: obtain the pet nose print information of the target pet; extract the target image according to the pet feature information of the target pet corresponding to the pet nose print information, and determine the pet movement trajectory according to the target image; determine the pet movement amount of the target pet according to the pet movement trajectory and the movement feature information of the pet movement trajectory; determine the pet status information according to the pet movement trajectory and the pet movement amount.

[0063] In the embodiments of the present invention, the pet status determination device 100 may be an independent pet status determination device, or a pet status determination device network or pet status determination device cluster composed of multiple pet status determination devices. For example, the pet status determination device 100 described in the embodiments of the present invention includes, but is not limited to, a computer, a network host, a single network pet status determination device, a set of multiple network pet status determination devices, or a cloud pet status determination device composed of multiple pet status determination devices. The cloud pet status determination device is composed of a large number of computers or network pet status determination devices based on cloud computing.

[0064] Those skilled in the art will understand that Figure 1 The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer pet status determination devices shown in , or pet status determination device network connection relationships, such as Figure 1 Only one pet status determination device is shown. It can be understood that the pet status determination scenario can also include one or more other pet status determination devices, which are not limited here. The pet status determination device 100 can also include a memory for storing data, for example, storing relevant data for pet status determination.

[0065] In addition, in the pet status determination scenario of the present application, the pet status determination device 100 can be provided with a display device, or the pet status determination device 100 is not provided with a display device and is in communication with an external display device 200, and the display device 200 is used to output the result of the execution of the pet status determination method in the pet status determination device. The pet status determination device 100 can access a backend database 300 (the backend database can be in the local memory of the pet status determination device, or the backend database can also be set in the cloud), and the backend database 300 stores information related to the pet status determination, for example, the backend database 300 stores relevant data of the pet status determination.

[0066] It should be noted that Figure 1The scenario diagram of the pet status determination method shown is only an example. The scenario of pet status determination described in the embodiment of the present invention is to more clearly illustrate the technical solution of the embodiment of the present invention, and does not constitute a limitation on the technical solution provided by the embodiment of the present invention.

[0067] like Figure 2 As shown, Figure 2 This is a flow chart of an embodiment of a method for determining a pet's status in an embodiment of the present application. The method for determining a pet's status includes steps 201 to 204:

[0068] 201, obtaining the nose print information of the target pet.

[0069] In this embodiment, the pet status determination method is applied to a pet status determination device. The type of the pet status determination device is not specifically limited. In this embodiment, the pet status determination device is described by taking a server as an example.

[0070] The server receives a pet status query request, wherein the triggering method of the pet status query request is not specifically limited, that is, the pet status query request can be automatically triggered by the server, for example, after a camera pre-set in the server collects the pet's nose print information, the pet status query request is automatically triggered; the server obtains the image collected by the camera in real time, and when the server detects the pet nose print information of the target pet in the image, the pet status query request is automatically triggered; in addition, the pet status query request can also be actively triggered by the user, for example, the user enters the pet nose print information of xxx pet in the mobile phone, the mobile phone sends the pet nose print information to the server, and the server triggers the pet status query request.

[0071] After receiving the pet status query request, the server obtains the pet nose print information of the target pet to be queried, wherein the type of pet is not limited. For example, if the pet is a dog, the pet nose print information refers to the nose print information that uniquely identifies the pet. Pet nose print information is similar to human fingerprints, each with its own unique characteristics, and can be used to identify the pet.

[0072] In some embodiments of the present application, after step 201 obtains the nose print information of the target pet, the following steps are included:

[0073] The server obtains pet characteristic information corresponding to the pet's nose print information, where the pet characteristic information refers to information reflecting the pet's characteristics, including but not limited to characteristics such as the pet's appearance, pet breed, pet fur length, and pet color. The server obtains the pet characteristic information in a manner not specifically limited, and specifically includes:

[0074] Implementation method 1: The server accesses a preset pet feature database, which records the pet nose print information and pet feature information of different pets; after the server obtains the pet nose print information of the target pet, the server queries the preset feature database to obtain the pet feature information corresponding to the pet nose print information.

[0075] Implementation method 2: The server obtains image information corresponding to the pet's nose print information, and analyzes the image to obtain pet feature information corresponding to the pet's nose print information.

[0076] 202 , extracting a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determining a pet movement trajectory based on the target image.

[0077] The server obtains a video captured by a camera device and extracts a target image from the video based on the pet's nose print information corresponding to the pet's characteristic information. That is, the server performs image recognition on each image in the video and extracts an image containing the target pet from the video as the target image. The server determines the pet's motion trajectory based on the target image; specifically, this includes:

[0078] (1) obtaining pet feature information of a target pet corresponding to the pet nose print information, and extracting a target image containing the target pet from a preset video according to the pet feature information;

[0079] (2) Obtain the pet position of the target pet in each target image respectively, and sort the pet positions according to the acquisition time of the target image to obtain the pet movement trajectory.

[0080] That is, the server obtains the pet feature information of the target pet corresponding to the pet nose print information, and the server extracts the target image containing the target pet from the preset video according to the pet feature information; the server identifies the coordinate information of the target pet in the target image, and the server converts the two-dimensional coordinate information of the target pet in the target image into the three-dimensional pet position of the target pet in the real space, and the server obtains the pet position of the target pet in each target image respectively; the server sorts the pet positions according to the acquisition time of the target image to obtain the pet movement trajectory.

[0081] In this embodiment, the server processes the target image to obtain the pet motion trajectory of the target pet in the target image, and then determines the pet exercise amount of the target pet based on the pet motion trajectory. The amount of exercise is also called "exercise load", and the main factors affecting the amount of exercise are "amount" and "intensity".

[0082] 203 : Determine the pet exercise amount of the target pet according to the pet movement trajectory and the movement feature information of the pet movement trajectory.

[0083] After the server obtains the pet's motion trajectory, the server obtains the motion feature information corresponding to the pet's motion trajectory. The motion feature information refers to the motion time and motion intensity information, etc. The server determines the pet exercise amount of the target pet based on the pet's motion trajectory and the motion feature information corresponding to the pet's motion trajectory. Among them, the pet motion feature refers to the pet's motion time, motion speed and motion distance, etc. The server counts the total distance of the pet's motion trajectory, the target pet's motion time, and the motion rate corresponding to the pet's motion trajectory. The server determines the pet exercise amount of the target pet based on the motion feature information such as the total distance of the pet's motion trajectory, the target pet's motion time, and the motion rate corresponding to the pet's motion trajectory.

[0084] In this embodiment, the server determines the pet exercise amount of the target pet based on the pet's movement trajectory and the movement characteristic information of the pet's movement trajectory, so as to facilitate the server to determine the status of the pet.

[0085] In some embodiments of the present application, after the server obtains the pet's exercise volume, the server needs to determine the pet's status. Since the data processing required to determine the pet's status based on the pet's exercise volume is large, a standard exercise volume is pre-set in the server to exclude some pet exercise volumes. Specifically, the steps after step 203 include:

[0086] (1) obtaining a preset standard amount of exercise corresponding to the pet's nose print information, and comparing the pet's exercise amount with the standard amount of exercise;

[0087] (2) If the pet's exercise volume matches the standard exercise volume, a prompt message is output;

[0088] (3) If the pet's exercise volume does not match the standard exercise volume, the step of determining the pet's status information based on the pet's exercise trajectory and the pet's exercise volume is executed.

[0089] That is, after the server obtains the pet's exercise volume, it obtains a preset standard exercise volume corresponding to the pet's nose print information, where the standard exercise volume can be an average value of the pet's exercise volume set based on the pet's age, pet type, pet's biological habits, etc. The server compares the pet's exercise volume with the standard exercise volume to determine whether the pet's exercise volume and the standard exercise volume match, where matching means that the ratio between the pet's exercise volume and the standard exercise volume is within a set range, for example, within a range of 0.8-1.2. If the pet's exercise volume and the standard exercise volume match, the server outputs a prompt message, thereby eliminating the need for the server to perform repeated data processing and improving data processing efficiency. If the pet's exercise volume and the standard exercise volume do not match, the server executes the step of determining the pet's status information based on the pet's motion trajectory and the pet's exercise volume. In this embodiment, after obtaining the pet's exercise volume, the server first compares the pet's exercise volume with the standard pet's exercise volume. If the pet's exercise volume is normal, no processing is performed. If the pet's exercise volume is abnormal, the server determines the pet's status information based on the pet's exercise volume. This can reduce the server's data processing load and improve data processing efficiency.

[0090] 204 : Determine pet status information based on the pet's movement trajectory and the pet's exercise amount.

[0091] The server determines the pet's status information based on the pet's movement trajectory and the pet's exercise volume. In this embodiment, the server determines the target pet's activity area based on the pet's movement trajectory, and the server determines the target pet's mental state based on the pet's exercise volume to comprehensively obtain the pet's status information. For example, the server determines that the pet's movement trajectory and the pet's exercise volume are mainly concentrated in the feeding area, and the server determines that the pet is in a hungry state; the target pet's movement trajectory is short, the pet's exercise volume is far less than the target pet's standard exercise volume, and the target pet is mainly in the rest area, and the server determines that the target pet's status information is a disease state.

[0092] In this embodiment, the server determines the target pet's exercise volume based on the pet's movement trajectory and the motion characteristic information of the pet's movement trajectory, and accurately determines the pet's status information at home based on the pet's exercise volume. In this way, the user does not need to view the video information in real time. The user can effectively understand the pet's status information at home and respond in time, making pet management more convenient.

[0093] Reference Figure 3 , Figure 3 This is a flow chart of an embodiment of the pet exercise amount in the pet status determination method provided in the embodiment of the present application.

[0094] In some embodiments of the present application, step 203 determines the pet exercise amount of the target pet based on the pet's movement trajectory and the motion feature information of the pet's movement trajectory, specifically including steps 301 to 303:

[0095] 301, segmenting the pet's motion trajectory into motion trajectory segments according to a preset duration, calculating the motion speed of each motion trajectory segment, and obtaining a target trajectory segment having a motion speed greater than a preset speed threshold;

[0096] The server segments the pet's motion trajectory according to a preset duration to obtain motion trajectory segments, where the preset duration can be set to 1 minute. The server calculates the motion speed of each motion trajectory segment and compares each motion speed with a preset speed threshold. The preset speed threshold refers to the speed of the pet in motion, for example, the preset speed threshold is set to 0.5m / s. The server sets the pet's state as motion when the motion speed is greater than the preset speed threshold; the server obtains a target trajectory segment whose motion speed is greater than the preset speed threshold.

[0097] 302 : Determine the movement intensity of the target pet according to the average movement speed and movement speed variation of each target trajectory segment.

[0098] The server adds up the motion speeds of each target trajectory segment and averages them to obtain an average motion speed. The server adds up the motion speeds of each target trajectory segment and divides it by the corresponding duration of each target trajectory segment to obtain a change in motion speed. The server determines the motion intensity of the target pet based on the average motion speed and the change in motion speed. For example, the server sets a first motion intensity corresponding to the average motion speed and a second motion intensity corresponding to the change in motion speed, respectively. The server adds the first motion intensity and the second motion intensity to determine the motion intensity of the target pet.

[0099] 303 , counting the preset duration corresponding to each target trajectory segment to obtain exercise time, and determining the pet exercise amount of the target pet according to the exercise time and the exercise intensity.

[0100] The server counts the preset duration corresponding to each target trajectory segment to obtain the exercise time. The server determines the pet exercise amount of the target pet based on the exercise time and exercise intensity. That is, the server converts the exercise time and exercise intensity into the pet exercise amount. In this embodiment, the server can determine the pet's exercise amount based on the exercise intensity and exercise time. In this way, the pet's status information can be accurately analyzed based on the pet's exercise amount, making the pet status determination more accurate.

[0101] Reference Figure 4 , Figure 4This is a flow chart of an embodiment of determining pet status information in the pet status determination method provided in the embodiments of the present application.

[0102] In some embodiments of the present application, the pet status information is determined based on the pet's movement trajectory and the pet's movement amount, specifically including steps 401 to 404:

[0103] 401 : Divide the activity area of ​​the target pet into a feeding area, a resting area, and an exercise area according to the target image.

[0104] The server identifies the furniture in the target image and determines the location information of each piece of furniture. The server divides the target pet's activity area into a feeding area, a resting area, and an exercise area according to the furniture location information. For example, the feeding area is the area where the pet feeder is located, the resting area is the area where the pet bed is located, and the exercise area is the area without furniture.

[0105] The server divides the pet's exercise volume into the pet's exercise volume in the feeding area and the pet's exercise volume in the exercise area. The server presets an exercise volume threshold, and the preset exercise volume threshold includes a preset first threshold and a preset second threshold. The preset first threshold is a threshold for distinguishing whether the pet's state is a hungry state, and the preset second threshold is a threshold for distinguishing whether the pet's state is a lack of exercise state.

[0106] 402. If the amount of pet exercise of the target pet in the feeding area is greater than a preset first threshold, it is determined that the pet status information is a hungry state.

[0107] The server compares the target pet's pet exercise amount in the feeding area with a preset first threshold. If the target pet's pet exercise amount in the feeding area is less than or equal to the preset first threshold, the server determines that the pet's state is a non-hungry state; if the target pet's pet exercise amount in the feeding area is greater than the preset first threshold, the server determines that the pet's state information is a hungry state.

[0108] 403 : If the target pet spends more time in the rest area than a preset time threshold, it is determined that the pet status information is a disease state.

[0109] The server compares the time the target pet spends in the rest area with a preset time threshold. If the time the target pet spends in the rest area is less than or equal to the preset time threshold, the server determines that the pet is in a healthy state; if the time the target pet spends in the rest area is greater than the preset time threshold, the server determines that the pet is in a sick state.

[0110] 404 : If the pet movement amount of the target pet in the movement area is less than a preset second threshold, determine that the pet status information is a movement-deficient state.

[0111] The server compares the target pet's pet movement amount in the exercise area with a preset second threshold value. If the target pet's pet movement amount in the exercise area is greater than or equal to the preset second threshold value, the server determines that the pet is in a sufficient exercise state. If the target pet's pet movement amount in the exercise area is less than the preset second threshold value, the server determines that the pet is in a lack of exercise state. The server can guide the pet to exercise if the pet is in a lack of exercise state.

[0112] In this embodiment, the server determines the pet status information based on the pet's movement trajectory and the amount of pet movement. The user can obtain the pet status information without watching the video in real time, which makes the user operation more convenient and reduces the user's time consumption.

[0113] Reference Figure 5 , Figure 5 This is a flow chart of an embodiment of feeding a pet when the pet status information is a hungry state in the pet status determination method provided in the embodiment of the present application.

[0114] In some embodiments of the present application, the method for determining the state of a pet specifically includes steps 501 to 503 for feeding a pet:

[0115] 501. If the pet status information indicates a hungry state, determine the energy consumption of the target pet according to the pet's movement trajectory.

[0116] If the pet status information indicates a hungry state, the server determines the energy consumption of the target pet based on the pet's movement trajectory. That is, the server integrates the length and time of the pet's movement trajectory to obtain the energy consumption of the target pet.

[0117] 502, obtaining caloric information of pet food in a preset feeding device, and determining feeding weight according to the energy consumption and the caloric information.

[0118] The server obtains the caloric information of the pet food in the preset feeding device, and determines the feeding weight according to the energy consumption and the caloric information. That is, the server divides the energy consumption by the caloric information to obtain the feeding weight.

[0119] 503, controlling the preset feeding device to output the pet food corresponding to the feeding weight for feeding the pet.

[0120] The server controls the preset feeding device to output the pet feed corresponding to the feeding weight for feeding the pet. In this embodiment, the server controls the feeding weight for feeding, which can achieve scientific feeding of the pet, prevent the pet from getting fat, and reduce the user's operation.

[0121] Reference Figure 6 , Figure 6This is a flow chart of an embodiment of determining a pet treatment plan in a pet status determination method provided in an embodiment of the present application.

[0122] In some embodiments of the present application, the pet status information in the pet status determination method is a disease status, and determining the pet treatment plan specifically includes steps 601 to 603:

[0123] 601. If the pet status information indicates a disease state, obtain a preset standard amount of exercise corresponding to the pet's nose print information.

[0124] If the pet status information indicates a disease state, the server obtains a preset standard amount of exercise corresponding to the pet's nose print information, wherein the preset standard amount of exercise refers to the amount of exercise when the pet is in a healthy state.

[0125] 602. Determine the disease stage of the target pet based on the ratio of the pet's exercise amount to the standard exercise amount.

[0126] The server determines the disease stage of the target pet based on the ratio information of the pet's exercise volume and the standard exercise volume. That is, the closer the server ratio information is to 1, the server determines that the disease is in the initial stage; if the ratio information is closer to 0, the server determines that the disease is in the later stage.

[0127] 603. Obtain and output the pet treatment plan corresponding to the disease stage.

[0128] The server obtains and outputs the pet treatment plan corresponding to the disease stage, that is, a preset database in the server stores treatment plans for different disease stages. In this embodiment, the server determines the disease stage of the target pet based on the pet's exercise volume, thereby determining the pet treatment plan. This allows users to perform preliminary treatment to avoid worsening of the pet's disease.

[0129] In order to better implement the pet status determination method in the embodiment of the present application, based on the pet status determination method, the embodiment of the present application also provides a pet status determination device, such as Figure 7 As shown, Figure 7 : This is a schematic diagram of the structure of an embodiment of a pet status determination device provided in an embodiment of the present application; the pet status determination device includes:

[0130] An acquisition module 701 is used to acquire nose print information of a target pet;

[0131] A first determining module 702 is configured to extract a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determine the pet's motion trajectory based on the target image;

[0132] A second determining module 703 is configured to determine the pet exercise amount of the target pet based on the pet's movement trajectory and the motion feature information of the pet's movement trajectory;

[0133] The third determining module 704 is configured to determine the pet status information according to the pet's movement trajectory and the pet's movement amount.

[0134] In some embodiments of the present application, the first determination module 702 in the pet status determination device further includes:

[0135] Obtaining pet feature information of a target pet corresponding to the pet nose print information, and extracting a target image containing the target pet from a preset video based on the pet feature information;

[0136] The pet positions of the target pets in each of the target images are respectively obtained, and the pet positions are sorted according to the acquisition time of the target images to obtain the pet movement trajectory.

[0137] In some embodiments of the present application, the motion characteristic information in the pet state determination device includes: motion intensity and motion time; the second determination module 703 includes:

[0138] Determining the pet exercise amount of the target pet based on the pet's movement trajectory and the movement characteristic information of the pet's movement trajectory includes:

[0139] Segmenting the pet's motion trajectory into motion trajectory segments according to a preset duration, calculating the motion speed of each motion trajectory segment, and obtaining a target trajectory segment whose motion speed is greater than a preset speed threshold;

[0140] determining the movement intensity of the target pet according to the average movement speed and the movement speed variation of each target trajectory segment;

[0141] The preset duration corresponding to each target trajectory segment is counted to obtain the exercise time, and the pet exercise amount of the target pet is determined according to the exercise time and the exercise intensity.

[0142] In some embodiments of the present application, the third determination module 704 in the pet status determination device includes:

[0143] Dividing the activity area of ​​the target pet into a feeding area, a rest area, and an exercise area according to the target image;

[0144] If the target pet's exercise amount in the feeding area is greater than a preset first threshold, the pet status information is determined to be a hungry state;

[0145] If the target pet spends more time in the rest area than a preset time threshold, determining that the pet status information is a disease state;

[0146] If the pet movement amount of the target pet in the movement area is less than a preset second threshold, the pet status information is determined to be a movement-deficient state.

[0147] In some embodiments of the present application, the pet status determination device further includes:

[0148] If the pet status information indicates a hungry state, determining the energy consumption of the target pet based on the pet's movement trajectory;

[0149] Obtaining caloric information of pet food in a preset feeding device, and determining feeding weight based on the energy consumption and the caloric information;

[0150] The preset feeding device is controlled to output the pet feed corresponding to the feeding weight for feeding the pet.

[0151] In some embodiments of the present application, the pet status determination device further includes:

[0152] If the pet status information indicates a disease state, obtaining a preset standard amount of exercise corresponding to the pet's nose print information;

[0153] determining the disease stage of the target pet based on the ratio information of the pet's exercise amount and the standard exercise amount;

[0154] Obtain and output the pet treatment plan corresponding to the disease stage.

[0155] In some embodiments of the present application, the pet status determination device further includes:

[0156] Obtaining a preset standard amount of exercise corresponding to the pet's nose print information, and comparing the pet's exercise amount with the standard amount of exercise;

[0157] If the pet's exercise volume matches the standard exercise volume, a prompt message is output;

[0158] If the pet's exercise amount does not match the standard exercise amount, the step of determining the pet's status information based on the pet's exercise trajectory and the pet's exercise amount is performed.

[0159] In this embodiment, the pet status determination device obtains the pet nose print information of the target pet; extracts the target image according to the pet characteristic information of the target pet corresponding to the pet nose print information, and determines the pet movement trajectory according to the target image; determines the pet exercise amount of the target pet according to the pet movement trajectory and the motion characteristic information of the pet movement trajectory; determines the pet status information according to the pet movement trajectory and the pet exercise amount; in this embodiment, the pet exercise amount of the target pet is determined according to the pet movement trajectory and the motion characteristic information of the pet movement trajectory, and accurately determines the pet's status information at home according to the pet exercise amount, so that the user does not need to view the video information in real time, and the user can effectively understand the pet's status information at home, so as to respond in time, making pet management more convenient.

[0160] The embodiment of the present invention also provides a pet status determination device, such as Figure 8 As shown, Figure 8 It shows a schematic structural diagram of a pet status determination device involved in an embodiment of the present invention.

[0161] The pet status determination device integrates any of the pet status determination devices provided in the embodiments of the present invention, and the pet status determination device includes:

[0162] one or more processors;

[0163] Memory; and

[0164] One or more applications, wherein the one or more applications are stored in the memory and configured to cause the processor to execute the steps of the pet status determination method described in any of the above pet status determination method embodiments.

[0165] Specifically, the pet status determination device may include one or more processing core processors 801, one or more computer-readable storage media memories 802, a power supply 803, and an input unit 804. Those skilled in the art will appreciate that Figure 8 The pet status determination device structure shown in the figure does not constitute a limitation on the pet status determination device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0166] Processor 801 is the control center of the pet status determination device. It utilizes various interfaces and circuits to connect the various components of the entire pet status determination device. By running or executing software programs and / or modules stored in memory 802 and accessing data stored in memory 802, it performs various functions of the pet status determination device and processes data, thereby providing overall monitoring of the pet status determination device. Optionally, processor 801 may include one or more processing cores. Preferably, processor 801 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 801.

[0167] Memory 802 can be used to store software programs and modules. Processor 801 executes various functional applications and data processing by running the software programs and modules stored in memory 802. Memory 802 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.); the data storage area may store data generated based on the use of the device to determine the pet's status. In addition, memory 802 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, memory 802 may also include a memory controller to provide processor 801 with access to memory 802.

[0168] The pet status determination device also includes a power supply 803 for supplying power to various components. Preferably, the power supply 803 can be logically connected to the processor 801 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 803 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0169] The pet status determination device may further include an input unit 804, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0170] Although not shown, the pet status determination device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 801 in the pet status determination device loads the executable files corresponding to one or more application processes into the memory 802 according to the following instructions, and the processor 801 runs the application stored in the memory 802, thereby implementing various functions as follows:

[0171] Obtain the target pet's nose print information;

[0172] Extracting a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determining the pet's movement trajectory based on the target image;

[0173] determining the pet exercise amount of the target pet according to the pet movement trajectory and the movement characteristic information of the pet movement trajectory;

[0174] The pet status information is determined according to the pet's movement trajectory and the pet's movement amount.

[0175] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0176] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include a read-only memory (ROM), random access memory (RAM), a disk, or an optical disk. A computer program is stored on the computer-readable storage medium, which is loaded by a processor to execute any of the pet status determination methods provided in the embodiments of the present invention. For example, the computer program loaded by the processor may execute the following steps:

[0177] Obtain the target pet's nose print information;

[0178] Extracting a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determining the pet's movement trajectory based on the target image;

[0179] determining the pet exercise amount of the target pet according to the pet movement trajectory and the movement characteristic information of the pet movement trajectory;

[0180] The pet status information is determined according to the pet's movement trajectory and the pet's movement amount.

[0181] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above and will not be repeated here.

[0182] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to implement as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments and will not be repeated here.

[0183] The specific implementation of the above operations can be found in the previous embodiments and will not be repeated here.

[0184] The above is a detailed introduction to a pet status determination method provided in an embodiment of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, based on the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A method for determining a pet's state, characterized in that: The pet status determination method includes: Obtain the target pet's nose print information; Extracting a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determining the pet's movement trajectory based on the target image; determining the pet exercise amount of the target pet according to the pet movement trajectory and the movement characteristic information of the pet movement trajectory; Determining pet status information based on the pet's movement trajectory and the pet's movement amount; The pet's exercise volume includes the pet's exercise volume in the feeding area and the pet's exercise volume in the exercise area; and determining the pet's status information based on the pet's exercise trajectory and the pet's exercise volume includes: Dividing the activity area of ​​the target pet into a feeding area, a rest area, and an exercise area according to the target image; If the amount of pet movement of the target pet in the feeding area is greater than a preset first threshold, the pet status information is determined to be a hungry state, wherein the preset first threshold is used to distinguish whether the target pet is hungry; If the target pet spends more time in the rest area than a preset time threshold, determining that the pet status information is a disease state; If the amount of pet movement of the target pet in the movement area is less than a preset second threshold, the pet status information is determined to be a movement-deficient state, wherein the preset second threshold is used to distinguish whether the target pet lacks movement.

2. The pet status determination method according to claim 1, characterized in that: The step of extracting a target image based on the pet characteristic information of the target pet corresponding to the pet nose print information, and determining the pet's motion trajectory based on the target image, includes: Obtaining pet feature information of a target pet corresponding to the pet nose print information, and extracting a target image containing the target pet from a preset video based on the pet feature information; The pet positions of the target pets in each of the target images are respectively obtained, and the pet positions are sorted according to the acquisition time of the target images to obtain the pet movement trajectory.

3. The pet status determination method according to claim 1, characterized in that: The motion characteristic information includes: motion intensity and motion time; Determining the pet exercise amount of the target pet based on the pet's movement trajectory and the movement characteristic information of the pet's movement trajectory includes: Segmenting the pet's motion trajectory into motion trajectory segments according to a preset duration, calculating the motion speed of each motion trajectory segment, and obtaining a target trajectory segment whose motion speed is greater than a preset speed threshold; determining the movement intensity of the target pet according to the average movement speed and the movement speed variation of each target trajectory segment; The preset duration corresponding to each target trajectory segment is counted to obtain the exercise time, and the pet exercise amount of the target pet is determined according to the exercise time and the exercise intensity.

4. The pet status determination method according to claim 1, wherein: After determining the pet status information based on the pet's movement trajectory and the pet's exercise amount, the method includes: If the pet status information indicates a hungry state, determining the energy consumption of the target pet based on the pet's movement trajectory; Obtaining caloric information of pet food in a preset feeding device, and determining feeding weight based on the energy consumption and the caloric information; The preset feeding device is controlled to output the pet feed corresponding to the feeding weight for feeding the pet.

5. The pet status determination method according to claim 1, characterized in that: After determining the pet status information based on the pet's movement trajectory and the pet's exercise amount, the method includes: If the pet status information indicates a disease state, obtaining a preset standard amount of exercise corresponding to the pet's nose print information; determining the disease stage of the target pet based on the ratio information of the pet's exercise amount and the standard exercise amount; Obtain and output the pet treatment plan corresponding to the disease stage.

6. The pet status determination method according to any one of claims 1 to 5, characterized in that: After determining the pet exercise amount of the target pet based on the pet's movement trajectory and the movement characteristic information of the pet's movement trajectory, the method includes: Obtaining a preset standard amount of exercise corresponding to the pet's nose print information, and comparing the pet's exercise amount with the standard amount of exercise; If the pet's exercise volume matches the standard exercise volume, a prompt message is output; If the pet's exercise amount does not match the standard exercise amount, the step of determining the pet's status information based on the pet's exercise trajectory and the pet's exercise amount is performed.

7. A device for determining a pet's state, characterized in that: The pet status determining device comprises: An acquisition module is used to obtain the nose print information of the target pet; A first determination module is configured to extract a target image based on pet feature information of a target pet corresponding to the pet nose print information, and determine a movement trajectory of the pet based on the target image; a second determining module, configured to determine the pet exercise amount of the target pet based on the pet's movement trajectory and movement feature information of the pet's movement trajectory; A third determination module is used to determine the pet status information based on the pet's movement trajectory and the pet's movement amount; wherein the pet's movement amount includes the pet's movement amount in the feeding area and the pet's movement amount in the exercise area; the determination of the pet status information based on the pet's movement trajectory and the pet's movement amount includes: dividing the target pet's activity area into a feeding area, a resting area and an exercise area according to the target image; if the pet's movement amount of the target pet in the feeding area is greater than a preset first threshold, the pet status information is determined to be a hungry state, wherein the preset first threshold is used to distinguish whether the target pet is hungry; if the target pet's time in the rest area is greater than a preset time threshold, the pet status information is determined to be a disease state; if the pet's movement amount of the target pet in the exercise area is less than a preset second threshold, the pet status information is determined to be a lack of exercise state, wherein the preset second threshold is used to distinguish whether the target pet lacks exercise.

8. A pet status determination device, characterized in that: The pet status determination device is a server, and the pet status determination device includes: one or more processors; Memory; and One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps in the pet status determination method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the pet status determination method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Terminal, method and device for determining wether pet is healthy

    CN106343955A

  • Pet accompanying method and system and computer readable storage medium

    CN112401888A

  • Pet identity recognition method and device and nonvolatile storage medium

    CN112784741A