[go: up one dir, main page]

CN116020104A - Method for assisting body building and related device - Google Patents

Method for assisting body building and related device Download PDF

Info

Publication number
CN116020104A
CN116020104A CN202211691286.3A CN202211691286A CN116020104A CN 116020104 A CN116020104 A CN 116020104A CN 202211691286 A CN202211691286 A CN 202211691286A CN 116020104 A CN116020104 A CN 116020104A
Authority
CN
China
Prior art keywords
segment
user
preset
action
motion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211691286.3A
Other languages
Chinese (zh)
Inventor
王波
刘浩
张宏运
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Calorie Information Technology Co ltd
Original Assignee
Beijing Calorie Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Calorie Information Technology Co ltd filed Critical Beijing Calorie Information Technology Co ltd
Priority to CN202211691286.3A priority Critical patent/CN116020104A/en
Publication of CN116020104A publication Critical patent/CN116020104A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

本发明公开了一种辅助健身的方法及相关装置。该辅助健身的方法应用于具有显示屏的电子设备,所述电子设备显示的视频包括第一运动片段,所述方法包括:获取用户对第一运动片段所配置动作的完成信息;根据完成信息从第一运动片段的多个继承片段中选择一个作为视频中第一运动片段显示后的待显示内容。本发明能够提高健身的趣味性,从而降低用户因枯燥乏味而放弃健身的可能性。

Figure 202211691286

The invention discloses a method for assisting body building and a related device. The method for assisting fitness is applied to an electronic device with a display screen, and the video displayed by the electronic device includes a first motion segment, and the method includes: acquiring the completion information of the action configured by the user for the first motion segment; One of the multiple inherited segments of the first motion segment is selected as the content to be displayed after the first motion segment in the video is displayed. The invention can improve the fun of body-building, thereby reducing the possibility of users giving up body-building due to boredom.

Figure 202211691286

Description

一种辅助健身的方法及相关装置A method and related device for assisting fitness

技术领域technical field

本发明涉及健身技术领域,特别涉及一种辅助健身的方法及相关装置。The invention relates to the technical field of fitness, in particular to a method for assisting fitness and a related device.

背景技术Background technique

健身作为一项增强人体质的活动,已成为当今人们生活中不可或缺的一部分。在家健身成为健身这一活动的重要组成部分。相较于健身房,在家健身缺乏教练的督促以及伙伴的陪同,因而运动氛围较弱。对于在家健身,意志不坚定的用户很容易三分钟热度,无法长期坚持下去。Fitness, as an activity to strengthen one's physical fitness, has become an indispensable part of people's lives today. Working out at home has become an important part of the activity of fitness. Compared with the gym, home fitness lacks the supervision of coaches and the company of partners, so the exercise atmosphere is weaker. For home fitness, users who are not determined can easily become popular for three minutes and cannot persist for a long time.

发明内容Contents of the invention

鉴于上述问题,本发明提供了一种辅助健身的方法及相关装置,旨在提高健身的趣味性,从而降低用户因枯燥乏味而放弃健身的可能性。In view of the above-mentioned problems, the present invention provides a fitness-assisting method and a related device, aiming to improve the interest of fitness, thereby reducing the possibility of users giving up fitness due to boredom.

根据本发明的一方面,提供一种辅助健身的方法,应用于具有显示屏的电子设备,所述电子设备显示的视频包括第一运动片段,所述方法包括:According to one aspect of the present invention, there is provided a method for assisting fitness, which is applied to an electronic device with a display screen, the video displayed by the electronic device includes a first motion segment, and the method includes:

获取用户对所述第一运动片段所配置动作的完成信息;Acquiring the completion information of the action configured by the user for the first motion segment;

根据所述完成信息从所述第一运动片段的多个继承片段中选择一个作为所述视频中所述第一运动片段显示后的待显示内容。Selecting one of the multiple inherited segments of the first motion segment according to the completion information as the content to be displayed after the first motion segment in the video is displayed.

可选地,所述完成信息用于指示用户对所述第一运动片段所配置动作的完成程度为两预设程度中的一个,一个所述预设程度关联一个所述继承片段;Optionally, the completion information is used to indicate that the degree of completion of the action configured by the user for the first motion segment is one of two preset degrees, and one of the preset degrees is associated with one of the inherited segments;

根据所述完成信息从所述第一运动片段的多个继承片段中选择一个作为所述视频中所述第一运动片段显示后的待显示内容,包括:将所述完成信息所指示预设程度关联的继承片段确定为所述视频中所述第一运动片段显示后的待显示内容。Selecting one of the multiple inherited segments of the first motion segment according to the completion information as the content to be displayed after the first motion segment in the video is displayed includes: setting a preset degree indicated by the completion information The associated inherited segment is determined as the content to be displayed after the first motion segment in the video is displayed.

可选地,所述第一运动片段为剧情片的一个片段;Optionally, the first motion segment is a segment of a feature film;

所述继承片段亦为剧情片的一个片段,且在剧情上承接所述第一运动片段;The inheritance segment is also a segment of the feature film, and inherits the first motion segment in plot;

以及,两所述预设程度关联有两所述继承片段,两所述继承片段的剧情不相同。And, there are two inheritance segments associated with the two preset levels, and the plots of the two inheritance segments are different.

可选地,两所述预设程度包括第一预设程度和第二预设程度,所述第一预设程度为用户完成所述第一运动片段所配置动作,所述第二预设程度为用户未完成所述第一运动片段所配置动作;Optionally, the two preset levels include a first preset level and a second preset level, the first preset level is for the user to complete the action configured for the first motion segment, and the second preset level The user has not completed the action configured for the first motion segment;

所述方法还包括:获取用户的兴趣信息,根据所述兴趣信息将两所述继承片段中用户较感兴趣的一个关联到所述第一预设程度。The method further includes: acquiring interest information of the user, and associating the one of the two inherited segments that the user is more interested in with the first preset degree according to the interest information.

可选地,所述第一运动片段为训练课程的一个片段;Optionally, the first exercise segment is a segment of a training session;

所述继承片段亦为训练课程的一个片段;The inheritance fragment is also a fragment of the training course;

以及,两所述预设程度关联有两所述继承片段,两所述继承片段的训练内容不相同。And, there are two inheritance segments associated with the two preset levels, and the training contents of the two inheritance segments are different.

可选地,两所述预设程度包括第一预设程度和第二预设程度,所述第一预设程度为用户完成所述第一运动片段所配置动作,所述第二预设程度为用户未完成所述第一运动片段所配置动作;Optionally, the two preset levels include a first preset level and a second preset level, the first preset level is for the user to complete the action configured for the first motion segment, and the second preset level The user has not completed the action configured for the first motion segment;

所述第一预设程度关联的继承片段,其训练内容的活动消耗量少于所述第二预设程度关联的继承片段。The inherited segments associated with the first preset degree have less activity consumption of training content than the inherited segments associated with the second preset degree.

可选地,所述第一预设程度关联的继承片段为目标片段;Optionally, the inheritance segment associated with the first preset degree is a target segment;

所述第二预设程度关联的继承片段由训练调节片段和所述目标片段合成;The inheritance segment associated with the second preset degree is synthesized from the training adjustment segment and the target segment;

其中,所述目标片段为所述第一运动片段所在训练课程中的、与所述第一运动片段相邻且位于所述第一运动片段之后的片段。Wherein, the target segment is a segment adjacent to the first exercise segment and located after the first exercise segment in the training course where the first exercise segment is located.

可选地,所述训练调节片段训练的身体部位与所述目标片段训练的身体部位不同。Optionally, the body part trained by the training adjustment segment is different from the body part trained by the target segment.

可选地,获取用户对所述第一运动片段所配置动作的完成信息,包括:Optionally, acquiring the completion information of the action configured by the user for the first motion segment includes:

获取用户在所述第一运动片段显示时段内不同时刻的运动数据,得到多个运动数据;Acquiring the user's exercise data at different times within the display period of the first exercise segment to obtain a plurality of exercise data;

确定所述多个运动数据中目标数据的占比,所述目标数据为表示用户动作达标的运动数据;Determining the proportion of target data in the plurality of motion data, the target data is motion data indicating that the user's actions are up to standard;

根据所述占比和预设比值的大小关系确定所述完成信息。The completion information is determined according to a size relationship between the ratio and a preset ratio.

可选地,所述多个运动数据中的各个运动数据皆是实时获取的,所述方法还包括:在获取到一个运动数据时,显示当前时刻的统计信息,所述统计信息指示截止当前时刻用户动作的完成情况。Optionally, each exercise data in the plurality of exercise data is acquired in real time, and the method further includes: when one piece of exercise data is acquired, displaying statistical information at the current moment, the statistical information indicating that as of the current moment The completion of the user action.

可选地,所述统计信息为以下任意一种:Optionally, the statistical information is any of the following:

截止当前时刻获取到的所述目标数据的数量;The quantity of the target data acquired as of the current moment;

当前比值,其中,所述当前比值为截止当前时刻获取到的所述目标数据的数量与预设数目的比值,所述预设数目为预设的所述多个运动数据的总数;The current ratio, wherein the current ratio is the ratio of the quantity of the target data acquired as of the current moment to a preset number, and the preset number is the total number of the plurality of preset motion data;

当前比值与所述预设比值的比值信息。Ratio information between the current ratio and the preset ratio.

可选地,所述第一运动片段通过片段内容中指示动作种类或显示动作图像来实现对动作的配置。Optionally, the first motion segment configures the action by indicating the type of action or displaying an action image in the content of the segment.

可选地,所述电子设备显示的视频还包括第二运动片段,所述第二运动片段亦为剧情片的一个片段且片段内容包括多个关联信息,所述关联信息为继承片段和控制动作之间关联的信息;Optionally, the video displayed by the electronic device further includes a second motion segment, the second motion segment is also a segment of a feature film, and the content of the segment includes a plurality of associated information, the associated information being the inherited segment and the control action information related to each other;

所述方法还包括:在所述第二运动片段显示后识别用户基于多个所述关联信息做的控制动作,并将识别出的控制动作关联的继承片段作为所述视频中所述第二运动片段显示后的待显示内容。The method further includes: after the second motion segment is displayed, identifying a control action performed by the user based on a plurality of associated information, and using the inherited segment associated with the identified control action as the second motion in the video The content to be displayed after the fragment is displayed.

可选地,识别用户基于多个所述关联信息做的控制动作,包括:Optionally, identifying a control action performed by the user based on a plurality of associated information includes:

判断步骤,判断用户做的动作是否为一个控制动作中的预设动作;Judging step, judging whether the action performed by the user is a preset action in a control action;

监测步骤,在用户做的动作为一个控制动作中的预设动作的情况下,监测用户所做动作的持续时长;The monitoring step is to monitor the duration of the action performed by the user under the condition that the action performed by the user is a preset action in a control action;

以及,确定步骤,在用户所做动作的持续时长达到该控制动作的预设时长时,确定用户做了该控制动作。And, the determining step is to determine that the user has performed the control action when the duration of the action performed by the user reaches the preset duration of the control action.

可选地,识别用户基于多个所述关联信息做的控制动作,还包括:在用户所做动作的持续时长未达到该控制动作的预设时长时,若监测到用户做的动作不再是该控制动作中的预设动作,则返回所述判断步骤。Optionally, identifying the control actions performed by the user based on multiple pieces of associated information further includes: when the duration of the actions performed by the user does not reach the preset duration of the control action, if it is detected that the actions performed by the user are no longer For the preset action in the control action, return to the judging step.

可选地,所述方法还包括:在所述监测步骤执行时,显示当前时刻的时长信息,所述时长信息指示截止当前时刻用户所做动作持的续时长与该控制动作预设时长之间的差距。Optionally, the method further includes: when the monitoring step is executed, displaying duration information at the current moment, the duration information indicating the interval between the duration of the action performed by the user at the current moment and the preset duration of the control action. difference.

根据本发明的二方面,提供一种电子设备,包括:According to two aspects of the present invention, an electronic device is provided, comprising:

存储器,用于存储计算机可执行代码;memory for storing computer executable code;

处理器,用于执行所述计算机可执行代码,以实现第一方面所述的任一种方法;A processor configured to execute the computer-executable code to implement any one of the methods described in the first aspect;

显示屏,用于显示所述视频。a display screen for displaying the video.

根据本发明的三方面,提供一种辅助健身的系统,包括:权利第一方面所述的电子设备和与所述电子设备通信连接的可穿戴设备,其中,所述可穿戴设备用于采集用户在所述第一运动片段显示时段内不同时刻的运动数据,并将采集到的运动数据发送到所述电子设备以便所述电子设备获取所述完成信息。According to three aspects of the present invention, a system for assisting fitness is provided, including: the electronic device described in the first aspect of the right and a wearable device communicatively connected with the electronic device, wherein the wearable device is used to collect user The exercise data at different times within the first exercise segment is displayed, and the collected exercise data is sent to the electronic device so that the electronic device acquires the completion information.

可选地,所述可穿戴设备内设置有加速度计,所述加速度计用于采集用户产生的加速度数据,所述加速度数据即为所述运动数据。Optionally, the wearable device is provided with an accelerometer, and the accelerometer is used to collect acceleration data generated by the user, and the acceleration data is the motion data.

根据本发明的四方面,提供一种计算机可读介质,包括计算机可执行代码,所述计算机可执行代码被处理器执行时实现第一方面所述的任一种方法。According to four aspects of the present invention, a computer-readable medium is provided, including computer-executable codes, and when the computer-executable codes are executed by a processor, any method described in the first aspect is implemented.

本发明提供的辅助健身的方法,根据用户对第一运动片段所配置动作的完成信息,从第一运动片段的多个继承片段中选择一个作为视频中第一运动片段显示后的待显示内容。因而,用户的运动和视频有机结合起来,用户进行的是有互动的锻炼,从而提高了健身的趣味性,降低了用户因枯燥乏味而放弃健身的可能性。The body-building assistance method provided by the present invention selects one of the multiple inherited segments of the first motion segment as the content to be displayed after the first motion segment is displayed in the video according to the completion information of the user's configured actions for the first motion segment. Therefore, the user's exercise is organically combined with the video, and the user performs an interactive exercise, thereby improving the fun of fitness and reducing the possibility of the user giving up fitness due to boredom.

附图说明Description of drawings

通过以下参照附图对本发明实施例的描述,本发明的上述以及其他目的、特征和优点将更为清楚,在附图中:Through the following description of the embodiments of the present invention with reference to the accompanying drawings, the above-mentioned and other objects, features and advantages of the present invention will be more clear, in the accompanying drawings:

图1示出了根据本发明实施例的一种辅助健身的系统;Fig. 1 shows a system for assisting fitness according to an embodiment of the present invention;

图2示出了根据本发明实施例的一种可穿戴设备;Figure 2 shows a wearable device according to an embodiment of the present invention;

图3示出了根据本发明实施例的一种辅助健身方法的流程图;Fig. 3 shows a flow chart of a method for assisting fitness according to an embodiment of the present invention;

图4示出了根据本发明实施例的第一运动片段和相继播放片段的关系示意图;Fig. 4 shows a schematic diagram of the relationship between the first motion segment and successive playback segments according to an embodiment of the present invention;

图5示出了根据本发明实施例的获取用户对第一运动片段所配置动作的完成信息的流程图;Fig. 5 shows a flow chart of obtaining the completion information of the action configured by the user for the first motion segment according to an embodiment of the present invention;

图6示出了根据本发明实施例的一个示例性的第二运动片段的显示画面;Fig. 6 shows a display screen of an exemplary second motion segment according to an embodiment of the present invention;

图7示出了根据本发明实施例的识别用户基于多个关联信息做的控制动作的方法流程图;FIG. 7 shows a flow chart of a method for identifying a control action performed by a user based on multiple associated information according to an embodiment of the present invention;

图8示出了一个示例性的用于辅助健身的视频的播放进度示意图。Fig. 8 shows a schematic diagram of an exemplary playing progress of a video for fitness assistance.

具体实施方式Detailed ways

以下将参照附图更详细地描述本发明的各种实施例。在各个附图中,相同的元件采用相同或类似的附图标记来表示。为了清楚起见,附图中的各个部分没有按比例绘制。此外,在图中可能未示出某些公知的部分。Various embodiments of the invention will be described in more detail below with reference to the accompanying drawings. In the various drawings, the same elements are denoted by the same or similar reference numerals. For the sake of clarity, various parts in the drawings have not been drawn to scale. Also, some well-known parts may not be shown in the drawings.

下面结合附图和实施例,对本发明的具体实施方式作进一步详细描述。在下文中描述了本发明的许多特定的细节,例如部件的结构、材料、尺寸、处理工艺和技术,以便更清楚地理解本发明。但正如本领域的技术人员能够理解的那样,可以不按照这些特定的细节来实现本发明。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. In the following, many specific details of the present invention, such as structures, materials, dimensions, processes and techniques of components, are described for a clearer understanding of the present invention. However, the invention may be practiced without these specific details, as will be understood by those skilled in the art.

图1所示为一种辅助健身的系统。参照图1,该辅助健身的系统100包括电子设备110和与电子设备110通信连接的可穿戴设备120。Figure 1 shows a system for assisting fitness. Referring to FIG. 1 , the fitness assistance system 100 includes an electronic device 110 and a wearable device 120 communicatively connected with the electronic device 110 .

电子设备110包括存储器111、处理器112和显示屏113,其中,存储器111用于存储计算机可执行代码;处理器112用于执行计算机可执行代码,以实现本发明实施例所提供的辅助健身的方法;显示屏113,用于显示辅助健身所用到的视频。示例性地,电子设备110为手机、平板电脑或笔记本电脑。当然,电子设备110也可以为集成有存储器111和处理器112的展示器,展示器包括显示屏113且包括的显示屏113具有较大尺寸,这样方便用户在运动中观看辅助健身所用到的视频。The electronic device 110 includes a memory 111, a processor 112 and a display screen 113, wherein the memory 111 is used to store computer-executable codes; the processor 112 is used to execute the computer-executable codes, so as to realize the body-building assistance provided by the embodiments of the present invention. Method; the display screen 113 is used to display the video used for assisting fitness. Exemplarily, the electronic device 110 is a mobile phone, a tablet computer or a notebook computer. Of course, the electronic device 110 can also be a display integrated with the memory 111 and the processor 112. The display includes a display screen 113 and the display screen 113 included has a relatively large size, so that it is convenient for the user to watch the video used for assisting fitness during exercise. .

辅助健身所用到的视频包括第一运动片段。本发明实施例中,运动片段区分于普通片段,普通片段是只有一个继承片段的视频片段,运动片段是有多个继承片段的视频片段;某一片段Q的继承片段,是指片段Q显示后预设要显示的片段。本发明实施例的改进点主要在于:根据用户对第一运动片段所配置动作的完成信息,从第一运动片段的多个继承片段中选择一个作为视频中第一运动片段显示后的待显示内容,这样用户的运动和视频有机结合起来,用户进行的是有互动的锻炼,从而提高了健身的趣味性,降低了用户因枯燥乏味而放弃健身的可能性。The video used for assisting fitness includes a first motion segment. In the embodiment of the present invention, the motion segment is distinguished from the normal segment, and the normal segment is a video segment with only one inherited segment, and the motion segment is a video segment with multiple inherited segments; the inherited segment of a certain segment Q refers to the segment after the segment Q is displayed The fragment to display by default. The improvement of the embodiment of the present invention mainly lies in: according to the completion information of the action configured by the user on the first motion segment, one of the multiple inherited segments of the first motion segment is selected as the content to be displayed after the first motion segment in the video is displayed In this way, the user's exercise and video are organically combined, and the user performs an interactive exercise, thereby improving the fun of fitness and reducing the possibility of the user giving up fitness due to boring.

基于上述内容,可穿戴设备120是用于采集用户在第一运动片段显示时段内不同时刻的运动数据,并将采集到的运动数据发送到电子设备110以便电子设备110获取到用户对第一运动片段所配置动作的完成信息。可穿戴设备120例如为运动手环或其它可穿戴在用户身上的设备,由于这些设备穿戴在用户身上后会随用户动而动,因而能通过监测自身移动来采集用户的运动数据。以运动手环为例。运动手环戴在用户手腕上后会随用户手腕移动而移动,并且在用户左右前后走动或上下跳动时运动手环也会随用户移动,因而运动手环能较全面地采集到用户的运动数据。Based on the above content, the wearable device 120 is used to collect the user's motion data at different times within the first motion segment display period, and send the collected motion data to the electronic device 110 so that the electronic device 110 can obtain the user's first motion information. Completion information for the action configured by the fragment. The wearable device 120 is, for example, a sports bracelet or other devices that can be worn on the user's body. Since these devices will move with the user's movement after being worn on the user's body, the user's motion data can be collected by monitoring its own movement. Take a sports bracelet as an example. After being worn on the user's wrist, the sports bracelet will move with the movement of the user's wrist, and the sports bracelet will also move with the user when the user walks back and forth or jumps up and down, so the sports bracelet can more comprehensively collect the user's sports data .

在一个实施例中,可穿戴设备120设置有加速度计,加速度计用于采集用户产生的加速度数据以作为上述运动数据。In one embodiment, the wearable device 120 is provided with an accelerometer, and the accelerometer is used to collect acceleration data generated by the user as the aforementioned motion data.

参照图2,在可穿戴设备120(图中所示为一运动手环)上建立坐标系XYZ(坐标系XYZ符合右手法则,图中未示出Z轴),其中,坐标原点位于可穿戴设备120上且X轴、Y轴以及Z轴的方向固定。当可穿戴设备120穿戴在用户身上且用户静止站立时,加速度计测得:X轴加速度为G(重力加速度),Y轴和Z轴的加速度各自为0;若用户运动,则加速度计测得X轴、Y轴和Z轴的加速度中至少一个会相对于用户静止站立时的值发生改变。推而广之,相比于上一时刻,当前时刻各轴加速度的变化越大用户运动越剧烈,当前时刻各轴加速度的变化越小用户运动越平缓。Referring to FIG. 2, a coordinate system XYZ is established on the wearable device 120 (a sports bracelet shown in the figure) (the coordinate system XYZ conforms to the right-hand rule, and the Z axis is not shown in the figure), wherein the coordinate origin is located on the wearable device 120 and the directions of the X-axis, Y-axis and Z-axis are fixed. When the wearable device 120 is worn on the user and the user is standing still, the accelerometer measures: the acceleration on the X-axis is G (acceleration of gravity), and the acceleration on the Y-axis and the Z-axis is 0 respectively; if the user is moving, the accelerometer measures At least one of the accelerations of the X-axis, the Y-axis and the Z-axis is changed relative to the value when the user is standing still. By extension, compared with the previous moment, the greater the change in the acceleration of each axis at the current moment, the more intense the user's movement, and the smaller the change in the acceleration of each axis at the current moment, the smoother the user's movement.

若记上一时刻X轴、Y轴和Z轴的加速度分别为aX、aY和aZ,以及,当前时刻X轴、Y轴和Z轴的加速度分别为aX'、aY'和aZ',则:相比于上一时刻,当前时刻加速度的变化可以通过公式(1)所示的加速度方差S表示。If the accelerations of the X-axis, Y-axis and Z-axis at the previous moment are respectively a X , a Y and a Z , and the accelerations of the X-axis, Y-axis and Z-axis at the current moment are a X ', a Y ' and a Z ', then: compared with the previous moment, the change of acceleration at the current moment can be represented by the acceleration variance S shown in formula (1).

S=[(aX'-aX)2+(aY'-aY)2+(aX'-aX)2]/3              (1)S=[(a X '-a X ) 2 +(a Y '-a Y ) 2 +(a X '-a X ) 2 ]/3 (1)

该实施例中,由于加速度方差S能够较好地确定用户的运动消耗量,因而加速度数据能够作为运动数据来监测用户的运动。In this embodiment, since the acceleration variance S can better determine the user's exercise consumption, the acceleration data can be used as exercise data to monitor the user's exercise.

图3所示为本发明实施例提供的一种辅助健身方法的流程图。参照图3,该辅助健身的方法应用于上述电子设备110,包括:Fig. 3 is a flow chart of a method for assisting fitness provided by an embodiment of the present invention. Referring to FIG. 3, the method for assisting fitness is applied to the above-mentioned electronic device 110, including:

步骤S110,获取用户对第一运动片段所配置动作的完成信息。Step S110, acquiring completion information of actions configured by the user for the first motion segment.

步骤S120,根据完成信息从第一运动片段的多个继承片段中选择一个作为辅助健身视频中第一运动片段显示后的待显示内容。Step S120, according to the completion information, select one of the multiple inherited segments of the first exercise segment as the content to be displayed after the first exercise segment is displayed in the auxiliary fitness video.

下面对辅助健身的方法进行详细介绍。The following is a detailed introduction to the method of assisting fitness.

一个可选的实施例中,上述完成信息用于指示用户对第一运动片段所配置动作的完成程度为两预设程度中的一个,两预设程度之间通过一个分界信息即可区分。两预设程度包括预设程度A(以下亦称第一预设程度)和预设程度B(以下亦称第二预设程度),预设程度A和预设程度B各关联一个继承片段。步骤S120,根据完成信息从第一运动片段的多个继承片段中选择一个作为视频中第一运动片段显示后的待显示内容,包括:将完成信息所指示预设程度关联的继承片段确定为视频中第一运动片段显示后的待显示内容。该实施例中,预设程度的数量为两个,两个预设程度允许有较大的区分,In an optional embodiment, the above completion information is used to indicate that the degree of completion of the action configured by the user for the first motion segment is one of two preset degrees, and the two preset degrees can be distinguished by a boundary information. The two default levels include a default level A (hereinafter also referred to as the first default level) and a default level B (hereinafter also referred to as the second default level), and each of the default level A and the default level B is associated with an inheritance segment. Step S120, according to the completion information, select one of the multiple inheritance segments of the first motion segment as the content to be displayed after the first motion segment in the video is displayed, including: determining the inheritance segment associated with the preset degree indicated by the completion information as the video The content to be displayed after the first motion segment is displayed. In this embodiment, the number of preset degrees is two, and the two preset degrees allow greater distinction,

参照图4,假设第一运动片段是辅助健身所用到的视频中的第N个片段,则第N个片段在电子设备110上播放完后,辅助健身所用到的视频的第(N+1)个片段由完成信息决定,其中,若完成信息指示用户对第一运动片段所配置动作的完成程度为预设程度A,则第(N+1)个片段为预设程度A关联的继承片段;若完成信息指示用户对第一运动片段所配置动作的完成程度为预设程度B,则第(N+1)个片段为预设程度B关联的继承片段。Referring to Fig. 4, assuming that the first motion segment is the Nth segment in the video used to assist fitness, after the N segment is played on the electronic device 110, the (N+1)th segment of the video used to assist fitness N segments are determined by the completion information, wherein, if the completion information indicates that the degree of completion of the action configured by the user for the first motion segment is a preset degree A, then the (N+1)th segment is an inherited segment associated with the preset degree A; If the completion information indicates that the degree of completion of the action configured by the user for the first motion segment is the preset level B, then the (N+1)th segment is an inherited segment associated with the preset level B.

一些示例中,第一运动片段为剧情片的一个片段;继承片段亦为剧情片的一个片段,且在剧情上承接第一运动片段;以及,第一预设程度关联的继承片段和第二预设程度关联的继承片段具有不同的剧情。这样,不仅使得用户能边健身边看剧情片;而且用户自己的运动情况还决定剧情片中故事情节走向,从而健身和故事情节走向发生了互动。因而,用户的健身不再枯燥。需要说明的是,剧情片可以是影视剧等长视频,也可以是微电影、短视频等,本发明实施例对剧情片的形式不作限定。In some examples, the first motion segment is a segment of a feature film; the successor segment is also a segment of a feature film, and succeeds the first motion segment in plot; Inheritance fragments with degree-related relationships have different plots. In this way, not only the user can watch the feature film while exercising, but also the user's own exercise situation also determines the direction of the storyline in the feature film, so that the fitness and the storyline direction interact. Therefore, the user's fitness is no longer boring. It should be noted that the feature film may be a long video such as a film and television drama, or may be a micro movie, a short video, etc., and the embodiment of the present invention does not limit the form of the feature film.

进一步,第一预设程度为用户完成第一运动片段所配置动作,第二预设程度为用户未完成第一运动片段所配置动作;辅助健身的方法还包括:获取用户的兴趣信息,根据兴趣信息将两继承片段中用户较感兴趣的一个关联到第一预设程度,这样则能激励用户尽可能完成第一运动片段所配置动作。具体地,获取用户的兴趣信息,可以从用户在电子设备100上产生的历史行为中获取,历史行为包括但不限于用户在搜索引擎中输入搜索词或在短视频软件中点击短视频。Further, the first preset level is that the user has completed the action configured for the first exercise segment, and the second preset level is that the user has not completed the action configured for the first exercise segment; the method of assisting fitness also includes: obtaining user interest information, and according to the interest The information associates the one of the two inheritance segments that the user is more interested in to the first preset degree, so that the user can be motivated to complete the configured action of the first motion segment as much as possible. Specifically, the acquisition of the user's interest information can be obtained from the user's historical behavior on the electronic device 100, including but not limited to the user's input of search terms in a search engine or clicking on a short video in short video software.

另一些示例中,第一运动片段为训练课程的一个片段;继承片段亦为训练课程的一个片段;以及,第一预设程度关联的继承片段和第二预设程度关联的继承片段具有不同的训练内容。这样,不仅使得用户在视频教程的指导下得以科学的健身;而且用户自己的运动情况还决定训练内容,因而健身和训练内容发生了互动,用户的健身不再枯燥。In some other examples, the first motion segment is a segment of the training course; the inherited segment is also a segment of the training program; and, the inherited segment associated with the first preset degree and the inherited segment associated with the second preset degree have different Training content. In this way, not only the user can exercise scientifically under the guidance of video tutorials; but also the user's own exercise situation also determines the training content, so the fitness and training content interact, and the user's fitness is no longer boring.

进一步,第一预设程度为用户完成第一运动片段所配置动作,第二预设程度为用户未完成第一运动片段所配置动作;第一预设程度关联的继承片段,其训练内容的活动消耗量少于第二预设程度关联的继承片段,从而训练课程能自动保证用户达到一定的活动消耗。Further, the first preset level is that the user has completed the action configured by the first exercise segment, and the second preset level is that the user has not completed the configured action of the first exercise segment; the inheritance segment associated with the first preset level, the activity of its training content The consumption is less than the inherited segment associated with the second preset level, so that the training course can automatically ensure that the user reaches a certain activity consumption.

进一步,第一预设程度关联的继承片段为目标片段;第二预设程度关联的继承片段由训练调节片段和目标片段合成;其中,目标片段为第一运动片段所在训练课程中的、与第一运动片段相邻且位于第一运动片段之后的片段,即,若用户完成第一运动片段所配置动作,则正常进行训练课程的训练;若用户未完成第一运动片段所配置动作,则在训练课程的训练基础上补充其他运动小节且通过训练调节片段引导用户进行其他运动小节的训练。Further, the inherited segment associated with the first preset degree is the target segment; the inherited segment associated with the second preset degree is composed of the training adjustment segment and the target segment; wherein, the target segment is the training course where the first motion segment is located, which is the same as the second segment. A motion segment is adjacent to and located behind the first motion segment, that is, if the user completes the action configured in the first motion segment, the training of the training course will be carried out normally; if the user has not completed the configured action in the first motion segment, then Based on the training of the training course, other sports measures are supplemented and the user is guided to perform training of other sports measures through training adjustment segments.

进一步,训练调节片段训练的身体部位与目标片段训练的身体部位不同,从而用户在因目标片段所训练身体部分疲乏时通过其它身体部位的训练达到预定的消耗量,这对于刚开始健身的用户来说给予了循序渐进的空间,不致于用户某一身体部位因突然训练过度而疼痛等。Further, the body parts trained by the training adjustment segment are different from the body parts trained by the target segment, so that the user reaches the predetermined consumption through the training of other body parts when the body part trained by the target segment is tired. It is said that a step-by-step space is given, so that a certain body part of the user will not suffer from pain due to sudden overtraining.

图5所示为获取用户对第一运动片段所配置动作的完成信息的流程图。参照图5,一个可选的实施例中,步骤S110,获取用户对第一运动片段所配置动作的完成信息,包括:Fig. 5 is a flow chart of obtaining completion information of actions configured by the user for the first motion segment. Referring to FIG. 5 , in an optional embodiment, step S110 is to obtain the completion information of the action configured by the user for the first motion segment, including:

步骤S111,获取用户在第一运动片段显示时段内不同时刻的运动数据,得到多个运动数据。Step S111 , acquiring the exercise data of the user at different times within the display period of the first exercise segment to obtain a plurality of exercise data.

步骤S112,确定多个运动数据中目标数据的占比,目标数据为表示用户动作达标的运动数据。Step S112, determining the proportion of the target data among the plurality of exercise data, where the target data is the exercise data indicating that the user's actions have reached the target.

步骤S113,根据占比和预设比值的大小关系确定完成信息。Step S113, determine the completion information according to the size relationship between the ratio and the preset ratio.

具体地,在运动数据为加速度数据的情况下,目标数据为加速度方差满足达标条件的加速度数据。这里的达标条件因健身项目的不同而不同。Specifically, in the case where the motion data is acceleration data, the target data is acceleration data whose acceleration variance satisfies the standard attainment condition. The qualifying conditions here vary from fitness program to program.

若以平板支撑这一运动项目为例,由于平板支撑中手臂动作越稳定越好,因而加速度方差要满足达标条件为约等于0,实践中以加速度方差小于一较小的正的第一预设值来确定用户平板支撑的动作是否达标,其中,第一预设值可以是一个默认值,也可以是用户基于对自己的要求而设置的值。在加速度方差小于第一预设值的情况下,确定用户的平板支撑动作达标,反之确定用户的平板支撑动作不达标。Taking plank support as an example, because the more stable the arm movement in plank support, the better, so the acceleration variance must meet the standard requirement to be approximately equal to 0. In practice, the acceleration variance is less than a small positive first preset value to determine whether the action of the user's plank support is up to standard, wherein the first preset value may be a default value, or a value set by the user based on his own requirements. If the acceleration variance is smaller than the first preset value, it is determined that the user's plank action meets the standard; otherwise, it is determined that the user's plank action does not meet the standard.

若以开合跳这一运动项目为例,由于开合跳中手臂动作越大越好,因而加速度方差要满足达标条件为远大于0,实践中以加速度方差大于一第二预设值(第二预设值大于第一预设值)来确定用户开合跳的动作是否达标。同样,第二预设值可以是一个默认值,也可以是用户基于对自己的要求而设置的值。在加速度方差大于第二预设值的情况下,确定用户的开合跳动作达标,反之确定用户的开合跳动作不达标。If taking the sport event of jacking jumps as an example, since the arm movement in jacking jumps is as big as possible, the acceleration variance must meet the standard requirement to be far greater than 0. In practice, the acceleration variance is greater than a second preset value (the second The preset value is greater than the first preset value) to determine whether the user's opening and closing jump action meets the standard. Likewise, the second preset value may be a default value, or a value set by the user based on his own requirements. If the acceleration variance is greater than the second preset value, it is determined that the user's opening and closing movement meets the standard; otherwise, it is determined that the user's opening and closing movement does not meet the standard.

需要说明的是,某一运动数据表示用户动作达标,只是表示用户在该运动数据的采集时刻的动作相对于前一采集时刻来说是否达标。若确定用户对第一运动片段所配置动作的完成信息,本发明实施例是需要用户在第一运动片段显示时段内不同时刻的多个运动数据,从而更准确地得到用户对第一运动片段所配置动作的完成信息。It should be noted that a certain exercise data indicates that the user's action has reached the standard, but only indicates whether the user's action at the collection moment of the exercise data is up to the standard compared with the previous collection moment. If it is determined that the user completes the action configured for the first motion segment, the embodiment of the present invention requires the user to have a plurality of motion data at different times within the first motion segment display period, so as to more accurately obtain the user's configuration of the first motion segment. The completion information of the configuration action.

以上述预设程度为两个来说,预设比值是一个,这里的预设比值即前面提到的分界信息。此情况下,若多个运动数据中目标数据的占比大于预设比值,则认为用户完成第一运动片段所配置动作;若多个运动数据中目标数据的占比不大于预设比值,则认为用户未完成第一运动片段所配置动作。If the aforementioned preset degree is two, the preset ratio is one, and the preset ratio here is the above-mentioned boundary information. In this case, if the proportion of the target data in the multiple motion data is greater than the preset ratio, it is considered that the user has completed the action configured in the first motion segment; if the proportion of the target data in the multiple motion data is not greater than the preset ratio, then It is considered that the user has not completed the action configured for the first motion segment.

当然,预设程度的数量可以大于两个,这种情况下预设比值P需要多个。记预设程度的数量为W个(W>2),则预设比值P的数量为(W-1)个且(W-1)预设比值P顺次递增,其中,0到P1(即不小于0且不大于P1)确定一个预设程度,Pi到Pi+1(即大于Pi且不大于Pi+1)(1≤i≤W-2)确定一个预设程度,PW-1到1(即大于PW-1且不小于1)确定一个预设程度,多个运动数据中目标数据的占比决定了完成信息为哪一预设程度。Of course, the number of preset levels may be greater than two, and in this case, the preset ratio P needs to be multiple. Note that the number of preset levels is W (W>2), then the number of preset ratios P is (W-1) and the preset ratios P of (W-1) increase sequentially, wherein, 0 to P 1 ( That is, not less than 0 and not greater than P 1 ) determine a preset level, and P i to P i+1 (that is, greater than P i and not greater than P i+1 ) (1≤i≤W-2) determine a preset level , P W-1 to 1 (that is, greater than P W-1 and not less than 1) determines a preset degree, and the proportion of the target data in the plurality of motion data determines which preset degree the completion information is.

上述多个运动数据可以是采集时刻的间隔固定而采集到的。以上述平板支撑为例,若用户进行30s的平板支撑动作,可以是每隔1s采集一次加速度数据,在预设程度为两个且预设比值为5/6的情况下,则30s后统计动作:25个以上动作加速度方差小于第一预设值,则确定用户完成第一运动片段所配置的平板支撑这一动作,否则确定用户未完成第一运动片段所配置的平板支撑这一动作。以上述开合跳为例,若用户进行30s的开合跳动作,每隔1s采集一次加速度数据,在预设程度为两个且预设比值为5/6的情况下,则30s后统计动作:25个以上动作加速度方差大于第二预设值则确定用户完成第一运动片段所配置的开合跳这一动作,否则确定用户未完成第一运动片段所配置的开合跳这一动作。The above multiple pieces of motion data may be collected at fixed intervals between collection times. Taking the plank support above as an example, if the user performs a plank support action for 30s, the acceleration data can be collected every 1s. In the case of two preset levels and a preset ratio of 5/6, the action will be counted after 30s If the acceleration variance of more than 25 actions is smaller than the first preset value, it is determined that the user has completed the plank action configured for the first exercise segment, otherwise it is determined that the user has not completed the plank action configured for the first exercise segment. Take the opening and closing jump above as an example. If the user performs the opening and closing jump for 30s and collects acceleration data every 1s, if the preset level is two and the preset ratio is 5/6, the action will be counted after 30s If the acceleration variance of more than 25 actions is greater than the second preset value, then it is determined that the user has completed the action of jumping jacks configured in the first motion segment; otherwise, it is determined that the user has not completed the action of jumping jumps configured in the first motion segment.

进一步,多个运动数据中的各个运动数据皆是实时获取的,辅助健身的方法还包括:在获取到一个运动数据时,显示当前时刻的统计信息,统计信息指示截止当前时刻用户动作的完成情况,从而用户能尽早了解自己的健身状态并依此做出相应调整。具体地,统计信息可以为以下任意一种:(1)截止当前时刻获取到的目标数据的数量,这样用户在健身过程中能直观地了解到当前时刻自己的有效健身时长;(2)当前比值,其中,当前比值为截止当前时刻获取到的目标数据的数量与预设数目的比值,预设数目为预设的多个运动数据的总数,因而用户在健身过程中能直观地了解到当前时刻自己的有效健身时长与需要健身的总时长的差距;(3)当前比值与预设比值的比值信息,这样用户在健身过程中能直观地了解到当前比值与预设比值的差距。Further, each exercise data among the plurality of exercise data is acquired in real time, and the method for assisting fitness also includes: displaying statistical information at the current moment when one exercise data is obtained, and the statistical information indicates the completion status of the user's actions up to the current moment , so that users can understand their fitness status as early as possible and make corresponding adjustments accordingly. Specifically, the statistical information can be any of the following: (1) the number of target data acquired as of the current moment, so that the user can intuitively understand the effective exercise duration of the current moment during the exercise process; (2) the current ratio , where the current ratio is the ratio of the number of target data acquired up to the current moment to the preset number, and the preset number is the total number of multiple preset motion data, so the user can intuitively understand the current moment during the fitness process The gap between your effective fitness time and the total time you need to exercise; (3) the ratio information between the current ratio and the preset ratio, so that users can intuitively understand the gap between the current ratio and the preset ratio during the fitness process.

一个可选的实施例中,第一运动片段通过片段内容中指示动作种类或显示动作图像来实现对动作的配置,从而用户通过观看第一运动片段来实时地获知自己要做的动作,这有利于促进用户与辅助健身所用视频之间互动的紧密性。具体地,第一运动片段可以通过在边角区域显示动作种类信息或动作图像来指示动作种类,例如,在右上角显示“开合跳”这一信息或显示“教练开合跳”的图像来设定第一运动片段配置的动作为开合跳,边角区域显示动作种类信息或动作图像并不会影响用户观看第一运动片段。In an optional embodiment, the first motion segment configures the action by indicating the type of action in the segment content or displaying an action image, so that the user can know the action he is going to do in real time by watching the first motion segment, which is useful It is conducive to promoting the closeness of interaction between the user and the video used for fitness assistance. Specifically, the first movement segment can indicate the type of action by displaying action type information or action images in the corner area, for example, displaying the information "Jumping Jackpot" or displaying the image of "Jumping Coach" in the upper right corner. If the action configured in the first motion segment is set as jumping, the display of motion type information or motion images in the corner area will not affect the user's viewing of the first motion segment.

一个可选的实施例中,电子设备110显示的视频(即辅助健身用到的视频)还包括第二运动片段,第二运动片段亦为剧情片的一个片段且片段内容包括多个关联信息,关联信息为继承片段和控制动作之间关联的信息,不同关联信息中的控制动作不同以及继承片段也不同;辅助健身的方法还包括:在第二运动片段显示后识别用户基于多个关联信息做的控制动作,并将识别出的控制动作关联的继承片段作为视频中第二运动片段显示后的待显示内容。In an optional embodiment, the video displayed by the electronic device 110 (that is, the video used to assist fitness) also includes a second motion segment, the second motion segment is also a segment of a feature film and the content of the segment includes a plurality of associated information, The associated information is the information associated between the inherited segment and the control action. The control actions in different associated information are different and the inherited segments are also different; the method for assisting fitness also includes: after the second exercise segment is displayed, identify the user's actions based on multiple associated information. control action, and use the inherited segment associated with the identified control action as the content to be displayed after the second motion segment in the video is displayed.

图6所示为一个示例性的第二运动片段的显示画面,其中,关联信息的继承片段通过故事情节信息指示,关联信息的控制动作通过图像指示。参照图6,第二运动片段的片段内容包括两个关联关系,一个关联关系中控制动作为“手掌向前,手臂竖放”,继承片段的故事情节为“想起来故人,免不了落几滴泪”;另一个关联关系中控制动作为“手掌向下,手臂平放”,继承片段的故事情节为“想起了吴长官,为英雄而惋惜”。如图6所示,第二运动片段的故事情节可以是剧情片中一人物提出了问题,从而因该问题有多种答案而使得第二运动片段有多个继承片段。当然,第二运动片段的故事情节也可以是剧情片中的一个动作,这样因该动作有多种结果而使得第二运动片段有多个继承片段。Fig. 6 shows an exemplary display screen of the second motion segment, where the inherited segment of the associated information is indicated by storyline information, and the control action of the associated information is indicated by an image. Referring to Figure 6, the segment content of the second motion segment includes two associations. In one association, the control action is "palm forward, arm vertically", and the storyline of the inherited segment is "I think of the old man, and I will inevitably shed a few tears." "; in another relationship, the control action is "hands down, arms flat", and the storyline of the inherited segment is "I think of Mr. Wu, feel sorry for the hero". As shown in FIG. 6 , the story line of the second motion segment may be that a character in a drama film asks a question, so that the second motion segment has multiple inheritance segments because the question has multiple answers. Of course, the story line of the second motion segment can also be an action in a feature film, so that the second motion segment has multiple inheritance segments because the action has multiple results.

该实施例中,用户基于多个关联信息做的控制动作起到了剧情推进的作用。相较于第一运动片段播放时段内用户做的动作,第二运动片段内关联信息中的控制动作是一种即时动作,该即时动作使得用户能快速选择剧情片的故事情节走向。In this embodiment, the control actions performed by the user based on multiple pieces of related information play a role in advancing the plot. Compared with the actions performed by the user during the playing period of the first motion segment, the control action in the associated information in the second motion segment is an immediate action, which enables the user to quickly select the storyline direction of the drama.

进一步,如图7所示,识别用户基于多个关联信息做的控制动作,包括:Further, as shown in FIG. 7, identifying the control actions performed by the user based on multiple associated information includes:

判断步骤S601,判断用户做的动作是否为一个控制动作中的预设动作。Judging step S601, judging whether the action performed by the user is a preset action in a control action.

具体地,可以通过判断用户的加速度数据是否满足预设条件来确定用户做的动作是否为一个控制动作中的预设动作。预设条件因控制动作中预设动作的不同而不同。Specifically, it may be determined whether the action performed by the user is a preset action in a control action by judging whether the user's acceleration data satisfies a preset condition. The preset conditions are different for different preset actions in the control action.

以可穿戴设备120为图2所示的运动手环且预设动作是图6所示的“手掌向前,手臂竖放”为例,预设条件应为“X轴加速度绝对值约为G,Y、Z轴加速度绝对值约为0”。以可穿戴设备120为图2所示的运动手环且预设动作是图6所示的“手掌向下,手臂平放”为例,预设条件应为“Z轴加速度绝对值约为G,X、Y轴加速度绝对值约为0”。当然上述两个示例中,做预设动作的手臂应是如图6所示的用户戴运动手环的右手手臂,且XYZ坐标系如图2所示建立在运动手环上,用户右手沿X轴正方向穿进手环。Taking the wearable device 120 as the sports wristband shown in FIG. 2 and the preset action as shown in FIG. 6 as “palm forward, arm vertically” as an example, the preset condition should be “the absolute value of the X-axis acceleration is approximately G , the absolute value of Y and Z axis acceleration is about 0". Taking the wearable device 120 as the sports wristband shown in FIG. 2 and the preset action as shown in FIG. 6 as "palm down, arm flat" as an example, the preset condition should be "the absolute value of the Z-axis acceleration is about G , the absolute value of the X and Y axis acceleration is about 0". Of course, in the above two examples, the arm doing the preset action should be the right arm of the user wearing the sports bracelet as shown in Figure 6, and the XYZ coordinate system is established on the sports bracelet as shown in Figure 2, and the user's right hand moves along the X Insert the wristband in the positive direction of the shaft.

在用户做的动作为一个控制动作中的预设动作的情况下,执行监测步骤S602,反之在用户矫正动作后继续判断用户做的动作是否为一个控制动作中的预设动作。If the action performed by the user is a preset action in a control action, the monitoring step S602 is performed; otherwise, after the user corrects the action, continue to determine whether the action performed by the user is a preset action in a control action.

监测步骤S602,监测用户所做动作的持续时长。In the monitoring step S602, the duration of the actions performed by the user is monitored.

可以是不断采集用户的加速度数据,来确定用户所做动作的持续时长。其中,在用户所做动作的持续时长达到该控制动作的预设时长时执行步骤S603;在用户所做动作的持续时长未达到该控制动作的预设时长时继续执行监测步骤S602;在用户所做动作的持续时长未达到该控制动作的预设时长时,若监测到用户做的动作不再是该控制动作中的预设动作,则返回判断步骤S601,即打断本次计时重新计算用户控制动作的时长。这里监测到用户做的动作不再是该控制动作中的预设动作,可以是监测到不符合预设条件的加速度数据。The user's acceleration data may be continuously collected to determine the duration of the user's actions. Wherein, step S603 is performed when the duration of the action performed by the user reaches the preset duration of the control action; when the duration of the action performed by the user does not reach the preset duration of the control action, continue to execute the monitoring step S602; When the duration of the action does not reach the preset duration of the control action, if it is detected that the action performed by the user is no longer the preset action in the control action, return to the judgment step S601, that is, interrupt this timing and recalculate the user Controls the duration of the action. Here, it is detected that the action performed by the user is no longer the preset action in the control action, and it may be that acceleration data that does not meet the preset condition is detected.

需要说明的是,上述预设时长是一个较短的时间段,例如2s。该实施例中要求控制动作持续时长达到预设时长,是为了确保电子设备110准确识别到控制动作。It should be noted that the aforementioned preset duration is a relatively short period of time, such as 2s. In this embodiment, the requirement that the duration of the control action reaches a preset duration is to ensure that the electronic device 110 accurately recognizes the control action.

确定步骤S603,确定用户做了该控制动作。Determining step S603, determining that the user has performed the control action.

进一步,辅助健身的方法还包括:在监测步骤S602执行时,显示当前时刻的时长信息,时长信息指示截止当前时刻用户所做动作持的续时长与该控制动作预设时长之间的差距。示例性地,如图6所示在关联信息附近通过环形的进度条给出时长信息,当然也可以通过文字等其它方式给出时长信息。时长信息的提供有利于用户精准地完成控制动作。Further, the method of assisting fitness further includes: when the monitoring step S602 is executed, displaying the duration information at the current moment, the duration information indicating the gap between the duration of the action performed by the user at the current moment and the preset duration of the control action. Exemplarily, as shown in FIG. 6 , the duration information is given by a ring-shaped progress bar near the associated information, and of course the duration information may also be given by other means such as text. The provision of duration information is conducive to the user to complete the control action accurately.

图8所示为本发明一个示例性的用于辅助健身的视频的播放进度示意图。参照图8,辅助健身的视频在电子设备110上开始播放,第1个片段为普通片段,因而相继播放预设的第2个片段;第2个片段也为普通片段,因而相继播放预设的第3个片段;第3个片段为第一运动片段,因而基于用户对该第一运动片段所配置动作的完成信息确定第4个片段为预设程度A关联的继承片段而非预设程度B关联的继承片段(这里预设程度的数量为两个);第4个片段也为普通片段,因而第4个片段播放后相继播放预设的第5个片段;第5个片段为第二运动片段,因而基于识别出的控制动作确定第6个片段为识别出的控制动作关联的继承片段而不是非识别出的控制动作关联的继承片段(该第二运动片段给出两个关联信息);然后继续后续片段的播放。FIG. 8 is a schematic diagram showing the playback progress of an exemplary video used for fitness assistance in the present invention. Referring to FIG. 8 , the fitness-assisted video starts to play on the electronic device 110. The first segment is a common segment, so the preset second segment is played successively; the second segment is also a common segment, so the preset segment is played successively. The third segment; the third segment is the first motion segment, so based on the completion information of the actions configured by the user for the first motion segment, it is determined that the fourth segment is an inherited segment associated with preset level A instead of preset level B Associated inherited segments (here the number of preset levels is two); the fourth segment is also a common segment, so after the fourth segment is played, the preset fifth segment is played successively; the fifth segment is the second movement Segment, so based on the identified control action, it is determined that the 6th segment is an inherited segment associated with the identified control action instead of an inherited segment associated with the non-identified control action (the second motion segment gives two associated information); Playback of subsequent segments then resumes.

从图8可见,辅助健身的视频分为多个片段,用户健身和视频播放充分互动,因而能吸引用户的注意力,用户健身的趣味性增加,帮助用户更持久地坚持运动,用户因健身枯燥乏味而放弃健身的可能性有效降低。基于上述内容,本发明用到的辅助健身的视频亦可称为互动健身剧。It can be seen from Figure 8 that the fitness-assisted video is divided into multiple segments. The user’s fitness and video playback are fully interactive, so it can attract the user’s attention. The possibility of giving up fitness due to boredom is effectively reduced. Based on the above content, the fitness-assisting videos used in the present invention can also be called interactive fitness dramas.

应当理解的是,辅助健身的视频中可能包括多个第一运动片段和多个第二运动片段,各第一运动片段播放后相继播放片段的确定原理是相同的,各第二运动片段播放后相继播放片段的确定原理也是相同的。It should be understood that the fitness-assisted video may include a plurality of first motion segments and a plurality of second motion segments. The determination principle for sequential playback of segments is also the same.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于一计算机可读的可读存储介质中,并由处理器进行加载和执行。为此,本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序或指令,该计算机程序或指令被处理器执行时可实现上述辅助健身方法中各实施例的各个过程。其中,计算机可读存储介质,如U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(RandomAccess Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructions, or by instructions controlling related hardware, and the instructions can be stored in a computer-readable memory media and is loaded and executed by the processor. To this end, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program or instruction is stored, and when the computer program or instruction is executed by a processor, each of the above-mentioned assisted fitness methods can be realized. The various processes of the embodiment. Among them, computer-readable storage media, such as U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc., can store program codes. medium.

由于该可读存储介质中所存储的指令,可以执行本发明实施例所提供的任一种辅助健身方法中的步骤,因此,可以实现本发明实施例所提供的任一种辅助健身方法所能实现的有益效果,详见前面的实施例,在此不再赘述。以上可读存储介质中所存储的指令执行的各个操作的具体实施可参见前面的实施例,在此不再赘述。Due to the instructions stored in the readable storage medium, the steps in any auxiliary fitness method provided by the embodiments of the present invention can be executed, and therefore, the functions of any auxiliary fitness method provided by the embodiments of the present invention can be realized. For the beneficial effects achieved, see the foregoing embodiments for details, and details are not repeated here. For the specific implementation of each operation executed by the instructions stored in the above readable storage medium, reference may be made to the foregoing embodiments, and details are not repeated here.

需要说明的是,本说明书中在对各个实施例进行描述时,均重点说明的是与其他实施例的不同之处,而对于各个实施例之间相同或相似的部分可互相参考进行理解。对于系统实施例而言,由于其与方法实施例基本相似,因此相关之处可参考对方法实施例部分的说明。It should be noted that, when describing each embodiment in this specification, the emphasis is on the differences from other embodiments, and the same or similar parts among the various embodiments can be understood by referring to each other. As for the system embodiment, since it is basically similar to the method embodiment, for relevant parts, reference may be made to the description of the method embodiment.

此外,需要指出的是,在本发明的装置和方法中,显然,各部件或各步骤是可以分解和/或重新组合的。这些分解和/或重新组合应视为本发明的等效方案。并且,执行上述系列处理的步骤可以自然地按照说明的顺序按时间顺序执行,但是并不需要一定按照时间顺序执行,某些步骤可以并行或彼此独立地执行。In addition, it should be pointed out that in the device and method of the present invention, obviously, each component or each step can be decomposed and/or reassembled. These decompositions and/or recombinations should be considered equivalents of the present invention. Also, the steps for executing the above series of processes can naturally be executed in chronological order according to the illustrated order, but they are not necessarily executed in chronological order, and some steps can be executed in parallel or independently of each other.

最后应说明的是:显然,上述实施例仅仅是为清楚地说明本发明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引申出的显而易见的变化或变动仍处于本发明的保护范围之中。Finally, it should be noted that obviously, the above-mentioned embodiments are only examples for clearly illustrating the present invention, rather than limiting the implementation. For those of ordinary skill in the art, other changes or changes in different forms can be made on the basis of the above description. It is not necessary and impossible to exhaustively list all the implementation manners here. However, the obvious changes or variations derived therefrom are still within the protection scope of the present invention.

Claims (20)

1.一种辅助健身的方法,应用于具有显示屏的电子设备,其特征在于,所述电子设备显示的视频包括第一运动片段,所述方法包括:1. A method for assisting fitness, applied to an electronic device with a display screen, characterized in that the video displayed by the electronic device includes a first motion segment, and the method comprises: 获取用户对所述第一运动片段所配置动作的完成信息;Acquiring the completion information of the action configured by the user for the first motion segment; 根据所述完成信息从所述第一运动片段的多个继承片段中选择一个作为所述视频中所述第一运动片段显示后的待显示内容。Selecting one of the multiple inherited segments of the first motion segment according to the completion information as the content to be displayed after the first motion segment in the video is displayed. 2.根据权利要求1所述的方法,其特征在于,2. The method of claim 1, wherein, 所述完成信息用于指示用户对所述第一运动片段所配置动作的完成程度为两预设程度中的一个,一个所述预设程度关联一个所述继承片段;The completion information is used to indicate that the degree of completion of the action configured by the user for the first motion segment is one of two preset levels, and one of the preset levels is associated with one of the inherited segments; 根据所述完成信息从所述第一运动片段的多个继承片段中选择一个作为所述视频中所述第一运动片段显示后的待显示内容,包括:将所述完成信息所指示预设程度关联的继承片段确定为所述视频中所述第一运动片段显示后的待显示内容。Selecting one of the multiple inherited segments of the first motion segment according to the completion information as the content to be displayed after the first motion segment in the video is displayed includes: setting a preset degree indicated by the completion information The associated inherited segment is determined as the content to be displayed after the first motion segment in the video is displayed. 3.根据权利要求2所述的方法,其特征在于,3. The method of claim 2, wherein, 所述第一运动片段为剧情片的一个片段;The first motion segment is a segment of a feature film; 所述继承片段亦为剧情片的一个片段,且在剧情上承接所述第一运动片段;The inheritance segment is also a segment of the feature film, and inherits the first motion segment in plot; 以及,两所述预设程度关联有两所述继承片段,两所述继承片段的剧情不相同。And, there are two inheritance segments associated with the two preset levels, and the plots of the two inheritance segments are different. 4.根据权利要求3所述的方法,其特征在于,4. The method of claim 3, wherein, 两所述预设程度包括第一预设程度和第二预设程度,所述第一预设程度为用户完成所述第一运动片段所配置动作,所述第二预设程度为用户未完成所述第一运动片段所配置动作;The two preset levels include a first preset level and a second preset level. The first preset level is for the user to complete the action configured for the first movement segment, and the second preset level is for the user to not complete the action. Actions configured by the first motion segment; 所述方法还包括:获取用户的兴趣信息,根据所述兴趣信息将两所述继承片段中用户较感兴趣的一个关联到所述第一预设程度。The method further includes: acquiring interest information of the user, and associating the one of the two inherited segments that the user is more interested in with the first preset degree according to the interest information. 5.根据权利要求2所述的方法,其特征在于,5. The method of claim 2, wherein, 所述第一运动片段为训练课程的一个片段;The first motion segment is a segment of a training session; 所述继承片段亦为训练课程的一个片段;The inheritance fragment is also a fragment of the training course; 以及,两所述预设程度关联有两所述继承片段,两所述继承片段的训练内容不相同。And, there are two inheritance segments associated with the two preset levels, and the training contents of the two inheritance segments are different. 6.根据权利要求5所述的方法,其特征在于,6. The method of claim 5, wherein, 两所述预设程度包括第一预设程度和第二预设程度,所述第一预设程度为用户完成所述第一运动片段所配置动作,所述第二预设程度为用户未完成所述第一运动片段所配置动作;The two preset levels include a first preset level and a second preset level. The first preset level is for the user to complete the action configured for the first movement segment, and the second preset level is for the user to not complete the action. Actions configured by the first motion segment; 所述第一预设程度关联的继承片段,其训练内容的活动消耗量少于所述第二预设程度关联的继承片段。The inherited segments associated with the first preset degree have less activity consumption of training content than the inherited segments associated with the second preset degree. 7.根据权利要求6所述的方法,其特征在于,7. The method of claim 6, wherein, 所述第一预设程度关联的继承片段为目标片段;The inherited segment associated with the first preset degree is the target segment; 所述第二预设程度关联的继承片段由训练调节片段和所述目标片段合成;The inheritance segment associated with the second preset degree is synthesized from the training adjustment segment and the target segment; 其中,所述目标片段为所述第一运动片段所在训练课程中的、与所述第一运动片段相邻且位于所述第一运动片段之后的片段。Wherein, the target segment is a segment adjacent to the first exercise segment and located after the first exercise segment in the training course where the first exercise segment is located. 8.根据权利要求7所述的方法,其特征在于,所述训练调节片段训练的身体部位与所述目标片段训练的身体部位不同。8. The method of claim 7, wherein the training conditioning segment trains a different body part than the target segment trains. 9.根据权利要求1所述的方法,其特征在于,获取用户对所述第一运动片段所配置动作的完成信息,包括:9. The method according to claim 1, wherein obtaining the completion information of the action configured by the user for the first motion segment comprises: 获取用户在所述第一运动片段显示时段内不同时刻的运动数据,得到多个运动数据;Acquiring the user's exercise data at different times within the display period of the first exercise segment to obtain a plurality of exercise data; 确定所述多个运动数据中目标数据的占比,所述目标数据为表示用户动作达标的运动数据;Determining the proportion of target data in the plurality of motion data, the target data is motion data indicating that the user's actions are up to standard; 根据所述占比和预设比值的大小关系确定所述完成信息。The completion information is determined according to a size relationship between the ratio and a preset ratio. 10.根据权利要求9所述的方法,其特征在于,所述多个运动数据中的各个运动数据皆是实时获取的,所述方法还包括:在获取到一个运动数据时,显示当前时刻的统计信息,所述统计信息指示截止当前时刻用户动作的完成情况。10. The method according to claim 9, wherein each exercise data in the plurality of exercise data is acquired in real time, and the method further comprises: when acquiring one exercise data, displaying the current moment Statistical information, the statistical information indicates the completion of user actions up to the current moment. 11.根据权利要求10所述的方法,其特征在于,所述统计信息为以下任意一种:11. The method according to claim 10, wherein the statistical information is any one of the following: 截止当前时刻获取到的所述目标数据的数量;The quantity of the target data acquired as of the current moment; 当前比值,其中,所述当前比值为截止当前时刻获取到的所述目标数据的数量与预设数目的比值,所述预设数目为预设的所述多个运动数据的总数;The current ratio, wherein the current ratio is the ratio of the quantity of the target data acquired as of the current moment to a preset number, and the preset number is the total number of the plurality of preset motion data; 当前比值与所述预设比值的比值信息。Ratio information between the current ratio and the preset ratio. 12.根据权利要求1所述的方法,其特征在于,所述第一运动片段通过片段内容中指示动作种类或显示动作图像来实现对动作的配置。12 . The method according to claim 1 , wherein the first motion segment configures the action by indicating the type of action or displaying an action image in the content of the segment. 13 . 13.根据权利要求1所述的方法,其特征在于,13. The method of claim 1, wherein, 所述电子设备显示的视频还包括第二运动片段,所述第二运动片段亦为剧情片的一个片段且片段内容包括多个关联信息,所述关联信息为继承片段和控制动作之间关联的信息;The video displayed by the electronic device also includes a second motion segment, the second motion segment is also a segment of a feature film, and the content of the segment includes a plurality of related information, the related information is the inheritance of the relationship between the segment and the control action information; 所述方法还包括:在所述第二运动片段显示后识别用户基于多个所述关联信息做的控制动作,并将识别出的控制动作关联的继承片段作为所述视频中所述第二运动片段显示后的待显示内容。The method further includes: after the second motion segment is displayed, identifying a control action performed by the user based on a plurality of associated information, and using the inherited segment associated with the identified control action as the second motion in the video The content to be displayed after the fragment is displayed. 14.根据权利要求13所述的方法,其特征在于,识别用户基于多个所述关联信息做的控制动作,包括:14. The method according to claim 13, wherein identifying the control action performed by the user based on a plurality of associated information comprises: 判断步骤,判断用户做的动作是否为一个控制动作中的预设动作;Judging step, judging whether the action performed by the user is a preset action in a control action; 监测步骤,在用户做的动作为一个控制动作中的预设动作的情况下,监测用户所做动作的持续时长;The monitoring step is to monitor the duration of the action performed by the user under the condition that the action performed by the user is a preset action in a control action; 以及,确定步骤,在用户所做动作的持续时长达到该控制动作的预设时长时,确定用户做了该控制动作。And, the determining step is to determine that the user has performed the control action when the duration of the action performed by the user reaches the preset duration of the control action. 15.根据权利要求14所述的方法,其特征在于,识别用户基于多个所述关联信息做的控制动作,还包括:在用户所做动作的持续时长未达到该控制动作的预设时长时,若监测到用户做的动作不再是该控制动作中的预设动作,则返回所述判断步骤。15. The method according to claim 14, wherein identifying the control action performed by the user based on a plurality of associated information further comprises: when the duration of the action performed by the user does not reach the preset duration of the control action , if it is detected that the action performed by the user is no longer the preset action in the control action, return to the determination step. 16.根据权利要求14所述的方法,其特征在于,还包括:在所述监测步骤执行时,显示当前时刻的时长信息,所述时长信息指示截止当前时刻用户所做动作持的续时长与该控制动作预设时长之间的差距。16. The method according to claim 14, further comprising: when the monitoring step is executed, displaying duration information at the current moment, the duration information indicating the duration and duration of the actions performed by the user up to the current moment. This controls the gap between action preset durations. 17.一种电子设备,其特征在于,包括:17. An electronic device, characterized in that it comprises: 存储器,用于存储计算机可执行代码;memory for storing computer executable code; 处理器,用于执行所述计算机可执行代码,以实现权利要求1-16中任一个所述的方法;a processor configured to execute the computer-executable code to implement the method of any one of claims 1-16; 显示屏,用于在显示所述视频。The display screen is used for displaying the video. 18.一种辅助健身的系统,其特征在于,包括:权利要求17所述的电子设备和与所述电子设备通信连接的可穿戴设备,其中,所述可穿戴设备用于采集用户在所述第一运动片段显示时段内不同时刻的运动数据,并将采集到的运动数据发送到所述电子设备以便所述电子设备获取所述完成信息。18. A system for assisting fitness, characterized by comprising: the electronic device according to claim 17 and a wearable device communicatively connected with the electronic device, wherein the wearable device is used to collect the user's The first motion segment displays motion data at different times within a time period, and sends the collected motion data to the electronic device so that the electronic device acquires the completion information. 19.根据权利要求18所述的系统,其特征在于,所述可穿戴设备内设置有加速度计,所述加速度计用于采集用户产生的加速度数据,所述加速度数据即为所述运动数据。19. The system according to claim 18, wherein the wearable device is provided with an accelerometer, the accelerometer is used to collect acceleration data generated by the user, and the acceleration data is the motion data. 20.一种计算机可读介质,包括计算机可执行代码,所述计算机可执行代码被处理器执行时实现权利要求1-16中任一项所述的方法。20. A computer-readable medium, comprising computer-executable code, the computer-executable code implements the method according to any one of claims 1-16 when executed by a processor.
CN202211691286.3A 2022-12-27 2022-12-27 Method for assisting body building and related device Pending CN116020104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211691286.3A CN116020104A (en) 2022-12-27 2022-12-27 Method for assisting body building and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211691286.3A CN116020104A (en) 2022-12-27 2022-12-27 Method for assisting body building and related device

Publications (1)

Publication Number Publication Date
CN116020104A true CN116020104A (en) 2023-04-28

Family

ID=86078751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211691286.3A Pending CN116020104A (en) 2022-12-27 2022-12-27 Method for assisting body building and related device

Country Status (1)

Country Link
CN (1) CN116020104A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025123189A1 (en) * 2023-12-11 2025-06-19 广东高驰运动科技有限公司 Data sending method, electronic device, communication system, storage medium, and chip

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE33662E (en) * 1983-08-25 1991-08-13 TV animation interactively controlled by the viewer
US20070099684A1 (en) * 2005-11-03 2007-05-03 Evans Butterworth System and method for implementing an interactive storyline
US20130316316A1 (en) * 2012-05-23 2013-11-28 Microsoft Corporation Dynamic exercise content
CN205434845U (en) * 2015-12-25 2016-08-10 丁文京 Cerebral apoplexy patient's recovered training system of balance function
CN105892673A (en) * 2016-04-26 2016-08-24 四川川大智胜软件股份有限公司 Method for real-time interaction of audience with 3D stereoscopic program in cinema environment
US20170263147A1 (en) * 2016-03-08 2017-09-14 Your Trainer Inc. Systems and methods of dynamically creating a personalized workout video
US20210138301A1 (en) * 2019-11-13 2021-05-13 Institute For Information Industry Exercise assisting device and exercise assisting method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE33662E (en) * 1983-08-25 1991-08-13 TV animation interactively controlled by the viewer
US20070099684A1 (en) * 2005-11-03 2007-05-03 Evans Butterworth System and method for implementing an interactive storyline
US20130316316A1 (en) * 2012-05-23 2013-11-28 Microsoft Corporation Dynamic exercise content
CN205434845U (en) * 2015-12-25 2016-08-10 丁文京 Cerebral apoplexy patient's recovered training system of balance function
US20170263147A1 (en) * 2016-03-08 2017-09-14 Your Trainer Inc. Systems and methods of dynamically creating a personalized workout video
CN105892673A (en) * 2016-04-26 2016-08-24 四川川大智胜软件股份有限公司 Method for real-time interaction of audience with 3D stereoscopic program in cinema environment
US20210138301A1 (en) * 2019-11-13 2021-05-13 Institute For Information Industry Exercise assisting device and exercise assisting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2025123189A1 (en) * 2023-12-11 2025-06-19 广东高驰运动科技有限公司 Data sending method, electronic device, communication system, storage medium, and chip

Similar Documents

Publication Publication Date Title
Müller et al. How do world-class cricket batsmen anticipate a bowler's intention?
Williams Perceiving the intentions of others: how do skilled performers make anticipation judgments?
Murphy et al. Contextual information and perceptual-cognitive expertise in a dynamic, temporally-constrained task.
CN110180169B (en) Method and device for displaying fighting picture in game, storage medium and electronic equipment
Bruce et al. But I can’t pass that far! The influence of motor skill on decision making
Craig Understanding perception and action in sport: how can virtual reality technology help?
EP3198495B1 (en) Equipment for providing a rehabilitation exercise
US20160267804A1 (en) Training and cognitive skill improving system and method
JP6136926B2 (en) Information processing apparatus, storage medium, and information processing method
US20170103670A1 (en) Interactive Cognitive Recognition Sports Training System and Methods
KR20180030843A (en) Screen display system of sports game
JP6458739B2 (en) Analysis device, recording medium, and analysis method
Musculus et al. The influence of environmental constraints in 360 videos on decision making in soccer
Müller et al. Embedding of psycho-perceptual-motor skills can improve athlete assessment and training programs
CN116020104A (en) Method for assisting body building and related device
Hinz et al. Differences in decision-making behavior between elite and amateur team-handball players in a near-game test situation
De Waelle et al. The use of contextual information for anticipation of badminton shots in different expertise levels
Button et al. Working in the field (Southern Hemisphere)
Murphy et al. The effect of domain-specific exercise on high-and low-level cognitive processing during anticipation
US20150367218A1 (en) Badminton Training and Conditioning System and Method
CN119730930A (en) Method and system for predicting duration of multiplayer gaming session
Williams et al. Anticipation.
CN113996059A (en) Interactive method and device for sports game
Morris-Binelli et al. Individual differences and transfer of visual anticipation in expert female field hockey goalkeepers
JP2022087757A (en) Information processing equipment and information processing methods, and programs

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination