Video display method and device

By collecting and analyzing action attribute information, determining the motion status and switching videos, the problem of inflexible adjustment of action videos is solved and the adaptability and safety of exercise are improved.

CN118540539APending Publication Date: 2024-08-23BEIJING CALORIE INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310154512.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The adjustment of existing action videos is inflexible, resulting in users being unable to keep up with the exercise progress or not moving in place, which may cause physical injury.

Method used

By collecting the action attribute information and reference action attribute information of the target object, the current motion state is determined, and the preset action sub-video is obtained according to the state, and the preset action sub-video is displayed when the switching instruction is received.

Benefits of technology

It improves the user's range of choices and sense of participation, and adjusts the video according to actual movements to ensure exercise effectiveness and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540539A
    Figure CN118540539A
Patent Text Reader

Abstract

The invention provides a video display method and device. The video display method comprises the following steps: collecting target action attribute information of a target object for a target action sub-video; obtaining reference action attribute information corresponding to the target action sub-video; determining a current motion state corresponding to the target object based on the target action attribute information and the reference action attribute information; acquiring a preset action sub-video corresponding to the target action sub-video according to the current motion state; and under the condition that a sub-video switching instruction is received, displaying the preset action sub-video.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and more particularly to a video display method, a video display device, a computing device, and a computer-readable storage medium. Background Art

[0002] With the continuous development of computer technology, more and more users are completing exercise by following action videos.

[0003] However, current action videos are generally designed for most users. In actual applications, users may not be able to keep up with the exercise progress, or the movements may not be in place, resulting in the exercise not meeting the expected effect. In addition, inadequate movements may even cause harm to the user's body.

[0004] Therefore, how to adjust the action video in time according to the user's actual exercise situation has become a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention

[0005] In view of this, an embodiment of the present application provides a video display method. The present application also relates to a video display device, a computing device, and a computer-readable storage medium to solve the problem of inflexible adjustment of action videos in the prior art.

[0006] According to a first aspect of an embodiment of the present application, a video display method is provided, including:

[0007] Collecting target action attribute information of the target object for the target action sub-video;

[0008] Obtaining reference action attribute information corresponding to the target action sub-video;

[0009] Determine the current motion state corresponding to the target object based on the target motion attribute information and the reference motion attribute information;

[0010] Acquire a preset action sub-video corresponding to the target action sub-video according to the current motion state;

[0011] When a sub-video switching instruction is received, the preset action sub-video is displayed.

[0012] According to a second aspect of an embodiment of the present application, a video display device is provided, including:

[0013] A collection module, configured to collect target action attribute information of a target object for a target action sub-video;

[0014] An information acquisition module, configured to acquire reference action attribute information corresponding to the target action sub-video;

[0015] A determination module, configured to determine a current motion state corresponding to the target object based on the target motion attribute information and the reference motion attribute information;

[0016] A video acquisition module is configured to acquire a preset action sub-video corresponding to the target action sub-video according to the current motion state;

[0017] The display module is configured to display the preset action sub-video when a sub-video switching instruction is received.

[0018] According to a third aspect of an embodiment of the present application, a computing device is provided, comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor implements the steps of the video display method when executing the computer instructions.

[0019] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer instructions, and when the computer instructions are executed by a processor, the steps of the video presentation method are implemented.

[0020] The video display method provided in the present application collects target action attribute information of a target object for a target action sub-video; obtains reference action attribute information corresponding to the target action sub-video; determines a current motion state corresponding to the target object based on the target action attribute information and the reference action attribute information; obtains a preset action sub-video corresponding to the target action sub-video according to the current motion state; and displays the preset action sub-video when a sub-video switching instruction is received.

[0021] An embodiment of the present application realizes the acquisition of target action attribute information and reference action attribute information in order to determine the accurate current motion state of the target object; determines a preset action sub-video according to the current motion state, thereby providing a switchable sub-video for the target object; and displays the preset action sub-video upon receiving a sub-video switching instruction, thereby improving the selection range and sense of participation of the target object, and can adjust the video for display according to the actual action situation. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of a video display method provided by an embodiment of the present application;

[0023] Figure 2 is a processing flow chart of a video display method applied to a yoga action video provided by an embodiment of the present application;

[0024] Figure 3 It is a structural schematic diagram of a video display device provided in one embodiment of the present application;

[0025] Figure 4 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0026] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0027] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to any or all possible combinations of one or more associated listed items.

[0028] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0029] In the present application, a video display method is provided. The present application also relates to a video display device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0030] Figure 1 A flowchart of a video display method provided according to an embodiment of the present application is shown, which specifically includes the following steps:

[0031] Step 102: Collect target action attribute information of the target object for the target action sub-video.

[0032] Among them, the target object refers to an object that can follow the action video to make corresponding actions, for example, the target object is a user who follows a yoga video to practice yoga movements; the target action sub-video refers to one of the action sub-videos in the target action video, for example, if the target action video is a yoga video, then the target action sub-video may be a video in the first action section in the yoga video; the target action sub-video may be directly included in the target action, that is, the target action video directly includes multiple action sub-videos; the target action sub-video may also be multiple action videos obtained by dividing according to different actions included in the target action video; the target action attribute information refers to the attribute information corresponding to the action made by the target object following the target action sub-video.

[0033] Specifically, the target action sub-video currently corresponding to the target object is determined; the action of the target object with respect to the target sub-video is collected to obtain the target action attribute information corresponding to the target action sub-video.

[0034] For example, user A selects a dance video in a fitness software and performs corresponding movements according to the dance video. The dance video contains 5 sub-videos, and each sub-video corresponds to the same or different movements. When the user follows the third sub-video to perform movements, the target movement attribute information of user A is collected.

[0035] In practical applications, the method for collecting target action attribute information of the target object for the target action sub-video may include:

[0036] Collecting an action video of a target object for the target action sub-video;

[0037] The action video is parsed to obtain target action attribute information corresponding to the target object.

[0038] Among them, the action video refers to the action video of the target object collected when the target object performs an action according to the target action sub-video, for example, the video of user A collected by a camera while user A is training with a shoulder and neck exercise video.

[0039] Specifically, when the terminal is equipped with a camera device or there is a camera device connected to the terminal, the camera device captures the action video of the target object for the target action sub-video; after capturing the action video, each video frame in the action video is parsed to determine the target action attribute information corresponding to the target object.

[0040] It should be noted that in addition to the method of obtaining target action attribute information by capturing action videos based on camera equipment, target action attribute information can also be obtained through other devices. For example, action information collected by a wearable device used by the target object during exercise can be used as target action attribute information. Specifically, when user A wears a sports bracelet to exercise, the action attribute information collected is raising the legs 20 times, etc.

[0041] By determining the target action attribute information of the target object for the target action sub-video, it is possible to subsequently determine whether the action of the target object is standard based on the target action attribute information.

[0042] Step 104: Obtain reference action attribute information corresponding to the target action sub-video.

[0043] After obtaining the target action attribute information of the target object for the target action sub-video, in order to determine whether the action of the target object follows the action in the target action sub-video and whether the action is standard, it is necessary to determine the action attribute information corresponding to the target action sub-video, that is, the reference action attribute information.

[0044] The reference action attribute information refers to the action attribute information corresponding to the action contained in the target action sub-video.

[0045] In practical applications, the method for obtaining the reference action attribute information corresponding to the target action sub-video may include:

[0046] Inputting the target action sub-video into an action recognition model, and obtaining reference action attribute information output by the action recognition model; or

[0047] Based on the target action sub-video, reference action attribute information corresponding to the target action sub-video is collected in a preset database.

[0048] Among them, the preset database refers to a database that stores reference action attribute information corresponding to the target action sub-video; after obtaining the target action video, determine the action sub-videos contained in the target action video, parse each action sub-video, obtain the action attribute information corresponding to each action sub-video, and store the action sub-video identifier and the corresponding action attribute information in the preset database. When obtaining the reference action attribute information, query the preset database based on the target action sub-video identifier.

[0049] The action recognition model refers to a model that can identify the action attribute information corresponding to each action contained in the video; after determining the target action sub-video, the target action sub-video can be input into the action recognition model, and the model can output the reference action attribute information.

[0050] By acquiring the reference action attribute information of the target action sub-video, it is possible to subsequently determine whether the action of the target object is consistent with the reference action in the video based on the reference action attribute information and the target action attribute information.

[0051] Step 106: Determine the current motion state corresponding to the target object based on the target motion attribute information and the reference motion attribute information.

[0052] The current motion state refers to the motion state of the target object with respect to the target action sub-video.

[0053] In practical applications, the method for determining the current motion state corresponding to the target object based on the target action attribute information and the reference action attribute information may include:

[0054] Extracting action feature information and action state duration information from the target action attribute information, and extracting reference action feature information and reference action state duration information from the reference action attribute information;

[0055] The current motion state corresponding to the target object is determined according to the motion feature information, the reference motion feature information, the motion state duration information and the reference motion state duration information.

[0056] Among them, action feature information refers to the information contained in the target action attribute information that can determine the target action. For example, based on the action feature information, it can be determined that the action currently performed by the user is a push-up action; action state duration information refers to the information such as the duration or number of times the target action lasts contained in the target action attribute information, such as the time the user does a plank is 30 seconds; reference action feature information refers to the information contained in the reference action attribute information that can determine the reference action; reference action state duration information refers to the information such as the duration or number of times the reference action lasts contained in the reference action attribute information, such as the number of push-ups done by a fitness coach in a fitness video is 10 times.

[0057] Specifically, action feature information and action state duration information are extracted from the target action attribute information; reference action feature information and reference action state duration information are extracted from the reference action attribute information; whether the action performed by the target object is the action in the reference video is determined based on the action feature information and the action state information; further, whether the number or duration of the action performed by the target object is consistent with the number or duration of the action in the reference video is determined based on the action state information and the reference action state information, thereby determining the motion state of the target object.

[0058] Further, the method for determining the current motion state corresponding to the target object according to the motion feature information, the reference motion feature information, the motion state duration information and the reference motion state duration information may include:

[0059] Calculating a similarity value between the action feature information and the reference action feature information;

[0060] In a case where the similarity value is greater than a preset similarity threshold, determining a current motion state corresponding to the target object based on the action state duration information and the reference action state duration information;

[0061] When the similarity value is less than or equal to the preset similarity threshold, it is determined that the current motion state of the target object is the motion state to be adjusted.

[0062] Among them, the similarity value refers to the value of the similarity between the calculated action feature information and the reference feature information; the preset similarity threshold refers to the threshold of the pre-set similarity value; the motion state to be adjusted refers to a state in which the action of the target object is significantly different from the action in the target action sub-video. For example, the action performed by user A is a push-up, and the action played in the target action sub-video followed by user A is a squat. At this time, it is judged that user A is in the motion state to be adjusted.

[0063] Specifically, the action feature information is converted into an action feature vector, and the reference action feature information is converted into a reference action feature vector; the similarity between the action feature vector and the reference action feature vector is calculated to obtain a similarity value; the similarity value is compared with a preset similarity threshold; when the similarity value is greater than the preset similarity threshold, it indicates that the action of the target object is basically consistent with the action in the target action sub-video, and the current motion state of the target object is further determined based on the action state duration information and the reference action state duration information; when the similarity is less than or equal to the preset similarity threshold, it indicates that the action of the target object is greatly different from the action in the target sub-video or is completely inconsistent, so the current motion state of the target object is determined to be the motion state to be adjusted.

[0064] In practical applications, the method for determining the current motion state corresponding to the target object based on the motion state duration information and the reference motion state duration information may include:

[0065] Determine an action score corresponding to the target object based on the action state duration information and the reference action state duration information;

[0066] When the action score is greater than a first score threshold or less than a second score threshold, determining that the current motion state of the target object is a switching state;

[0067] When the action score is less than or equal to the first score threshold and greater than or equal to the second score threshold, it is determined that the current motion state of the target object is a non-switching state.

[0068] Among them, the action score refers to the score calculated based on the action state duration information and the reference action state information. For example, the action state duration information is that the action lasts for 30 seconds, and the reference action duration information is that the action lasts for 60 seconds. Then the action score can be 30 seconds divided by 60 seconds, and the action score is 0.5.

[0069] The first score threshold refers to the maximum value of the preset action score; the second score threshold refers to the minimum value of the preset action score; when the action score is greater than the first score threshold or less than the second score threshold, it means that the time or number of actions performed by the target object exceeds the normal range, and the current motion state of the target object is determined to be a switching state, that is, other videos can be switched for the target object later; when the action score is less than or equal to the first score threshold and greater than or equal to the second score threshold, it means that the time or number of actions performed by the target object is within the normal range, and the motion state of the target object is determined to be a non-switching state.

[0070] Further, when the action score is greater than a first score threshold or less than a second score threshold, the method for determining that the current motion state of the target object is a switching state may include:

[0071] When the action score is greater than a first score threshold, determining that the current motion state of the target object is an advanced motion state;

[0072] When the action score is less than a second score threshold, it is determined that the current motion state of the target object is a degraded motion state.

[0073] Among them, the advanced motion state refers to the state in which the number or duration of the target object's movements is greater than the maximum threshold, and a state in which a higher difficulty or greater intensity movement can be selected; the degraded motion state refers to the state in which the number or duration of the target object's movements is less than the minimum threshold, and a state in which a lower intensity or lower difficulty movement can be selected.

[0074] Specifically, after determining the action score, the action score is compared with the preset first score threshold and second score threshold respectively; when the action score is greater than the first score threshold, the current motion state of the target object is determined to be an advanced motion state. For example, if the action score of user A is 1.2 and is greater than the first score threshold 1.1, then the current motion state of user A is determined to be an advanced motion state; when the action score is less than the second score threshold, the current motion state of the target object is determined to be a degraded motion state. For example, if the action score of user B is 0.5 and is less than the second score threshold 0.6, then the current motion state of user B is determined to be a degraded motion state.

[0075] By determining the current motion state of the target object, different action sub-videos can be recommended for the target object based on different motion states of the target object.

[0076] Step 108: Obtain a preset action sub-video corresponding to the target action sub-video according to the current motion state.

[0077] Among them, the preset action sub-video refers to an action sub-video that is pre-set and related to the target action sub-video, and the preset action sub-video includes advanced action sub-videos and degraded action sub-videos, wherein the degraded action sub-video refers to a sub-video containing simpler actions than the action in the target action sub-video. For example, if the action in the target action sub-video is push-ups, then the preset action sub-video corresponding to the target action sub-video may be kneeling push-ups; the advanced action sub-video refers to a sub-video containing more complex actions than the action in the target action sub-video. For example, if the action in the target action sub-video is push-ups, then the preset action sub-video may be a one-handed push-up action.

[0078] In practical applications, obtaining a preset action sub-video corresponding to the target action sub-video according to the current motion state includes:

[0079] In a case where the current motion state is an advanced motion state, determining an advanced action sub-video corresponding to the target action sub-video according to the advanced motion state;

[0080] In a case where the current motion state is a degraded motion state, a degraded action sub-video corresponding to the target action sub-video is determined according to the degraded motion state.

[0081] For example, if it is determined that the current motion state of user A is an advanced motion state, then the action sub-video currently watched by user A is determined according to the advanced motion state: push-ups, and the corresponding advanced action sub-video is: one-handed push-ups.

[0082] For another example, if it is determined that the current exercise state of user B is a step-down exercise state, then the action sub-video currently watched by user B is determined according to the step-down exercise state: push-ups, and the corresponding step-down action sub-video is: kneeling push-ups.

[0083] The above describes a method for determining a preset action sub-video when the current motion state is a switching state; when the current motion state is a non-switching motion state, there is no need to determine a preset action sub-video.

[0084] Specifically, after obtaining the preset action sub-video corresponding to the target action sub-video according to the current motion state, the method may further include:

[0085] When the current motion state is a switching state, determining playback information corresponding to the target action sub-video;

[0086] intercepting a preset sub-video to be played in the preset action sub-video according to the playback information;

[0087] When playing the target action sub-video, preview and play the preset sub-video to be played.

[0088] Among them, the playback information refers to the playback progress information of the target action sub-video; the preset sub-video refers to the video intercepted in the preset action sub-video according to the playback information; for example, the playback information of the target action sub-video is that the target action has been played for 10 seconds and there are 20 seconds left to be played, then according to the playback information, 20 seconds of video is intercepted in the preset action sub-video as the preset sub-video.

[0089] It should be noted that the preset sub-video is intercepted based on the playback status of the target action sub-video. When the target action sub-video contains timing-type action content, the preset sub-video also contains timing-type action content, and the remaining number of times or duration of the preset sub-video is consistent with the remaining number of times and duration in the target action sub-video. For example, the playback information of action sub-video A is that action a has lasted for 10 seconds and needs to last for 20 seconds, then the intercepted preset sub-video contains action b and lasts for 20 seconds.

[0090] By intercepting the preset sub-video according to the playback information of the target action sub-video, the preset sub-video consistent with the training effect of the target action sub-video can be displayed later.

[0091] Step 110: When a sub-video switching instruction is received, display the preset action sub-video.

[0092] In actual applications, after determining the preset action sub-video, the preset sub-video can be previewed and displayed, for example, the preset action sub-video can be previewed and displayed in the upper right corner or lower right corner of the terminal display page so that the user can determine whether to switch to the preset action sub-video according to needs.

[0093] In addition, when previewing a preset action sub-video, the preview countdown can also be displayed. After the countdown is exceeded, the target object can no longer switch the video.

[0094] Specifically, the preview and display of the preset action sub-video also includes:

[0095] Show preview countdown;

[0096] Correspondingly, when a sub-video switching instruction is received, the preset action sub-video is displayed, including:

[0097] During the preview countdown, a sub-video switching instruction is received from the user;

[0098] In response to the sub-video switching instruction, the target action sub-video is replaced by the preset sub-video to be played.

[0099] Specifically, the preview countdown can be set based on the duration of the target action sub-video. For example, the preview countdown can be set to the 5 seconds before the target action sub-video ends. The preview countdown is set to 10 seconds. If the user does not trigger the video switch within 10 seconds, the preview display ends. After the user watches another 5 seconds of the target action sub-video, the target action sub-video ends.

[0100] It should be noted that the method of triggering the generation of a sub-video switching instruction can be that the user clicks on the preview video displayed by the terminal, or the user makes an action consistent with the switching gesture prompted by the terminal, or the user triggers a button on a wearable device that is connected to the terminal vector, etc. This application does not make specific limitations.

[0101] After the terminal receives the sub-video switching instruction, the target action sub-video can be replaced with the preset action sub-video for display.

[0102] In addition, after receiving the sub-video switching instruction, the preset action sub-video and the target action sub-video can also be displayed on the terminal split screen for user viewing.

[0103] In practical applications, the motion state to be adjusted includes an advanced motion state and a degraded motion state;

[0104] Specifically, when the current motion state corresponding to the target object is the motion state to be adjusted, the method for acquiring the preset action sub-video corresponding to the target action sub-video according to the current motion state may include:

[0105] When the current motion state is the motion state to be adjusted, determining an advanced motion sub-video and a degraded motion sub-video corresponding to the target motion sub-video;

[0106] Correspondingly, when a sub-video switching instruction is received, the preset action sub-video is displayed, including:

[0107] Determine an advanced action sub-video or a degraded action sub-video based on the sub-video identifier in the video switching instruction information;

[0108] The target action sub-video is replaced by the advanced action sub-video or the degraded action sub-video.

[0109] Specifically, the advanced action sub-video and the degraded action sub-video corresponding to the target action sub-video are obtained according to the motion state to be adjusted; when a video switching instruction is received, the sub-video identifier contained in the video switching instruction is determined, and based on the sub-video identifier, the sub-video to be displayed is determined to be an advanced action sub-video or a degraded action sub-video; and the determined advanced action sub-video or degraded action sub-video is displayed to replace the target action sub-video. In addition, the determined advanced action sub-video or degraded action sub-video and the target action sub-video can also be displayed in split screen.

[0110] Furthermore, after determining the advanced action sub-video and the degraded action sub-video corresponding to the target action sub-video, the method may further include:

[0111] Preview and play the advanced action sub-video and the degraded action sub-video.

[0112] For example, the advanced action sub-video may be previewed and displayed in the upper right corner of the terminal display interface, and the degraded action sub-video may be displayed in the upper left corner of the terminal display node.

[0113] In another specific embodiment of the present application, when the current motion state is the motion state to be adjusted, a preset sub-video set corresponding to the target sub-video is determined, and the preset sub-video set is displayed in a list in the terminal display interface. The user can select a preset sub-video in the list, thereby triggering a sub-video switching instruction.

[0114] In practical applications, after the preset sub-video is played, the next action sub-video in the target action video needs to be played. Specifically, the target action sub-video is the action sub-video in the target action video:

[0115] After displaying the preset action sub-video, the following may also be included:

[0116] Determine a sub-video to be displayed in the target action video that is associated with the target action sub-video;

[0117] When the preset action sub-video is played, the sub-video to be displayed is displayed.

[0118] Among them, the sub-video to be displayed refers to the action sub-video associated with the target action sub-video in the target action video. For example, the target action video contains the first sub-video, the second sub-video and the third sub-video, and they are played in sequence. The preset action sub-video replaces the second sub-video in the target action video for display. After the preset action sub-video is played, it is replaced by the third sub-video to continue playing.

[0119] By displaying the to-be-displayed sub-video associated with the target action sub-video after the preset action sub-video is played, the playback integrity of the target action video is ensured and the display effect of the video is improved.

[0120] The video display method of the present application collects target action attribute information of a target object for a target action sub-video; obtains reference action attribute information corresponding to the target action sub-video; determines a current motion state corresponding to the target object based on the target action attribute information and the reference action attribute information; obtains a preset action sub-video corresponding to the target action sub-video according to the current motion state; and displays the preset action sub-video when a sub-video switching instruction is received.

[0121] By obtaining target action attribute information and reference action attribute information, the accurate current motion state of the target object can be determined; the preset action sub-video is determined according to the current motion state, thereby providing a switchable sub-video for the target object; when a sub-video switching instruction is received, the preset action sub-video is displayed, thereby improving the target object's selection range and sense of participation, and the video can be adjusted for display according to the actual action situation.

[0122] The following combination Figure 2 , taking the application of the video display method provided by this application in yoga action videos as an example, the video display method is further explained. Among them, Figure 2 A processing flow chart of a video display method for yoga action videos provided in an embodiment of the present application is shown, which specifically includes the following steps:

[0123] Step 202: Collect the action video of user A for the second sub-video in the yoga action video.

[0124] Specifically, the yoga action video includes a first sub-video, a second sub-video and a third sub-video, and the yoga action video is played in the order of the first sub-video, the second sub-video and the third sub-video. When user A exercises with respect to the second sub-video, the action video of user A performing the action is collected in real time using the camera configured by the terminal.

[0125] Step 204: Analyze the action video to obtain the target action attribute information corresponding to user A.

[0126] Specifically, the action in each video frame of the action video is parsed to obtain the target action attribute information corresponding to user A.

[0127] Step 206: According to the second sub-video, reference action attribute information corresponding to the second sub-video is collected from a preset database.

[0128] Step 208: Extract action feature information and action state duration information from the target action attribute information.

[0129] Step 210: Extract reference action feature information and reference action state duration information from the reference action attribute information.

[0130] Step 212: Determine the current motion state of user A based on the motion feature information, the motion state duration information, the reference motion attribute information and the reference motion state duration information.

[0131] Specifically, the similarity value of the action feature information and the reference action feature information is calculated; when the similarity value is greater than a preset similarity threshold, the action score corresponding to the target object is determined based on the action state duration information and the reference action state duration information. When the action score is greater than a first score threshold or less than a second score threshold, the current motion state of the target object is determined to be a switching state; further, when the action score is greater than the first score threshold, the current motion state of the target object is determined to be an advanced motion state; when the action score is less than the second score threshold, the current motion state of the target object is determined to be a degraded motion state.

[0132] When the action score is less than or equal to the first score threshold and greater than or equal to the second score threshold, it is determined that the current motion state of the target object is a non-switching state.

[0133] When the similarity value is less than or equal to the preset similarity threshold, it is determined that the current motion state of the target object is the motion state to be adjusted.

[0134] In this embodiment, it is determined that the current motion state of user A is a degraded motion state.

[0135] Step 214: Based on the current motion state of user A, a preset action sub-video corresponding to the second sub-video is obtained.

[0136] Specifically, when the current motion state is an advanced motion state, the advanced action sub-video corresponding to the second sub-video is determined according to the advanced motion state; when the current motion state is a degraded motion state, the degraded action sub-video corresponding to the second sub-video is determined according to the degraded motion state.

[0137] In this embodiment, it is determined that the preset action sub-video of user A is a degraded action sub-video.

[0138] When the current motion state is the switching state, the playback information corresponding to the second sub-video is determined and the preset sub-video to be played is intercepted from the step-back action sub-video according to the playback information; when the second sub-video is played, the preset sub-video to be played is previewed.

[0139] Step 216: When a sub-video switching instruction is received, display the preset sub-video to be played.

[0140] Step 218: Determine the sub-video to be displayed in the yoga action video that is associated with the second action sub-video.

[0141] Specifically, it is determined that the sub-video to be displayed is the third sub-video.

[0142] Step 220: When the preset action sub-video is played, display the sub-video to be displayed.

[0143] Specifically, the third sub-video in the yoga action video is played.

[0144] The video display method of the present application collects target action attribute information of a target object for a target action sub-video; obtains reference action attribute information corresponding to the target action sub-video; determines a current motion state corresponding to the target object based on the target action attribute information and the reference action attribute information; obtains a preset action sub-video corresponding to the target action sub-video according to the current motion state; and displays the preset action sub-video when a sub-video switching instruction is received.

[0145] By obtaining target action attribute information and reference action attribute information, the accurate current motion state of the target object can be determined; the preset action sub-video is determined according to the current motion state, thereby providing a switchable sub-video for the target object; when a sub-video switching instruction is received, the preset action sub-video is displayed, thereby improving the target object's selection range and sense of participation, and the video can be adjusted for display according to the actual action situation.

[0146] Corresponding to the above method embodiment, the present application also provides a video display device embodiment, Figure 3 FIG. 1 is a schematic diagram showing the structure of a video display device provided by an embodiment of the present application. Figure 3 As shown, the device comprises:

[0147] The acquisition module 302 is configured to acquire target action attribute information of the target object for the target action sub-video;

[0148] The information acquisition module 304 is configured to acquire reference action attribute information corresponding to the target action sub-video;

[0149] A determination module 306 is configured to determine a current motion state corresponding to the target object based on the target motion attribute information and the reference motion attribute information;

[0150] The video acquisition module 308 is configured to acquire a preset action sub-video corresponding to the target action sub-video according to the current motion state;

[0151] The display module 310 is configured to display the preset action sub-video when a sub-video switching instruction is received.

[0152] Optionally, the target action sub-video is an action sub-video in a target action video; and the device further includes a display sub-module configured to:

[0153] Determine a sub-video to be displayed in the target action video that is associated with the target action sub-video;

[0154] When the preset action sub-video is played, the sub-video to be displayed is displayed.

[0155] Optionally, the acquisition module 302 is further configured to:

[0156] Collecting an action video of a target object for the target action sub-video;

[0157] The action video is parsed to obtain target action attribute information corresponding to the target object.

[0158] Optionally, the information acquisition module 304 is further configured to:

[0159] Inputting the target action sub-video into an action recognition model, and obtaining reference action attribute information output by the action recognition model; or

[0160] Based on the target action sub-video, reference action attribute information corresponding to the target action sub-video is collected in a preset database.

[0161] Optionally, the determining module 306 is further configured to:

[0162] Extracting action feature information and action state duration information from the target action attribute information, and extracting reference action feature information and reference action state duration information from the reference action attribute information;

[0163] The current motion state corresponding to the target object is determined according to the motion feature information, the reference motion feature information, the motion state duration information and the reference motion state duration information.

[0164] Optionally, the determining module 306 is further configured to:

[0165] Calculating a similarity value between the action feature information and the reference action feature information;

[0166] In a case where the similarity value is greater than a preset similarity threshold, determining a current motion state corresponding to the target object based on the action state duration information and the reference action state duration information;

[0167] When the similarity value is less than or equal to the preset similarity threshold, it is determined that the current motion state of the target object is the motion state to be adjusted.

[0168] Optionally, the determining module 306 is further configured to:

[0169] Determine an action score corresponding to the target object based on the action state duration information and the reference action state duration information;

[0170] When the action score is greater than a first score threshold or less than a second score threshold, determining that the current motion state of the target object is a switching state;

[0171] When the action score is less than or equal to the first score threshold and greater than or equal to the second score threshold, it is determined that the current motion state of the target object is a non-switching state.

[0172] Optionally, the determining module 306 is further configured to:

[0173] When the action score is greater than a first score threshold, determining that the current motion state of the target object is an advanced motion state;

[0174] When the action score is less than a second score threshold, it is determined that the current motion state of the target object is a degraded motion state.

[0175] Optionally, the video acquisition module 308 is further configured to:

[0176] In a case where the current motion state is an advanced motion state, determining an advanced action sub-video corresponding to the target action sub-video according to the advanced motion state;

[0177] In a case where the current motion state is a degraded motion state, a degraded action sub-video corresponding to the target action sub-video is determined according to the degraded motion state.

[0178] Optionally, the device further includes a preview submodule configured to:

[0179] When the current motion state is a switching state, determining playback information corresponding to the target action sub-video;

[0180] intercepting a preset sub-video to be played in the preset action sub-video according to the playback information;

[0181] When playing the target action sub-video, preview and play the preset sub-video to be played.

[0182] Optionally, the device further includes a countdown submodule configured to:

[0183] Display preview countdown;

[0184] Correspondingly, when a sub-video switching instruction is received, the preset action sub-video is displayed, including:

[0185] During the preview countdown, a sub-video switching instruction is received from the user;

[0186] In response to the sub-video switching instruction, the target action sub-video is replaced by the preset sub-video to be played.

[0187] Optionally, the motion state to be adjusted includes an advanced motion state and a degraded motion state; the video acquisition module 308 is further configured to:

[0188] Acquiring a preset action sub-video corresponding to the target action sub-video according to the current motion state includes:

[0189] When the current motion state is the motion state to be adjusted, determining an advanced motion sub-video and a degraded motion sub-video corresponding to the target motion sub-video;

[0190] Correspondingly, when a sub-video switching instruction is received, the preset action sub-video is displayed, including:

[0191] Determine an advanced action sub-video or a degraded action sub-video based on the sub-video identifier in the video switching instruction information;

[0192] The target action sub-video is replaced by the advanced action sub-video or the degraded action sub-video.

[0193] Optionally, the device further includes a sub-video preview module configured to:

[0194] Preview and play the advanced action sub-video and the degraded action sub-video.

[0195] The video display device provided in the present application collects target action attribute information of a target object for a target action sub-video; obtains reference action attribute information corresponding to the target action sub-video; determines a current motion state corresponding to the target object based on the target action attribute information and the reference action attribute information; obtains a preset action sub-video corresponding to the target action sub-video according to the current motion state; and displays the preset action sub-video when a sub-video switching instruction is received.

[0196] By obtaining target action attribute information and reference action attribute information, the accurate current motion state of the target object can be determined; the preset action sub-video is determined according to the current motion state, thereby providing a switchable sub-video for the target object; when a sub-video switching instruction is received, the preset action sub-video is displayed, thereby improving the target object's selection range and sense of participation, and the video can be adjusted for display according to the actual action situation.

[0197] The above is a schematic scheme of a video display device of this embodiment. It should be noted that the technical scheme of the video display device and the technical scheme of the above video display method belong to the same concept, and the details not described in detail in the technical scheme of the video display device can be referred to the description of the technical scheme of the above video display method.

[0198] Figure 4 The block diagram of a computing device 400 according to an embodiment of the present application is shown. The components of the computing device 400 include but are not limited to a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and the database 450 is used to store data.

[0199] The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of network interface (e.g., a network interface card (NIC)) wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0200] In one embodiment of the present application, the above components of the computing device 400 and Figure 4 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 4 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.

[0201] Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.

[0202] Among them, when the processor 420 executes the computer instructions, the steps of the video display method are implemented.

[0203] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above video display method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above video display method.

[0204] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the steps of the video display method as described above.

[0205] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above video display method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above video display method.

[0206] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0207] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0208] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0209] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0210] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.

Claims

1. A video display method, characterized in that: include: Collecting target action attribute information of the target object for the target action sub-video; Obtaining reference action attribute information corresponding to the target action sub-video; Determine the current motion state corresponding to the target object based on the target motion attribute information and the reference motion attribute information; Acquire a preset action sub-video corresponding to the target action sub-video according to the current motion state; When a sub-video switching instruction is received, the preset action sub-video is displayed.

2. The method according to claim 1, characterized in that The target action sub-video is an action sub-video in the target action video; After displaying the preset action sub-video, the method further includes: Determine a sub-video to be displayed in the target action video that is associated with the target action sub-video; When the preset action sub-video is played, the sub-video to be displayed is displayed.

3. The method according to claim 1, characterized in that Collecting target action attribute information of the target object for the target action sub-video, including: Collecting an action video of a target object for the target action sub-video; The action video is parsed to obtain target action attribute information corresponding to the target object.

4. The method according to claim 1, characterized in that Obtaining reference action attribute information corresponding to the target action sub-video includes: Inputting the target action sub-video into an action recognition model, and obtaining reference action attribute information output by the action recognition model; or Based on the target action sub-video, reference action attribute information corresponding to the target action sub-video is collected in a preset database.

5. The method according to claim 1, characterized in that Determining a current motion state corresponding to the target object based on the target motion attribute information and the reference motion attribute information includes: Extracting action feature information and action state duration information from the target action attribute information, and extracting reference action feature information and reference action state duration information from the reference action attribute information; The current motion state corresponding to the target object is determined according to the motion feature information, the reference motion feature information, the motion state duration information and the reference motion state duration information.

6. The method according to claim 5, characterized in that Determining the current motion state corresponding to the target object according to the motion feature information, the reference motion feature information, the motion state duration information, and the reference motion state duration information includes: Calculating a similarity value between the action feature information and the reference action feature information; In a case where the similarity value is greater than a preset similarity threshold, determining a current motion state corresponding to the target object based on the action state duration information and the reference action state duration information; When the similarity value is less than or equal to the preset similarity threshold, it is determined that the current motion state of the target object is the motion state to be adjusted.

7. The method according to claim 6, characterized in that Determining a current motion state corresponding to the target object based on the motion state duration information and the reference motion state duration information includes: Determine an action score corresponding to the target object based on the action state duration information and the reference action state duration information; When the action score is greater than a first score threshold or less than a second score threshold, determining that the current motion state of the target object is a switching state; When the action score is less than or equal to the first score threshold and greater than or equal to the second score threshold, it is determined that the current motion state of the target object is a non-switching state.

8. The method according to claim 7, characterized in that When the action score is greater than a first score threshold or less than a second score threshold, determining that the current motion state of the target object is a switching state includes: When the action score is greater than a first score threshold, determining that the current motion state of the target object is an advanced motion state; When the action score is less than a second score threshold, it is determined that the current motion state of the target object is a degraded motion state.

9. The method according to claim 8, characterized in that Acquiring a preset action sub-video corresponding to the target action sub-video according to the current motion state includes: In a case where the current motion state is an advanced motion state, determining an advanced action sub-video corresponding to the target action sub-video according to the advanced motion state; In a case where the current motion state is a degraded motion state, a degraded action sub-video corresponding to the target action sub-video is determined according to the degraded motion state.

10. The method according to claim 1, characterized in that After obtaining the preset action sub-video corresponding to the target action sub-video according to the current motion state, the method further includes: When the current motion state is a switching state, determining playback information corresponding to the target action sub-video; intercepting a preset sub-video to be played in the preset action sub-video according to the playback information; When playing the target action sub-video, preview and play the preset sub-video to be played.

11. The method according to claim 10, characterized in that The method further comprises: Show preview countdown; Correspondingly, when a sub-video switching instruction is received, the preset action sub-video is displayed, including: During the preview countdown, a sub-video switching instruction is received from the user; In response to the sub-video switching instruction, the target action sub-video is replaced by the preset sub-video to be played.

12. The method according to claim 6, characterized in that The motion state to be adjusted includes an advanced motion state and a degraded motion state; Acquiring a preset action sub-video corresponding to the target action sub-video according to the current motion state includes: When the current motion state is the motion state to be adjusted, determining an advanced motion sub-video and a degraded motion sub-video corresponding to the target motion sub-video; Correspondingly, when a sub-video switching instruction is received, the preset action sub-video is displayed, including: Determine an advanced action sub-video or a degraded action sub-video based on the sub-video identifier in the video switching instruction information; The target action sub-video is replaced by the advanced action sub-video or the degraded action sub-video.

13. The method according to claim 12, characterized in that After determining the advanced action sub-video and the degraded action sub-video corresponding to the target action sub-video, the method further includes: Preview and play the advanced action sub-video and the degraded action sub-video.

14. A video display device, characterized in that: include: A collection module is configured to collect target action attribute information of a target object for a target action sub-video; An information acquisition module, configured to acquire reference action attribute information corresponding to the target action sub-video; A determination module, configured to determine a current motion state corresponding to the target object based on the target motion attribute information and the reference motion attribute information; A video acquisition module is configured to acquire a preset action sub-video corresponding to the target action sub-video according to the current motion state; The display module is configured to display the preset action sub-video when a sub-video switching instruction is received.

15. A computing device comprising a memory, a processor, and computer instructions stored in the memory and executable on the processor, characterized in that: When the processor executes the computer instructions, the steps of the method according to any one of claims 1 to 13 are implemented.

16. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method described in any one of claims 1 to 13 are implemented.