Pet jumping action detection method and device, electronic equipment and storage medium

The method and device use three-axis motion data to detect free fall and landing impact states to accurately identify pet jumping actions, enhancing detection accuracy and reliability.

HK40135631APending Publication Date: 2026-07-31SHENZHEN UCLOUDLINK NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
HK42026124029
Authority / Receiving Office
HK · HK
Patent Type
Applications
Current Assignee / Owner
Filing Date
2026-05-27
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing pet behavior recognition systems fail to accurately identify jumping actions in pets, focusing instead on daily activity statistics and geolocation tracking.

Method used

A method and device that utilize three-axis motion data to detect a pet's free fall and landing impact states within a preset time window, determining a jumping action by calculating composite vector values and angular velocities to enhance accuracy.

Benefits of technology

Improves the accuracy and reliability of pet jumping action detection by ensuring the pet is in both a free fall and landing impact state, reducing false positives and negatives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of computer application, and provides a pet jumping action detection method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining the three-axis motion data of a target pet in real time; according to the three-axis motion data, detecting whether the target pet is currently in a free falling state; detecting whether the target pet has a landing impact state in a preset time window or not according to the three-axis motion data in the preset time window under the condition that the target pet is in the free falling state; and under the condition that the target pet has the landing impact state in the preset time window, determining that the target pet completes one jumping action. Therefore, according to the three-axis motion data of the pet, dual detection of free falling and landing impact is carried out on the pet, and when the pet has the free falling state and the landing impact state, the action of the pet is determined as the jumping action, so that the accuracy and reliability of pet jumping action detection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

(19) State Intellectual Property Office (12) Invention Patent Application (10) Application Publication Number (43) Application Publication Date (21) Application Number 202511787789.4 (22) Application Date 2025.11.29 (71) Applicant Shenzhen Youkelian New Technology Co., Ltd. Address 3rd Floor, Block A, Building 1, Shenzhen Software Industry Base, Xuefu Road, Nanshan District, Shenzhen, Guangdong Province 518000 (72) Inventors Zhao Furong, Wang Qingli, Huang Kejing (74) Patent Agency Shenzhen Zhongyi United Intellectual Property Agency Co., Ltd. 44414 Patent Attorney Wan Kaijun (51) Int.Cl. A01K 29 / 00 (2006.01) (54) Invention Title: Method, Apparatus, Electronic Device, and Storage Medium for Detecting Pet Jumping Actions (57) Abstract: This application relates to the field of computer application technology and provides a method, apparatus, electronic device, and storage medium for detecting pet jumping actions. The method includes: acquiring three-axis motion data of a target pet in real time; detecting whether the target pet is currently in free fall based on the three-axis motion data; detecting whether the target pet has a landing impact state within a preset time window based on the three-axis motion data within the preset time window when the target pet is in free fall; and determining that the target pet has completed a jumping action when the target pet has a landing impact state within the preset time window. Thus, by performing dual detection of free fall and landing impact based on the pet's three-axis motion data, the pet's action is determined to be a jumping action only when the pet is in both free fall and landing impact state, thereby improving the accuracy and reliability of pet jumping action detection. Claims 2 pages, Description 13 pages, Drawings 3 pages, CN 121694247 A 2026.03.20 CN 1 21 69 42 47 A 1. A method for detecting a pet's jumping action, characterized in that it includes: acquiring three-axis motion data of a target pet in real time; detecting whether the target pet is currently in a free fall state based on the three-axis motion data; when the target pet is in the free fall state, detecting whether the target pet is in a landing impact state within the preset time window based on the three-axis motion data within the preset time window; when the target pet is in the landing impact state within the preset time window, determining that the target pet has completed a jumping action. 2. The method according to claim 1, characterized in that the three-axis motion data includes a first acceleration in a first direction, a second acceleration in a second direction, and a third acceleration in a third direction, and the step of detecting whether the target pet is currently in a free fall state based on the three-axis motion data includes: calculating the composite vector value of the first acceleration, the second acceleration, and the third acceleration;If the synthesized vector value is less than a first threshold, the target pet is determined to be in the free fall state. 3. The method as described in claim 2, characterized in that, detecting whether the target pet is in a landing impact state within the preset time window based on the triaxial motion data within the preset time window includes: determining whether the triaxial motion data within the preset time window simultaneously satisfies a first landing impact condition and a second landing impact condition, wherein the first landing impact condition is the duration for which the sum of the absolute values ​​of the first acceleration and the second acceleration is greater than a second threshold reaches a first time threshold, and the second landing impact condition is the duration for which the absolute value of the third acceleration is greater than a third threshold reaches a second time threshold; when the triaxial motion data within the preset time window simultaneously satisfies the first landing impact condition and the second landing impact condition, the target pet is determined to be in the landing impact state within the preset time window. 4. The method as described in claim 3, characterized in that, before detecting whether the target pet is in a landing impact state within the preset time window based on the triaxial motion data within the preset time window when the target pet is in the free fall state, the method further includes: acquiring the body size parameters and breed parameters of the target pet; configuring the second threshold and the third threshold based on the body size parameters and the breed parameters. 5. The method according to any one of claims 1-4, characterized in that the three-axis motion data includes a first angular velocity in a first direction, a second angular velocity in a second direction, and a third angular velocity in a third direction; the step of determining that the target pet has completed a jump action when the target pet is in the landing impact state within the preset time window further includes: when the target pet is in the landing impact state, determining whether the three-axis motion data of the target pet during the target action process satisfies the jump angular velocity condition, wherein the target action process is the process from the start of the free fall state to the end of the landing impact state, and the jump angular velocity condition is that the first angular velocity acquired at each acquisition time is less than a fourth threshold, the second angular velocity is less than a fifth threshold, and the third angular velocity is less than a sixth threshold; and when the three-axis motion data of the target pet during the target action process satisfies the jump angular velocity condition, determining that the target pet has completed a jump action. 6. The method according to any one of claims 1-4, characterized in that, after determining that the target pet has completed a jump action when the target pet is in the landing impact state within the preset time window, the method further includes: sending pet jump information to a preset terminal.7. A detection device for a pet's jumping action, characterized in that it comprises: an acquisition module for acquiring three-axis motion data of a target pet in real time; a first detection module for detecting whether the target pet is currently in a free fall state based on the three-axis motion data; a second detection module for detecting whether the target pet is in a landing impact state within a preset time window based on the three-axis motion data within the preset time window when the target pet is in the free fall state; and a determination module for determining that the target pet has completed a jumping action when the target pet is in the landing impact state within the preset time window. 8. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that when the processor executes the computer program, the electronic device implements the method as described in any one of claims 1 to 6. 9. A computer-readable storage medium storing a computer program, characterized in that when the computer program is executed by an electronic device, it implements the method as described in any one of claims 1 to 6. 10. A computer program product, characterized in that it comprises a computer program that, when executed on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 6. Claims 2 / 2 Page 3 CN 121694247 A Method, Apparatus, Electronic Device and Storage Medium for Detecting Pet Jumping Actions Technical Field

[0001] This application belongs to the field of computer application technology, and in particular relates to a method, apparatus, electronic device, computer-readable storage medium and computer program product for detecting pet jumping actions. Background Art

[0002] With the development of the social economy and the improvement of family living standards, pets (such as dogs and cats) have become important members of many families. As a result, the demand for pet health management, behavior monitoring and human-pet interaction experience has also shown a trend of refinement and intelligence. In pet behavior, jumping is a common and important indicative behavior pattern. It is not only closely related to the pet's daily entertainment, but also a key indicator for assessing its physical health. Therefore, the identification of pet jumping behavior has become one of the focuses of people's attention.

[0003] In related technologies, most pet behavior recognition schemes only focus on the statistics of the pet's daily activity volume (such as steps, running distance) and geographical location tracking. Therefore, there is a lack of a method that can accurately identify the jumping behavior of pets.

[0004] The purpose of this application is to provide a method, device, electronic device, and computer-readable storage medium for detecting pet jumping actions, which can solve the problem that most pet behavior recognition solutions in the related art only focus on the pet's daily activities.Momentum statistics (such as steps, running distance) and geolocation tracking lead to the problem of not being able to accurately identify the jumping behavior of pets.

[0005] In a first aspect, embodiments of this application provide a method for detecting the jumping action of a pet, including: acquiring the three-axis motion data of a target pet in real time; detecting whether the target pet is currently in a free fall state based on the three-axis motion data; if the target pet is in a free fall state, detecting whether the target pet has a landing impact state within the preset time window based on the three-axis motion data within the preset time window; if the target pet has a landing impact state within the preset time window, determining that the target pet has completed a jumping action.

[0006] In one possible implementation of the first aspect, the three-axis motion data includes a first acceleration in a first direction, a second acceleration in a second direction, and a third acceleration in a third direction. The method for detecting whether the target pet is currently in a free fall state based on the three-axis motion data includes: calculating the composite vector value of the first acceleration, the second acceleration, and the third acceleration; if the composite vector value is less than a first threshold, determining that the target pet is in a free fall state.

[0007] Optionally, in another possible implementation of the first aspect, the above-mentioned detection of whether the target pet is in a landing impact state within the preset time window based on the three-axis motion data within the preset time window includes: determining whether the three-axis motion data within the preset time window simultaneously satisfies a first landing impact condition and a second landing impact condition, wherein the first landing impact condition is the duration for which the sum of the absolute values ​​of the first acceleration and the second acceleration is greater than a second threshold reaches a first time threshold, and the second landing impact condition is the duration for which the absolute value of the third acceleration is greater than a third threshold reaches a second time threshold; when the three-axis motion data within the preset time window simultaneously satisfies the first landing impact condition and the second landing impact condition, it is determined that the target pet is in a landing impact state within the preset time window.

[0008] Optionally, in another possible implementation of the first aspect, before detecting whether the target pet has a landing impact state within the preset time window based on the triaxial motion data within the preset time window when the target pet is in free fall, the method further includes: acquiring the target pet's body size parameters and breed parameters; configuring a second threshold and a third threshold based on the body size parameters and breed parameters.

[0009] Optionally, in yet another possible implementation of the first aspect, the triaxial motion data includes a first angular velocity in a first direction, a second angular velocity in a second direction, and a third triangular velocity in a third direction. When determining whether the target pet has completed a jump action within the preset time window when the target pet has a landing impact state, the method further includes:When the target pet is in a landing impact state, it is determined whether the three-axis motion data of the target pet during the target action process meets the jump angular velocity condition. The target action process is the process from the start of the free fall state to the end of the landing impact state. The jump angular velocity condition is that the first angular velocity obtained at each acquisition time is less than the fourth threshold, the second angular velocity is less than the fifth threshold, and the third angular velocity is less than the sixth threshold. If the three-axis motion data of the target pet during the target action process meets the jump angular velocity condition, it is determined that the target pet has completed a jump action.

[0010] Optionally, in another possible implementation of the first aspect, after determining that the target pet has completed a jump action when the target pet is in a landing impact state within a preset time window, it further includes: sending pet jump information to a preset terminal.

[0011] In a second aspect, this application also provides a detection device for a pet's jumping action, comprising: an acquisition module for acquiring three-axis motion data of a target pet in real time; a first detection module for detecting whether the target pet is currently in a free fall state based on the three-axis motion data; a second detection module for detecting whether the target pet is in a landing impact state within a preset time window based on the three-axis motion data within a preset time window when the target pet is in a free fall state; and a determination module for determining that the target pet has completed a jumping action when the target pet is in a landing impact state within the preset time window.

[0012] In one possible implementation of the second aspect, the aforementioned three-axis motion data includes a first acceleration in a first direction, a second acceleration in a second direction, and a third acceleration in a third direction; correspondingly, the aforementioned first detection module includes: a calculation unit for calculating the composite vector value of the first acceleration, the second acceleration, and the third acceleration; and a first determination unit for determining that the target pet is in a free fall state when the composite vector value is less than a first threshold.

[0013] Optionally, in another possible implementation of the second aspect, the second detection module includes: a first judgment unit, configured to judge whether the three-axis motion data within a preset time window simultaneously satisfies the first landing impact condition and the second landing impact condition, wherein the first landing impact condition is the duration for which the sum of the absolute values ​​of the first acceleration and the second acceleration is greater than a second threshold reaches a first time threshold, and the second landing impact condition is the duration for which the absolute value of the third acceleration is greater than a third threshold reaches a second time threshold; a second determination unit, configured to determine that the target pet is in a landing impact state within the preset time window when the three-axis motion data within the preset time window simultaneously satisfies the first landing impact condition and the second landing impact condition.

[0014] Optionally, in yet another possible implementation of the second aspect, the above-mentioned pet jumping action detection device, [Page 2 / 13, 5 CN]121694247 A also includes: a parameter acquisition module, used to acquire the body size parameters and breed parameters of the target pet; a configuration module, used to configure the second threshold and the third threshold according to the body size parameters and breed parameters.

[0015] Optionally, in another possible implementation of the second aspect, the above-mentioned three-axis motion data also includes the first angular velocity in the first direction, the second angular velocity in the second direction, and the third triangular velocity in the third direction; correspondingly, the above-mentioned determination module also includes: a second judgment unit, used to determine whether the three-axis motion data of the target pet in the target action process meets the jump angular velocity condition when the target pet is in a landing impact state, wherein the target action process is the process from the start of the free fall state to the end of the landing impact state, and the jump angular velocity condition is that the first angular velocity acquired at each acquisition time is less than the fourth threshold, the second angular velocity is less than the fifth threshold, and the third angular velocity is less than the sixth threshold; a third determination unit, used to determine that the target pet has completed a jump action when the three-axis motion data of the target pet in the target action process meets the jump angular velocity condition.

[0016] Optionally, in another possible implementation of the second aspect, the above-mentioned pet jumping action detection device further includes: a sending module, used to send pet jumping information to a preset terminal.

[0017] In a third aspect, this application also provides an electronic device. The electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method of any implementation of the first aspect described above.

[0018] In a fourth aspect, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method of any implementation of the first aspect described above.

[0019] In a fifth aspect, this application also provides a computer program product, which, when run on an electronic device, causes the electronic device to execute the method of any implementation of the first aspect described above.

[0020] The beneficial effects of this application embodiment compared with the prior art are: by performing dual detection of free fall and landing impact on the pet based on the pet's three-axis motion data, the pet's action is determined to be a jumping action only when the pet is in a free fall state and there is a landing impact state within a preset time after the start of free fall, thereby improving the accuracy and reliability of pet jumping action detection. Brief Description of the Drawings

[0021] In order to more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 is a flowchart illustrating a method for detecting pet jumping actions according to an embodiment of this application; Figure 2 is a structural diagram of a three-axis coordinate system according to an embodiment of this application; Figure 3 is a flowchart illustrating a pet jumping action according to another embodiment of this application; Figure 4 is a structural diagram of a device for detecting pet jumping actions according to an embodiment of this application; Figure 5 is a structural diagram of an electronic device according to an embodiment of this application. Specification 3 / 13 pages 6 CN 121694247 A Detailed Description

[0023] In the following description, specific details such as particular system structures and techniques are set forth for illustrative purposes and not for limiting purposes, so as to provide a thorough understanding of the embodiments of this application. However, those skilled in the art should understand that this application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of this application with unnecessary details.

[0024] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described feature, integral, step, operation, element, and / or component, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof.

[0025] It should also be understood that, as used in this specification and the appended claims, the term "and / or" refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0026] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0027] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0028] References to "one embodiment" or "some embodiments" as described in this application mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and others...The variations of these terms all mean "including but not limited to", unless otherwise specifically emphasized.

[0029] The method, device, electronic device, storage medium and computer program for detecting pet jumping actions provided in this application will be described in detail below with reference to the accompanying drawings.

[0030] FIG1 shows a schematic flowchart of a method for detecting pet jumping actions provided in an embodiment of this application.

[0031] Step 101: Acquire the three-axis motion data of the target pet in real time.

[0032] It should be noted that the method for detecting pet jumping actions in this application embodiment can be executed by the device for detecting pet jumping actions in this application embodiment. The device for detecting pet jumping actions in this application embodiment can be configured in any electronic device to execute the method for detecting pet jumping actions in this application embodiment. For example, the device for detecting pet jumping actions in this application embodiment can be configured in the locator on the pet collar.

[0033] The target pet can be a dog, cat, rabbit, etc., but is not limited to these.

[0034] As one possible implementation, the three-axis motion data can be motion data along three orthogonal axes. For example, as shown in Figure 2, a three-axis coordinate system can be established with the sensor center as the origin. The positive and negative directions of the X-axis can be the left and right directions of the target pet, the positive and negative directions of the Z-axis can be the front and back directions of the target pet, and the positive and negative directions of the Y-axis can be the vertical directions of the target pet. The three-axis motion data are X-axis motion data, Y-axis motion data, and Z-axis motion data. The motion data can include acceleration, angular velocity data, etc.

[0035] In one possible implementation of this application, the sensor can be worn on the target pet (for example, the sensor can be configured on the pet collar worn by the target pet), and the three-axis motion data of the target pet can be acquired in real time through the sensor. The sensor can include an accelerometer, a gyroscope, or a magnetometer, etc. For example, the three-axis acceleration of the target pet can be collected by the accelerometer at a frequency of 50Hz, and the three-axis angular velocity of the target pet can be collected by the gyroscope at the same or different frequencies, etc. It should be noted that the above-mentioned method of establishing the three-axis coordinate system, the type of sensor, the sensor acquisition frequency, and the specific data in the three-axis motion data are only exemplary. In actual use, they can be determined according to actual usage needs and application scenarios. This application embodiment does not limit this.

[0036] Step 102: Based on the three-axis motion data, detect whether the target pet is currently in a free fall state.

[0037] As a possible implementation, a three-axis coordinate system as shown in Figure 2 is established. The three-axis motion data may include X-axis acceleration, Y-axis acceleration, and Z-axis acceleration. The X-axis acceleration, Y-axis acceleration, and Z-axis acceleration collected at the same time are...As a group, when the X-axis acceleration in the same group (i.e., at the same moment) is less than the first free fall threshold, the Y-axis acceleration is less than the second free fall threshold, and the Z-axis acceleration is less than the third free fall threshold, it can be determined that the target pet is currently in a free fall state.

[0038] It should be noted that, due to interference such as air resistance or sensor error in actual applications, the above-mentioned first free fall threshold, second free fall threshold, and third free fall threshold can be any small value close to 0. The first free fall threshold, second free fall threshold, and third free fall threshold can all be equal or unequal. This application embodiment does not limit this.

[0039] For example, the first free fall threshold, second free fall threshold, and third free fall threshold are all 0.3g (g is the acceleration due to gravity). At a certain moment, if the X-axis acceleration of the target pet is 0.1g, the Y-axis acceleration is 0.1g, and the Z-axis acceleration is 0.2g, it can be determined that the target pet is currently in a free fall state.

[0040] Furthermore, since noise interference such as air resistance or sensor jitter often exists in practical applications, when determining whether the target pet is in free fall using the above method, the judgment result may be affected by noise interference on a certain axis. Therefore, the determination of whether the target pet is in free fall can be made by judging whether the composite vector value of the acceleration of each axis is less than the corresponding threshold, so as to reduce the influence of noise interference, improve the environmental adaptability and accuracy of free fall state detection, and thus improve the accuracy and environmental adaptability of pet jumping action recognition. That is, in one possible implementation of this application, the above three-axis motion data includes a first acceleration in the first direction, a second acceleration in the second direction, and a third acceleration in the third direction. The above step 102 may include: calculating the composite vector value of the first acceleration, the second acceleration, and the third acceleration; and determining that the target pet is in free fall when the composite vector value is less than the first threshold.

[0041] In one possible implementation, a three-axis coordinate system as shown in Figure 2 can be established. The first direction can be the X-axis direction, the first acceleration can be the X-axis acceleration, the second direction can be the Z-axis direction, the second acceleration can be the Z-axis acceleration, the third direction can be the Y-axis direction, and the third acceleration can be the Y-axis acceleration. First, the composite vector value of the first acceleration, the second acceleration, and the third acceleration can be calculated, where is the X-axis acceleration, is the Y-axis acceleration, and is the Z-axis acceleration.

[0042] Next, it can be determined whether the composite vector value is less than a first threshold. If it is less than the first threshold, it can be determined that the target pet is currently in a free fall state.

[0043] For example, the first threshold is 0.4g, the X-axis acceleration is 0.1g, the Y-axis acceleration is 0.1g, and the Z-axis acceleration is 0.4g.If the weight is 0.2g, the synthesized vector value is 0.24g (rounded to two decimal places). If the synthesized vector value is less than the first threshold, it can be determined that the target pet is currently in a free fall state.

[0044] Step 103: When the target pet is in a free fall state, the target pet is detected to have a landing impact state within the preset time window based on the three-axis motion data within the preset time window. Specification 5 / 13 page 8 CN 121694247 A

[0045] Wherein, the preset time window can be the theoretical duration from the start of free fall to the end of the jump action when the target pet jumps.

[0046] For example, the preset time window can be 2 seconds, that is, if the current action of the target pet is a jump action, the landing impact state of the target pet can be detected within 2 seconds after the target pet is detected to be in a free fall state.

[0047] It should be noted that the above examples are only exemplary. The value of the preset time window can be determined according to the actual use scenario and use requirements. For example, it can also be slightly larger than the theoretical duration from the start of free fall to the landing when the target pet jumps. This application embodiment does not limit this.

[0048] The landing impact state can be the physical process during which the target pet makes contact with the external support surface (i.e., the jump endpoint corresponding to the jump action) and is subjected to the impact force (e.g., support force and friction force) provided by the external support surface during the target pet's jumping action.

[0049] For example, the external support surface can be the ground, bed, sofa, table and chair, or other objects.

[0050] In this embodiment of the application, as shown in FIG3, if the current action of the target pet is a jumping action, then when the target pet is in a state of free fall and is in a state of impact upon landing, the momentum of the target pet changes drastically in a very short time, so that the sensor can generate a high acceleration response. Since the pet does not land vertically when jumping, the impact force generated by the external support surface can be decomposed into a vertical force and a horizontal force. Thus, under the action of the impact force, the sensor will generate corresponding horizontal high acceleration and vertical high acceleration responses. Therefore, after detecting that the target pet is in a state of free fall, the sensor can detect whether the target pet is in a state of impact upon landing within the preset time window based on the three-axis motion data within the preset time window, such as horizontal acceleration and vertical acceleration.

[0051] Furthermore, when the target pet is in a landing impact state, the sensor will generate corresponding high acceleration in the horizontal and vertical directions under the action of the impact force. During other actions (such as walking, raising the head, etc.), the acceleration generated by the sensor is smaller. Therefore, by judging whether the target pet's horizontal and vertical acceleration is greater than the corresponding threshold, it can be determined whether the target pet is in a landing impact state, thereby further improving the accuracy of pet jumping action recognition.Accuracy. In one possible implementation of this application, step 103 above may include: determining whether the three-axis motion data within a preset time window simultaneously satisfies the first landing impact condition and the second landing impact condition, wherein the first landing impact condition is the duration for which the sum of the absolute values ​​of the first acceleration and the second acceleration is greater than a second threshold reaches a first time threshold, and the second landing impact condition is the duration for which the absolute value of the third acceleration is greater than a third threshold reaches a second time threshold; when the three-axis motion data within the preset time window simultaneously satisfies the first landing impact condition and the second landing impact condition, determining that the target pet is in a landing impact state within the preset time window.

[0052] In one possible implementation, referring to the three-axis coordinate system shown in Figure 2, the first acceleration is the X-axis acceleration, the second acceleration is the Z-axis acceleration, and the third acceleration is the Y-axis acceleration. The X-axis acceleration and the Z-axis acceleration are the accelerations in the horizontal direction, and the Y-axis acceleration is the acceleration in the vertical direction.

[0053] First, it can be determined whether the horizontal acceleration within the preset time window meets the first landing impact condition. For example, it can be determined whether the sum of the absolute values ​​of the X-axis acceleration and the Z-axis acceleration is continuously greater than a second threshold, and whether the duration of the greater than the second threshold reaches the first time threshold.

[0054] Second, it can be determined whether the vertical acceleration within the preset time window meets the second landing impact condition. For example, it can be determined whether the absolute value of the Y-axis acceleration is continuously greater than a third threshold, and whether the duration of the greater than the third threshold reaches the second time threshold.

[0055] In one possible implementation, if the X-axis acceleration and Z-axis acceleration within the preset time window meet the first landing impact condition as described on page 6 / 13 of the specification (CN 121694247 A), and the Y-axis acceleration meets the second landing impact condition, then it can be determined that the target pet is in a landing impact state within the preset time window.

[0056] For example, the preset time window is 2 seconds, the second threshold is 1.5g, the third threshold is 3g, the first time threshold is 0.5 seconds, and the second time threshold is 0.6 seconds. If, within the preset time window, the sum of the absolute values ​​of the X-axis acceleration and Z-axis acceleration from the 1st to the 1.6th second is 1.6g, and the absolute value of the Y-axis acceleration from the 0.9th to the 1.8th second is 3.1g, it can be determined that the sum of the absolute values ​​of the X-axis acceleration and Z-axis acceleration is greater than the second threshold for a duration of 0.6 seconds, which is greater than the first time threshold, and the absolute value of the Y-axis acceleration is greater than the third threshold for a duration of 0.8 seconds, which is greater than the second time threshold. Therefore, it can be determined that the target pet is in a landing impact state within the preset time window.

[0057] It should be noted that the above examples are only illustrative. In actual use, the preset time window, the second threshold, and the third time threshold are all different.The three thresholds, the first time threshold, and the second time threshold can be determined according to actual usage needs and application scenarios, and this application embodiment does not limit them.

[0058] Furthermore, pets of different sizes and breeds experience different impact forces when landing, and thus the corresponding acceleration values ​​are also different. Therefore, the second threshold and the third threshold corresponding to different target pets can be determined according to the size parameters and breed parameters of the target pet. This reduces the situation of missed or false detection of pet jumping actions and further improves the accuracy of pet jumping action detection. That is, in one possible implementation of this application, before the above step 103, it may also include: obtaining the size parameters and breed parameters of the target pet; configuring the second threshold and the third threshold according to the size parameters and breed parameters.

[0059] Among them, the size parameters may include the weight, body length, shoulder height, coat amount, etc. of the target pet, or the size type of the target pet, such as large dog, medium dog, small dog, etc. But it is not limited to this.

[0060] Among them, the breed parameters may include the breed of the target pet, etc., but are not limited to this.

[0061] In one possible implementation of this application, the body size parameters and breed parameters of the target pet input or selected by the user can be directly obtained; the body size parameters and breed parameters of the target pet can also be obtained by analyzing the target pet image uploaded by the user; or, the three-axis motion data of the target pet in daily activities can be collected by sensors, and the motion characteristics of the target pet can be analyzed based on the three-axis motion data. For example, the body size parameters and breed parameters of the target pet can be analyzed based on the stride frequency, stride length, and acceleration amplitude during running. The rotational inertia of the pet can also be estimated by combining the data of the accelerometer and gyroscope of the target pet in a static posture, thereby analyzing the body size parameters and breed parameters of the target pet.

[0062] As one possible implementation, a breed-body size-acceleration mapping table can be preset. The breed-body size-acceleration mapping table can include a second threshold (horizontal acceleration threshold) and a third threshold (vertical acceleration threshold) corresponding to different breeds and body sizes of pets in a landing impact state. The second threshold and the third threshold corresponding to the target pet can be configured according to the body size parameters, breed parameters and the preset breed-body size-acceleration mapping table.

[0063] In one possible implementation of this application, since larger pets have more muscle and fat, they can utilize these to absorb more cushioning during a landing impact. Therefore, the larger the target pet, the smaller the corresponding second and third thresholds can be. Smaller pets, being more agile, can have larger corresponding second and third thresholds, thereby reducing interference from other daily activities. Furthermore, different breeds of pets have different levels of agility (e.g., cats are more agile than dogs), and more agile breeds can correspond to higher second and third thresholds.

[0064] In one possible implementation of this application, different levels of threshold sensitivity can be preset. The higher the level, the larger the corresponding second and third thresholds. Different levels of threshold sensitivity can be adaptively selected according to the size and breed parameters of the target pet. Specification 7 / 13 pages 10 CN 121694247 A

[0065] In this way, the second and third thresholds can be adaptively configured to avoid missed or false detection of pet jumping actions. For example, if the corresponding second or third threshold is too large for a large-sized or low-sensitivity target pet, it may lead to missed detection. If the corresponding second or third threshold is too small for a small-sized or high-sensitivity target pet, it may detect other actions as jumping actions, thus leading to false detection.

[0066] Step 104: If the target pet is in a landing impact state within a preset time window, it is determined that the target pet has completed a jumping action.

[0067] In one possible implementation of this application, if the target pet is detected to be in a free-fall motion within a preset time window, and a landing impact is detected, it can be determined that the target pet has completed one "leap" and "landing", thus determining that the target pet's current action is a jumping action.

[0068] Furthermore, after detecting that the target pet is in a landing impact state, the target pet's motion characteristics can be analyzed by collecting the target pet's angular velocity from the sensor, thereby further filtering other behaviors of the target pet (e.g., the target pet rolling off the sofa, the sensor falling off, etc.), thereby further improving the accuracy of pet jumping behavior detection. In one possible implementation of this application, step 104 may further include: when the target pet is in a landing impact state, determining whether the three-axis motion data of the target pet during the target action process meets the jump angular velocity condition, wherein the target action process is the process from the start of the free fall state to the end of the landing impact state, and the jump angular velocity condition is that the first angular velocity acquired at each acquisition time is less than the fourth threshold, the second angular velocity is less than the fifth threshold, and the third angular velocity is less than the sixth threshold; if the three-axis motion data of the target pet during the target action process meets the jump angular velocity condition, it is determined that the target pet has completed a jump action.

[0069] Wherein, each acquisition time is the time when the sensor collects the angular velocity of the target pet each time, which can be determined according to the acquisition frequency.

[0070] It should be noted that in the embodiments of this application, the moment when the target pet is detected to be in a free fall state is the moment when the free fall state begins, and the target pet is in a free fall state from the start of the free fall state until it turns into a landing impact state.

[0071] In one possible implementation of this application, the target pet's motion data during the landing impact state can be collected by a sensor (e.g., a gyroscope).The first angular velocity in the first direction, the second angular velocity in the second direction, and the third angular velocity in the third direction. For example, as shown in Figure 2, a three-axis coordinate system is established. The first direction can be the X-axis direction, and the first angular velocity can be the X-axis angular velocity. The second direction can be the Z-axis direction, and the second angular velocity can be the Z-axis angular velocity. The third direction can be the Y-axis direction, and the third angular velocity can be the Y-axis angular velocity.

[0072] Next, it is possible to detect whether the angular velocities acquired at each acquisition moment during the target pet's target action process, i.e. from the start of the free fall state until the end of the landing impact state (the three-axis motion data do not simultaneously satisfy the first landing impact condition and the second landing impact condition), satisfy the jump angular velocity condition. As an example, it is possible to detect whether all the acquired X-axis angular velocities are less than the fourth threshold, all the Z-axis angular velocities are less than the fifth threshold, and all the Y-axis angular velocities are less than the sixth threshold during the target action process. When all the X-axis angular velocities, Y-axis angular velocities, and Z-axis angular velocities are less than the corresponding thresholds, it can be determined that the three-axis motion data of the target pet during the target action process satisfies the jump angular velocity condition, thereby determining that the target pet has completed a jump action.

[0073] For example, the start time of the free fall state is time A, and the end time of the landing impact state is time B. The fourth and fifth thresholds are 30°, and the sixth threshold is 60°. From time A to time B, 100 X-axis angular velocities, Y-axis angular velocities, and Z-axis angular velocities are collected respectively. When all 100 X-axis angular velocities and 100 Z-axis angular velocities are less than 30°, and all 100 Y-axis angular velocities are less than 60°, it can be determined that the three-axis motion data of the target pet in the target action process (from time A to time B) meets the jump angular velocity condition.

[0074] In this way, only when the target pet's action simultaneously meets the three conditions of free fall state, landing impact state, and jump angular velocity condition will it be detected as a jumping action, thereby enabling accurate filtering of other actions. For example, although a pet's "running action" may involve a brief freefall, it does not meet the landing impact condition; a pet's "sudden stop action" or "being picked up and put down" does not involve a freefall; "shaking action" does not involve a freefall and does not meet the jump angular velocity condition; "rolling down from a height" and "collar falling off" do not involve a landing impact and do not meet the jump angular velocity condition. This can improve the accuracy of pet jumping action detection.

[0075] It should be noted that the pet actions listed above that can be filtered are only exemplary. The pet jumping action detection method provided in this application embodiment can also filter other non-jumping actions that do not meet the above three conditions, and this application does not limit this.

[0076] Furthermore, when a jumping action of the target pet is detected, a pet jumping prompt can be sent to a preset terminal, thereby improving the user experience. That is, in one possible implementation of this application, after step 104 above, it may also include: sending pet jumping information to a preset terminal.

[0077] The preset terminal may be a pre-set user's mobile phone, wristband, computer, or other terminal, or a cloud server, etc., and this application does not limit it.

[0078] The pet jumping information may be just a prompt message, or it may include the time, height, and impact intensity of the target pet's current jumping action, but it is not limited to these.

[0079] In one possible implementation of this application, after determining that the target pet has completed a jumping action, pet jumping information corresponding to the target pet's current jumping action can be generated, and the pet jumping information can be sent to the preset terminal.

[0080] As an example, the jump height, impact intensity, etc., corresponding to the target pet's current jumping action can be estimated, and the pet jumping information including the jump height, impact intensity, and jump time can be sent directly to the preset user's mobile phone via a push service through a base station and core network.

[0081] As an example, the pet jumping information can be sent to a server, which then forwards it to the user's mobile phone. Alternatively, the server can process the pet jumping information and then send the processed information to the user's mobile phone.

[0082] In one possible implementation of this application, when a jumping action of the target pet is detected, the action can continue to be identified. If the target pet's jumping action is detected again within a preset response time, the pet jumping information corresponding to multiple jumping actions can be sent to a preset terminal together. If no jumping action of the target pet is detected within the preset response time, only the pet jumping information corresponding to the current jumping action can be sent to the preset terminal. This reduces battery consumption caused by data transmission and avoids the problem of repeated prompts causing user annoyance, thus improving the user experience.

[0083] In this way, real-time monitoring and immediate feedback of the target pet's jumping action can be achieved, allowing users to remotely and promptly understand the pet's activity status and potential risks (such as frequent jumping potentially damaging the pet's joints), greatly improving the intelligent experience and safety of pet ownership.

[0084] The pet jumping action detection method provided in this application embodiment performs dual detection of free fall and landing impact based on the pet's three-axis motion data. Only when the pet is in free fall and experiences a landing impact within a preset time after the start of free fall is the pet's action identified as a jumping action, thereby improving the accuracy and reliability of pet jumping action detection. (Specification 9 / 13 pages, 12 CN 121694247 A)

[0085] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0086] Corresponding to the pet jumping action detection method described in the above embodiments, FIG4 shows a structural block diagram of the pet jumping action detection device provided in the embodiments of this application. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0087] Referring to FIG4, the device 40 includes: an acquisition module 41, used to acquire the three-axis motion data of the target pet in real time; a first detection module 42, used to detect whether the target pet is currently in a free fall state based on the three-axis motion data; a second detection module 43, used to detect whether the target pet has a landing impact state within the preset time window based on the three-axis motion data within the preset time window when the target pet is in a free fall state; and a determination module 44, used to determine that the target pet has completed a jumping action when the target pet has a landing impact state within the preset time window.

[0088] In practical use, the pet jumping action detection device provided in this application embodiment can be configured in any electronic device to execute the aforementioned pet jumping action detection method.

[0089] The pet jumping action detection device provided in this application embodiment performs dual detection of free fall and landing impact on the pet based on the pet's three-axis motion data. Only when the pet is in a free fall state and there is a landing impact state within a preset time after the start of free fall is the pet's action determined as a jumping action, thereby improving the accuracy and reliability of pet jumping action detection.

[0090] In one possible implementation of this application, the above-mentioned three-axis motion data includes a first acceleration in a first direction, a second acceleration in a second direction, and a third acceleration in a third direction; correspondingly, the above-mentioned first detection module 42 includes: a calculation unit, used to calculate the composite vector value of the first acceleration, the second acceleration, and the third acceleration; a first determination unit, used to determine that the target pet is in a free fall state when the composite vector value is less than a first threshold.

[0091] Further, in another possible implementation of this application, the second detection module 43 includes: a first judgment unit, used to judge whether the triaxial motion data within a preset time window simultaneously meets the first landing impact condition and the second landing impact condition, wherein the first landing impact condition is the duration for which the sum of the absolute values ​​of the first acceleration and the second acceleration is greater than a second threshold reaches a first time threshold, and the second landing impact condition is the duration for which the absolute value of the third acceleration is greater than a third threshold reaches a second time threshold; and a second determination unit, used to determine whether the triaxial motion data within the preset time window simultaneously meets the first landing impact condition.When the conditions for the second landing impact are met, it is determined that the target pet is in a landing impact state within a preset time window.

[0092] Further, in another possible implementation of this application, the above-mentioned pet jumping action detection device 40 further includes: a parameter acquisition module, used to acquire the body size parameters and breed parameters of the target pet; and a configuration module, used to configure a second threshold and a third threshold according to the body size parameters and breed parameters.

[0093] Further, in another possible implementation of this application, the above-mentioned three-axis motion data also includes a first angular velocity in the first direction, a second angular velocity in the second direction, and a third triangular velocity in the third direction; correspondingly, the above-mentioned determining module 44, page 10 / 13 of the specification, further includes: a second judging unit, used to determine whether the three-axis motion data of the target pet in the target action process meets the jump angular velocity condition when the target pet is in a landing impact state, wherein the target action process is the process from the start of the free fall state to the end of the landing impact state, and the jump angular velocity condition is that the first angular velocity acquired at each acquisition time is less than the fourth threshold, the second angular velocity is less than the fifth threshold, and the third angular velocity is less than the sixth threshold; a third determining unit, used to determine that the target pet has completed a jump action when the three-axis motion data of the target pet in the target action process meets the jump angular velocity condition.

[0094] Further, in another possible implementation of this application, the above-mentioned pet jumping action detection device 40 further includes: a sending module, used to send pet jumping information to a preset terminal.

[0095] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. Their specific functions and technical effects can be found in the method embodiments section, and will not be repeated here.

[0096] Those skilled in the art will understand that, for the sake of convenience and brevity, the above-mentioned division of functional units and modules is used as an example. In practical applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of each functional unit and module are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the aforementioned method embodiments, and will not be repeated here.

[0097] To implement the above embodiments, this application also proposes an electronic device.

[0098] FIG5 is a schematic diagram of the structure of an electronic device according to an embodiment of this application.

[0099] As shown in FIG5, the above electronic device 200 includes: a memory 210 and at least one processor 220, a bus 230 connecting different components (including the memory 210 and the processor 220), the memory 210 storing a computer program, and when the processor 220 executes the program, implementing the pet jumping action detection method described in the embodiment of this application.

[0100] The bus 230 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus structures. For example, these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.

[0101] The electronic device 200 typically includes various electronic device readable media. These media can be any available media that can be accessed by electronic device 200, including volatile and non-volatile media, removable and non-removable media.

[0102] Memory 210 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 240 and / or cache memory 250. Electronic device 200 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 260 may be used to read and write non-removable, non-volatile magnetic media (not shown in FIG. 5, commonly referred to as "hard disk drives"). Although not shown in FIG. 5, disk drives for reading and writing to removable non-volatile disks (e.g., "floppy disks") and optical disk drives for reading and writing to removable non-volatile optical disks (e.g., CD-ROMs, DVD-ROMs, or other optical media) may be provided. In these cases, each drive may be connected to bus 230 through one or more data media interfaces. Memory 210 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of this application.

[0103] A program / utility 280 having a set (at least one) of program modules 270 may be stored, for example, in memory 210. Such program modules 270 include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment.The sequence module 270 typically performs the functions and / or methods described in the embodiments of this application.

[0104] The electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), and with one or more devices that enable a user to interact with the electronic device 200, and / or with any device that enables the electronic device 200 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through the input / output (I / O) interface 292. Furthermore, the electronic device 200 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via the network adapter 293. As shown, the network adapter 293 communicates with other modules of the electronic device 200 via the bus 230. It should be understood that, although not shown in the figures, other hardware and / or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0105] The processor 220 executes various functional applications and data processing by running programs stored in the memory 210.

[0106] It should be noted that the implementation process and technical principles of the electronic device in this embodiment are explained in the foregoing description of the pet jumping action detection method in the embodiments of this application, and will not be repeated here.

[0107] This application embodiment also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the above-mentioned method embodiments.

[0108] This application embodiment provides a computer program product, which, when run on an electronic device, enables the electronic device to implement the steps in the above-mentioned method embodiments.

[0109] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps in the above-mentioned method embodiments. The computer program includes computer program code, which may be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium may include at least: any entity or device capable of carrying the computer program code to the photographic device / electronic device, recording medium, computer memory, or read-only memory.Memory (ROM), Random Access Memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0110] In the above embodiments, the descriptions of each embodiment have different focuses. Parts not detailed or recorded in a certain embodiment can be referred to the relevant descriptions of other embodiments.

[0111] Those skilled in the art will recognize that the single specification 12 / 13 pages 15 CN 121694247 A of the examples described in conjunction with the embodiments disclosed herein, along with the elements and algorithm steps, can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0112] In the embodiments provided in this application, it should be understood that the disclosed apparatus / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For example, the division of modules or units is merely a logical functional division, and there may be other division methods in actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0113] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of this embodiment.

[0114] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them; although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application. Specification 13 / 13 pages 16 CN 121694247 A Figure 1 Figure 2 Specification Drawings 1 / 3 pages 17 CN121694247 A FIG. 3 FIG. 4 DESCRIPTION OF THE DRAWINGS PAGE 2 / 3 OF 18 CN 121694247 A FIG. 5 DESCRIPTION OF THE DRAWINGS PAGE 3 / 3 OF 19 CN 121694247 A ABSTRACT The invention is suitable for the technical field of computer application, and provides a pet jumping action detection method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining the three-axis motion data of a target pet in real time; according to the three-axis motion data, detecting whether the target pet is currently in a free falling state; detecting whether the target pet has a landing impact state in a preset time window or not according to the three-axis motion data in the preset time window under the condition that the target pet is in the free falling state; and under the condition that the target pet has the landing impact state in the preset time window, determining that the target pet completes one jumping action. Therefore, according to the three-axis motion data of the pet, dual detection of free falling and landing impact iscarried out on the pet, and when the pet has the free falling state and the landing impact state, the action of the pet is determined as the jumping action, so that the accuracy and reliability of pet jumping action detection are improved.

Claims

1. A method for detecting a pet's jumping motion, characterized in that, include: Real-time acquisition of the target pet's three-axis motion data; Based on the three-axis motion data, it is detected whether the target pet is currently in free fall. When the target pet is in the free fall state, the system detects whether the target pet has a landing impact state within the preset time window based on the three-axis motion data within the preset time window. If the target pet is in the landing impact state within the preset time window, it is determined that the target pet has completed a jumping action.

2. The method as described in claim 1, characterized in that, The three-axis motion data includes a first acceleration in a first direction, a second acceleration in a second direction, and a third acceleration in a third direction. The step of detecting whether the target pet is currently in free fall based on the three-axis motion data includes: Calculate the composite vector value of the first acceleration, the second acceleration, and the third acceleration; If the synthesized vector value is less than the first threshold, the target pet is determined to be in the free fall state.

3. The method as described in claim 2, characterized in that, The step of detecting whether the target pet experiences a landing impact within a preset time window based on the three-axis motion data within that preset time window includes: Determine whether the triaxial motion data within the preset time window simultaneously meets the first landing impact condition and the second landing impact condition. The first landing impact condition is the duration for which the sum of the absolute values ​​of the first acceleration and the second acceleration is greater than a second threshold reaches a first time threshold. The second landing impact condition is the duration for which the absolute value of the third acceleration is greater than a third threshold reaches a second time threshold. When the three-axis motion data within the preset time window simultaneously satisfy both the first landing impact condition and the second landing impact condition, it is determined that the target pet is in the landing impact state within the preset time window.

4. The method as described in claim 3, characterized in that, Before detecting whether the target pet experiences a landing impact within a preset time window based on the three-axis motion data when the target pet is in free fall, the method further includes: Obtain the size and breed parameters of the target pet; Configure the second threshold and the third threshold based on the body size parameter and the variety parameter.

5. The method according to any one of claims 1-4, characterized in that, The three-axis motion data includes a first angular velocity in a first direction, a second angular velocity in a second direction, and a third angular velocity in a third direction. The step of determining that the target pet has completed a jump action when the target pet is in the landing impact state within the preset time window further includes: When the target pet is in the landing impact state, it is determined whether the three-axis motion data of the target pet in the target action process meets the jump angular velocity condition. The target action process is the process from the start of the free fall state to the end of the landing impact state. The jump angular velocity condition is that the first angular velocity obtained at each acquisition time is less than the fourth threshold, the second angular velocity is less than the fifth threshold, and the third angular velocity is less than the sixth threshold. If the three-axis motion data of the target pet during the target action meets the jump angular velocity condition, it is determined that the target pet has completed a jump action.

6. The method according to any one of claims 1-4, characterized in that, After determining that the target pet has completed a jump action when the target pet is in the landing impact state within the preset time window, the method further includes: Send pet jumping information to the preset terminal.

7. A device for detecting a pet's jumping motion, characterized in that, include: The acquisition module is used to acquire the three-axis motion data of the target pet in real time; The first detection module is used to detect whether the target pet is currently in free fall based on the three-axis motion data. The second detection module is used to detect whether the target pet has a landing impact state within the preset time window based on the three-axis motion data within the preset time window when the target pet is in the free fall state. The determination module is used to determine that the target pet has completed a jumping action when the target pet is in the landing impact state within the preset time window.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it causes the electronic device to implement the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by an electronic device, it implements the method as described in any one of claims 1 to 6.

10. A computer program product, characterized in that, Includes a computer program that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1-6.