Patent Description:
As the interest and demand in home training increases, the number of various home training videos is increasing. As the number of various videos increases, the number of services that collect the various videos into playlists and programs or customized services that recommend suitable videos to users is increasing.

A home training video may include a series of workout motions, and a user watches the video and follows the motions at the same time to perform the home training, and depending on the video, a trainer's coaching message and background music may be included.

<CIT> relates to a bike or treadmill which can change the speed of the actual workout based on the tempo of the music.

While the speed of a workout video is fixed, the workout speed desired by each user or with which the user is able to keep up may be different. Accordingly, when the user is not able to keep up with the speed of the workout video even if he/she wants to, the user may easily give up the workout or may get injured while overexerting himself/herself to follow the workout video.

A user generally wants to find a workout video with a level of difficulty suitable for him/her. However, the user may have difficulty in finding a workout video with a level of difficulty suitable for him/her due to cases in which the level of difficulty is simply classified as a high level of difficulty, a medium level of difficulty, or a low level of difficulty or is not even classified.

In addition, when music desired by the user is reproduced separately from the workout video to increase interest in the workout, the user may be aware of the difference between the music and the workout video due to the motion speed of the workout video and the beat of music not matching each other.

Example aspects of the present disclosure provide an electronic device and a control method that support providing a workout video at a playback speed suitable for the user to enable the user to perform the workout while listening to music separate from the workout video, without perceiving a difference between the music and the workout video.

According to various embodiments, an electronic device includes a display and at least one processor operatively connected to the display. The at least one processor is configured to reproduce a workout video through the display, identify the speed of a workout motion included in the workout video, identify an audio signal distinct from the workout video, identify a target playback speed of the workout video at which the speed of the workout motion corresponds to the tempo of the audio signal, and set the playback speed of the workout video to the identified target playback speed of the workout video.

According to various embodiments, a method for controlling an electronic device includes reproducing a workout video through a display, identifying the speed of a workout motion included in the workout video, identifying an audio signal distinct from the workout video, identifying a target playback speed of the workout video at which the speed of the workout motion corresponds to the tempo of the audio signal, and setting the playback speed of the workout video to the identified target playback speed of the workout video.

An electronic device according to various embodiments may control the playback speed of a workout video according to the tempo and beat of an audio signal that is reproduced separately from the workout video, thereby increasing a user's interest and efficiency.

In addition, according to various embodiments, a workout video may be provided at an appropriate playback speed suitable for a user's workout ability to prevent the user from being injured, and the user may be encouraged to adjust (e.g., improve, increase, decrease) his/her workout speed, thereby increasing user's interest and efficiency.

According to various embodiments, the electronic device may maintain the playback speed of sound included in the workout video even when the playback speed of the workout video is changed, thereby providing a workout video without a sense of difference.

Referring to <FIG>, the electronic device <NUM> in the network environment <NUM> may communicate with an electronic device <NUM> via a first network <NUM> (e.g., a short-range wireless communication network), or at least one of an electronic device <NUM> or a server <NUM> via a second network <NUM> (e.g., a long-range wireless communication network). According to an embodiment, the electronic device <NUM> may include a processor <NUM>, memory <NUM>, an input module <NUM>, a sound output module <NUM>, a display module <NUM>, an audio module <NUM>, a sensor module <NUM>, an interface <NUM>, a connecting terminal <NUM>, a haptic module <NUM>, a camera module <NUM>, a power management module <NUM>, a battery <NUM>, a communication module <NUM>, a subscriber identification module (SIM) <NUM>, or an antenna module <NUM>. In some embodiments, at least one of the components (e.g., the connecting terminal <NUM>) may be omitted from the electronic device <NUM>, or one or more other components may be added in the electronic device <NUM>. In some embodiments, some of the components (e.g., the sensor module <NUM>, the camera module <NUM>, or the antenna module <NUM>) may be implemented as a single component (e.g., the display module <NUM>).

The speaker may be used for general purposes, such as reproducing multimedia or reproducing record.

A corresponding one of these communication modules may communicate with the external electronic device <NUM> via the first network <NUM> (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network <NUM> (e.g., a long-range communication network, such as a legacy cellular network, a <NUM> network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)).

<FIG> illustrates an operation of controlling the playback speed of a workout video of an electronic device according to various embodiments. The terms "reproducing speed," "reproduction speed," "video speed," "playback speed," and "play speed" may be used interchangeably herein.

According to various embodiments, referring to <FIG>, in operation <NUM>, the electronic device (e.g., the electronic device <NUM> of <FIG> or the processor <NUM> of <FIG>) may reproduce a workout video through a display (e.g., the display module <NUM> of <FIG>). For example, the electronic device may play the workout video through the display. The terms "reproducing a workout video," "playing a workout video," and "replaying a workout video" may be used interchangeably herein.

According to various embodiments, the workout video to be reproduced may be a video stored in a memory (e.g., the memory <NUM> of <FIG>) or may be a video received from an external device through a communication module (e.g., the communication module <NUM> of <FIG>).

According to various embodiments, the electronic device may reproduce the workout video through the display included in the electronic device or transmit the workout video to the external electronic device through the communication module such that the workout video is displayed through the display included in the external electronic device.

According to various embodiments, in operation <NUM>, the electronic device may identify the speed of a workout motion included in the workout video. For example, the workout video may include a plurality of types of workout movements, and each workout movement may include one pattern which may be repeatable multiple times.

According to various embodiments, the electronic device may identify the speed of a workout motion by identifying the time (e.g., temporal duration) for completing one pattern of the workout motion included in the workout video. For example, the electronic device may identify the speed of the workout motion via analysis of the workout video. According to various embodiments, when the type of workout motion is changed, the electronic device may identify or reidentify the speed of the changed type of workout motion. An operation of identifying the speed of a workout motion according to various embodiments will be described in detail with reference to <FIG> and <FIG> below.

<FIG> illustrates an operation by an electronic device of identifying the speed of a workout motion included in a workout video according to various embodiments.

According to various embodiments, referring to <FIG>, the electronic device (e.g., the electronic device of <FIG> or the processor <NUM> of <FIG>) may detect an object <NUM> (e.g., a trainer or a user), which is a subject of the workout motion of the workout video, frame by frame. For example, the electronic device may detect the object <NUM> in the workout video, frame by frame.

According to various embodiments, the electronic device may identify repeated changing patterns of the object <NUM> by using at least one of a shape change, size change, or position change of the object <NUM> detected from each frame.

According to various embodiments, the electronic device may identify the time (e.g., temporal duration) for completing one pattern of the repeated changing patterns as the speed per pattern.

For example, referring to <FIG>, the electronic device may obtain the time (e.g., temporal duration) of <NUM> milliseconds (ms) as a time for completing one pattern <NUM> of the patterns of the object <NUM> repeated for <NUM>, and obtain the time of the <NUM> as a motion speed per pattern of the workout motion of the workout video.

According to various embodiments, as shown in <FIG>, it may be difficult to distinguish small motions only with the changing patterns of the object in the video, and as shown in <FIG> and <FIG>, the motion speed may be identified by identifying the motion pattern for each part (e.g., feature point described herein).

According to various embodiments, the electronic device (e.g., the electronic device <NUM> of <FIG> or the processor <NUM> of <FIG>) may identify a plurality of feature points (e.g., skeleton analysis) included in the workout video. According to various embodiments, the electronic device may identify a plurality of feature points by considering the position of a joint or the shape of an object included in the workout video, or may identify, as a feature point, the location on the user's body to which a wearable device is attached.

For example, referring to <FIG>, the electronic device may identify a plurality of feature points included in the workout video, as shown in [Table <NUM>] below.

According to various embodiments, as shown in <FIG>, the electronic device (e.g., the electronic device <NUM> of <FIG> or the processor <NUM> of <FIG>) may detect a plurality of feature points <NUM> for each frame of the workout video, and identify repeated changing patterns of the object by using at least one of positional changes of the plurality of feature points <NUM> detected from each frame.

According to various embodiments, the electronic device may identify the time (e.g., duration) associated with completing one pattern of the repeated changing patterns as the speed per pattern. In an example, the electronic device may identify the time (e.g., duration) for completing one pattern of the repeated changing patterns as the speed per pattern.

For example, referring to <FIG>, the electronic device may obtain the time (e.g., temporal duration) of <NUM> as a time for completing one pattern <NUM> of the patterns of the plurality of feature points <NUM> repeated for <NUM>. The electronic device may obtain the time (e.g., temporal duration) of <NUM> as a motion speed per pattern of the workout motion of the workout video.

According to various embodiments, returning to <FIG>, in operation <NUM>, the electronic device may identify an audio signal distinct from the workout video.

According to various embodiments, the audio signal distinct from the workout video may be or include an audio signal (e.g., music) separate from an audio signal such as background music or voice included in the workout video, and the audio signal distinct from the workout video may be selected by the user or identified based on the user's preferences.

According to various embodiments, in operation <NUM>, the electronic device may identify the target playback speed of the workout video at which the speed of the workout motion corresponds to the tempo of the audio signal.

According to various embodiments, the tempo of the audio signal may indicate the speed of the audio signal, and may be expressed by the number of quarter notes reproduced per one minute. For example, the tempo of the audio signal may be expressed in beats per minute (bpm), and a tempo (<NUM> bpm) having <NUM> quarter notes reproduced per one minute may refer to a tempo having the speed twice that of the tempo (<NUM> bpm) having <NUM> quarter notes reproduced per one minute.

According to various embodiments, the tempo of the audio signal may be determined when music represented by the audio signal is composed, and the electronic device may obtain the tempo of the audio signal from information included in the audio signal.

According to various embodiments, when an audio signal distinct from the workout video is reproduced by an external electronic device other than the electronic device, the electronic device may analyze the audio signal received through a microphone (e.g., the input module <NUM> of <FIG>) to obtain the tempo of the audio signal.

According to various embodiments, the electronic device may identify the speed of the workout video at which the speed of the workout motion corresponds to the tempo of the audio signal.

According to various embodiments, the electronic device may synchronize a start time (e.g., a temporal instance) of the beat of the audio signal with a start time (e.g., a temporal instance) of a workout move. According to various embodiments, the beat of the audio signal may constitute the basis of a music pattern and refer to a pattern repeated at regular intervals, and according to aspects of the disclosure described herein, the beat of the audio signal may be related to a start time of a beat. The terms "start time," "first temporal instance," and "first time point" may be used interchangeably herein.

According to various embodiments, the electronic device may synchronize a start time (e.g., a temporal instance) of one pattern of the workout motion with a start time (e.g., a temporal instance) of the beat of the audio signal, and the electronic device may obtain the appropriate number of beats per one pattern of the workout move. For example, the number of beats per pattern may be obtained based on Equation (<NUM>) below to prevent a change in the speed of the workout video from exceeding a threshold change (e.g., a threshold increase, a threshold decrease) in speed.

Referring to the example Equations herein, the terms "time per pattern," "time duration per pattern," and "temporal duration per pattern" may be used interchangeably herein, and the terms "time per beat," "time duration per beat," and "temporal duration per beat" may be used interchangeably herein.

According to various embodiments, the time (ms) per beat may be <MAT>.

According to various embodiments, the electronic device may obtain the video speed, based on Equation (<NUM>) below.

According to various embodiments, when the number of beats per pattern is <NUM> due to the speed of an audio signal (e.g., bpm below a threshold bpm) and the speed of a workout motion (e.g., above a threshold speed) in a workout video, the number of patterns per beat may be obtained based on Equation (<NUM>) below, and the video speed may be obtained based on Equation (<NUM>). <MAT><MAT>.

According to various embodiments, in operation <NUM>, the electronic device may control the playback speed of the workout video by using the identified target playback speed of the workout video. For example, the electronic device may display the workout video at the identified playback speed. According to an embodiment, the electronic device may display the playback speed (e.g., <NUM>. 8x speed or X0. <NUM>) through a display.

<FIG> illustrates an operation by an electronic device of reproducing a workout video, based on an audio signal according to various embodiments.

For example, referring to <FIG>, the electronic device (e.g., the electronic device <NUM> of <FIG> or the processor <NUM> of <FIG>) may pause playback of a workout video and then reproduce the workout video at a controlled playback speed, based on the tempo of an audio signal, such that a start point <NUM> of a workout motion included in the workout video at the controlled playback speed corresponds to a start point <NUM> of the beat of the audio signal.

For example, the electronic device may store both an audio signal included in the workout video and an audio signal separate from the workout video in an audio focus list such that both the audio signals have an audio focus status as an audio output target, so as to enable the audio signal included in the workout video and the audio signal separate from the workout video to be reproduced together.

According to various embodiments, the electronic device may obtain at least one of the user's workout speed or heart rate.

According to various embodiments, the electronic device may obtain the user's workout video through a camera (e.g., the camera module <NUM> of <FIG>) included in the electronic device or through a camera included in an external electronic device and detect an object included in the user's workout video to obtain the user's workout speed. According to various embodiments, since a method for obtaining the user's workout speed, based on the user's workout video is the same as the method for obtaining the workout speed of the workout video shown in <FIG>, repeated descriptions will be omitted. The term "user's workout video" may refer to video images of the user as captured by a camera described herein.

According to various embodiments, the electronic device may display the user's workout video on a display (e.g., the display module <NUM> of <FIG>) or may display the user's workout video together with the workout video.

As another embodiment, based on a sensed value obtained through a sensor of a wearable device attached to the user's body, the electronic device may analyze a pattern of the sensed value to obtain at least one of the user's workout speed or heart rate.

According to various embodiments, the electronic device may control the playback speed of the workout video, based on at least one of the user's workout speed or heart rate.

For example, the electronic device may control the playback speed of the workout video, based on the user's workout speed, such that the speed of the workout motion of the workout video corresponds to the user's motion speed. For example, when the original speed of the workout video is greater than the user's workout speed (e.g., the original speed of the workout motion in the workout video is greater than the user's motion speed), the user may find difficulty in matching the original speed of the workout video and thus lose his/her interest or the risk of injury may increase. Accordingly, the electronic device may induce the user to perform the workout according to the original speed of the workout video by gradually (e.g., over one or more iterations) changing the speed of the workout video.

According to various embodiments, when the user's workout speed is faster or slower than (e.g., greater than or less than) the speed of the workout motion of the workout video, the electronic device may control the playback speed of the workout video, based on Equation (<NUM>) below.

According to various embodiments, when the user's workout speed is greater than the workout speed of the workout video by a configured value (e.g., <NUM> times) or more, the electronic device may provide a notification that the user's workout speed is exceeding the workout speed by the configured value (e.g., a notification that the user's workout speed is "too fast") in order to reduce the risk of user's injury, and may no longer perform control to increase the playback speed of the workout video. For example, the electronic device may refrain from further increasing the playback speed of the workout video.

As another embodiment, when the user's workout speed is less than the workout speed of the workout video, the electronic device may gradually control the playback speed of the workout video to improve the user's workout speed (e.g., increase the user's workout speed to equal at least the original workout speed of the workout video), as shown in <FIG>.

<FIG> illustrates an operation by an electronic device of controlling the playback speed of a workout video, based on a user's motion speed according to various embodiments. In some aspects, the terms "user's motion speed" and "user's workout speed" may be used interchangeably herein.

According to various embodiments, referring to <FIG>, the electronic device (e.g., the electronic device <NUM> or the processor <NUM> of <FIG>) may obtain the original speed <NUM> of the workout video and a user's workout speed <NUM>. For example, the original speed <NUM> of the workout video may be the time (e.g., temporal duration) per pattern of the workout motion included in the workout video, and the user's workout speed <NUM> may be the time (e.g., temporal duration) per pattern of the user's workout motion. For example, when the time per pattern of a workout motion is small (e.g., below a threshold temporal duration), the workout speed may be "fast.

According to various embodiments, when the user's workout speed <NUM> is less than the original speed <NUM> of the workout video by a configured value or more, the electronic device may control the playback speed of the workout video such that a first speed <NUM> of the next workout motion (as played in the workout video) is an intermediate value of the user's workout speed <NUM> and the original speed <NUM> of the workout video. For example, the first speed <NUM> may be greater than the user's workout speed <NUM> and less than the original speed <NUM> of the workout video.

For example, the electronic device may identify the target playback speed of the workout video, based on Equation (<NUM>) below, and identify the video speed, based on Equation (<NUM>). In an example, with reference to Equation (<NUM>), the terms "time per workout video pattern" and "temporal duration per workout video pattern" may be used interchangeably herein, the terms "time per current video pattern" and "temporal duration per current video pattern" may be used interchangeably herein, and the terms "time per next video pattern" and "temporal duration per next video pattern" may be used interchangeably herein. <MAT> <MAT>.

For example, when the time per pattern corresponding to the original speed <NUM> is <NUM> second, and the time per pattern corresponding to the user's workout speed <NUM> is <NUM> seconds, the electronic device may identify that the time per next pattern of the video is <NUM> seconds, based on Equation (<NUM>). For example, based on Equation (<NUM>), the electronic device may identify the video speed as <NUM> by dividing <NUM> second, which is the time per current video pattern, by <NUM> seconds, which is the identified time per next pattern.

According to various embodiments, the electronic device may set the workout speed of the workout video to the first speed <NUM> that is less than the original speed <NUM> and greater than the user's workout speed <NUM>, and the electronic device may repeat the pattern of the workout motion N times (e.g., the electronic device may replay the workout motion N times).

According to various embodiments, when the user's workout speed <NUM> is less than the first speed <NUM> by a configured value or more even after repeating the workout pattern of the first speed <NUM> N times, the electronic device may adjust the playback speed of the workout video such that a second speed <NUM> of the next workout motion (as played in the workout video) is an intermediate value of the user's workout speed <NUM> and the first speed <NUM> of the workout video. For example, the second speed <NUM> may be greater than the user's workout speed <NUM> and less than the first speed <NUM>. For example, the electronic device may obtain the second speed <NUM> of the workout motion and the video speed, based on the above-described Equations (<NUM>) and Equations (<NUM>).

According to various embodiments, the electronic device may set the workout speed of the workout video to the second speed <NUM> that is less than the first speed <NUM> and greater than the user's workout speed <NUM>, and the electronic device may repeat the pattern of the workout motion N times (e.g., the electronic device may replay the workout motion N times).

According to various embodiments, when the difference between the user's workout speed <NUM> and the second speed <NUM> is less than the configured value after repeating the workout pattern of the second speed <NUM> N times, the electronic device may control the playback speed of the workout video such that a third speed <NUM> of the next workout motion (as played in the workout video) is an intermediate value of the user's workout speed <NUM> and the original speed <NUM> of the workout video. For example, the third speed <NUM> may be greater than the user's workout speed <NUM> and less than the original speed <NUM>.

According to various embodiments, when the difference between the user's workout speed <NUM> and the third speed <NUM> is less than the set value after repeating the workout pattern of the third speed <NUM> N times, the electronic device may gradually adjust the playback speed of the workout video (e.g., increase the playback speed over one or more iterations) such the workout speed of the next workout motion is close to the original speed <NUM> of the workout video. For example, the electronic device may gradually adjust the playback speed of the workout video such that a difference value between the playback speed and the workout speed is less than or equal to a threshold difference value.

As described above, when the user's workout speed is significantly less than the workout speed of the workout video (e.g., less than the workout speed by a threshold speed difference or more), the electronic device may perform control such that the workout speed of the workout motion is reduced and then is gradually increased, thereby inducing the user to improve his/her workout ability. For example, the electronic device may decrease the playback speed of the workout video and then increase (e.g., over one or more iterations) the playback speed of the workout video, thereby inducing the user to improve his/her workout ability.

According to various embodiments, when the type of workout motion is changed, the electronic device may further control the playback speed of the workout video (e.g., update the playback speed), based on the speed of the changed type of workout motion.

According to various embodiments, when the electronic device controls the playback speed of the workout video, based on the user's heart rate, the electronic device may identify the target playback speed of the workout video, based on [Table <NUM>] below. [Table <NUM>] shows the target heart rate and the maximum heart rate for the user's age according to various embodiments.

According to various embodiments, when the user's heart rate is less than the target heart rate, the electronic device may increase the playback speed of the workout video. For example, as shown in <FIG>, the electronic device may change the workout speed of a workout video based on the user's workout speed, or control the playback speed of the current workout video such that the workout pattern is repeated N times at a configured speed (e.g., <NUM> times).

According to various embodiments, the electronic device may provide a notification to the user that the speed of the workout video is to be increased due to the user's low heart rate, or provide a guide prompting the user to increase the speed of the workout video.

According to various embodiments, when the user's heart rate is greater than the maximum heart rate, the electronic device may reduce the playback speed of the workout video. For example, when the user's workout speed is less than the workout speed of the workout video and the user's heart rate is greater than the maximum heart rate, the electronic device may control the workout speed of the workout video such that the workout pattern is repeated N times at a configured speed (e.g., <NUM> times the original workout speed). According to various embodiments, when the user's heart rate is greater than the maximum heart rate even after repeating N times at the configured speed, the electronic device may further adjust the workout speed of the workout video to the configured speed (e.g., <NUM> x <NUM> times the original workout speed).

As another embodiment, when the user's workout speed is greater than the workout speed of the workout video and the user's heart rate is greater than the maximum heart rate, the electronic device may provide a guide prompting the user to follow the workout speed of the workout video.

According to various embodiments, the electronic device may further subdivide the target heart rate. For example, the electronic device may obtain a target heart rate in consideration of the purpose of the user's workout.

<FIG> illustrates a target heart rate according to various embodiments.

According to various embodiments, referring to <FIG>, the electronic device (e.g., the electronic device <NUM> of <FIG> or the processor <NUM> of <FIG>) may subdivide the target heart rate zone into a first target heart rate zone <NUM> for the purpose of light workout for a beginner, a second target heart rate zone <NUM> for the purpose of weight management, a third target heart rate zone <NUM> for the purpose of improving cardiorespiratory endurance, and a fourth target heart rate zone <NUM> for the purpose of high-intensity workout by a professional trainer.

For example, the first target heart rate zone <NUM> may be <NUM>-<NUM>% of the maximum heart rate, the second target heart rate zone <NUM> may be <NUM>-<NUM>% of the maximum heart rate, the third target heart rate zone <NUM> may be <NUM>-<NUM>% of the maximum heart rate, and the fourth target heart rate zone <NUM> may be <NUM>-<NUM>% of the maximum heart rate.

According to various embodiments, the electronic device may configure a target heart rate, based on a workout purpose input by a user and control the playback speed of a video, based on the target heart rate.

According to various embodiments, the electronic device may control the playback speed of the workout video, based on at least one of the user's motion speed and the user's heart rate, and the electronic device may additionally control the playback speed of the workout video, based on an audio signal separate from the workout video. When the playback speed of the workout video is controlled based on the user's workout speed or the user's heart rate, the variation in the playback speed of the workout video may be greater than a threshold variation value. However, by controlling the playback speed of the workout video based on an audio signal, the existing playback speed may be controlled to be maintained. Accordingly, the workout video may be reproduced at the playback speed suitable for the user's intention.

<FIG> illustrates an operation of processing an audio signal included in a workout video of an electronic device according to various embodiments.

According to various embodiments, referring to <FIG>, in operation <NUM>, the electronic device (e.g., the electronic device <NUM> of <FIG> or the processor <NUM> of <FIG>) may identify a first time point of an audio signal included in a workout video. For example, the audio signal included in the workout video may be background music or a trainer's voice included in the workout video.

<FIG> illustrates an operation by an electronic device of processing an audio signal included in a workout video according to various embodiments.

For example, referring to <FIG>, the electronic device may identify a first time point of at least one audio signal (e.g., A, B, C, and D) included in a workout video. For example, the electronic device may identify a first time point <NUM> of audio signal A at "<NUM> seconds", a first time point <NUM> of audio signal B at "<NUM> seconds", a first time point of audio signal C at "<NUM> seconds", and a first time point of audio signal D at "<NUM> seconds".

According to various embodiments, the electronic device may store information on the first time point of each audio signal in a memory (e.g., the memory <NUM> of <FIG>).

According to various embodiments, in operation <NUM>, the electronic device may extract an audio signal included in the workout video. For example, the electronic device may extract the background music or the trainer's voice included in the workout video from the workout video.

According to various embodiments, when an audio signal (e.g., background music) extracted from the workout video is reproduced, the electronic device may delete the audio signal included in the workout video.

According to various embodiments, in operation <NUM>, the electronic device may control the playback speed of the workout video. For example, the electronic device may control the playback speed of the workout video, based on the user's workout speed, the user's heart rate, or the audio signal separate from the workout video. For example, the electronic device may display the workout video at the identified playback speed. The operation of controlling the playback speed of a workout video according to various embodiments has been given in the descriptions of <FIG>, <FIG>, and thus repeated descriptions thereof will be omitted.

According to various embodiments, in operation <NUM>, the electronic device may identify a second time point corresponding to the first time point within the workout video at the controlled playback speed.

For example, referring to <FIG>, when the playback speed of a workout video is set to <NUM> times (e.g., <NUM> times the original playback speed of the workout video), the electronic device may identify a second time point <NUM> of audio signal A at "<NUM> seconds" and a second time point <NUM> of audio signal B at "<NUM> seconds" within the workout video, the playback speed of which has been set to <NUM> times. According to various embodiments, although not shown in <FIG>, the electronic device may identify a second time point of audio signal C at "<NUM> seconds" and a second time point of audio signal D at "<NUM> seconds".

According to various embodiments, in operation <NUM>, an extracted audio signal may be inserted at the second time point.

For example, referring to <FIG>, the electronic device may insert audio signal A at a time point corresponding to "<NUM> seconds" of the workout video, the playback speed of which has been controlled to <NUM> times, and insert audio signal B at a time point corresponding to "<NUM> seconds" of the workout video. According to various embodiments, the playback speed of the audio signal may be the same as the original playback speed of the workout video. For example, the electronic device may insert an original audio signal into a workout video at the set playback speed. In another example, when the playback speed of the audio signal is controlled together with the workout video, the electronic device may inversely adjust only the playback speed of the audio signal and thus reproduce the audio signal together with the workout video at the controlled playback speed.

According to various embodiments, when the background music is extracted from the workout video, the electronic device may insert the original background music at a time point corresponding to "<NUM> seconds" of the workout video at the set playback speed. As another embodiment, when an audio signal (e.g., background music) extracted from the workout video is reproduced, the electronic device may delete the audio signal from the workout video.

According to various embodiments, an electronic device may provide a separate user interface (UI) for controlling the speed of a workout video. The electronic device may provide a UI for whether to use a speed control function of the workout video, and according to reception of an input for using the speed control function of the workout video from a user, the electronic device may provide the workout video at a speed suitable for the user when reproducing the workout video.

According to various embodiments, an electronic device (e.g., the electronic device <NUM>) may include a display (e.g., the display module <NUM>) and at least one processor (e.g., the processor <NUM>) operatively connected to the display. The at least one processor may be configured to reproduce a workout video through the display, identify the speed of a workout motion included in the workout video, identify an audio signal distinct from the workout video, identify the target playback speed of the workout video at which the speed of the workout motion corresponds to the tempo of the audio signal, and set the playback speed of the workout video to the identified target playback speed of the workout video.

According to various embodiments, the at least one processor may synchronize a start time of the workout motion and a start time of a beat of the audio signal.

According to various embodiments, the at least one processor may obtain a pattern of the workout motion included in the workout video, and identify the speed of the workout motion, based on the pattern.

According to various embodiments, the at least one processor may identify a plurality of feature points in the workout video and obtain a pattern of the workout motion, based on a movement pattern of the plurality of feature points.

According to various embodiments, the at least one processor may obtain at least one of a user's workout speed and a user's heart rate, control the playback speed of the workout video, based on at least one of the user's workout speed and the user's heart rate, and control, based on the tempo of the audio signal, the playback speed of the workout video having been controlled based on at least one of the user's workout speed and the user's heart rate.

According to various embodiments, the at least one processor may control the playback speed of the workout video such that the playback speed of the workout video corresponds to the user's workout speed.

According to various embodiments, the at least one processor may control, when (e.g., in a case in which) the user's workout speed is less than the speed of the workout motion included in the workout video, a playback speed of the workout video such that a speed of a next workout motion is an intermediate value of the user's workout speed and the speed of the workout motion, and when (e.g., in a case in which) a difference between the user's workout speed and the next workout motion is less than a configured value, perform control (e.g., gradually adjust the playback speed of the workout video) such that the playback speed of the workout video becomes close to the original playback speed.

According to various embodiments, the at least one processor may obtain a target heart rate and control the playback speed of the workout video, based on a difference between the user's heart rate and the target heart rate.

According to various embodiments, the at least one processor may identify a first time point of an audio signal included in the workout video, extract the audio signal included in the workout video, set the playback speed of the workout video to the identified target playback speed of the workout video, identify a second time point corresponding to the first time point within the workout video at the controlled playback speed, and insert the extracted audio signal at the second time point.

According to various embodiments, the at least one processor may delete background music included in the workout video.

According to various embodiments, a method for controlling an electronic device may include reproducing a workout video through a display, identifying the speed of a workout motion included in the workout video, identifying an audio signal distinct from the workout video, identifying the target playback speed of the workout video at which the speed of the workout motion corresponds to the tempo of the audio signal, and setting the playback speed of the workout video to the identified target playback speed of the workout video.

According to various embodiments, the method may further include synchronizing a start time of the workout motion and a start time of a beat of the audio signal.

According to various embodiments, the identifying of the speed of the workout motion included in the workout video may include obtaining a pattern of the workout motion included in the workout video, and identifying the speed of the workout motion, based on the pattern.

According to various embodiments, the obtaining of the pattern of the workout motion included in the workout video may include identifying a plurality of feature points in the workout video and obtaining a pattern of the workout motion, based on a movement pattern of the plurality of feature points.

According to various embodiments, the method may further include obtaining at least one of a user's workout speed and a user's heart rate and controlling the playback speed of the workout video, based on at least one of the user's workout speed or the user's heart rate, where the controlling of the playback speed of the workout video to the identified target playback speed of the workout video may include controlling, based on the tempo of the audio signal, the playback speed of the workout video having been controlled based on at least one of the user's workout speed or the user's heart rate.

According to various embodiments, the controlling of the playback speed of the workout video, based on at least one of the user's workout speed or the user's heart rate may include controlling the playback speed of the workout video such that the playback speed of the workout video corresponds to the user's workout speed.

According to various embodiments, the controlling of the playback speed of the workout video, based on at least one of the user's workout speed or the user's heart rate may include controlling, when the user's workout speed is less than a speed of the workout motion included in the workout video, a playback speed of the workout video such that the speed of a next workout motion is an intermediate value of the user's workout speed and the speed of the workout motion, and when a difference between the user's workout speed and the next workout motion is less than a configured value, performing control (e.g., gradually adjusting the playback speed of the workout video) such that the playback speed of the workout video becomes close to the original playback speed.

According to various embodiments, the method may further include obtaining a target heart rate, where the controlling of the playback speed of the workout video, based on at least one of the user's workout speed or the user's heart rate may include controlling the playback speed of the workout video, based on a difference between the user's heart rate and the target heart rate.

According to various embodiments, the method may further include identifying a first time point of an audio signal included in the workout video, extracting the audio signal included in the workout video, controlling the playback speed of the workout video to the identified target playback speed of the workout video, identifying a second time point corresponding to the first time point within the workout video at the controlled playback speed, and inserting the extracted audio signal at the second time point.

According to various embodiments, the method may further include deleting background music included in the workout video.

Claim 1:
An electronic device comprising:
a display; and
at least one processor operatively connected to the display,
wherein the at least one processor is configured to:
reproduce workout video through the display;
identify a speed of a workout motion included in the workout video;
identify an audio signal distinct from the workout video;
identify a reproducing speed of the workout video at which the speed of the workout motion corresponds to a tempo of the audio signal; and
control a reproducing speed of the workout video to the identified reproducing speed of the workout video.