System and method for generating exercise routines

The wearable electronic device collects user's biometric information and exercise data, generates personalized exercise routines, and makes real-time adjustments based on user's physical information, solving the problem of difficulty in effectively generating personalized exercise routines in the prior art, and achieving an efficient and personalized exercise plan.

CN119947796APending Publication Date: 2025-05-06SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380069304.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-11-10
Filing Date
2023-11-01
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

The prior art is difficult to effectively generate personalized exercise routines, and it is impossible to adjust exercise plans in real time based on user biometric information and body information.

Method used

The user's biometric information and exercise data are collected through wearable electronic devices and transmitted to the electronic device to generate a personalized exercise routine, while adjusting the exercise type, time, number of reps, rest time or number of rest based on the user's physical information recommendations.

Benefits of technology

It realizes the generation of personalized exercise routines based on the user's real-time biometric information and physical condition, improving the exercise effect and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119947796A_ABST
    Figure CN119947796A_ABST
Patent Text Reader

Abstract

A system for generating an exercise routine according to an embodiment may include a wearable electronic device, the wearable electronic device collects exercise data corresponding to a plurality of exercise activities performed by a user wearing the wearable device based on biometric data of the user acquired from a sensor module of the wearable device, and transmits the collected exercise data to an electronic device. The system according to an embodiment may include an electronic device that generates an exercise routine for the user based on the exercise data received from the wearable electronic device, and recommending a change in at least one of an exercise type, an exercise duration, an exercise number, a rest duration, or a rest number included in the exercise routine according to body information about the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a system and method for generating an exercise routine. Background Art

[0002] With the advancement of semiconductor integration and sensing technology, wearable electronic devices can provide functions that can monitor biometric information at home rather than in a hospital. Therefore, the number of users who exercise using wearable electronic devices that can monitor biometric information is increasing.

[0003] If a user wearing a wearable electronic device selects an exercise type on the wearable electronic device, performs exercise, and then ends the exercise, the wearable electronic device may provide exercise information such as the user's heart rate, calories burned, and / or exercise distance while performing the exercise according to the selected exercise type. Summary of the invention

[0004] According to an embodiment, a system for generating an exercise routine may include a wearable electronic device, which is configured to collect exercise data corresponding to multiple exercise actions performed by a user wearing the wearable electronic device based on biometric information of the user obtained from a sensor module of the wearable electronic device, and send the collected exercise data to the electronic device.

[0005] According to an embodiment, the system may include an electronic device configured to generate an exercise routine for the user based on the exercise data received from the wearable electronic device, and recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's physical information.

[0006] According to an embodiment, a method for generating an exercise routine may include collecting, by a wearable electronic device, exercise data corresponding to a plurality of exercise actions performed by a user wearing the wearable electronic device based on biometric information of the user obtained from a sensor module of the wearable electronic device, and sending the collected exercise data to the electronic device.

[0007] The method according to an embodiment may include generating, by the electronic device, an exercise routine for the user based on the exercise data received from the wearable electronic device.

[0008] According to an embodiment, the method may include: the electronic device recommends changing at least one of the exercise type, exercise time, number of exercises, rest time or number of rests included in the exercise routine based on the user's physical information, while visually displaying the exercise routine on a display of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 is a diagram showing an electronic device in a network environment according to an embodiment; Figure 2 is a diagram illustrating a system for managing a battery of a wearable electronic device according to an embodiment; Figure 3 is a block diagram illustrating a wearable electronic device according to an embodiment; Figure 4 is a block diagram showing an electronic device according to an embodiment; Figure 5 is a view illustrating an operation of detecting the start of exercise on a wearable electronic device according to an embodiment; Figure 6 is a view showing an exercise action and a rest action on a wearable electronic device according to an embodiment; Figure 7 is a view illustrating an operation of classifying exercise types based on exercise data on an electronic device according to an embodiment; Figure 8a , Figure 8b and Figure 8c is a view illustrating an operation of generating an exercise routine based on body information of a user and recommending the exercise routine on an electronic device according to an embodiment; Figure 9a , Figure 9b , Fig.9c and Figure 9d is a view showing an operation of editing an exercise routine according to an embodiment; Fig.10 is a view illustrating an operation of providing instructions when performing an exercise routine on a wearable electronic device according to an embodiment; Fig.11 is a flow chart illustrating operations for generating an exercise routine according to an embodiment; Fig.12 is a flow chart illustrating operations for generating an exercise routine on a wearable electronic device according to an embodiment; Fig.13 is a flow chart illustrating operations for generating an exercise routine on an electronic device according to an embodiment; and Fig.14 is a flow chart illustrating an operation for classifying exercise types on an electronic device according to an embodiment. DETAILED DESCRIPTION

[0010] Figure 1 1 is a block diagram showing an electronic device 101 in a network environment 100 according to an embodiment. Figure 1, the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with the electronic device 104 or the server 108 via the second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, a memory 130, an input module 150, a sound output module 155, a display module 160, an audio module 170, a sensor module 176, an interface 177, a connection terminal 178, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a user identification module (SIM) 196, or an antenna module 197. In an embodiment, at least one of the components (e.g., the connection terminal 178) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In embodiments, some of the components (eg, the sensor module 176, the camera module 180, or the antenna module 197) may be integrated into a single component (eg, the display module 160).

[0011] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to an embodiment, as at least part of the data processing or calculation, the processor 120 may store a command or data received from another component (e.g., sensor module 176 or communication module 190) in the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)) and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), a neural processing unit (NPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is independent of or combined with the main processor 121 in operation. For example, when the electronic device 101 includes a main processor 121 and an auxiliary processor 123, the auxiliary processor 123 may be configured to consume less power than the main processor 121, or to be specifically used for a specified function. The auxiliary processor 123 may be implemented as a separate part from the main processor 121, or as part of the main processor 121.

[0012] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 (rather than the main processor 121) may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190), or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component among the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) together with the main processor 121. According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., a camera module 180 or a communication module 190) that is functionally related to the auxiliary processor 123. According to an embodiment, the auxiliary processor 123 (e.g., a neural processing unit) may include a hardware structure dedicated to artificial intelligence model processing. The artificial intelligence model may be generated through machine learning. For example, such learning may be performed by the electronic device 101 where the artificial intelligence is executed or via a separate server (e.g., server 108). The learning algorithm may include, but is not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, for example. The artificial intelligence model may include multiple artificial neural network layers. The artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q network, or a combination of two or more thereof, but is not limited thereto. Additionally or optionally, the artificial intelligence model may include a software structure in addition to a hardware structure.

[0013] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.

[0014] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .

[0015] The input module 150 may receive commands or data to be used by other components (e.g., the processor 120) of the electronic device 101 from outside (e.g., a user) of the electronic device 101. The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus).

[0016] The sound output module 155 can output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records. The receiver can be used to receive incoming calls. Depending on the embodiment, the receiver can be implemented as a separate part from the speaker, or as part of the speaker.

[0017] The display module 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display module 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display module 160 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the strength of a force caused by a touch.

[0018] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input module 150, or output sound via the sound output module 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.

[0019] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) outside the electronic device 101, and then generate an electrical signal or a data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illumination sensor.

[0020] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly with an external electronic device (e.g., the electronic device 102). According to an embodiment, the interface 177 may include, for example, a high-definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

[0021] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0022] The haptic module 179 may convert the electric signal into mechanical stimulation (eg, vibration or motion) or electric stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.

[0023] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.

[0024] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0025] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0026] The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a traditional cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a local area network (LAN) or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.

[0027] The wireless communication module 192 may support 5G networks after 4G networks and next generation communication technologies (e.g., new radio (NR) access technologies). NR access technologies may support enhanced mobile broadband (eMBB), massive machine type communications (mMTC), or ultra-reliable low latency communications (URLLC). The wireless communication module 192 may support high frequency bands (e.g., millimeter wave bands) to achieve, for example, high data transmission rates. The wireless communication module 192 may support various technologies for ensuring performance on high frequency bands, such as, for example, beamforming, massive multiple input multiple output (massive MIMO), full dimensional MIMO (FD-MIMO), array antennas, analog beamforming, or massive antennas. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., a second network 199). According to an embodiment, the wireless communication module 192 may support a peak data rate for implementing eMBB (e.g., 20 Gbps or greater), loss coverage for implementing mMTC (e.g., 164 dB or less), or U-plane delay for implementing URLLC (e.g., 0.5 ms or less for each of the downlink (DL) and uplink (UL), or 1 ms or less for a round trip).

[0028] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190. A signal or power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, other components (e.g., a radio frequency integrated circuit (RFIC)) in addition to the radiator may also be formed as part of the antenna module 197.

[0029] According to an embodiment, the antenna module 197 may form a millimeter wave antenna module. According to an embodiment, the millimeter wave antenna module may include a printed circuit board, a radio frequency integrated circuit (RFIC), and a plurality of antennas (e.g., array antennas), wherein the RFIC is disposed on a first surface (e.g., bottom surface) of the printed circuit board, or adjacent to the first surface and capable of supporting a designated high frequency band (e.g., millimeter wave band), and the plurality of antennas are disposed on a second surface (e.g., top surface or side surface) of the printed circuit board, or adjacent to the second surface and capable of transmitting or receiving signals of the designated high frequency band.

[0030] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, a general purpose input output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)) and communicatively transfer signals (e.g., commands or data) therebetween.

[0031] According to an embodiment, instructions or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 or the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed in the electronic device 101 may be executed in one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically execute a function or service or should execute a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service instead of executing the function or service, or the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service in addition to executing the function or service. The one or more external electronic devices receiving the request may execute at least part of the requested function or service, or execute another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing the result. To this end, cloud computing technology, distributed computing technology, mobile edge computing (MEC) technology, or client-server computing technology, for example, may be used. The electronic device 101 may use, for example, distributed computing or mobile edge computing to provide ultra-low latency services. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. The server 108 may be an intelligent server using machine learning and / or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart homes, smart cities, smart cars, or healthcare) based on 5G communication technology or IoT-related technologies.

[0032] Figure 2 is a diagram 200 illustrating a system for generating an exercise routine according to an embodiment.

[0033] refer to Figure 2 , a system for generating an exercise routine may include a wearable electronic device 301 and an electronic device 401 .

[0034] The exercise routine may indicate an exercise sequence and / or an exercise method that the user may perform exercise regularly. Since the exercise routine according to an embodiment includes at least one of an exercise type, an exercise time, an exercise number, a rest time, or a rest number, the exercise routine may provide the user with a regular exercise sequence and / or an exercise method, as well as a rest time and a rest number for the user performing the exercise.

[0035] According to an embodiment, the wearable electronic device 301 may collect exercise data corresponding to a plurality of exercise actions performed by a user wearing the wearable electronic device based on biometric information obtained by a sensor module of the wearable electronic device, and transmit the collected exercise data to the electronic device 401.

[0036] According to an embodiment, the wearable electronic device 301 may detect the start and end of exercise of the user, and transmit exercise data collected from the start to the end of exercise to the electronic device 401 .

[0037] According to an embodiment, the wearable electronic device 301 may detect the start of the user's exercise based on at least one of the following: receiving a user's selection indicating the start of exercise, identifying an exercise plan stored in the wearable electronic device, detecting that the wearable electronic device is located at an exercise-related location, or detecting that the user repeatedly performs the same action.

[0038] According to an embodiment, if the wearable electronic device 301 detects a rest action of the user between a plurality of exercise actions while collecting exercise data, the wearable electronic device 301 may collect rest data corresponding to the rest action and transmit the collected rest data to the electronic device 401. When exercise data corresponding to a first exercise action of the user is not collected within a first predetermined time (e.g., 30 minutes) while collecting exercise data corresponding to a first exercise action of the user, and if a heart rate of the user detected while performing the first exercise action decreases below a threshold, the wearable electronic device 301 may detect a rest action of the user and transmit rest data including a rest time and the number of rests performed to the electronic device 401.

[0039] According to an embodiment, if biometric information is not obtained even after a first predetermined time (eg, 30 minutes) for detecting a rest action while collecting exercise data from the time the exercise start is detected, the wearable electronic device 301 may detect the end of the exercise.

[0040] According to an embodiment, the wearable electronic device 301 may receive an exercise routine generated based on exercise data corresponding to a plurality of exercise motions from an electronic device, and may provide the exercise routine through a display or a speaker of the wearable electronic device 301 .

[0041] The configuration of the wearable electronic device 301 can be Figure 3 Described in detail in.

[0042] According to an embodiment, if exercise data corresponding to a plurality of exercise motions performed by a user wearing the wearable electronic device is received from the wearable electronic device 301, the electronic device 401 may generate an exercise routine of the user.

[0043] According to an embodiment, the electronic device 401 may detect an exercise type, an exercise time, and an exercise number based on the exercise data received from the wearable electronic device 301, and generate an exercise routine for the user based on the detected exercise type, exercise time, and exercise number.

[0044] According to an embodiment, the electronic device 401 may detect a periodic repetitive exercise pattern based on exercise data received from the wearable electronic device 301, perform grouping based on the periodic repetitive exercise pattern, and classify an exercise type of each grouping using training data.

[0045] According to an embodiment, the electronic device 401 may detect a rest time and a number of rest times that a user has rested between multiple exercise actions performed by the user based on rest data received from the wearable electronic device 301, and may generate an exercise routine by including the detected rest time and the number of rest times in the exercise routine.

[0046] According to an embodiment, if an exercise routine of a user is generated, the electronic device 401 may recommend changing at least one of an exercise type, exercise time, exercise number, rest time, or rest number included in the exercise routine according to the user's body information.

[0047] According to an embodiment, the electronic device 401 may provide an editing function in which at least one of an exercise type, an exercise time, a number of exercises, a rest time, or a number of rests included in an exercise routine may be changed by a user.

[0048] According to an embodiment, the electronic device 401 may transmit the exercise routine to the wearable electronic device 301 so that the exercise routine may be provided from the wearable electronic device 301 .

[0049] Available in Figure 4 The configuration of the electronic device 401 is described in detail in FIG.

[0050] Figure 3 is a block diagram 300 illustrating a wearable electronic device according to an embodiment.

[0051] refer to Figure 3 According to an embodiment, the wearable electronic device 301 (eg, Figure 2The wearable electronic device 301 may include a first processor 320, a first memory 330, a first display 360, a first sensor module 376 and a first communication module 390.

[0052] Figure 3 At least some of the components of the electronic device 301 shown in FIG. Figure 1 Components of the electronic device 101 are the same or similar, and redundant descriptions will be omitted below.

[0053] According to an embodiment, the first processor 320 may be implemented as Figure 1 The processors 120 are substantially the same or similar.

[0054] According to an embodiment, the first processor 320 may collect exercise data corresponding to a plurality of exercise actions performed by a user wearing the wearable electronic device 301 based on the biometric information obtained through the first sensor module 376, and transmit the collected exercise data to an electronic device (e.g., Figure 3 electronic device 401).

[0055] According to an embodiment, if the start of the user's exercise is detected, the first processor 320 may transmit information indicating the start of the user's exercise to the electronic device.

[0056] According to an embodiment, if a user's selection indicating the start of exercise is received, the first processor 320 may detect the start of the user's exercise. For example, if a selection of one of a plurality of exercise types provided by the wearable electronic device or a user's selection requesting the generation of an exercise routine is received, the first processor 320 may detect the start of the user's exercise.

[0057] According to an embodiment, if an exercise schedule stored in a wearable electronic device or an electronic device is identified, the first processor 320 may detect the start of the user's exercise. For example, the first processor 320 may detect the exercise schedule in a calendar application, a notification application, and / or a message application, store the detected exercise schedule, and detect the start time of the exercise schedule as the user's exercise start time.

[0058] According to an embodiment, the first processor 320 may identify an exercise schedule stored in the wearable electronic device, and if exercise data is collected, detect the start of the user's exercise. For example, the first processor 320 is a calendar application. The exercise schedule may be detected in a notification application and / or a message application, the exercise schedule may be stored, and if exercise data is collected at the start time of the detected exercise schedule, it may be detected as the user's exercise start time.

[0059] According to an embodiment, if the wearable electronic device 301 is located at an exercise-related location, the first processor 320 may detect the start of the user's exercise. For example, if the wearable electronic device 301 is located at a place where the user's exercise information is recorded or where an exercise facility is located, the start of the user's exercise may be detected.

[0060] According to an embodiment, if the wearable electronic device 301 is located at an exercise-related location and exercise data is collected, the first processor 320 may detect the start of the user's exercise. For example, if exercise data is collected when the wearable electronic device 301 is located at a place where the user's exercise information is recorded or where exercise facilities are located, the start of the user's exercise may be detected.

[0061] According to an embodiment, if the start of the user's exercise is detected, the first processor 320 may collect exercise data based on the biometric information obtained through the first sensor module 376 and transmit the collected exercise data to the electronic device.

[0062] According to an embodiment, if a resting motion of the user is detected while collecting and transmitting the collected exercise data to the electronic device, the first processor 320 may transmit the resting data corresponding to the resting motion to the electronic device.

[0063] According to an embodiment, if exercise data corresponding to a first exercise action of a user is not collected within a first predetermined time (for example, 30 minutes) while collecting exercise data corresponding to a first exercise action among multiple exercise actions performed by the user, and the heart rate of the user detected while performing the first exercise action drops below a threshold, the first processor 320 may detect a rest action of the user, and send rest data including a rest time and a number of rest times to the electronic device when a rest action has been performed.

[0064] According to an embodiment, if the exercise data is not collected even after the first predetermined time for detecting the user's resting action has passed while the exercise data is collected and transmitted to the electronic device, the first processor 320 may detect the end of the user's exercise and transmit information indicating the end of the user's exercise to the electronic device. For example, if the exercise data is not collected even after the first specific time for detecting the user's resting action has passed while the exercise data is collected, the first processor 320 may detect the end of the user's exercise.

[0065] According to an embodiment, if the first processor 320 receives a signal from an electronic device (eg, Figure 2 If the electronic device 401 receives the exercise routine, the first processor 320 may display the exercise routine through the first display 160.

[0066] According to an embodiment, if the execution of the exercise routine selected by the user is recognized, the first processor 320 may provide instruction information through the first display 360 or / and a speaker (not shown) so that the user can exercise according to the exercise routine.

[0067] According to an embodiment, the first memory 330 may be implemented as Figure 1 The memory 130 is substantially the same or similar.

[0068] According to an embodiment, it is possible to Figure 1 The first display 360 is implemented in substantially the same or similar manner as the display module 160 .

[0069] In an embodiment, the first display 360 may display an exercise routine received from the electronic device.

[0070] According to an embodiment, it is possible to Figure 1 The first sensor module 376 is implemented in the same or similar manner as the sensor module 176 .

[0071] According to an embodiment, the first sensor module 376 may include a biometric sensor, a motion sensor, an acceleration sensor, a gyro sensor, an angular velocity sensor, a gyro sensor, a heart rate sensor, a temperature / humidity sensor, a barometer and / or a position sensor.

[0072] According to an embodiment, the first communication module 390 may be implemented as Figure 1 The communication modules 190 are substantially the same or similar and may include multiple communication circuits using different communication technologies.

[0073] According to an embodiment, the first communication module 390 may include at least one of a wireless LAN module (not shown) and a short-range communication module (not shown), and may include an ultra-wideband (UWB) communication module, a Wi-Fi communication module, an NFC communication module, a Bluetooth traditional communication module and / or a BLE communication module as a short-range communication module (not shown).

[0074] Figure 4 is a block diagram 400 illustrating an electronic device according to an embodiment.

[0075] refer to Figure 4 According to an embodiment, the electronic device 401 (eg, Figure 2 The electronic device 401 may include a second processor 420, a second memory 430, a second display 460, a second sensor module 476 and a second communication module 490.

[0076] Figure 4 At least some of the components of the electronic device 401 shown in FIG. 4 may be used in conjunction with Figure 1Components of the electronic device 101 are the same or similar, and redundant descriptions will be omitted below.

[0077] According to an embodiment, the first processor 420 may be implemented as Figure 2 The processors 120 are substantially the same or similar.

[0078] According to an embodiment, if the second processor 420 receives a signal from a wearable electronic device (eg, Figure 2 The wearable electronic device 301 receives exercise data corresponding to a plurality of exercise actions performed by a user wearing the wearable electronic device, and the second processor 420 may generate an exercise routine for the user based on the exercise data.

[0079] According to an embodiment, if the second processor 420 receives information indicating the start of the user's exercise from the wearable electronic device, the second processor 420 may wait to receive exercise data.

[0080] According to an embodiment, if the second processor 420 receives information indicating the end of the user's exercise from the wearable electronic device while receiving exercise data from the wearable electronic device, an exercise routine for the user may be generated based on the exercise data received from the start to the end of the exercise.

[0081] According to an embodiment, the second processor 420 may detect the type of exercise performed by the user wearing the wearable electronic device, the exercise time for each exercise type, and the number of exercises for each exercise type based on the exercise data, and generate an exercise routine for the user including the detected exercise type, exercise time, and number of exercises.

[0082] According to an embodiment, the second processor 420 may detect a periodic repetitive exercise pattern based on the exercise data, perform grouping based on the periodic repetitive exercise pattern, and classify an exercise type of each grouping using the training data.

[0083] According to an embodiment, the second processor 420 may pre-process the exercise data, detect a periodic repetitive exercise pattern generation time period, and use a predictive discriminant analysis technique such as principal component analysis (PCA) or linear discriminant analysis (LDA) to detect features in the periodic repetitive exercise pattern generation time period. If the repetitive exercise pattern portion is not detected to exceed the threshold time, the second processor 420 may perform clustering on the repetitive exercise pattern using unsupervised learning (e.g., K-means, Gaussian mixture model (GMM), hierarchical agglomerative clustering (HAC), or DBSCAN). The second processor 420 may measure the similarity by calculating the Pearson correlation coefficient, the Euclidean distance, or the cosine similarity, and perform grouping for each cluster with high similarity. The second processor 420 may classify the exercise type of each group using a classifier learning model based on machine learning. The second processor 420 may detect the exercise time and the number of exercises, which are detailed information for each classified exercise group.

[0084] According to an embodiment, the second processor 420 may detect a rest time and a number of rest times at which a user has rested between a plurality of exercise actions performed by the user based on rest data received from the wearable electronic device, and may generate an exercise routine by including the detected rest time and the number of rest times in the exercise routine.

[0085] According to an embodiment, the second processor 420 may transmit the generated exercise routine to the wearable electronic device so that the generated exercise routine may be provided from the wearable electronic device.

[0086] According to an embodiment, the second processor 420 may recommend changing at least one of an exercise type, an exercise time, a number of exercises, a rest time, or a number of rests included in the exercise routine according to the user's body information.

[0087] According to an embodiment, while visually displaying the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine on the second display 460, the second processor 420 may recommend changing at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's physical information.

[0088] For example, if the user's heart rate is above a threshold during a first period of performing 15 repetitions of the first exercise (e.g., strength exercise A) among multiple exercises, the second processor 420 may recommend that the user's exercise goals be met through the exercise routine by increasing the number of exercises from three sets (the number of exercises in the first period) to four sets and reducing the exercise time to 50 seconds per set and increasing the rest time between sets.

[0089] For example, if the user's body fat percentage is higher than a threshold or there is a body fat percentage set as a target by the user, and the calorie consumption rate when performing multiple exercises included in the exercise routine is not included in the calorie consumption rate for reducing the user's body fat percentage, the second processor 420 may recommend adding aerobic exercise or changing one of the multiple exercises to an aerobic exercise.

[0090] According to an embodiment, the second processor 420 may provide an editing function, which enables a user to change at least one of the exercise type, exercise time, number of exercises, rest time, or number of rest times included in the exercise routine, while visually displaying the exercise type, exercise time, number of exercises, rest time, or number of rest times included in the exercise routine on the second display 460.

[0091] According to an embodiment, the second processor 420 may store the generated exercise routine, the exercise routine changed according to the recommendation, or the exercise routine edited by the user in the second memory 430 based on the user's selection.

[0092] According to an embodiment, the second processor 420 may identify an exercise routine selected by the user among a plurality of exercise routines stored in the second memory 430, and select the exercise routine according to the wearable electronic device (e.g., Figure 2 The wearable electronic device 301 may be used to collect external environment information and / or physical information (e.g., heart rate, stress, weight, and / or body fat percentage) of a user of the wearable electronic device 301, and recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the selected exercise routine.

[0093] For example, the second processor 420 may be based on, for example, heart rate, stress, weight and / or body fat percentage as a sensor of the wearer of the wearable electronic device (e.g., Figure 2 The invention also provides a method for determining a wearable electronic device 301 according to the present invention, wherein the wearable electronic device 301 includes a wearable electronic device 302 and a wearable electronic device 303. The method further comprises: using biometric information of a user of the wearable electronic device 301, and recommending a change in at least one of an exercise type, an exercise time, a number of exercises, a rest time, or a number of exercises included in a selected exercise routine.

[0094] For example, the second processor 420 may recommend changing at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the selected exercise routine based on predicted weather information and / or current weather information as external environmental information when performing the exercise routine.

[0095] For example, the second processor 420 may recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in a selected exercise routine based on exercise information that can be performed at an exercise-related location (e.g., a gym or a swimming pool) when the electronic device is located at an exercise-related location (e.g., a gym or a swimming pool) as external environmental information.

[0096] According to an embodiment, if execution of the exercise routine selected by the user is recognized, the second processor 420 may provide guide information through the second display 460 or / and a speaker (not shown) so that the user can exercise according to the exercise routine.

[0097] According to an embodiment, the first memory 430 may be implemented as Figure 2 The memory 130 is substantially the same or similar.

[0098] According to an embodiment, the second memory 430 may store at least one exercise routine.

[0099] According to an embodiment, it is possible to Figure 2 The first display 460 is implemented in substantially the same or similar manner as the display module 160 .

[0100] According to an embodiment, the second display 460 may display information based on information received from a wearable electronic device (eg, Figure 2 The wearable electronic device 301) generates an exercise routine based on the exercise data received.

[0101] According to an embodiment, the second display 460 may display information based on information received from a wearable electronic device (eg, Figure 2 The wearable electronic device 301) generates an exercise routine based on the exercise data received.

[0102] According to an embodiment, while displaying the exercise type, exercise time, number of exercises, rest time, or number of rests included in an exercise routine, the second display 460 may display a recommended routine in which at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine is changed according to the user's physical information.

[0103] According to an embodiment, the second display 460 may display an editing function, which enables a user to change at least one of the exercise type, exercise time, number of exercises, rest time, or number of rest times included in the exercise routine, while displaying the exercise type, exercise time, number of exercises, rest time, or number of rest times included in the exercise routine.

[0104] According to an embodiment, it is possible to Figure 2 The first sensor module 476 is implemented in the same or similar manner as the sensor module 176 .

[0105] According to an embodiment, the first communication module 490 may be implemented as Figure 2 The communication modules 190 are substantially the same or similar and may include multiple communication circuits using different communication technologies.

[0106] According to an embodiment, the second communication module 490 may include at least one of a wireless LAN module (not shown) and a short-range communication module (not shown), and may include an ultra-wideband (UWB) communication module, a Wi-Fi communication module, an NFC communication module, a Bluetooth traditional communication module and / or a BLE communication module as a short-range communication module (not shown).

[0107] Figure 5 5 is a view illustrating an operation of detecting the start of an exercise on a wearable electronic device according to an embodiment.

[0108] refer to Figure 5 , such as screen <510> As shown in FIG. , if a selection of an exercise icon 511 indicating an exercise type among a plurality of exercise types provided from a wearable electronic device is received or a selection of a start icon 513 indicating a request for generating an exercise routine is received by a user, the wearable electronic device (e.g., Figure 2 The wearable electronic device 301 and / or the wearable electronic device 301) may detect the start of the user's exercise.

[0109] As screen <530> As shown in , wearable electronic devices (e.g., Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may be located in a gymnasium 513 or a swimming pool 533 as a place for exercise, and the screen <550> As shown in , wearable electronic devices (e.g., Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may be stored in the wearable electronic device or in an electronic device (eg, an electronic device (eg, Figure 2 electronic devices and / or Figure 4 An exercise schedule is detected on a calendar application, a notification application and / or a message application in the electronic device 401), the detected exercise schedule is stored, and a start time of the exercise schedule is detected as the user's exercise start time.

[0110] Wearable electronic devices (e.g. Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301) can detect an exercise schedule on a calendar application, a notification application and / or a message application stored in the wearable electronic device or the electronic device, store the detected exercise schedule, and if exercise data is collected as an exercise action of the user wearing the wearable electronic device when the current time is the start time of the exercise schedule, the start of the user's exercise is detected.

[0111] Figure 66 is a view showing an exercise motion and a rest motion on a wearable electronic device according to an embodiment.

[0112] Screen <610> It shows that when wearing a wearable electronic device (e.g., Figure 2 The wearable electronic device 301 and / or Figure 3 Graphs of energy flow, core temperature, and average skin temperature when a user of a wearable electronic device 301 performs exercise.

[0113] Screen <630> It shows that when wearing a wearable electronic device (e.g., Figure 2 The wearable electronic device 301 and / or Figure 3 A graph of cardiac output, stroke volume, and heart rate when a user of a wearable electronic device 301 is exercising or recovering.

[0114] Figure 7 7 is a view illustrating an operation of classifying exercise types based on exercise data on an electronic device according to an embodiment.

[0115] refer to Figure 7 , electronic devices (e.g. Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 may be based on a wearable electronic device (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301) receives exercise data to detect a periodic repetitive exercise pattern generation part, uses predictive discriminant analysis technology to detect features in the periodic repetitive exercise pattern generation part, uses unsupervised learning to perform clustering on the repetitive exercise patterns, and performs grouping on each cluster with high similarity, such as "strength exercise A period 711", "strength exercise B period 713", "strength exercise C period 715" and "strength exercise D period 717".

[0116] The electronic device may use a machine learning-based classifier learning model to classify exercise types as results of classification by grouping, such as classifying a “squat period” as a vertical exercise as a “strength exercise A period 711,” classifying a “lunge period” as a horizontal exercise as a “strength exercise B period 713,” classifying a “bench press period” as a vertical exercise as a “strength exercise C period 715,” and classifying a “leg press period” with little wrist movement as a “strength exercise D period 717.”

[0117] In the case of a “squat session,” the electronic device may additionally detect that posture information about the wearable electronic device received from the wearable electronic device is a representative vertical exercise with the display of the wearable electronic device (e.g., a watch) worn on the user's wrist facing upward, and classify the exercise type.

[0118] In the case of the “bench press session,” the electronic device may additionally detect that the posture information received from the wearable electronic device about the wearable electronic device is a representative vertical exercise with the crown of the wearable electronic device (e.g., a watch) worn on the user's wrist facing upward, and classify the exercise type.

[0119] The electronic device may detect rest periods 731 , 733 , and 735 between exercises based on rest data received from the wearable electronic device.

[0120] When the rest periods 711a and 711b are detected as undesignated and / or irregular times in the “strength exercise A period 711”, the electronic device may delete the rest periods 711a and 711b detected as undesignated and / or irregular periods.

[0121] Figures 8a to 8c 800a to 800c are views illustrating an operation of generating an exercise routine based on body information of a user and recommending the exercise routine on an electronic device according to an embodiment.

[0122] like Figure 8a As shown, the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 can record information from a communicably connected wearable electronic device (e.g., Figure 2 The electronic device 301 and / or Figure 3 The wearable electronic device 301 receives the exercise data and rest data.

[0123] like Figure 8b As shown, the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) may be based on Figure 8a The exercise data recorded in the example generates an exercise routine classified into a running period 811, a strength A period 813, a strength B period 815a, a strength C period 817, and a rowing period 819 for each exercise type, and is displayed through a display (e.g., Figure 4 The generated exercise routine is visually provided on a second display 460 .

[0124] like Figure 8c As shown, when the user's heart rate in the strength B period 815b is higher than the threshold, the electronic device (eg, Figure 2The electronic device 401 and / or Figure 4 The electronic device 401 may recommend that the user's exercise goals be met through the exercise routine by increasing the number of exercises from three sets (the number of exercises in the strength B period) to four sets and reducing the exercise time to 50 seconds per set and increasing the rest time before and / or after the strength B period.

[0125] Figures 9a to 9d 900a to 900d are views illustrating an operation of editing an exercise routine in an electronic device according to an embodiment.

[0126] like Figure 9a As shown, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 may provide a wearable electronic device (eg, Figure 2 The electronic device 301 and / or Figure 3 The wearable electronic device 301 of FIG. 30 generates an exercise routine 913a based on the exercise data and rest data received by the wearable electronic device 301. If a selection of "new routine" 911 for recommended editing and user editing is recognized while the exercise routine 913a is displayed, the user can switch to the exercise routine 913a. Figure 9b Recommended edited modes for exercise routines are shown.

[0127] like Figure 9b As shown, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 may be in an electronic device (eg, Figure 4 While displaying exercise routine 913a on the display of electronic device 401, exercise routine 913b in which lower body exercise A period is changed and phrase 931 are displayed, which recommends changing the exercise time and number as the heart rate increases over a threshold value during lower body exercise A period. When the selection of "Save Routine" 935a is recognized, electronic device 401 may additionally store exercise routine 913b changed by recommendation of electronic device 401 and the name of the exercise routine (e.g., lower body exercise) input by the user. When the selection of "Edit More" 935b is recognized, electronic device 401 may switch to the following display: Fig.9c Mode shown for a user to edit an exercise routine.

[0128] like Fig.9c As shown, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 may be configured to display a display of the electronic device (eg, Figure 4While displaying the exercise routine 913a on the second display 460 of the electronic device 401, a function 951 for changing the user's exercise order, a function 953 for changing the exercise name, a function 955 for changing the exercise type, and a function 957 for changing the exercise time are provided. When the selection of "Save Routine" 959 is recognized, the electronic device 401 may additionally store the exercise routine 913c changed by the user of the electronic device 401 and the name of the exercise routine input by the user (e.g., lower body exercise).

[0129] like Figure 9d As shown, when additional storage is performed as Figure 9b The exercise routine 913b shown as changed by the recommendation of the electronic device 401 and the name of the exercise routine input by the user (eg, lower body exercise) or additionally stored as Fig.9c When the exercise routine 913c changed by the user and the name of the exercise routine input by the user (eg, lower body exercise) are displayed, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) may store the additionally stored exercise routine 913b or 913c as a customized exercise routine of the user.

[0130] The electronic device 401 may set and store the name of the exercise routine, the date (eg, day of the week) when the exercise routine is performed, and the repetition period of the exercise routine according to the user's input.

[0131] Fig.10 1000 is a view illustrating an operation of providing guidance when performing an exercise routine on a wearable electronic device according to an embodiment.

[0132] refer to Fig.10 , a wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and Figure 3 The wearable electronic device 301 may be displayed via a display (eg, Figure 3 The first display 360) or / and a speaker (not shown) provide guide information 1011 or 1013 so that if the execution of the exercise routine selected by the user is recognized, the user can exercise according to the exercise routine.

[0133] A system for generating an exercise routine according to an embodiment may include a wearable electronic device ( Figure 2 In 301, the wearable electronic device is configured to receive a sensor module ( Figure 3 376 ) obtains the biometric information of the user to collect exercise data corresponding to a plurality of exercise actions performed by the user, and transmits the collected exercise data to the electronic device.

[0134] The system according to the embodiment may include an electronic device ( Figure 2 401; Figure 4 401), the electronic device is configured to generate an exercise routine for the user based on exercise data received from the wearable electronic device, and recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine according to the user's physical information.

[0135] In the system according to the embodiment, the wearable electronic device ( Figure 2 301; Figure 3 301) is configured to detect the start of a user's exercise based on at least one of the following: receiving a user's selection indicating the start of exercise, identifying an exercise plan stored in the wearable electronic device, detecting that the wearable electronic device is located at an exercise-related location, or detecting that the user repeatedly performs the same action.

[0136] In the system according to the embodiment, the wearable electronic device ( Figure 2 301; Figure 3 301) is configured to collect rest data corresponding to a rest action performed by a user based on biometric information while collecting exercise data, and transmit the rest data to the electronic device.

[0137] In the system according to the embodiment, the electronic device ( Figure 2 401; Figure 4 401) is configured to detect an exercise type, an exercise time, and a number of exercises based on the exercise data, detect a rest time and a number of rest times based on the rest data, and generate an exercise routine for the user based on the detected exercise type, exercise time, number of exercises, rest time and a number of rest times.

[0138] In the system according to the embodiment, the electronic device ( Figure 2 401; Figure 4 401) is configured to detect a periodically repeated exercise pattern based on the exercise data, perform grouping based on the periodically repeated exercise pattern, and classify the exercise type of each grouping using the training data.

[0139] In the system according to the embodiment, the electronic device ( Figure 2 401; Figure 4 401) is configured to recommend changes to at least one of exercise type, exercise time, exercise number, rest time, or rest number included in an exercise routine based on the user's body information while visually displaying the exercise routine on a display of the electronic device.

[0140] In the system according to the embodiment, the electronic device ( Figure 2 401; Figure 4401 ) is configured to send the exercise routine to the wearable electronic device to display the exercise routine on a display of the wearable electronic device.

[0141] In the system according to the embodiment, the electronic device ( Figure 2 401, Figure 4 401) is configured to provide an editing function while visually displaying the exercise routine on the display of the electronic device, in which at least one of the exercise type, exercise time, number of exercises, rest time or number of rests included in the exercise routine can be changed by the user.

[0142] In the system according to the embodiment, the electronic device ( Figure 2 401; Figure 4 401) is configured to, upon identifying a selection to execute an exercise routine, recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's physical information when the exercise routine is selected.

[0143] In the system according to the embodiment, the electronic device ( Figure 2 401; Figure 4 401) is configured to, when a selection for executing an exercise routine is recognized, recommend a change in at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on external environment information when the exercise routine is selected.

[0144] Fig.11 1100 is a flowchart illustrating operations for generating an exercise routine according to an embodiment. The operations for generating an exercise routine may include operations 1101 to 1103. In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel or other operations may be added.

[0145] In operation 1101, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301) can detect the start of a user's exercise.

[0146] According to an embodiment, if a user selection indicating the start of exercise is received, the wearable electronic device 301 may detect the start of the user's exercise.

[0147] According to an embodiment, if an exercise schedule stored in a wearable electronic device or an electronic device is recognized, the wearable electronic device 301 may detect the start of exercise of the user.

[0148] According to an embodiment, if the wearable electronic device 301 is located at an exercise-related location, the wearable electronic device 301 may detect the start of the user's exercise.

[0149] According to an embodiment, if it is detected that the user wearing the wearable electronic device 301 repeatedly performs the same action, the wearable electronic device 301 may detect that the user's exercise starts.

[0150] In operation 1103, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may send information indicating the start of the user's exercise to the electronic device 401 .

[0151] According to an embodiment, the wearable electronic device 301 can communicate with the wearable electronic device 301 through a communication module (eg, Figure 3 The first communication module 390 ) sends information indicating the start of exercise to the electronic device 401 .

[0152] In operation 1105, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 electronic device) can wait to receive exercise data.

[0153] According to an embodiment, if the electronic device 401 receives information indicating the start of exercise from the wearable electronic device 301, the electronic device 401 may wait to receive exercise data.

[0154] In operation 1107, if the user's exercise action is detected, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may collect exercise data corresponding to the user's exercise movements in operation 1109 .

[0155] According to an embodiment, the wearable electronic device 301 may be based on a sensor module (eg, Figure 3 The user's exercise action is detected using biometric information obtained by the first sensor module 376) and the biometric information obtained by the sensor module during the exercise action is collected as exercise data.

[0156] In operation 1111, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 can send the exercise data to the electronic device 401.

[0157] According to an embodiment, the wearable electronic device 301 can communicate with the wearable electronic device 301 through a communication module (eg, Figure 3 The first communication module 390 ) sends the exercise data to the electronic device 401 .

[0158] In operation 1113, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) can record exercise data.

[0159] According to an embodiment, the electronic device 401 may record exercise data received from a wearable electronic device.

[0160] In operation 1115, if a resting action of the user is detected, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may collect rest data corresponding to the user's rest action in operation 1117 .

[0161] According to an embodiment, when the same exercise data corresponding to an exercise action of a user is not collected within a first predetermined time (for example, 30 minutes) while collecting exercise data corresponding to the exercise action of a user, and if the user's heart rate detected while performing the exercise action drops below a threshold, the wearable electronic device 301 may detect it as a rest action of the user and collect rest data including the rest time and / or the number of rests performed.

[0162] At operation 1119, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may send the rest data to the electronic device 401 .

[0163] According to an embodiment, the wearable electronic device 301 can communicate with the wearable electronic device 301 through a communication module (eg, Figure 3 The first communication module 390 ) sends the rest data to the electronic device 401 .

[0164] In operation 1121, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 electronic device) can record rest data.

[0165] According to an embodiment, the electronic device 401 may record rest data received from the wearable electronic device.

[0166] If it is detected at operation 1123 that the user's exercise is finished, at operation 1125, the wearable electronic device 301 (eg, Figure 2The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may send information indicating the end of the exercise to the electronic device 401 .

[0167] According to an embodiment, if exercise data is not collected even after a first predetermined time for detecting a resting action of the user has passed while collecting and transmitting the collected exercise data to the electronic device 401, the wearable electronic device 301 may detect that the user's exercise is finished.

[0168] According to an embodiment, the wearable electronic device 301 can communicate with the wearable electronic device 301 through a communication module (eg, Figure 3 The first communication module 390) sends information indicating the end of the exercise to the electronic device 401.

[0169] In operation 1127, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) may generate an exercise routine based on the exercise data and / or the rest data.

[0170] According to an embodiment, if the electronic device 401 receives information indicating the end of exercise from the wearable electronic device, the electronic device 401 may generate an exercise routine based on exercise data recorded from the time when the information indicating the start of exercise was received to the time indicating the end of exercise.

[0171] According to an embodiment, if the electronic device 401 receives information indicating the end of the user's exercise from the wearable electronic device while receiving exercise data from the wearable electronic device, the electronic device 401 may generate an exercise routine for the user based on the exercise data received from the start to the end of the exercise.

[0172] According to an embodiment, the electronic device 401 may pre-process the exercise data, detect a periodic repetitive exercise pattern generation portion, and use a predictive discriminant analysis technique such as principal component analysis (PCA) or linear discriminant analysis (LDA) to detect features in the periodic repetitive exercise pattern generation portion. If the repetitive exercise pattern portion is not detected to exceed the threshold time, the electronic device 401 may perform clustering on the repetitive exercise pattern using unsupervised learning (e.g., K-means, Gaussian mixture model (GMM), hierarchical agglomerative clustering (HAC), or DBSCAN). The electronic device 401 may measure the similarity by calculating the Pearson correlation coefficient, the Euclidean distance, or the cosine similarity, and perform grouping for each cluster with high similarity. The electronic device 401 may classify the exercise type of each group using a classifier learning model based on machine learning. The electronic device 401 may detect the exercise time and the number of exercises, which are detailed information for each classified exercise group.

[0173] According to an embodiment, the electronic device 401 may detect the rest time and number of rests of the user between multiple exercise actions performed by the user based on the rest data recorded from the time when the information indicating the start of the exercise is received to the time indicating the end of the exercise, and may generate an exercise routine by including the detected rest time and number of rests in the exercise routine.

[0174] In operation 1129, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device) can send the exercise routine to the wearable electronic device 301.

[0175] According to an embodiment, the electronic device 401 can communicate with the electronic device 401 through a communication module (eg, Figure 4 The second communication module 490 ) sends the exercise routine to the wearable electronic device 501 .

[0176] In operation 1131, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may output an exercise routine.

[0177] According to an embodiment, if the wearable electronic device 301 receives an exercise routine from the electronic device 401, the wearable electronic device 301 may display the exercise routine through a display of the wearable electronic device (eg, Figure 3 The first display 360) displays the exercise routine.

[0178] In operation 1133, the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 An electronic device) can provide editorial recommendations for exercise routines based on the user's physical information.

[0179] According to an embodiment, when a display (e.g., Figure 4 When the electronic device 401 visually displays the exercise type, exercise time, number of exercises, rest time, or number of rest times included in the exercise routine on the second display 460 of the user, the electronic device 401 may recommend changing at least one of the exercise type, exercise time, number of exercises, rest time, or number of rest times included in the exercise routine according to the user's physical information. For example, the user's physical information may include the user's heart rate, blood pressure, and stress when performing a plurality of exercise actions, and may include the user's current weight, body fat, and skeletal muscle mass.

[0180] According to an embodiment, the electronic device 401 may further provide an editing function that enables the user to change at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine while displaying the same on a display of the electronic device (e.g., Figure 4 The exercise type, exercise time, number of exercises, rest time or number of rests included in the exercise routine are visually displayed on a second display 460 of the display.

[0181] Fig.12 12 is a flowchart 1200 showing operations for generating an exercise routine on a wearable electronic device according to an embodiment. The operations for generating an exercise routine may include operations 1201 to 1217. In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel or other operations may be added.

[0182] In operation 1201, a wearable electronic device (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301) can detect the start of a user's exercise.

[0183] According to an embodiment, the wearable electronic device may detect the start of a user's exercise based on at least one of the following: receiving a user's selection indicating the start of exercise, identifying an exercise plan stored in the wearable electronic device, detecting that the wearable electronic device is located at an exercise-related location, or detecting that the user repeatedly performs the same action.

[0184] According to an embodiment, the wearable electronic device may communicate with the wearable electronic device through a communication module (eg, Figure 3 The first communication module 390) sends information indicating the start of the user's exercise to the electronic device.

[0185] If the user's exercise action is detected in operation 1203, then in operation 1205, the wearable electronic device (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may collect exercise data corresponding to the user's exercise movements and transmit the collected exercise data to the electronic device (eg, Figure 2 The electronic device 401 and / or Figure 4 electronic device 401).

[0186] According to an embodiment, the wearable electronic device may be based on a sensor module (eg, Figure 3The user's exercise action is detected using biometric information obtained by the first sensor module 376) and the biometric information obtained by the sensor module during the exercise action is collected as exercise data.

[0187] According to an embodiment, the wearable electronic device may communicate with the wearable electronic device through a communication module (eg, Figure 3 The first communication module 390) sends the exercise data to the electronic device.

[0188] If the user's resting action is detected in operation 1207, then in operation 1209, the wearable electronic device (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may collect rest data corresponding to the rest action of the user and send the collected rest data to the electronic device (eg, Figure 2 The electronic device 401 and / or Figure 4 electronic device 401).

[0189] According to an embodiment, when the same exercise data corresponding to an exercise action of a user is not collected within a first predetermined time (for example, 30 minutes) while collecting exercise data corresponding to the exercise action of a user, and if the user's heart rate detected while performing the exercise action drops below a threshold, the wearable electronic device may detect it as a rest action of the user and collect rest data including the rest time and / or the number of rests performed.

[0190] According to an embodiment, the wearable electronic device may communicate with the wearable electronic device through a communication module (eg, Figure 3 The first communication module 390) sends the rest data to the electronic device.

[0191] When it is detected at operation 1211 that the user's exercise ends, at operation 1213, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may send information indicating the end of the exercise to the electronic device (eg, Figure 2 The electronic device 401 and / or Figure 4 electronic device 401).

[0192] According to an embodiment, if exercise data is not collected even after a first predetermined time for detecting a resting action of the user has passed while the exercise data is collected, the wearable electronic device may detect that the exercise of the user is ended.

[0193] According to an embodiment, the wearable electronic device may communicate with the wearable electronic device through a communication module (eg, Figure 3The first communication module 390) sends information indicating the end of the exercise to the electronic device.

[0194] In operation 1215, if the Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 receives the exercise routine generated by the electronic device, then at operation 1217, the wearable electronic device 301 (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 The wearable electronic device 301 may output an exercise routine.

[0195] According to an embodiment, the wearable electronic device may display the display of the wearable electronic device (eg, Figure 3 The first display 360) outputs the exercise routine received from the electronic device.

[0196] Fig.13 1300 is a flowchart illustrating an operation for generating an exercise routine on an electronic device according to an embodiment. The operation for generating an exercise routine may include operations 1301 to 1319. In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel or other operations may be added.

[0197] In operation 1301, if the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 electronic devices) from wearable electronic devices (e.g. Figure 2 The wearable electronic device 301 and / or Figure 3 If the wearable electronic device 301 receives information indicating the start of exercise, then in operation 1303, the electronic device may wait to receive exercise data.

[0198] According to an embodiment, if the electronic device receives information indicating the start of exercise from the communicably connected wearable electronic device, the electronic device may wait to receive exercise data.

[0199] In operation 1305, if the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 electronic devices) from wearable electronic devices (e.g. Figure 2 The wearable electronic device 301 and / or Figure 3 If the wearable electronic device 301 receives the exercise data, then in operation 1307, the electronic device may record the received exercise data.

[0200] According to an embodiment, the electronic device may record exercise data received from the wearable electronic device.

[0201] In operation 1309, if the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 electronic devices) from wearable electronic devices (e.g. Figure 2 The wearable electronic device 301 and / or Figure 3 If the wearable electronic device 301 receives the rest data, then in operation 1311, the electronic device may record the received rest data.

[0202] In operation 1313, if the electronic device 401 (eg, Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) is from a wearable electronic device (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 If the wearable electronic device 301 receives information indicating the end of exercise, then at operation 1315, the electronic device 401 may generate an exercise routine based on the exercise data and / or the rest data.

[0203] According to an embodiment, if the electronic device receives information indicating the end of exercise from the wearable electronic device, the electronic device 401 may generate an exercise routine based on exercise data recorded from the time when the information indicating the start of exercise is received to the time indicating the end of exercise.

[0204] According to an embodiment, the electronic device may detect the type of exercise performed by a user wearing the wearable electronic device, the exercise time for each exercise type, and the number of exercises for each exercise type based on exercise data, and generate an exercise routine for the user including the detected exercise type, exercise time, and number of exercises.

[0205] According to an embodiment, the electronic device can detect a periodic repetitive exercise pattern based on exercise data, perform grouping based on the periodic repetitive exercise pattern, and classify the exercise type of each grouping using training data. The electronic device can detect exercise time and exercise number, which are detailed information for each classified exercise group.

[0206] According to an embodiment, the electronic device may detect the rest time and the number of rests of a user between multiple exercise actions performed by the user based on rest data recorded from the time when information indicating the start of the exercise is received to the time indicating the end of the exercise, and may generate an exercise routine by including the detected rest time and the number of rests in the exercise routine.

[0207] At operation 1317, the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 may send the exercise routine to the wearable electronic device (eg, Figure 2 The wearable electronic device 301 and / or Figure 3 A wearable electronic device 301).

[0208] According to an embodiment, the electronic device may communicate with the user through a communication module (eg, Figure 4 The second communication module 490 ) sends the exercise routine to the wearable electronic device 501 .

[0209] At operation 1319, the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 An electronic device) can provide editorial recommendations for exercise routines based on the user's physical information.

[0210] According to an embodiment, when a display (e.g., Figure 4 When the electronic device visually displays the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine on the second display 460 of the user, the electronic device may recommend changing at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's body information.

[0211] According to an embodiment, the electronic device may further provide an editing function that enables a user to change at least one of an exercise type, an exercise time, a number of exercises, a rest time, or a number of rests included in an exercise routine while displaying the same on a display (e.g., Figure 4 The exercise type, exercise time, number of exercises, rest time or number of rests included in the exercise routine are visually displayed on a second display 460 of the display.

[0212] Fig.14 1400 is a flowchart illustrating an operation for classifying exercise types on an electronic device according to an embodiment. The operation for classifying exercise types may include operations 1401 to 1413. In the following embodiments, each operation may be performed sequentially, but not necessarily sequentially. For example, the order of the operations may be changed, and at least two operations may be performed in parallel or other operations may be added.

[0213] In operation 1401, an electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) may detect periodic repetitive exercise pattern periods based on exercise data.

[0214] According to an embodiment, the electronic device may detect a periodic repetitive exercise pattern period after pre-processing the exercise data.

[0215] In operation 1403, an electronic device (eg, Figure 2The electronic device 401 and / or Figure 4 The electronic device 401) can detect characteristics of periodic repetitive exercise pattern periods.

[0216] According to an embodiment, the electronic device may detect features in the periodic repetitive exercise pattern generation period using a predictive discriminant analysis technique such as principal component analysis (PCA) or linear discriminant analysis (LDA).

[0217] At operation 1405, an electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401 may determine whether a period during which no repetitive exercise pattern is detected is greater than or equal to a threshold time.

[0218] In operation 1405 , if it is not detected that the repetitive exercise pattern period is less than or equal to the threshold time, the electronic device may repeatedly perform operations 1401 to 1403 .

[0219] In operation 1405 , if a repetitive exercise pattern period greater than or equal to the threshold time is not detected, in operation 1407 , the electronic device may perform clustering on the repetitive exercise pattern.

[0220] According to an embodiment, the electronic device may perform clustering on the repetitive exercise pattern using unsupervised learning (eg, K-means, Gaussian mixture model (GMM), hierarchical agglomerative clustering (HAC), or DBSCAN).

[0221] At operation 1409, the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) may perform grouping based on similarity.

[0222] According to an embodiment, the electronic device may measure the similarity by calculating a Pearson correlation coefficient, a Euclidean distance, or a cosine similarity, and perform grouping for each cluster having a high similarity.

[0223] In operation 1411, an electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4 The electronic device 401) can classify the exercise type of each group.

[0224] According to an embodiment, the electronic device may select a representative mode for each group and classify the exercise type of each group using a classifier learning model based on machine learning.

[0225] At operation 1413, the electronic device (e.g., Figure 2 The electronic device 401 and / or Figure 4electronic device) can detect detailed information for each type of exercise.

[0226] According to an embodiment, the electronic device may detect an exercise time and an exercise number, which are detailed information for each classified exercise group.

[0227] According to an embodiment, a method for generating an exercise routine may include: Figure 2 301; Figure 3 301) Based on the sensor module from the wearable electronic device ( Figure 2 376) obtains biometric information of a user wearing the wearable electronic device to collect exercise data corresponding to a plurality of exercise actions performed by the user, and sends the collected exercise data to the electronic device.

[0228] The method according to an embodiment may include generating, by the electronic device, an exercise routine for the user based on the exercise data received from the wearable electronic device.

[0229] The method according to an embodiment may include: Figure 2 401; Figure 4 401) recommends changing at least one of the exercise type, exercise time, exercise number, rest time or rest number included in the exercise routine according to the user's physical information.

[0230] The method according to an embodiment may further include detecting the start of the user's exercise by at least one of the following items: Figure 2 301; Figure 3 301) is based on receiving the user's selection indicating the start of exercise, identifying an exercise plan stored in the wearable electronic device, detecting that the wearable electronic device is located at an exercise-related location, or detecting that the user repeatedly performs the same action.

[0231] The method according to an embodiment may further include: Figure 2 301; Figure 3 301), while collecting the exercise data, rest data corresponding to the rest action performed by the user is collected based on the biometric information, and the rest data is sent to the electronic device.

[0232] The method according to an embodiment may further include: Figure 2 401; Figure 4401) detects the exercise type, exercise time and number of exercises based on the exercise data, detects the rest time and number of rests based on the rest data, and generates an exercise routine for the user based on the detected exercise type, exercise time, number of exercises, rest time and number of rests.

[0233] The method according to an embodiment may further include: Figure 2 401; Figure 4 401) detecting a periodic repetitive exercise pattern based on the exercise data, performing grouping based on the periodic repetitive exercise pattern, and classifying an exercise type of each grouping using the training data.

[0234] The method according to an embodiment may further include: Figure 2 401; Figure 4 401) recommending changes based on the user's physical information, including at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests in the exercise routine, while visually displaying the exercise routine on a display of the electronic device.

[0235] The method according to an embodiment may further include: Figure 2 401; Figure 4 401) sending the exercise routine to the wearable electronic device so as to display the exercise routine on a display of the wearable electronic device.

[0236] The method according to an embodiment may include: Figure 2 401; Figure 4 401) provides an editing function, in which at least one of the exercise type, exercise time, number of exercises, rest time or number of rests included in the exercise routine can be changed by the user while the exercise routine is visually displayed on the display of the electronic device.

[0237] The method according to an embodiment may include: when a selection to execute the exercise routine is recognized, the electronic device ( Figure 2 401; Figure 4 401) recommending changes to at least one of exercise type, exercise time, number of exercises, rest time or number of rests included in the exercise routine based on the user's physical information when the exercise routine is selected to be executed.

[0238] The method according to an embodiment may include: when a selection to execute the exercise routine is recognized, the electronic device ( Figure 2 401; Figure 4401) recommending changes to at least one of exercise type, exercise time, exercise number, rest time, or rest number included in the exercise routine based on external environment information when the exercise routine is selected for execution.

[0239] The electronic device according to an embodiment of the present disclosure may be one of various types of electronic devices. The electronic device may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those electronic devices described above.

[0240] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, but include various changes, equivalent forms or alternative forms for the corresponding embodiments. For the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that the noun corresponding to the item in the singular form may include one or more things unless the relevant context clearly indicates otherwise. As used herein, each of the phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one or all possible combinations of the items listed together with the corresponding one of the multiple phrases. As used herein, terms such as "1st" and "2nd" or "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “coupled with another element (e.g., the second element)”, “coupled to another element (e.g., the second element)”, “connected with another element (e.g., the second element)”, or “connected to another element (e.g., the second element)” with or without the terms “operably” or “communicatively” being used, it means that the element may be directly (e.g., wired) connected to the other element, wirelessly connected to the other element, or connected to the other element via a third element.

[0241] As used herein, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms (e.g., "logic," "logic block," "part," or "circuit"). A module may be a single integrated component adapted to perform one or more functions or a minimum unit or part of the single integrated component. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).

[0242] Embodiments of the present disclosure may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101 or electronic device 301). For example, under the control of a processor, a processor (e.g., processor 520) of the machine (e.g., electronic device 301) may call at least one of the one or more instructions stored in the storage medium and execute the at least one instruction with or without the use of one or more other components. This enables the machine to operate to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be run by an interpreter. A storage medium that can be read by a machine may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include a signal (e.g., an electromagnetic wave), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.

[0243] According to an embodiment, the method according to an embodiment of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disk read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., PlayStore). TM ) the computer program product may be published (e.g., downloaded or uploaded) online, or the computer program product may be distributed (e.g., downloaded or uploaded) directly between two user devices (e.g., smart phones). If published online, at least part of the computer program product may be temporarily generated, or at least part of the computer program product may be at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, a server of an application store, or a forwarding server).

[0244] According to an embodiment, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities. Some of the multiple entities may be separately arranged in different components. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., a module or a program) may be integrated into a single component. In this case, according to an embodiment, the integrated component may still perform the one or more functions of each of the multiple components in the same or similar manner as the corresponding one of the multiple components performing one or more functions before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more of the operations may be run or omitted in a different order, or one or more other operations may be added.

[0245] According to an embodiment of the present disclosure, in a non-temporary storage medium storing instructions, the instructions are configured to enable the electronic device to perform at least one operation when executed by an electronic device, and the at least one operation may include: collecting, by the wearable electronic device, exercise data corresponding to multiple exercise actions performed by the user wearing the wearable electronic device based on biometric information of the user obtained from a sensor module of the wearable electronic device, and sending the collected exercise data to the electronic device; generating, by the electronic device, an exercise routine for the user based on the exercise data received from the wearable electronic device; and recommending, by the electronic device, changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's physical information, while visually displaying the exercise routine on a display of the electronic device.

Claims

1. A system for generating an exercise routine, comprising: a wearable electronic device (301 of FIG. 2; 301 of FIG. 3), configured to collect exercise data corresponding to a plurality of exercise actions performed by a user wearing the wearable electronic device based on biometric information of the user obtained from a sensor module (376 of FIG. 3) of the wearable electronic device, and transmit the collected exercise data to the electronic device; as well as The electronic device (401 of FIG. 2; 401 of FIG. 4) is configured to generate an exercise routine for the user based on the exercise data received from the wearable electronic device, and recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's physical information.

2. The system according to claim 1, wherein: The wearable electronic device (301 in FIG. 2 ; 301 in FIG. 3 ) is configured to detect the start of the user's exercise based on at least one of the following: receiving the user's selection indicating the start of exercise, identifying an exercise plan stored in the wearable electronic device, detecting that the wearable electronic device is located at an exercise-related location, or detecting that the user repeatedly performs the same action.

3. The system according to claim 1 or 2, wherein: The wearable electronic device ( 301 of FIG. 2 ; 301 of FIG. 3 ) is configured to collect rest data corresponding to a rest action performed by the user based on the biometric information while collecting the exercise data, and transmit the rest data to the electronic device.

4. The system according to any one of claims 1 to 3, wherein: The electronic device (401 of Figure 2; 401 of Figure 4) is configured to detect an exercise type, exercise time, and number of exercises based on the exercise data, detect a rest time and number of rests based on the rest data, and generate an exercise routine for the user based on the detected exercise type, exercise time, number of exercises, rest time and number of rests.

5. The system according to any one of claims 1 to 4, wherein: The electronic device ( 401 of FIG. 2 ; 401 of FIG. 4 ) is configured to detect a periodic repetitive exercise pattern based on the exercise data, perform grouping based on the periodic repetitive exercise pattern, and classify an exercise type of each grouping using training data.

6. The system according to any one of claims 1 to 5, wherein: The electronic device (401 of Figure 2; 401 of Figure 4) is configured to recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's physical information, while visually displaying the exercise routine on a display of the electronic device.

7. The system according to any one of claims 1 to 6, wherein: The electronic device ( 401 of FIG. 2 ; 401 of FIG. 4 ) is configured to transmit the exercise routine to the wearable electronic device to display the exercise routine on a display of the wearable electronic device.

8. The system according to any one of claims 1 to 7, wherein: When the exercise routine is visually displayed on the display of the electronic device, the electronic device (401 of Figure 2; 401 of Figure 4) is configured to provide an editing function, in which at least one of the exercise type, exercise time, number of exercises, rest time or number of rests included in the exercise routine can be changed by the user.

9. The system according to any one of claims 1 to 8, wherein: The electronic device (401 of Figure 2; 401 of Figure 4) is configured to, when recognizing a selection for executing the exercise routine, recommend changes to at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on the user's physical information when selecting to execute the exercise routine.

10. The system according to any one of claims 1 to 9, wherein: The electronic device (401 of Figure 2; 401 of Figure 4) is configured to, when a selection for executing the exercise routine is recognized, recommend a change in at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests included in the exercise routine based on external environment information when the exercise routine is selected to be executed.

11. A method for generating an exercise routine, the method comprising: By the wearable electronic device (301 of FIG. 2 ; 301 of FIG. 3 ) collects exercise data corresponding to a plurality of exercise actions performed by a user wearing the wearable electronic device based on biometric information of the user obtained from a sensor module ( 376 of FIG. 2 ) of the wearable electronic device, and transmits the collected exercise data to the electronic device; as well as generating, by the electronic device ( 401 of FIG. 2 ; 401 of FIG. 4 ), an exercise routine for the user based on the exercise data received from the wearable electronic device; as well as The electronic device (401 of FIG. 2; 401 of FIG. 4) recommends changes based on the user's physical information, including at least one of the exercise type, exercise time, number of exercises, rest time, or number of rests in the exercise routine, while visually displaying the exercise routine on a display of the electronic device.

12. The method according to claim 11, further comprising: The wearable electronic device (301 in FIG. 2 ; 301 in FIG. 3 ) detects the start of the user's exercise based on at least one of the following: receiving the user's selection indicating the start of exercise, identifying an exercise plan stored in the wearable electronic device, detecting that the wearable electronic device is located at an exercise-related location, or detecting that the user repeatedly performs the same action.

13. The method according to claim 11 or 12, further comprising: The wearable electronic device ( 301 of FIG. 2 ; 301 of FIG. 3 ) collects rest data corresponding to a rest action performed by the user based on the biometric information while collecting the exercise data; as well as The rest data is transmitted to the electronic device.

14. The method according to any one of claims 11 to 13, further comprising: By the electronic device (401 of FIG. 2; 401 of FIG. 4 ), detecting the type of exercise, the time of exercise, and the number of exercise times based on the exercise data; detecting a rest time and a rest number based on the rest data; as well as An exercise routine for the user is generated based on the detected exercise type, exercise time, number of exercises, rest time, and number of rests.

15. The method according to any one of claims 11 to 14, further comprising: By the electronic device (401 of FIG. 2; 401 of FIG. 4 ), detecting a periodic repetitive exercise pattern based on the exercise data; performing grouping based on the periodic repetitive exercise pattern; as well as Use the training data to classify the type of exercise for each group.