Video monitoring and processing method, device, electronic device and storage medium

Through video monitoring and training models, combined with historical data, the pet's feeding, water supply and environment are automatically managed, which solves the problem of people living alone having difficulty in scientifically managing their pets when they are away for a long time, and improves the scientific nature of pet health management and environmental sanitation.

CN111914792BActive Publication Date: 2024-09-27GUANGDONG SCHEN IND INVESTMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010817852.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-14
Publication Date
2024-09-27
Estimated Expiration
2040-08-14

AI Technical Summary

Technical Problem

Among people living alone, it is difficult to scientifically manage the feeding and environment of pets when they are away from home for a long time, which makes it difficult to accurately control the feeding amount, water supply, and indoor environment adjustment, and animal excrement that has not been cleaned for a long time pollutes the indoor environment.

Method used

Obtain images of pets through video surveillance, use training models to extract their status information, and combine historical management data to automatically adjust feeding, water supply, and environmental management to ensure that pets' hunger, thirst, and liveliness are satisfied in a timely manner, and to maintain a scientific indoor environment. adjust.

Benefits of technology

It realizes the scientific management of pets without supervision, ensures that their health needs are met, reduces indoor pollution, and improves the scientificity and efficiency of management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111914792B
    Figure CN111914792B
Patent Text Reader

Abstract

The present application discloses a method, device, electronic device and storage medium for video monitoring and processing. The specific implementation scheme is: obtaining at least one image including the target animal from the video of monitoring the target animal; inputting the obtained at least one image including the target animal into the training model, and obtaining the status information of the target animal output by the training model, wherein the training model is generated by training multiple sets of training data, and each set of training data in the multiple sets of training data includes: at least one image including the same animal, and the status information of the animal in the at least one image including the same animal; obtaining the historical management data of the target animal; and determining the management required for the target animal based on the status information and historical management data of the target animal. The embodiment of the present application can scientifically manage animals in the absence of anyone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of video processing, and in particular to methods, devices, electronic devices and storage media for video monitoring and processing. Background Art

[0002] As people's living conditions continue to improve, they tend to live alone. However, living alone can also make people feel more lonely, so people also keep small pets, such as cats and dogs.

[0003] If people are away from home for a long time, they usually use feeders to provide food to animals at regular intervals. However, this is not easy to control the condition of the animals. Animals may eat different amounts of food every day depending on the time or state of the animals. Moreover, if the house is not cleaned for a long time, the excrement discharged by the animals will also contaminate the indoor floor, which is unhygienic. Summary of the invention

[0004] The present application provides a video monitoring and processing method, device, electronic device and storage medium to solve or alleviate one or more technical problems in the prior art.

[0005] According to one aspect of the present application, a method for video monitoring and processing is provided, comprising:

[0006] Acquire at least one image including the target animal from a video of monitoring the target animal;

[0007] Inputting the acquired at least one image including the target animal into a training model, and obtaining the state information of the target animal output by the training model, wherein the training model is generated by training multiple sets of training data, and each set of training data in the multiple sets of training data includes: at least one image including the same animal, and the state information of the animal in the at least one image including the same animal;

[0008] Obtaining historical management data of the target animal; and

[0009] The management required for the target animal is determined based on the status information and historical management data of the target animal.

[0010] In one embodiment, obtaining at least one image including the target animal from a video of monitoring the target animal includes:

[0011] Get monitoring period;

[0012] Dividing the monitoring period into at least two sub-monitoring periods;

[0013] Extracting at least two images including the target animal from the video of monitoring the target animal corresponding to each of the sub-monitoring time periods;

[0014] performing similarity calculation on each extracted image including the target animal; and

[0015] If the similarity between any two of the extracted images including the target animal is less than a first similarity threshold, one of the two extracted images including the target animal is extracted for input into the training model.

[0016] In one embodiment, the performing similarity calculation on each extracted image including the target animal comprises: acquiring a standard image including the target animal; and calculating the similarity between each extracted image including the target animal and the standard image based on the standard image;

[0017] The video monitoring and processing method also includes:

[0018] Counting the number of images whose similarity is greater than a second similarity threshold; and

[0019] If the number of images with a similarity greater than the second similarity threshold is greater than a set number threshold, the camera range of the camera monitoring the target animal is adjusted according to the extracted images including the target animal with a similarity less than the second similarity threshold.

[0020] In one embodiment, inputting the acquired at least one image including the target animal into a training model, and obtaining the state information of the target animal output by the training model, comprises:

[0021] inputting the acquired at least one image including the target animal into the training model in sequence according to the shooting time of the image, the training model extracting the appearance features, the expression features and the movement features of the target animal from the input images respectively, and the training model determining the state information of the target animal according to the appearance features, the expression features and the movement features of the target animal that change over time, the state information including the hunger degree, the thirst degree and the liveliness degree of the target animal; and

[0022] The status information of the target animal output by the training model is obtained.

[0023] In one embodiment, the state information includes the hunger level, thirst level and activity level of the target animal, the historical management data includes the feeding amount, water supply and indoor environment adjustment of the target animal in a set past time period, and the determination of the management required for the target animal based on the state information and historical management data of the target animal includes:

[0024] Determining the amount of food required by the target animal according to the hunger level and activity level of the target animal and the amount of food fed within the time period;

[0025] Determining the amount of water required by the target animal according to the thirst level and activity level of the target animal and the amount of water supplied during the time period;

[0026] Determining the indoor environment required by the target animal according to the activity level of the target animal and the indoor environment adjustment conditions during the time period; and

[0027] The target animals are managed according to the feeding amount, water supply and indoor environment required by the target animals.

[0028] According to another aspect of an embodiment of the present application, a video monitoring and processing device is provided, including:

[0029] An image acquisition module, used to acquire at least one image including the target animal from a video of monitoring the target animal;

[0030] An animal status acquisition module, used for inputting the acquired at least one image including the target animal into a training model, and obtaining the status information of the target animal output by the training model, wherein the training model is generated by training multiple sets of training data, each set of training data in the multiple sets of training data includes: at least one image including the same animal, and the status information of the animal in the at least one image including the same animal;

[0031] A historical data acquisition module, used to acquire the historical management data of the target animal; and

[0032] The animal management module is used to determine the management required for the target animal based on the status information and historical management data of the target animal.

[0033] In one embodiment, the image acquisition module includes:

[0034] A monitoring period acquisition unit, used to acquire a monitoring period;

[0035] A monitoring period division unit, used to divide the monitoring period into at least two sub-monitoring periods;

[0036] A first image extraction unit is used to extract at least two images including the target animal from the video of monitoring the target animal corresponding to each of the sub-monitoring time periods;

[0037] a similarity calculation unit, used to perform similarity calculation on each extracted image including the target animal; and

[0038] The second image extraction unit is used to extract one of the images from the two extracted images including the target animal for input into the training model if the similarity between any two of the extracted images including the target animal is less than a first similarity threshold.

[0039] In one implementation, the similarity calculation unit includes:

[0040] A standard image acquisition unit, used for acquiring a standard image including the target animal;

[0041] a calculation unit, used to calculate the similarity between each extracted image including the target animal and the standard image, based on the standard image; and

[0042] The device also includes:

[0043] An image data statistics module, used for counting the number of images whose similarity is greater than a second similarity threshold;

[0044] A video surveillance adjustment module is used to adjust the camera range of the camera monitoring the target animal according to the extracted images including the target animal whose similarity is less than the second similarity threshold if the number of images whose similarity is greater than the second similarity threshold is greater than a set number threshold.

[0045] According to one aspect of the present application, there is provided an electronic device, including:

[0046] at least one processor; and

[0047] a memory communicatively coupled to the at least one processor; wherein

[0048] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method provided by any embodiment of the present application.

[0049] According to one aspect of the present application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method provided in an embodiment of the present application.

[0050] According to the embodiment of the present application, the change of the animal's state during the monitoring process is determined based on the change of the animal's image in the monitoring video. Then, the animal is managed using the historical management data and the current change of the animal's state. Such management can scientifically manage and feed the animal without human presence.

[0051] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0053] Figure 1 is a schematic diagram of a video monitoring and processing method according to an embodiment of the present application;

[0054] Figure 2 is a schematic diagram of a method for image acquisition process according to an embodiment of the present application;

[0055] Figure 3 is a structural diagram of a video monitoring and processing device according to an embodiment of the present application;

[0056] Figure 4 is a block diagram of an electronic device according to a method for video monitoring and processing according to an embodiment of the present application; DETAILED DESCRIPTION

[0057] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0058] Figure 1 FIG. 1 is a schematic diagram showing a method for video monitoring and processing according to an embodiment of the present application. Figure 1 As shown, the method may include the following steps:

[0059] Step S100: Acquire at least one image including the target animal from a video of monitoring the target animal.

[0060] Step S200: input at least one acquired image including the target animal into a training model, and obtain the status information of the target animal output by the training model, wherein the training model is generated by training multiple sets of training data, and each set of training data in the multiple sets of training data includes: at least one image including the same animal, and at least one image including the status information of the animal in the same animal.

[0061] Step S300: Acquire historical management data of the target animal.

[0062] Step S400: Determine the management required for the target animal based on the status information and historical management data of the target animal.

[0063] The embodiments of the present application can obtain the status information of animals from the video images of monitored animals through a model, and then manage the animals based on the status information of the animals and the management data or management situation of the target animals in the past period of time, thereby realizing effective automated management of animals.

[0064] The animals may be pets such as cats, dogs, and lizards. Taking indoor cats as an example, when the owner is away from home for a period of time, the cat can be managed using the embodiments of the present application. The management of the cat may include managing the cat's eating, drinking, defecating, urinating, sleeping, etc. For example, determine how much cat food the cat needs to be fed in which time period, and then control the cat food dispensing machine to pour the corresponding weight or volume of cat food into the cat's food tray within the corresponding time.

[0065] State information can include features such as the appearance, demeanor, and movement of an animal. For example, the appearance of a cat can include the glossiness of its fur, the shape of its belly, etc. Demeanor can include the look in its eyes, yawning, calling, the state of its tail, etc. For movement features, it can include whether the cat is lying down, lying down, or walking around.

[0066] Historical management data can be quantifiable data about various matters related to the management of animal life in the past period of time, such as the time when the animal was last fed, the amount of food fed, the amount of food left uneaten, etc.

[0067] The training model can be a neural network model in machine learning. Neural Networks (NN) is a complex network system formed by a large number of simple processing units (called neurons) that are widely interconnected. It reflects many basic characteristics of human brain functions and is a highly complex nonlinear dynamic learning system. Neural networks have large-scale parallel, distributed storage and processing, self-organization, self-adaptation and self-learning capabilities, and are particularly suitable for dealing with imprecise and fuzzy information processing problems that require considering many factors and conditions at the same time. The neural network model is described based on the mathematical model of neurons. Artificial Neural Networks (Artificial Nuearl Newtokrs) is a description of the first-order characteristics of the human brain system. Simply put, it is a mathematical model. The neural network model is represented by the characteristics of the network topology nodes and the learning rules.

[0068] In an embodiment of the present application, a group of data including at least one image of the same animal is input into the training model, and each group of input data includes one or more images including the same animal and the status information of the animal, and the animals corresponding to each group of data can be different or the same. The status information of the animal contained in the image input into the training model is used as the supervision data to train the image input into the training model to obtain output data. The output data is compared with the supervision data to adjust the parameters of the training model. The training is continued until the precision and accuracy of the training model meet the standards, and the training model can be applied in the above step S200.

[0069] like Figure 2 As shown, the above step S100 may include the following steps:

[0070] Step S110, obtaining a monitoring period;

[0071] Step S120, dividing the monitoring period into at least two sub-monitoring periods;

[0072] Step S130, extracting at least two images including the target animal from the video of the target animal monitored corresponding to each sub-monitoring period;

[0073] Step S140, performing similarity calculation on each extracted image including the target animal; and

[0074] Step S150: if the similarity between any two extracted images including the target animal is less than a first similarity threshold, one of the two extracted images including the target animal is extracted for input into the training model.

[0075] In the embodiment of the present application, the monitoring period can be one hour, two hours, half a day, one day, etc. It can also be a period of time from the last time the animal was managed to the current moment.

[0076] Since the video is composed of frames of images arranged in time sequence, and the video contains too many images, the video can be divided into multiple segments, and then several images can be extracted from each segment. In this way, the situation of the animal in each hour period can be analyzed, and the status information of the animal changing over time can be obtained.

[0077] Among the multiple images extracted from each segment, there may be images that are too similar and redundant. Then we can filter out images that are too similar by similarity calculation.

[0078] Exemplarily, for images A, B, and C, if the similarity between images A and B is less than a first similarity threshold, one of images A and B may be filtered out, for example, filtering image A. If the similarity between images B and C is less than a first similarity threshold, one of images B and C may be filtered out.

[0079] Images with a similarity greater than the first similarity threshold can be used as input to the training model.

[0080] In some embodiments, similarity calculation of the extracted images may be performed as follows: obtaining a standard image including the target animal; and calculating the similarity between each extracted image including the target animal and the standard image based on the standard image. The standard image may be a pre-set image including the target animal, or one of the images may be selected from the extracted images including the target animal.

[0081] For example, the background of the extracted image including the target animal and the standard image are removed respectively, and then the image after filtering out the background is divided into multiple small areas, and the similarity is calculated for two small areas corresponding to the two images, and then the similarity of each small area is weighted and summed, and the obtained similarity can be used as the similarity between the extracted image including the target animal and the standard image. Calculating the similarity after filtering out the background can effectively filter out the influence of other factors on the similarity of the two images.

[0082] In some cases, if the similarity between some images and the standard image is within a predetermined similarity threshold, the monitored image may be undesirable, for example, the monitored video may not include the entire body of the target animal. Therefore, the embodiment of the present application may include the following: counting the number of images with a similarity greater than a second similarity threshold; and if the number of images with a similarity greater than the second similarity threshold is greater than a set number threshold, adjusting the camera range of the camera monitoring the target animal according to the extracted images including the target animal with a similarity less than the second similarity threshold.

[0083] The embodiments of the present application can monitor target animals more comprehensively and scientifically.

[0084] In the above step S200, the input image is calculated using the training model to obtain the state information of the animal included in the input image. Specifically, as follows: according to the shooting time of the image, at least one image including the target animal is sequentially input into the training model, the training model extracts the appearance features, expression features and motion features of the target animal from the input image, and the training model determines the state information of the target animal according to the appearance features, expression features and motion features of the target animal that change over time, and the state information includes the hunger, thirst and liveliness of the target animal; and, the state information of the target animal output by the training model is obtained.

[0085] For example, the change in the shape of an animal's belly over time can reveal the animal's hunger level. The frequency with which an animal sticks out its tongue can reveal the animal's thirst level. Whether the animal's eyes are listless or spirited can also reveal the animal's anticipation for food. Changes in the animal's movement trajectory, for example, whether it often lies still or runs around indoors, can be used to assess the animal's liveliness.

[0086] The hunger, thirst and activity of animals can be quantified in a graded form or described in specific values. For example, the hunger of animals can be divided into one to five levels, and the higher the level, the more severe the hunger.

[0087] In the embodiment of the present application, the images are input into the training model in sequence according to the shooting time of the images, and then the training model will extract features from each input image in sequence to obtain features that change over time. Then, these time-varying features are subjected to convolution, pooling and other neural network learning to obtain the corresponding output state information, that is, the hunger level, thirst level and liveliness of the above-mentioned animal.

[0088] In one embodiment, the state information includes the hunger, thirst and activity level of the target animal, and the historical management data includes the feeding amount, water supply and indoor environment adjustment of the target animal in a set past time period. According to the state information and historical management data of the target animal, the management required for the target animal is determined, including:

[0089] Determine the amount of food the target animal needs based on its hunger and activity level, as well as the amount of food it needs to eat within a set time period;

[0090] Determine the amount of water required by the target animal based on the target animal's thirst and activity level and the amount of water supplied within a set time period;

[0091] Determine the indoor environment required by the target animal based on the activity level of the target animal and the indoor environment adjustment within a set time period; and

[0092] Manage target animals according to their required feeding amount, water supply and indoor environment.

[0093] The feeding amount can be determined based on the target animal's hunger level, liveliness, and feeding amount in the past period of time. For the past period of time, it can be the last feeding amount or the average of several feeding amounts in the past, or it can be a standard feeding amount, etc. Taking the average feeding amount in the past as an example, set the benchmark value of the target animal's hunger level and the benchmark value of the liveliness, calculate the difference between the target animal's current hunger level and its benchmark value, and calculate the difference between the target animal's current liveliness and its benchmark value. If the difference between the current hunger level and its benchmark value is negative, the feeding amount needs to be increased on the basis of the average feeding amount. If the difference between the current hunger level and its benchmark value is positive, the feeding amount needs to be reduced on the basis of the average feeding amount. If the difference between the current liveliness and its benchmark value is negative, it is determined that the feeding amount needs to be reduced on the basis of the average feeding amount. If the difference between the current liveliness and its benchmark value is positive, it is determined that the feeding amount needs to be increased on the basis of the average feeding amount.

[0094] The amount of water supplied can be determined based on the target animal's thirst level, activity level, and the amount of food fed in the past period of time. Set the target animal's thirst level benchmark value and activity level benchmark value, calculate the difference between the target animal's current thirst level and its benchmark value, and calculate the difference between the target animal's current activity level and its benchmark value. If the difference between the current thirst level and its benchmark value is negative, the water supply needs to be reduced based on the average water supply. If the difference between the current thirst level and its benchmark value is positive, the water supply needs to be increased based on the average water supply. If the difference between the current activity level and its benchmark value is negative, the water supply needs to be reduced based on the average water supply. If the difference between the current activity level and its benchmark value is positive, the water supply needs to be increased based on the average water supply.

[0095] Indoor environment adjustment can include indoor temperature, humidity, and even light intensity adjustment. It can be decided to increase or decrease the temperature or humidity based on the current indoor temperature and humidity and whether the animal is too active or too depressed.

[0096] Figure 3 The structure diagram of the video monitoring and processing device provided by the embodiment of the present application is shown. Figure 3 As shown, the device comprises:

[0097] An image acquisition module 100 is used to acquire at least one image including the target animal from a video of monitoring the target animal;

[0098] The animal state acquisition module 200 is used to input the acquired at least one image including the target animal into a training model, and obtain the state information of the target animal output by the training model, wherein the training model is generated by training multiple sets of training data, and each set of training data in the multiple sets of training data includes: at least one image including the same animal, and the state information of the animal in the at least one image including the same animal;

[0099] A historical data acquisition module 300 is used to acquire historical management data of the target animal; and

[0100] The animal management module 400 is used to determine the management required for the target animal according to the status information and historical management data of the target animal.

[0101] In one embodiment, the image acquisition module 100 includes:

[0102] A monitoring period acquisition unit, used to acquire a monitoring period;

[0103] A monitoring period division unit, used to divide the monitoring period into at least two sub-monitoring periods;

[0104] A first image extraction unit is used to extract at least two images including the target animal from the video of monitoring the target animal corresponding to each of the sub-monitoring time periods;

[0105] a similarity calculation unit, used to perform similarity calculation on each extracted image including the target animal; and

[0106] The second image extraction unit is used to extract one of the images from the two extracted images including the target animal for input into the training model if the similarity between any two of the extracted images including the target animal is less than a first similarity threshold.

[0107] In one implementation, the similarity calculation unit includes:

[0108] A standard image acquisition unit, used for acquiring a standard image including the target animal;

[0109] a calculation unit, used to calculate the similarity between each extracted image including the target animal and the standard image, based on the standard image; and

[0110] The device also includes:

[0111] An image data statistics module, used for counting the number of images whose similarity is greater than a second similarity threshold;

[0112] A video surveillance adjustment module is used to adjust the camera range of the camera monitoring the target animal according to the extracted images including the target animal whose similarity is less than the second similarity threshold if the number of images whose similarity is greater than the second similarity threshold is greater than a set number threshold.

[0113] like Figure 4 As shown, it is a block diagram of an electronic device according to the method of video monitoring and processing of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0114] like Figure 4As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 4 A processor 601 is taken as an example.

[0115] The memory 602 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable at least one processor to perform the video monitoring and processing method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the video monitoring and processing method provided in the present application.

[0116] The memory 602 is a non-transient computer-readable storage medium that can be used to store non-transient software programs, non-transient computer executable programs and modules, such as program instructions / modules corresponding to the video monitoring and processing method in the embodiment of the present application. The processor 601 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, the video monitoring and processing method in the above method embodiment is implemented.

[0117] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the electronic device of the video monitoring and processing method, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the electronic device of the video monitoring and processing method via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0118] The electronic device of the gateway access method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 4 The example of connecting through bus is taken in the following.

[0119] The input device 603 can receive input digital or character information, and generate key signal input related to user settings and function control of the electronic device of the video monitoring and processing method, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator rod, one or more mouse buttons, a trackball, a joystick and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display and a plasma display. In some embodiments, the display device may be a touch screen.

[0120] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0122] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0123] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0124] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0125] According to the technical solution of the present application, the jump relationship set of each address in the network can be determined by using the network access record, so that the final address of the address to be found can be determined by using the jump relationship set. Therefore, the network address covered by the VPN can be tracked, which is beneficial to network security supervision.

[0126] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0127] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for video monitoring and processing, It is characterized in that include: Acquire at least one image including the target animal from a video of monitoring the target animal; Inputting the acquired at least one image including the target animal into a training model, and obtaining the state information of the target animal output by the training model, wherein the training model is generated by training multiple sets of training data, and each set of training data in the multiple sets of training data includes: at least one image including the same animal, and the state information of the animal in the at least one image including the same animal; Obtaining historical management data of the target animal; and Determining the management required for the target animal based on the status information and historical management data of the target animal; Wherein, obtaining at least one image including the target animal from the video of monitoring the target animal comprises: Get monitoring period; Dividing the monitoring period into at least two sub-monitoring periods; Extracting at least two images including the target animal from the video of monitoring the target animal corresponding to each of the sub-monitoring time periods; performing similarity calculation on each extracted image including the target animal; and If the similarity between any two of the extracted images including the target animal is less than a first similarity threshold, extracting one of the two extracted images including the target animal for input into the training model; Counting the number of images whose similarity is greater than a second similarity threshold; and If the number of images with a similarity greater than the second similarity threshold is greater than a set number threshold, the shooting range of the camera monitoring the target animal is adjusted according to the extracted images including the target animal with a similarity less than the second similarity threshold.

2. The method according to claim 1, It is characterized in that The similarity calculation is performed on each extracted image including the target animal, including: acquiring a standard image including the target animal; and calculating the similarity between each extracted image including the target animal and the standard image based on the standard image.

3. The method according to claim 1, It is characterized in that The step of inputting the acquired at least one image including the target animal into a training model and obtaining the state information of the target animal output by the training model comprises: inputting the acquired at least one image including the target animal into the training model in sequence according to the shooting time of the image, the training model extracting the appearance features, the expression features and the movement features of the target animal from the input images respectively, and the training model determining the state information of the target animal according to the appearance features, the expression features and the movement features of the target animal that change over time, the state information including the hunger degree, the thirst degree and the liveliness degree of the target animal; and The status information of the target animal output by the training model is obtained.

4. The method according to claim 1, It is characterized in that The state information includes the hunger, thirst and liveliness of the target animal, the historical management data includes the feeding amount, water supply and indoor environment adjustment of the target animal in a set past time period, and the management required for the target animal is determined based on the state information and historical management data of the target animal, including: Determining the amount of food required by the target animal according to the hunger level and activity level of the target animal and the amount of food fed within the time period; Determining the amount of water required by the target animal according to the thirst level and activity level of the target animal and the amount of water supplied during the time period; Determining the indoor environment required by the target animal according to the activity level of the target animal and the indoor environment adjustment conditions during the time period; and The target animals are managed according to the feeding amount, water supply and indoor environment required by the target animals.

5. A video monitoring and processing device, It is characterized in that include: An image acquisition module, used to acquire at least one image including the target animal from a video of monitoring the target animal; An animal status acquisition module, used for inputting the acquired at least one image including the target animal into a training model, and obtaining the status information of the target animal output by the training model, wherein the training model is generated by training multiple sets of training data, each set of training data in the multiple sets of training data includes: at least one image including the same animal, and the status information of the animal in the at least one image including the same animal; A historical data acquisition module, used to acquire the historical management data of the target animal; and An animal management module, used to determine the management required for the target animal based on the status information and historical management data of the target animal; Wherein, the image acquisition module comprises: A monitoring period acquisition unit, used to acquire a monitoring period; A monitoring period division unit, used to divide the monitoring period into at least two sub-monitoring periods; A first image extraction unit is used to extract at least two images including the target animal from the video of monitoring the target animal corresponding to each of the sub-monitoring time periods; a similarity calculation unit, used to perform similarity calculation on each extracted image including the target animal; and A second image extraction unit, configured to extract one of the images from the two extracted images including the target animal for input into the training model if the similarity between any two of the extracted images including the target animal is less than a first similarity threshold; And, the device further comprises: An image data statistics module, used for counting the number of images whose similarity is greater than a second similarity threshold; A video surveillance adjustment module is used to adjust the camera range of the camera monitoring the target animal according to the extracted images including the target animal whose similarity is less than the second similarity threshold if the number of images whose similarity is greater than the second similarity threshold is greater than a set number threshold.

6. The device as claimed in claim 5, It is characterized in that The similarity calculation unit comprises: A standard image acquisition unit, used for acquiring a standard image including the target animal; The calculation unit is used to calculate the similarity between each extracted image including the target animal and the standard image based on the standard image.

7. An electronic device, It is characterized in that include: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 4.

8. A non-transitory computer-readable storage medium storing computer instructions, It is characterized in that The computer instructions are used to enable the computer to execute the method according to any one of claims 1 to 4.