Method, device, equipment and storage medium for monitoring opening and closing state
By collecting and judging the user's jumping jack status parameters and combining user information to build personalized evaluation rules, the accuracy problem of smart watches in jumping jack exercise monitoring is solved, achieving more accurate exercise guidance and improved results.
Patent Information
- Application Number
- CN202211353697.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2042-10-31
AI Technical Summary
Existing smart watches cannot implement user personalized settings when monitoring jumping jacks, resulting in inaccurate exercise monitoring and inability to provide targeted guidance, which affects the user's exercise effect.
By collecting the target user's jumping jack status parameters, such as arm swing amplitude and frequency, and combining user information to build personalized evaluation rules, parameter evaluation is performed, and action adjustment prompts are triggered based on the evaluation results.
It improves the accuracy of jumping jack exercise monitoring and user exercise effects, provides personalized exercise guidance, and enhances the user's exercise experience.
Smart Images

Figure CN115607939B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motion monitoring, and in particular to a method, device, equipment and storage medium for monitoring a jumping jack state. Background Art
[0002] Smartwatches all have exercise monitoring capabilities, allowing users to monitor their exercise status and improve their workouts. Smartwatches support a variety of exercise types, with jumping jacks being a common one, so most smartwatches support jumping jack monitoring.
[0003] Although currently available smartwatches can monitor jumping jacks, the algorithms related to jumping jacks are universal for all users, making it impossible for users to personalize monitoring rules. Furthermore, they can only roughly calculate the calories consumed by the user based on the frequency of arm swinging, resulting in inaccurate monitoring of jumping jacks and calories. This makes it impossible to effectively provide users with more targeted monitoring and guidance, resulting in poor jumping jack performance. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a jumping jack status monitoring method, device, equipment and storage medium, which can effectively help users improve the effect of jumping jacks. The specific solution is as follows:
[0005] In a first aspect, the present application discloses a method for monitoring an opening and closing state, comprising:
[0006] Collecting several jumping jack state parameters of the target user; the several jumping jack state parameters include arm swing amplitude and arm swing frequency;
[0007] Obtaining a jumping jack state evaluation rule pre-constructed based on the user information of the target user to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation order and a parameter evaluation logic for each jumping jack state parameter;
[0008] According to the parameter evaluation sequence and the parameter evaluation logic, a corresponding parameter evaluation operation is performed on each of the jumping jack state parameters, and based on the parameter evaluation result, it is determined whether to trigger the jumping jack action adjustment prompt.
[0009] Optionally, the collecting of several current jumping jack status parameters of the target user includes:
[0010] Using a wearable device to collect the target user's current arm swing acceleration and arm swing angular velocity;
[0011] The swing arm amplitude and the swing arm frequency are determined using the swing arm acceleration and the swing arm angular velocity respectively.
[0012] Optionally, the collecting of several current jumping jack status parameters of the target user includes:
[0013] Using a camera on a preset terminal device to capture a video of the target user currently in a jumping jack state, to obtain a corresponding real-time video frame to be processed;
[0014] Identify and locate the arm of the target user in the real-time video frame to be processed to obtain a corresponding arm identification and positioning result;
[0015] Based on the arm recognition and positioning result and the time information corresponding to the real-time video frame to be processed, the arm movement state of the target user is analyzed to obtain the arm swing amplitude and the arm swing frequency.
[0016] Optionally, determining whether to trigger a jumping jack action adjustment prompt based on the parameter evaluation result includes:
[0017] If any of the jumping jack state parameters is judged as an unqualified parameter, the corresponding jumping jack action adjustment prompt is triggered through a preset prompt method, and the preset prompt method includes any one or a combination of voice prompt method, screen text prompt method, and vibration prompt method.
[0018] Optionally, determining whether to trigger a jumping jack action adjustment prompt based on the parameter evaluation result includes:
[0019] If any of the jumping jack state parameters is judged to be unqualified parameters, creating a target virtual character of a corresponding size based on the outline size information of the target user displayed on the human-computer interaction interface of the preset terminal device;
[0020] The target virtual character displayed on the human-computer interaction interface is controlled to perform jumping jacks that meet the target evaluation rules, so as to prompt the target user to make corresponding jumping jack movement adjustments with reference to the currently displayed target virtual character.
[0021] Optionally, the method further includes:
[0022] determining a scoring value of the target user's jumping jack action per unit time according to a degree of deviation between each jumping jack state parameter and a corresponding preset state parameter threshold;
[0023] Drawing a corresponding score value curve graph based on the score values in each unit time during the jumping jack exercise, and averaging the score values in each unit time to obtain a corresponding score average value;
[0024] The rating value curve graph and / or the rating average value are displayed according to a preset information display method.
[0025] Optionally, before the acquiring the swing state evaluation rule constructed based on the user information of the target user, the method further comprises:
[0026] determining a swing amplitude threshold value and a swing frequency threshold value based on the user information of the target user, and determining a parameter evaluation sequence corresponding to each of the swing amplitude and the swing frequency; the swing amplitude threshold value comprises a horizontal swing amplitude threshold value and a vertical swing amplitude threshold value;
[0027] constructing a first parameter evaluation logic for performing parameter evaluation operation on the swing amplitude and a second parameter evaluation logic for performing parameter evaluation operation on the swing frequency based on the swing amplitude threshold value and the swing frequency threshold value respectively.
[0028] Optionally, the determining the swing amplitude threshold value based on the user information of the target user comprises:
[0029] determining the swing amplitude threshold value based on first sign information of the target user; the first sign information comprises any one or a combination of several of arm length information, body fat rate, blood pressure information, pulse information and age information;
[0030] alternatively, acquiring user selection information containing a target exercise intensity level through a preset selection interface, and determining a swing amplitude threshold value corresponding to the target exercise intensity level in the user selection information;
[0031] alternatively, acquiring first historical habit information of the target user to determine the swing amplitude threshold value; the first historical habit information comprises historical exercise intensity selection habit and / or historical swing amplitude habit.
[0032] Optionally, the determining the swing frequency threshold value based on the user information of the target user comprises:
[0033] determining the swing frequency threshold value based on second sign information of the target user; the second sign information comprises any one or a combination of several of body fat rate, blood pressure information, pulse information and age information;
[0034] alternatively, acquiring user selection information containing a target exercise intensity level through a preset selection interface, and determining a swing frequency threshold value corresponding to the target exercise intensity level in the user selection information;
[0035] alternatively, acquiring second historical habit information of the target user to determine the swing frequency threshold value; the second historical habit information comprises historical exercise intensity selection habit and / or historical swing frequency habit.
[0036] Optionally, the determining the parameter evaluation sequence corresponding to each of the swing amplitude and the swing frequency comprises:
[0037] Acquiring user configuration information through a preset configuration interface, and extracting a parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency from the user configuration information;
[0038] Alternatively, the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is extracted from the system default information;
[0039] Alternatively, the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is determined based on the size relationship between the historical amplitude adjustment prompt times and the historical frequency adjustment prompt times.
[0040] In a second aspect, the present application discloses a device for monitoring the state of an opening and closing device, comprising:
[0041] A parameter collection module is used to collect several jumping jack state parameters of the target user; the several jumping jack state parameters include arm swing amplitude and arm swing frequency;
[0042] a rule acquisition module, configured to acquire a jumping jack state evaluation rule pre-established based on the user information of the target user, to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation sequence and a parameter evaluation logic for each jumping jack state parameter;
[0043] The parameter evaluation module is used to perform corresponding parameter evaluation operations on each of the opening and jacking state parameters according to the parameter evaluation sequence and the parameter evaluation logic, and determine whether to trigger the opening and jacking action adjustment prompt based on the parameter evaluation results.
[0044] In a third aspect, the present application discloses an electronic device, comprising:
[0045] Memory, used to store computer programs;
[0046] A processor is used to execute the computer program to implement the aforementioned opening and closing state monitoring method.
[0047] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program, wherein the computer program implements the aforementioned method for monitoring the opening and closing state when executed by a processor.
[0048] It can be seen that in the present application, several current jumping jack state parameters of the target user are first collected, wherein the several jumping jack state parameters include arm swing amplitude and arm swing frequency, and then the jumping jack state judgment rules pre-constructed based on the user information of the target user are obtained to obtain the target judgment rules, wherein the target judgment rules include the parameter judgment order and parameter judgment logic for each of the jumping jack state parameters, and finally, the corresponding parameter judgment operation is performed on each of the jumping jack motion state parameters according to the parameter judgment order and parameter judgment logic, and it is determined whether to trigger the jumping jack motion adjustment prompt based on the parameter judgment result. It can be seen that the present application judges the current jumping jack motion of the target user based on the collected jumping jack state parameters including arm swing amplitude and arm swing frequency and the preset target judgment rules. In this way, the problem of inaccurate motion monitoring caused by only performing a single parameter judgment on the user's jumping jack swing frequency can be avoided. It is also possible to construct a personalized jumping jack state judgment rule based on the user's own information, effectively improving the accuracy of jumping jack motion monitoring and the user's jumping jack motion effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0050] Figure 1 This is a flow chart of a method for monitoring opening and closing jump status disclosed in this application;
[0051] Figure 2 This is a schematic diagram of calculating horizontal distance and vertical distance when swinging an arm as disclosed in this application;
[0052] Figure 3 This is a flow chart of the specific parameter evaluation sequence disclosed in this application;
[0053] Figure 4 This is a schematic diagram showing a scoring result disclosed in this application;
[0054] Figure 5 This is a flow chart of a specific method for monitoring the opening and closing state disclosed in this application;
[0055] Figure 6 This is a flow chart of a specific method for monitoring the opening and closing state disclosed in this application;
[0056] Figure 7 This is a structural diagram of an opening and closing state monitoring device disclosed in this application;
[0057] Figure 8 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0059] Smartwatches all have exercise monitoring capabilities, allowing users to monitor their exercise status and improve their workouts. Smartwatches support a variety of exercise types, with jumping jacks being a relatively common one, so most smartwatches support jumping jack monitoring. While currently available smartwatches can monitor jumping jacks, the algorithms used for jumping jacks are generic, making it impossible for users to customize monitoring rules. Furthermore, these smartwatches roughly calculate calories burned based on the frequency of arm swings, resulting in inaccurate monitoring of jumping jacks and calories burned. Consequently, they are unable to provide effective, targeted guidance to users, resulting in ineffective jumping jack performance.
[0060] See also Figure 1 As shown, the embodiment of the present application discloses a method for monitoring the opening and closing state, comprising:
[0061] Step S11: collecting several jumping jack state parameters of the target user; the several jumping jack state parameters include arm swing amplitude and arm swing frequency.
[0062] In this embodiment, it is first necessary to collect several current jumping jack state parameters of the target object, wherein the several jumping jack state parameters include but are not limited to arm swing amplitude, arm swing frequency, leg opening and closing width and other motion state parameters. It should be noted that the device for collecting the several jumping jack state parameters can be a wearable device or a terminal device with a camera, etc., and the device includes but is not limited to a smart watch, a smart sports bracelet, a smart mobile device, a television, etc. In this way, the several jumping jack state parameters of the jumping jack motion state are obtained through the wearable device or terminal device, so that the jumping jack state parameters can be subsequently evaluated to determine whether the current jumping jack motion is qualified, which can improve the accuracy of motion monitoring.
[0063] Step S12: obtaining a jumping jack state evaluation rule pre-constructed based on the user information of the target user to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation sequence and a parameter evaluation logic for each jumping jack state parameter.
[0064] In this embodiment, after collecting several jumping jack state parameters, it is necessary to obtain the jumping jack state evaluation rules pre-constructed based on the user information of the target user to obtain the target evaluation rules, so as to use the target evaluation rules to evaluate the several jumping jack state parameters and determine whether the current jumping jack exercise is qualified, wherein the target evaluation rules include but are not limited to the evaluation order and parameter evaluation logic for each of the jumping jack state parameters.
[0065] In this embodiment, before obtaining the opening and closing jumping state evaluation rules pre-constructed based on the user information of the target user, it may also include: determining the arm swing amplitude threshold and the arm swing frequency threshold based on the user information of the target user, and determining the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency respectively; the arm swing amplitude threshold includes the horizontal arm swing amplitude threshold and the vertical arm swing amplitude threshold; constructing a first parameter evaluation logic for performing parameter evaluation operations on the arm swing amplitude and a second parameter evaluation logic for performing parameter evaluation operations on the arm swing frequency based on the arm swing amplitude threshold and the arm swing frequency threshold respectively. It can be seen from this that the arm swing amplitude threshold and the arm swing frequency threshold, as well as the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency respectively, are first determined based on the user information of the target user, and then the reference Figure 2 As shown, the arm swing amplitude threshold includes a horizontal arm swing amplitude threshold X and a vertical arm swing amplitude threshold Y, and then based on the arm swing amplitude threshold and the arm swing frequency threshold, a first parameter judgment logic for performing parameter judgment operations on the arm swing amplitude and a second parameter judgment logic for performing parameter judgment operations on the arm swing frequency are respectively constructed, wherein the first parameter judgment logic is to judge whether the arm swing amplitude of the target user is greater than or equal to the arm swing amplitude threshold, and the second parameter judgment logic is to judge whether the arm swing frequency of the target user is greater than or equal to the arm swing frequency threshold. It should be pointed out that the user information of the target user includes but is not limited to physical sign information, preset exercise intensity level, historical habit information, etc. In this way, the judgment rules for jumping jack exercise monitoring can be personalized based on user information, effectively providing users with exercise monitoring solutions tailored to themselves, and greatly improving the effect of users' jumping jack exercises.
[0066] In this embodiment, determining the arm swing amplitude threshold based on the user information of the target user includes but is not limited to the following three specific implementation methods.
[0067] In a first specific embodiment, determining the arm swing amplitude threshold based on the user information of the target user may include: determining the arm swing amplitude threshold based on the first physical sign information of the target user; the first physical sign information includes any one or a combination of several of arm length information, body fat percentage, blood pressure information, pulse information, and age information. That is, the arm swing amplitude threshold corresponding to the target user is determined based on the first physical sign information of the target user, wherein the first physical sign information includes but is not limited to arm length information, body fat percentage, blood pressure information, pulse information, and age information. Since different users have different heights, body shapes, arm lengths, heart rates, and blood pressures, different users have different arm swing amplitude thresholds. The target user may input the first physical sign information into the wearable device or terminal device in advance, and the device may calculate the arm swing amplitude threshold that meets the target user's exercise standards based on any one or a combination of several of the first physical sign information. Of course, the target user may also directly input the arm swing amplitude threshold into the device for personalized settings. In this way, by determining the arm swing amplitude threshold based on the physical signs information of different users, it is possible to more accurately provide exercise plans for users with different physical signs, more precisely guide users to perform jumping jacks, and improve exercise effects.
[0068] In a second specific embodiment, determining the arm swing amplitude threshold based on the user information of the target user may include: obtaining user selection information including a target exercise intensity level through a preset selection interface, and determining the arm swing amplitude threshold corresponding to the target exercise intensity level in the user selection information. Specifically, the target user selects an exercise intensity level through the preset selection interface. After selection, the device obtains the target exercise intensity level selected by the target user and determines the arm swing amplitude threshold corresponding to the target exercise intensity level. It should be noted that the exercise intensity level can be personalized based on the user's physical information. Users can select three intensity levels: vigorous, normal, and easy. Furthermore, the arm swing amplitude thresholds for different exercise intensity levels can be pre-set upon first use. The arm swing amplitude thresholds for each intensity level can be calculated based on the user's physical information input, or the arm swing amplitude threshold for the corresponding exercise intensity level can be set based on the arm swing amplitude of the jumping jack exercise performed when the user first selects the current exercise intensity level. After the exercise intensity level is set, the user can select an exercise intensity level before each exercise. Upon receiving the user's selection information, the device obtains the arm swing amplitude threshold corresponding to the exercise intensity level, allowing subsequent monitoring of the user's jumping jack exercise based on the arm swing amplitude. In this way, monitoring the user's jumping jacks based on different exercise intensity levels and providing exercise guidance to the user based on the monitoring results can effectively help the user improve their exercise results.
[0069] In a third specific embodiment, determining an arm swing amplitude threshold based on user information of a target user may include: obtaining first historical habit information of the target user to determine the arm swing amplitude threshold; the first historical habit information may include historical exercise intensity selection habits and / or historical arm swing amplitude habits. After the user exercises for a period of time, the system will store the user's first historical habit information, including but not limited to the user's historical exercise intensity selection habits and / or historical arm swing amplitude habits. Based on the first historical habit information, an exercise intensity level and / or arm swing amplitude threshold may be recommended for the target user. For example, if a user's historical exercise history includes selecting vigorous intensity twice, normal intensity five times, and easy intensity once, it can be determined that the user frequently selects normal intensity for jumping jacks. In this way, the normal intensity may be directly recommended for the user, and the arm swing amplitude threshold corresponding to the normal intensity may be obtained to facilitate subsequent evaluation of the user's jumping jacks. This eliminates the need for the user to make a selection; an accurate jumping jack exercise plan can be provided based on historical habit information, making it more convenient to provide users with personalized exercise plans and effectively improving their exercise results.
[0070] In this embodiment, determining the arm swing frequency threshold based on the user information of the target user may include: determining the arm swing frequency threshold based on the second vital sign information of the target user; the second vital sign information includes any one or a combination of several of body fat percentage, blood pressure information, pulse information and age information; or, obtaining user selection information including a target exercise intensity level through a preset selection interface, and determining the arm swing frequency threshold corresponding to the target exercise intensity level in the user selection information; or, obtaining the second historical habit information of the target user to determine the arm swing frequency threshold; the second historical habit information includes historical exercise intensity selection habits and / or historical arm swing frequency habits. Since the process of determining the arm swing frequency threshold based on the user information of the target user is similar to the process of determining the arm swing frequency threshold, it will not be repeated here. It can be understood that when determining the arm swing frequency threshold based on the second vital sign information, it is not necessary to use the arm length information, so the arm length information is not included in the second vital sign information.
[0071] In this embodiment, the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency includes but is not limited to the following three specific implementation methods.
[0072] In a first specific implementation, the determining of the parameter evaluation sequence corresponding to the swing arm amplitude and the swing arm frequency respectively can include: obtaining user configuration information through a preset configuration interface, and extracting the parameter evaluation sequence corresponding to the swing arm amplitude and the swing arm frequency respectively from the user configuration information. That is, the user can pre-select and configure the parameter evaluation sequence through the preset configuration interface on the device before the jumping jack exercise, and the parameter evaluation is performed based on the parameter evaluation sequence in the user configuration information during the exercise. Figure 3 For example, as shown in the figure, if the user sets the swing arm amplitude to be evaluated first and then the swing arm frequency, the specific process can be as follows: the user performs the jumping jack exercise, the device calculates the swing arm amplitude of the current jumping jack exercise of the user, compares the swing arm amplitude with the preset swing arm amplitude threshold, and if the swing arm amplitude is less than the swing arm amplitude threshold, it is determined that the swing arm amplitude of the current jumping jack exercise is unqualified, and the user is reminded to increase the swing arm amplitude; if the swing arm amplitude is greater than or equal to the swing arm amplitude threshold, it is determined that the swing arm amplitude of the current jumping jack exercise is qualified, and the swing arm frequency of the current jumping jack exercise of the user is calculated, and the swing arm frequency is compared with the preset swing arm frequency threshold; if the swing arm frequency is less than the swing arm frequency threshold, it is determined that the swing arm frequency of the current jumping jack exercise is unqualified, and the user is reminded to increase the swing arm frequency; if the swing arm frequency is greater than or equal to the swing arm frequency threshold, it is determined that the swing arm frequency of the current jumping jack exercise is qualified, and no reminder for the swing arm frequency is initiated, and the parameter evaluation of the state parameters of the next round of jumping jack exercise is started according to the parameter evaluation sequence. Figure 3 As shown in the figure, the parameter evaluation process is restarted to the step of calculating the swing arm amplitude. In addition, the parameter evaluation process can be ended after the user stops the jumping jack exercise.
[0073] In a second specific implementation, the determining of the parameter evaluation sequence corresponding to the swing arm amplitude and the swing arm frequency respectively can include: extracting the parameter evaluation sequence corresponding to the swing arm amplitude and the swing arm frequency respectively from system default information. That is, when the user does not configure the parameter evaluation sequence, the parameter evaluation of the swing arm amplitude and the swing arm frequency can be performed based on the system default parameter evaluation sequence.
[0074] In a third specific implementation scheme, the determination of the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency may include: determining the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency based on the size relationship between the historical number of amplitude adjustment prompts and the historical number of frequency adjustment prompts. The system records each jumping jack movement of the user, including the number of times the user is prompted to adjust the movement. The system may determine the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency based on the size relationship between the historical number of amplitude adjustment prompts and the historical number of frequency adjustment prompts. For example, if the user has a historical number of amplitude adjustment prompts of 5 times and a historical number of frequency adjustment prompts of 2 times, the system may be set to first judge whether the arm swing amplitude is qualified, and then judge whether the arm swing frequency is qualified.
[0075] Step S13: performing corresponding parameter evaluation operations on each of the jumping jack state parameters according to the parameter evaluation sequence and the parameter evaluation logic, and determining whether to trigger the jumping jack action adjustment prompt based on the parameter evaluation results.
[0076] In this embodiment, after determining the parameter evaluation order and parameter evaluation logic based on the user information, the corresponding parameter evaluation operation is performed on the several types of jumping jack state parameters collected, and based on the evaluation result, it is determined whether to trigger the jumping jack action adjustment prompt. The evaluation result is that if any of the several jumping jack state parameters does not conform to the parameter evaluation logic corresponding to itself, the current jumping jack movement is judged to be unqualified, and the jumping jack action adjustment prompt is determined to be triggered. It should be pointed out that the jumping jack action adjustment prompt includes but is not limited to voice prompts, vibration prompts, text prompts, screen display prompts, etc., and the jumping jack action adjustment prompt can provide feedback prompts based on different jumping jack state parameters. For example, if the arm swing amplitude of the target user's current jumping jack exercise does not meet the first parameter judgment logic corresponding to the arm swing amplitude, that is, the arm swing amplitude is less than the arm swing amplitude threshold, but the arm swing frequency meets the second parameter judgment logic corresponding to the arm swing frequency, that is, the arm swing frequency is greater than or equal to the arm swing frequency threshold, then the current jumping jack exercise is judged to be unqualified, and a jumping jack action adjustment prompt indicating that the current arm swing amplitude is unqualified is sent to the user. Since the current arm swing frequency is in a qualified state, when executing the jumping jack action adjustment prompt, the arm swing frequency adjustment prompt operation can be prohibited. It can be seen from this that the several jumping jack state parameters are judged one by one according to the preset parameter evaluation order and the parameter evaluation logic. If one of the parameters does not conform to the corresponding parameter evaluation logic, the current jumping jack movement is judged to be unqualified, and the jumping jack action adjustment prompt corresponding to the parameter is triggered for this parameter, so that the target user can adjust the current movement according to the jumping jack action adjustment prompt and meet the qualified standard. In this way, the jumping jack movement is judged based on the preset evaluation rules, and feedback information is provided to the user, which is more in line with the user's exercise habits and guides the user's movements, and can effectively improve the exercise effect.
[0077] To further improve the user experience, in the embodiments of the present application, the score value of the jumping jack action of the target user in a unit time can be determined according to the deviation degree between each of the jumping jack state parameters and the corresponding preset state parameter threshold; the corresponding score value curve graph can be drawn based on the score value in each unit time during the jumping jack movement process, and the score value in each unit time can be averaged to obtain the corresponding score average value; and the score value curve graph and / or the score average value can be displayed according to a preset information display mode. For example, during the user's jumping jack movement, the smart watch can score the user's jumping jack action in each minute according to the deviation degree between the user's jumping jack state parameters and the corresponding preset state parameter threshold to obtain the corresponding score value per minute. It can be understood that the deviation degree between any one of the arm swing amplitude or the arm swing frequency and the corresponding preset state parameter threshold will affect the score value of the jumping jack action in each minute, and the smaller the above deviation degree is, the better the corresponding jumping jack state is, and the higher the corresponding score value is; on the contrary, the larger the above deviation degree is, the worse the corresponding jumping jack state is, and the lower the corresponding score value is. For example, in the specific implementation process, the range of the score value can be set to 0-10 points, 10 points indicating a perfect state, 8 points indicating a qualified state, 6 points indicating a state to be improved, 4 points indicating an unqualified state, etc. During the entire jumping jack movement process, the smart watch draws the score value curve graph corresponding to the entire jumping jack movement process based on the score value in each minute, and averages the score value in each minute to obtain the corresponding score average value, and the score average value can be used as the total score of this time of jumping jack movement, as shown in Figure 4 After the jumping jack movement of this time ends, the score value curve graph and the score average value as the total score are sent to the display screen of the smart watch for display, so that the user can very intuitively understand the movement state and movement effect in the jumping jack movement process of this time. In this way, the interestingness of human-computer interaction can be improved, and the user can be assisted to optimize the jumping jack training, gradually improve the jumping jack movement effect, and greatly improve the user experience.
[0078] It can be seen that in this embodiment, several current jumping jack state parameters of the target user are first collected, wherein the several jumping jack state parameters include arm swing amplitude and arm swing frequency, and then the jumping jack state evaluation rules pre-constructed based on the user information of the target user are obtained to obtain the target evaluation rules, wherein the target evaluation rules include the parameter evaluation order and parameter evaluation logic for each jumping jack state parameter, and finally, the corresponding parameter evaluation operation is performed on each jumping jack motion state parameter according to the parameter evaluation order and parameter evaluation logic, and based on the parameter evaluation result, it is determined whether to trigger the jumping jack motion adjustment prompt. It can be seen that the present application evaluates the current jumping jack motion of the target user based on the collected jumping jack state parameters including arm swing amplitude and arm swing frequency and the preset target evaluation rules. In this way, the problem of inaccurate motion monitoring caused by only performing a single parameter judgment on the user's jumping jack swing frequency can be avoided. It is also possible to construct a personalized jumping jack state evaluation rule based on the user's own information, effectively improving the accuracy of jumping jack motion monitoring and the user's jumping jack motion effect.
[0079] Based on the above embodiments, the present application evaluates several jumping jack status parameters according to preset target evaluation rules to determine whether to trigger a jumping jack action adjustment prompt. These various jumping jack status parameters can be collected using a wearable device or a terminal device equipped with a camera. The following describes in detail the process of collecting these various jumping jack status parameters using a wearable device.
[0080] See also Figure 5 As shown, the embodiment of the present application discloses a specific method for monitoring the opening and closing state, including:
[0081] Step S21: using a wearable device to collect the target user's current arm swing acceleration and arm swing angular velocity.
[0082] In this embodiment, a wearable device is used to collect the arm swing acceleration and arm swing angular velocity of the target user's current jumping jack exercise, so as to determine the arm swing amplitude and arm swing frequency using the arm swing acceleration and the arm swing angular velocity. The wearable device includes but is not limited to smart watches, smart sports bracelets, etc., and the arm swing acceleration and the arm swing angular velocity can be collected using an IMU (Inertial Measurement Unit). Of course, in addition to using an IMU to collect the arm swing acceleration and the arm swing angular velocity, other acceleration sensors and angular velocity sensors can also be used to collect the arm swing acceleration and the arm swing angular velocity.
[0083] Step S22: determining the swing arm amplitude and the swing arm frequency by using the swing arm acceleration and the swing arm angular velocity respectively, so as to obtain the opening and closing jump state parameters.
[0084] In this embodiment, after collecting the arm swing acceleration and arm swing angular velocity, the arm swing amplitude and the arm swing frequency are determined using the arm swing acceleration and arm swing angular velocity to obtain jumping jack state parameters. The arm swing amplitude can be obtained by calculating the horizontal and vertical distances of the arm swing during jumping jacks based on the arm swing acceleration using the IMU on the wearable device; the arm swing frequency is obtained based on the arm swing angular velocity using the arm swing frequency calculation formula. The above-mentioned arm swing frequency calculation formula can be specifically expressed as: arm swing frequency = angular velocity / 360°.
[0085] In this way, by calculating the swing arm acceleration and the swing arm angular velocity to determine the swing arm amplitude and the swing arm frequency, the accuracy of the jumping jack movement state monitoring can be effectively improved, and the jumping jack movement can be monitored in multiple aspects in combination with the swing arm amplitude and the swing arm frequency, avoiding the situation where the jumping jack movement state monitoring is inaccurate due to a single state parameter, and more effectively helping users improve exercise effects.
[0086] Step S23: obtaining a jumping jack state evaluation rule pre-constructed based on the user information of the target user to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation sequence and a parameter evaluation logic for each jumping jack state parameter.
[0087] In this embodiment, before obtaining the jumping jack state evaluation rule pre-constructed based on the user information of the target user, the method may further include: determining a swing amplitude threshold and a swing frequency threshold based on the user information of the target user, wherein the swing amplitude threshold includes a horizontal swing amplitude threshold and a vertical swing amplitude threshold. After determining the swing amplitude and the swing frequency based on the collected swing acceleration and the swing angular velocity, it is necessary to obtain the jumping jack state evaluation rule pre-constructed based on the user information of the target user to obtain a target evaluation rule, including the first parameter evaluation logic for evaluating the swing amplitude and the second parameter evaluation logic for evaluating the swing frequency. Since the swing amplitude includes the horizontal distance and the vertical distance, the first parameter evaluation logic is to evaluate whether the horizontal distance is greater than or equal to the horizontal swing amplitude threshold and whether the vertical distance is greater than or equal to the vertical swing amplitude threshold. Moreover, both the horizontal distance and the vertical distance must meet the first parameter evaluation logic before it can be determined that the swing amplitude meets the first parameter evaluation logic.
[0088] Step S24: performing corresponding parameter evaluation operations on each of the opening and closing state parameters according to the parameter evaluation sequence and the parameter evaluation logic.
[0089] Step S25: If any of the jumping jack state parameters is judged as an unqualified parameter, a corresponding jumping jack action adjustment prompt is triggered through a preset prompt method, and the preset prompt method includes any one or a combination of voice prompt method, screen text prompt method, and vibration prompt method.
[0090] In this embodiment, a corresponding parameter evaluation operation is performed on each of the opening and jacking state parameters based on the parameter evaluation order and the parameter evaluation logic, including the arm swing amplitude and the arm swing frequency. If any of the opening and jacking state parameters is judged to be an unqualified parameter, a corresponding opening and jacking action adjustment prompt is triggered through a preset prompt method, wherein the preset prompt method includes but is not limited to any one or a combination of voice prompt method, screen text prompt method, vibration prompt method, etc. If the horizontal distance is less than the horizontal arm swing amplitude threshold and / or the vertical distance is less than the vertical arm swing amplitude threshold, the arm swing amplitude is determined to be an unqualified parameter, and an opening and jacking action adjustment prompt indicating that the arm swing amplitude is unqualified will be sent to the target user; if the arm swing frequency is less than the arm swing frequency threshold, the arm swing frequency is determined to be an unqualified parameter, and an opening and jacking action adjustment prompt indicating that the arm swing frequency is unqualified will be sent to the target user. For example, a voice prompt message indicating that the swing frequency of the current jumping jack exercise is unqualified is broadcasted; or a text prompt message indicating that the swing frequency of the current jumping jack exercise is unqualified is displayed on the screen of the wearable device; or a message indicating that the swing amplitude of the current jumping jack exercise is unqualified is fed back to the target user by vibrating the wearable device. Furthermore, in the vibration prompt method, different vibration frequencies can be set according to different parameters, and the user can determine that a certain parameter of the current jumping jack exercise is unqualified based on the vibration frequency. Of course, the vibration prompt method and the screen text prompt method can also be combined to send a prompt message to the target user. For example, if the swing amplitude of the current jumping jack exercise is unqualified, the screen of the wearable device displays a text prompt message indicating that the swing amplitude is unqualified, and vibrates based on the vibration frequency corresponding to the swing amplitude, prompting the target user to check the text prompt message displayed on the wearable device screen so that the user can adjust the jumping jack exercise. In this way, by providing feedback to the user in multiple ways, it is possible to provide more timely exercise feedback to the user and guide the user to perform standard jumping jack exercises, effectively helping the user improve the jumping jack exercise effect.
[0091] For the specific process of the above step S24, reference may be made to the corresponding contents disclosed in the above embodiment, which will not be described in detail here.
[0092] As can be seen, in this embodiment, the wearable device collects the target user's current jumping jack exercise arm swing acceleration and arm swing angular velocity, and calculates the arm swing amplitude and arm swing frequency based on the arm swing acceleration and arm swing angular velocity. The arm swing amplitude and arm swing frequency are then evaluated based on a preset parameter evaluation sequence and parameter evaluation logic to obtain a parameter evaluation result. If any of the parameters is judged to be unqualified, a corresponding jumping jack action adjustment prompt is triggered through any one or a combination of voice prompts, on-screen text prompts, and vibration prompts, so that the target user can adjust the current jumping jack action based on the jumping jack action adjustment prompt. In this way, based on the wearable device collecting and evaluating jumping jack status parameters and sending feedback information to the user, the user's jumping jack exercise status can be monitored anytime and anywhere, and the arm swing frequency and arm swing amplitude can be evaluated simultaneously. This more effectively monitors whether the user's jumping jack exercise is standard based on multiple parameters, and provides feedback to the user through voice, text, or vibration, thereby effectively improving the user's exercise effect.
[0093] Based on the above embodiments, it can be seen that the opening and closing jumping state monitoring method of the present application can be deployed in a wearable device, and the wearable device can be used to collect, evaluate and feedback the opening and closing jumping state parameters. Of course, the opening and closing jumping state monitoring method can also be deployed in a terminal device carrying a camera. For this purpose, this embodiment will describe in detail the process of collecting several opening and closing jumping state parameters using a terminal device carrying a camera.
[0094] See also Figure 6 As shown, the embodiment of the present application discloses a specific method for monitoring the opening and closing state, including:
[0095] Step S31: using a camera on a preset terminal device to capture a video of the target user who is currently in a jumping jack state, to obtain a corresponding real-time video frame to be processed.
[0096] In this embodiment, a camera on a preset terminal device is used to capture video of a target user currently performing jumping jacks, thereby obtaining corresponding real-time video frames to be processed, and then the jumping jack status parameters of the target user are obtained from the real-time video frames to be processed. The preset terminal device includes, but is not limited to, a smartphone, a computer, a smart TV, or other terminal device with a camera.
[0097] Step S32: Identify and locate the arm of the target user in the real-time video frame to be processed to obtain a corresponding arm identification and positioning result.
[0098] In this embodiment, after the real-time video frame to be processed is acquired by the camera on the preset terminal device, the arm of the target user in the real-time video frame to be processed is located in real time to obtain the corresponding arm identification and positioning result. It should be noted that the process of real-time positioning of the arm of the target user in the real-time video frame to be processed can locate the fingertips, palms, wrists, elbows and other parts of the target user to obtain the arm information and arm identification and positioning result of the target user, so as to subsequently obtain the arm motion state information of the target user using the arm identification and positioning result. In this way, there is no need to use a wearable device to obtain the arm swing acceleration and arm swing angular velocity of the target user in the jumping jack motion state. It is only necessary to perform real-time positioning of the arm of the target user in the real-time video frame to be processed, which can improve the efficiency of jumping jack state monitoring.
[0099] Step S33: Based on the arm identification and positioning result and the time information corresponding to the real-time video frame to be processed, the arm movement state of the target user is analyzed to obtain jumping jack state parameters; the jumping jack state parameters include arm swing amplitude and arm swing frequency.
[0100] In this embodiment, based on the arm identification and positioning results and the time information corresponding to the real-time video frames to be processed, the target user's arm state is analyzed to obtain jumping jack state parameters including the arm swing amplitude and the arm swing frequency. Furthermore, based on the position of the target user's arm in two video frames in which the target user's arm is in a horizontal position and a vertically upward position in the real-time video frames to be processed, the target user's arm swing amplitude can be obtained; based on the video frames of the target user's arm movement from the vertically downward position to the vertically upward position in the real-time video frames to be processed, as well as the time information of the video frames of the movement process, the target user's arm swing frequency can be obtained, thereby obtaining the jumping jack state parameters. In this way, the arm swing amplitude and the arm swing frequency can be obtained by analyzing the arm movement state in the real-time video frames to be processed, without having to calculate the arm swing amplitude and the arm swing frequency using the arm swing acceleration and the arm swing angular velocity. This allows for more rapid and convenient acquisition of the jumping jack state parameters, improving the efficiency of jumping jack state monitoring.
[0101] Step S34: obtaining a jumping jack state evaluation rule pre-constructed based on the user information of the target user to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation sequence and a parameter evaluation logic for each jumping jack state parameter.
[0102] Step S35: performing corresponding parameter evaluation operations on each of the opening and closing state parameters according to the parameter evaluation sequence and the parameter evaluation logic.
[0103] Step S36: If any of the jumping jack state parameters is judged to be an unqualified parameter, a target virtual character of a corresponding size is created based on the outline size information of the target user displayed on the human-computer interaction interface of the preset terminal device.
[0104] In this embodiment, a corresponding parameter evaluation operation is performed on each jumping jack state parameter based on the preset parameter evaluation order and the parameter evaluation logic. If any jumping jack state parameter is judged as an unqualified parameter, a target virtual character of a corresponding size is created based on the outline size information of the target user displayed on the human-computer interaction interface of the preset terminal device, so that the user can adjust the jumping jack action based on the target virtual character. It should be pointed out that the outline size information is the size, width, and other size information of the on-screen character displayed by the target user on the human-computer interaction interface of the preset terminal device. The preset terminal device creates the target virtual character of the same size as the on-screen character displayed by the target user on the human-computer interaction interface based on the outline size information.
[0105] Step S37: controlling the target virtual character displayed on the human-computer interaction interface to perform jumping jacks that meet the target evaluation rules, so as to prompt the target user to make corresponding jumping jack movement adjustments with reference to the currently displayed target virtual character.
[0106] In this embodiment, after creating a target virtual character of a corresponding size based on the outline size information of the target user on the human-computer interaction interface of the preset terminal device, the target virtual character is controlled to perform a jumping jack movement that meets the target judgment rules, so as to prompt the target user to make corresponding jumping jack movement adjustments with reference to the currently displayed target virtual character. Of course, if any of the jumping jack state parameters is judged as an unqualified parameter, the preset terminal device can also send the jumping jack movement adjustment prompt to the user based on any one or a combination of the voice prompt method, screen text prompt method, vibration prompt method, etc. In this way, the user can more intuitively see the jumping jack movement that meets the target judgment rule standards through the human-computer interaction interface of the preset terminal device, and adjust the current jumping jack movement based on the standard jumping jack movement, which can more accurately and intuitively guide the user to perform standard jumping jack movement and help the user improve the exercise effect.
[0107] Among them, the specific process of the above steps S34 to S35 can refer to the corresponding content disclosed in the above embodiment, and will not be repeated here.
[0108] As can be seen, in this embodiment, first, a real-time video frame to be processed is acquired based on the camera of the preset terminal device. The target user's arm is identified and located based on the real-time video frame to be processed. Jumping-jack state parameters are derived based on the arm identification and location information and the time information of the real-time video frame to be processed. The jumping-jack state parameters are then evaluated based on preset target evaluation rules. If any of the jumping-jack state parameters are judged as unqualified, a target avatar of a corresponding size is created based on the target user's outline size information in the human-computer interaction interface of the preset terminal device. Then, based on the target evaluation rules, the target avatar is controlled to perform jumping-jack movements of a corresponding standard, so that the target user can adjust their jumping-jack movements based on the target avatar. In this way, the jumping-jack state parameters of the target user are acquired through the camera of the preset terminal device, and the target avatar is generated through the human-computer interaction interface of the preset terminal device to feedback movement adjustment information to the user. This can more intuitively and accurately guide the user to perform jumping-jack movements that meet the target evaluation rules based on the movement state of the avatar, thereby more effectively improving the user's exercise effect.
[0109] refer to Figure 7 The embodiment of the present application further discloses a device for monitoring the opening and closing state, including:
[0110] The parameter collection module 11 is used to collect several jumping jack state parameters of the target user; the several jumping jack state parameters include arm swing amplitude and arm swing frequency;
[0111] A rule acquisition module 12 is configured to acquire a jumping jack state evaluation rule pre-established based on the user information of the target user, to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation sequence and a parameter evaluation logic for each jumping jack state parameter;
[0112] The parameter evaluation module 13 is used to perform corresponding parameter evaluation operations on each of the opening and jacking state parameters according to the parameter evaluation sequence and the parameter evaluation logic, and determine whether to trigger the opening and jacking action adjustment prompt based on the parameter evaluation result.
[0113] It can be seen that in this embodiment, several current jumping jack state parameters of the target user are first collected, wherein the several jumping jack state parameters include arm swing amplitude and arm swing frequency, and then the jumping jack state evaluation rules pre-constructed based on the user information of the target user are obtained to obtain the target evaluation rules, wherein the target evaluation rules include the parameter evaluation order and parameter evaluation logic for each jumping jack state parameter, and finally, the corresponding parameter evaluation operation is performed on each jumping jack motion state parameter according to the parameter evaluation order and parameter evaluation logic, and based on the parameter evaluation result, it is determined whether to trigger the jumping jack motion adjustment prompt. It can be seen that the present application evaluates the current jumping jack motion of the target user based on the collected jumping jack state parameters including arm swing amplitude and arm swing frequency and the preset target evaluation rules. In this way, the problem of inaccurate motion monitoring caused by only performing a single parameter judgment on the user's jumping jack swing frequency can be avoided. It is also possible to construct a personalized jumping jack state evaluation rule based on the user's own information, effectively improving the accuracy of jumping jack motion monitoring and the user's jumping jack motion effect.
[0114] In some specific embodiments, the parameter acquisition module 11 may specifically include:
[0115] A data acquisition unit, configured to acquire the target user's current arm swing acceleration and arm swing angular velocity using a wearable device;
[0116] An amplitude-frequency determination unit is used to determine the swing arm amplitude and the swing arm frequency using the swing arm acceleration and the swing arm angular velocity respectively.
[0117] In some specific embodiments, the parameter acquisition module 11 may specifically include:
[0118] a video acquisition unit, configured to use a camera on a preset terminal device to capture a video of the target user currently performing jumping jacks, so as to obtain a corresponding real-time video frame to be processed;
[0119] an arm positioning unit, configured to identify and locate the arm of the target user in the real-time video frame to be processed to obtain a corresponding arm recognition and positioning result;
[0120] A state analysis unit is used to analyze the arm movement state of the target user based on the arm recognition and positioning result and the time information corresponding to the real-time video frame to be processed to obtain the arm swing amplitude and the arm swing frequency.
[0121] In some specific embodiments, the parameter evaluation module 13 can be specifically used to trigger a corresponding jumping jack action adjustment prompt through a preset prompt method if any of the jumping jack state parameters is judged as an unqualified parameter. The preset prompt method includes any one or a combination of voice prompt method, screen text prompt method, and vibration prompt method.
[0122] In some specific embodiments, the parameter evaluation module 13 may specifically include:
[0123] a virtual character creation unit, configured to create a target virtual character of a corresponding size based on the outline size information of the target user displayed on the human-computer interaction interface of the preset terminal device if any of the jumping jack state parameters is judged to be an unqualified parameter;
[0124] The virtual character movement unit is used to control the target virtual character displayed on the human-computer interaction interface to perform jumping jacks that meet the target judgment rules, so as to prompt the target user to make corresponding jumping jack movement adjustments with reference to the currently displayed target virtual character.
[0125] In some specific embodiments, the opening and closing state monitoring device may further include:
[0126] a sequence determination module, configured to determine an arm swing amplitude threshold and an arm swing frequency threshold based on the user information of the target user, and determine a parameter evaluation order corresponding to each of the arm swing amplitude and the arm swing frequency; the arm swing amplitude threshold includes a horizontal arm swing amplitude threshold and a vertical arm swing amplitude threshold;
[0127] A logic construction module is used to construct a first parameter evaluation logic for performing parameter evaluation operations on the arm swing amplitude and a second parameter evaluation logic for performing parameter evaluation operations on the arm swing frequency based on the arm swing amplitude threshold and the arm swing frequency threshold respectively.
[0128] In some specific embodiments, the sequence determination module may include:
[0129] a first physical sign information determining unit, configured to determine an arm swing amplitude threshold based on first physical sign information of the target user; the first physical sign information including any one or a combination of arm length information, body fat percentage, blood pressure information, pulse information, and age information;
[0130] a first selection information determining unit, configured to obtain user selection information including a target exercise intensity level through a preset selection interface, and determine an arm swing amplitude threshold corresponding to the target exercise intensity level in the user selection information;
[0131] The first habit information determination unit is used to obtain the first historical habit information of the target user to determine the arm swing amplitude threshold; the first historical habit information includes historical exercise intensity selection habits and / or historical arm swing amplitude habits.
[0132] In some specific embodiments, the sequence determination module may include:
[0133] a second characteristic information determining unit, configured to determine an arm swing frequency threshold based on second physical sign information of the target user; the second physical sign information including any one or a combination of body fat percentage, blood pressure information, pulse information, and age information;
[0134] a second selection information determining unit, configured to obtain user selection information including a target exercise intensity level through a preset selection interface, and determine an arm swing frequency threshold corresponding to the target exercise intensity level in the user selection information;
[0135] The second habit information determination unit is used to obtain the second historical habit information of the target user to determine the arm swing frequency threshold; the second historical habit information includes historical exercise intensity selection habits and / or historical arm swing frequency habits.
[0136] In some specific embodiments, the parameter evaluation order determination module may include:
[0137] a configuration information extraction unit, configured to obtain user configuration information through a preset configuration interface, and extract the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency from the user configuration information;
[0138] A default information extraction unit, configured to extract the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency from the system default information;
[0139] The historical information determination unit is used to determine the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency based on the size relationship between the historical amplitude adjustment prompt times and the historical frequency adjustment prompt times.
[0140] Furthermore, the embodiment of the present application also discloses an electronic device, Figure 8 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram should not be considered as any limitation to the scope of application of the present application.
[0141] Figure 8This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, a sensor 26, and a communication bus 27. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps of the opening and closing state monitoring method disclosed in any of the aforementioned embodiments. Furthermore, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0142] In this embodiment, power supply 23 is used to provide operating voltage for the hardware devices on electronic device 20. Communication interface 24 can establish a data transmission channel between electronic device 20 and external devices. The communication protocol it follows is any communication protocol applicable to the technical solution of this application and is not specifically limited here. Input / output interface 25 is used to obtain external input data or output data to the outside world. The specific interface type can be selected according to specific application needs and is not specifically limited here. Sensor 26 includes but is not limited to an inertial measurement unit, an image sensor, a heart rate sensor, a temperature sensor, etc.
[0143] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or CD, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0144] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222. The operating system 221 can be Windows Server, NetWare, Unix, Linux, etc. In addition to including a computer program capable of implementing the method for monitoring the opening and closing state of the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program capable of performing other specific tasks.
[0145] Furthermore, this application discloses a computer-readable storage medium for storing a computer program; wherein, when executed by a processor, the computer program implements the aforementioned method for monitoring the opening and closing state. The specific steps of this method can be found in the corresponding contents disclosed in the aforementioned embodiments and will not be further described here.
[0146] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from the other embodiments. Reference can be made to the descriptions of the identical or similar parts between the various embodiments. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and the relevant parts can be referred to the descriptions of the methods.
[0147] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may 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.
[0148] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0149] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.
[0150] The above is a detailed introduction to the technical solution provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for those skilled in the art, according to the ideas of the present application, there may be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for monitoring the opening and closing state, characterized in that: include: Collecting several jumping jack state parameters of the target user; the several jumping jack state parameters include arm swing amplitude and arm swing frequency; Obtaining a jumping jack state evaluation rule pre-constructed based on the user information of the target user to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation order and a parameter evaluation logic for each jumping jack state parameter; performing corresponding parameter evaluation operations on each jumping jack state parameter according to the parameter evaluation sequence and the parameter evaluation logic, and determining whether to trigger a jumping jack action adjustment prompt based on the parameter evaluation results; Before obtaining the jumping jack state evaluation rule pre-built based on the user information of the target user, the method further includes: Determine an arm swing amplitude threshold and an arm swing frequency threshold based on the user information of the target user, and determine a parameter evaluation order corresponding to each of the arm swing amplitude and the arm swing frequency; the arm swing amplitude threshold includes a horizontal arm swing amplitude threshold and a vertical arm swing amplitude threshold; construct a first parameter evaluation logic for performing a parameter evaluation operation on the arm swing amplitude and a second parameter evaluation logic for performing a parameter evaluation operation on the arm swing frequency based on the arm swing amplitude threshold and the arm swing frequency threshold, respectively; wherein, the first parameter evaluation logic is for determining whether the arm swing amplitude of the target user is greater than or equal to the arm swing amplitude threshold, and the second parameter evaluation logic is for determining whether the arm swing frequency of the target user is greater than or equal to the arm swing frequency threshold; The determining of the parameter evaluation sequence corresponding to the arm swing amplitude and the arm swing frequency respectively includes: The user configuration information is obtained through a preset configuration interface, and the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is extracted from the user configuration information; or, the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is extracted from the system default information; or, the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is determined based on the size relationship between the historical amplitude adjustment prompt times and the historical frequency adjustment prompt times.
2. The method for monitoring the opening and closing state of a switch according to claim 1, characterized in that: The target user's current jumping jack status parameters are collected, including: Using a wearable device to collect the target user's current arm swing acceleration and arm swing angular velocity; The swing arm amplitude and the swing arm frequency are determined using the swing arm acceleration and the swing arm angular velocity respectively.
3. The method for monitoring the opening and closing state of a switch according to claim 1, characterized in that: The target user's current jumping jack status parameters are collected, including: Using a camera on a preset terminal device to capture a video of the target user currently in a jumping jack state, to obtain a corresponding real-time video frame to be processed; Identify and locate the arm of the target user in the real-time video frame to be processed to obtain a corresponding arm identification and positioning result; Based on the arm recognition and positioning result and the time information corresponding to the real-time video frame to be processed, the arm movement state of the target user is analyzed to obtain the arm swing amplitude and the arm swing frequency.
4. The method for monitoring the opening and closing state of a switch according to claim 1, characterized in that: The determining whether to trigger the jumping jack action adjustment prompt based on the parameter evaluation result includes: If any of the jumping jack state parameters is judged as an unqualified parameter, the corresponding jumping jack action adjustment prompt is triggered through a preset prompt method, and the preset prompt method includes any one or a combination of voice prompt method, screen text prompt method, and vibration prompt method.
5. The method for monitoring the opening and closing state of a switch according to claim 3, characterized in that: The determining whether to trigger the jumping jack action adjustment prompt based on the parameter evaluation result includes: If any of the jumping jack state parameters is judged to be unqualified parameters, creating a target virtual character of a corresponding size based on the outline size information of the target user displayed on the human-computer interaction interface of the preset terminal device; The target virtual character displayed on the human-computer interaction interface is controlled to perform jumping jacks that meet the target evaluation rules, so as to prompt the target user to make corresponding jumping jack movement adjustments with reference to the currently displayed target virtual character.
6. The method for monitoring the opening and closing state of a switch according to claim 1, characterized in that: Also includes: determining a scoring value of the target user's jumping jack action per unit time according to a degree of deviation between each jumping jack state parameter and a corresponding preset state parameter threshold; Drawing a corresponding score value curve graph based on the score values in each unit time during the jumping jack exercise, and averaging the score values in each unit time to obtain a corresponding score average value; The rating value curve graph and / or the rating average value are displayed according to a preset information display method.
7. The method for monitoring the opening and closing state of a switch according to claim 1, characterized in that: Determining an arm swing amplitude threshold based on the user information of the target user includes: determining an arm swing amplitude threshold based on first physical sign information of the target user; wherein the first physical sign information includes any one or a combination of arm length information, body fat percentage, blood pressure information, pulse information, and age information; Alternatively, obtaining user selection information including a target exercise intensity level through a preset selection interface, and determining an arm swing amplitude threshold corresponding to the target exercise intensity level in the user selection information; Alternatively, first historical habit information of the target user is obtained to determine the arm swing amplitude threshold; the first historical habit information includes historical exercise intensity selection habits and / or historical arm swing amplitude habits.
8. The method for monitoring the opening and closing state of a switch according to claim 1, characterized in that: Determining an arm swing frequency threshold based on the user information of the target user includes: determining an arm swing frequency threshold based on second physical sign information of the target user; wherein the second physical sign information includes any one or a combination of body fat percentage, blood pressure information, pulse information, and age information; Alternatively, obtaining user selection information including a target exercise intensity level through a preset selection interface, and determining an arm swing frequency threshold corresponding to the target exercise intensity level in the user selection information; Alternatively, second historical habit information of the target user is obtained to determine the arm swing frequency threshold; the second historical habit information includes historical exercise intensity selection habits and / or historical arm swing frequency habits.
9. A device for monitoring the opening and closing state, characterized in that: include: A parameter collection module is used to collect several jumping jack state parameters of the target user; the several jumping jack state parameters include arm swing amplitude and arm swing frequency; a rule acquisition module, configured to acquire a jumping jack state evaluation rule pre-established based on the user information of the target user, to obtain a target evaluation rule; the target evaluation rule includes a parameter evaluation sequence and a parameter evaluation logic for each jumping jack state parameter; a parameter evaluation module, configured to perform a corresponding parameter evaluation operation on each of the jumping jack state parameters according to the parameter evaluation sequence and the parameter evaluation logic, and determine whether to trigger a jumping jack action adjustment prompt based on the parameter evaluation result; The opening and closing state monitoring device is specifically used for: Determine an arm swing amplitude threshold and an arm swing frequency threshold based on the user information of the target user, and determine a parameter evaluation order corresponding to each of the arm swing amplitude and the arm swing frequency; the arm swing amplitude threshold includes a horizontal arm swing amplitude threshold and a vertical arm swing amplitude threshold; construct a first parameter evaluation logic for performing a parameter evaluation operation on the arm swing amplitude and a second parameter evaluation logic for performing a parameter evaluation operation on the arm swing frequency based on the arm swing amplitude threshold and the arm swing frequency threshold, respectively; wherein, the first parameter evaluation logic is for determining whether the arm swing amplitude of the target user is greater than or equal to the arm swing amplitude threshold, and the second parameter evaluation logic is for determining whether the arm swing frequency of the target user is greater than or equal to the arm swing frequency threshold; The opening and closing state monitoring device is specifically used for: The user configuration information is obtained through a preset configuration interface, and the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is extracted from the user configuration information; or, the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is extracted from the system default information; or, the parameter evaluation order corresponding to the arm swing amplitude and the arm swing frequency is determined based on the size relationship between the historical amplitude adjustment prompt times and the historical frequency adjustment prompt times.
10. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the method for monitoring the opening and closing state according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that Used to store a computer program, which, when executed by a processor, implements the method for monitoring the opening and closing state according to any one of claims 1 to 8.
Citation Information
Patent Citations
Push-up training evaluation method and device, equipment and storage medium
CN112932470A
Method and device based on action recognition
CN112947760A