Information processing device, information processing method and program
The information processing device estimates exercise menus using motion and position data to overcome conventional limitations, ensuring accurate tracking and analysis of user exercise sequences despite timing deviations.
Patent Information
- Application Number
- JP2023029911
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-09-09
- Estimated Expiration
- 2043-02-28
AI Technical Summary
Conventional exercise monitoring systems fail to accurately estimate the type and order of exercise menus performed by a user based on exercise indices.
An information processing device that derives the likelihood and state transition probability of exercise menus using motion and position data to estimate the series of exercise menus performed by a user, incorporating a CPU to process exercise result and schedule data to correct and refine these estimates.
Accurately estimates the series of exercise menus performed by a user, even when the actual switching timing differs from the scheduled plan, enhancing the accuracy of exercise analysis and providing personalized feedback.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing method, and a program. [Background technology]
[0002] Conventionally, a technology is known in which an electronic device worn on the body is equipped with a motion sensor including an acceleration sensor and a gyro sensor, and the motion sensor detects the body movement of a user during exercise to analyze the exercise state. For example, Patent Document 1 discloses a portable fitness monitoring system that measures various exercise indices of a user during exercise, such as heart rate, distance, speed, number of steps, and calories burned, and provides the user with the information. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2010-264246 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, the conventional technology has a problem in that it is not possible to estimate, from the measured exercise index, what exercise menu the user performed and in what order.
[0005] The present invention aims to estimate a sequence of exercise menus performed by a user. [Means for solving the problem]
[0006] In order to solve the above problems, the information processing device according to the present invention comprises: Deriving a likelihood that the user performed each of a plurality of predetermined exercise menus at each of the plurality of time points based on first information related to the user's exercise state over a plurality of time points; Deriving a state transition probability from each of the plurality of exercise menus to each of the plurality of exercise menus at each of the plurality of time points based on a time series change of second information related to the exercise state of the user; estimating a sequence of an exercise menu performed by the user during the exercise based on the likelihood and the state transition probability at each of the plurality of time points; A processing unit is provided. Effect of the Invention
[0007] According to the present invention, it is possible to estimate the sequence of exercise menus performed by a user. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing an exercise support system. [Diagram 2] FIG. 2 is a block diagram showing a functional configuration of a server. [Diagram 3] FIG. 11 is a diagram showing an example of the contents of exercise result data. [Figure 4] FIG. 4 is a diagram showing an example of the contents of exercise schedule data. [Diagram 5] FIG. 2 is a block diagram showing a functional configuration of a terminal device. [Figure 6] FIG. 2 is a block diagram showing the functional configuration of the wearable device. [Figure 7] 13 is a flowchart showing a control procedure of an exercise menu estimation process. [Figure 8] 13 is a flowchart showing a control procedure for a likelihood derivation process. [Figure 9] FIG. 13 is a diagram showing an example of the contents of exercise result division data. [Figure 10] FIG. 13 is a diagram showing time series changes in pace in exercise result divided data. [Figure 11] FIG. 13 is a diagram showing the result of derivation of likelihood. [Figure 12] 13 is a flowchart showing a control procedure of a likelihood correction process. [Figure 13] FIG. 13 is a diagram showing an example of the contents of exercise schedule division data. [Figure 14] FIG. 13 is a diagram showing likelihoods for normalized time. [Figure 15] FIG. 13 is a diagram showing the transition of a planned exercise menu with respect to normalized time. [Figure 16] FIG. 13 is a diagram showing a result of likelihood correction. [Figure 17] 13 is a flowchart showing a control procedure of a state transition probability derivation process. [Figure 18] FIG. 13 is a diagram showing time series changes in pitch in exercise result data. [Figure 19] FIG. 13 is a diagram showing the movement dispersion of pitch. [Figure 20] FIG. 13 shows probability values converted from moving variance. [Figure 21] FIG. 21 is a diagram showing state transition probabilities for time points a and b in FIG. 20. [Figure 22] FIG. 13 is a diagram illustrating another example of state transition probability. [Diagram 23] 13 is a flowchart showing a control procedure for an exercise menu sequence estimation process. [Figure 24] FIG. 13 is a diagram illustrating a method for deriving state probabilities for an exercise menu. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0010] <Exercise support system configuration> FIG. 1 is a diagram showing an exercise support system 1 of the present embodiment. The exercise support system 1 (information processing system) includes a server 10 (information processing device), a terminal device 20, and a wearable device 30. In the exercise support system 1, when a user who is the user of the terminal device 20 and the wearable device 30 wears the wearable device 30 and exercises, information related to the exercise is transmitted to the server 10. The server 10 analyzes the content of the exercise based on the received information and presents the analysis results to the user, thereby supporting the user's exercise. In this embodiment, an example will be described in which the exercise support system 1 analyzes the content of running as the user's exercise.
[0011] The wearable device 30 is a wearable terminal that is worn on the user's body (for example, the waist). The wearable device 30 includes a sensor unit 34 (see FIG. 6) that detects the motion state of the device itself, and the sensor unit 34 detects body movements, such as up and down movements, rotation around the waist, and swinging from side to side, in response to the motion of the user wearing the wearable device 30. The wearable device 30 also includes a position information acquisition unit 35 (see FIG. 6) that acquires position information of the device itself, and derives the user's moving distance and moving speed based on the position information acquired by the position information acquisition unit 35. The wearable device 30 can transmit and receive data to and from the terminal device 20 via wireless communication (for example, short-range wireless communication such as Bluetooth (registered trademark)), and transmits information related to the detected motion state of the user to the terminal device 20. The location where the wearable device 30 is worn is not limited to the waist. For example, the wearable device 30 may be a wrist-type terminal that is worn on the wrist of the user. In this case, it is also possible to detect arm swings in response to exercise.
[0012] The terminal device 20 is a device that is mainly carried and used by a user, such as a smart watch. The terminal device 20 can transmit and receive data to and from the server 10 via a network N. The network N is, for example, the Internet, but is not limited thereto. The communication path between the terminal device 20 and the server 10 may include a wireless communication path. An application program (hereinafter, referred to as "exercise app 231" (see FIG. 5)) for providing the user with a service that supports the user's exercise is installed in the terminal device 20. The terminal device 20 displays information related to exercise received from the wearable device 30 on the exercise app 231, transmits the information to the server 10, and receives and displays information related to the analysis result of the exercise by the server 10. The terminal device 20 is not limited to a smart watch, but may be a portable device such as a smartphone. The terminal device 20 is not limited to a device that the user can carry with them during exercise, but may be a device that transmits and receives data between the server 10 and the wearable device 30 after exercise, such as a tablet terminal or a notebook PC.
[0013] FIG. 2 is a block diagram showing the functional configuration of the server 10. As shown in FIG. The server 10 includes a CPU 11 (Central Processing Unit), a RAM 12 (Random Access Memory), a storage unit 13, a communication unit 14, and a bus 15. The components of the server 10 are connected to each other via the bus 15. The server 10 may further include an operation unit, a display unit, and the like that are used by an administrator of the server 10.
[0014] The CPU 11 is a processor that reads and executes the program 131 stored in the storage unit 13 and performs various arithmetic processing, thereby controlling the operation of each unit of the server 10. In this embodiment, the CPU 11 corresponds to a "processing unit." The server 10 may have multiple processors (e.g., multiple CPUs), and the multiple processes performed by the CPU 11 in this embodiment may be executed by the multiple processors. In this case, the multiple processors correspond to a "processing unit." In this case, the multiple processors may be involved in a common process, or the multiple processors may independently execute different processes in parallel. The RAM 12 provides a working memory space for the CPU 11 and stores temporary data.
[0015] The storage unit 13 is a non-transitory recording medium readable by the CPU 11 as a computer, and stores the program 131 and various data. The storage unit 13 includes a non-volatile memory such as a flash memory. The program 131 is stored in the storage unit 13 in the form of a computer-readable program code. The storage unit 13 stores exercise result data 132, exercise schedule data 133 (schedule information), and the like.
[0016] FIG. 3 is a diagram showing an example of the content of exercise result data 132. As shown in FIG. When a user exercises, the exercise result data 132 is generated on the exercise application 231 in the terminal device 20 based on information transmitted from the wearable device 30 to the terminal device 20, and is transmitted from the terminal device 20 to the server 10. Each data row of the exercise result data 132 represents the user's exercise state during a certain period of time during exercise. Each data row includes data such as "time", "pace", "pitch", and "stride". "Time" indicates the time when the data in that data row was recorded, with the time when exercise started being the base point (0 seconds). A data row is recorded, for example, every time the user exercises a certain number of steps. For this reason, the "time" is not necessarily at equal intervals. Here, it is assumed that the user's exercise ended at Te seconds. "Pace" represents the value of the user's pace of movement (the time required to move a unit distance) during the period represented by that data row. "Pace" is derived by dividing the length of the period represented by that data row by the distance traveled by the user during that period. "Pitch" represents the number of steps per unit time of the user during the period represented by that data row. "Stride" represents the average step length of the user during the period represented by that data row. "Pace" is one aspect of the "first information" and the "motion index related to the user's moving speed (hereinafter also referred to as "speed index"). "Pitch" and "Stride" are one aspect of the "second information" and the "motion index related to the user's body movement (hereinafter also referred to as "motion index"). The data included in the exercise result data 132 is not limited to the example shown in FIG. 3. The exercise result data 132 may include values of speed indicators such as "speed" and "lap time". The exercise result data 132 may also include values of motion indicators such as "stride height ratio", "vertical movement", "vertical movement height ratio", "sinking of the waist", "left and right tilt of the pelvis", "pull up of the pelvis", "rotation of the pelvis", "backward tilt of the trunk", "pelvic rotation timing", "left and right impact", "kick-off time", "ground contact time", "ground contact time rate", "landing impact", "kick-off acceleration", "deceleration amount", "stiffness", and "amplitude of arm swing". In addition, if the wearable device 30 can acquire the vital signs of the user, the exercise result data 132 may also include values of motion indicators (hereinafter also referred to as "biometric indicators") related to the vital signs of the user, such as values of "heart rate", "respiratory rate", "body temperature", and "blood pressure".
[0017] FIG. 4 is a diagram showing an example of the contents of the exercise schedule data 133. As shown in FIG. In this embodiment, the user switches between different exercise menus during one exercise. The exercise schedule data 133 represents a time-series implementation schedule of multiple exercise menus in the exercise performed by the user. The exercise schedule data 133 is generated based on a user operation on the exercise app 231 in the terminal device 20 before the user exercises, and is transmitted from the terminal device 20 to the server 10. Each data row of the exercise schedule data 133 corresponds to one exercise menu that the user performs during exercise. Each data row includes data on "exercise sequence," "scheduled exercise menu," "time," and "instructed pace." The "exercise order" indicates the order in which the exercise menu of that data row is scheduled to be performed. "Planned exercise menu" indicates the type of exercise menu. In FIG. 4, "LSD (Long Slow Distance)" and "Race Pace Running" are shown as examples of the exercise menu. LSD is training in which you run at a slow pace that allows you to run long distances. Race pace running is training in which you run at high speed, simulating a race. "Time" indicates how many minutes the exercise menu for that data row is planned to be performed. "Instructed pace" indicates the pace specified in the exercise menu for that data row. The "instructed pace" is 7 min / km for LSD and 5 min / km for race pace running. The "instructed pace" may be specified by the user's coach or may be set by the user. The "instructed pace" corresponds to the "reference value" of the exercise index.
[0018] 2, the communication unit 14 of the server 10 performs a communication operation in accordance with a predetermined communication standard. The communication unit 14 transmits and receives data to and from the terminal device 20 via the network N through this communication operation.
[0019] FIG. 5 is a block diagram showing the functional configuration of the terminal device 20. As shown in FIG. The terminal device 20 includes a CPU 21, a RAM 22, a storage unit 23, a display unit 24, an operation unit 25, a communication unit 26, and a bus 27. The various units of the terminal device 20 are connected to each other via the bus 27.
[0020] The CPU 21 is a processor that reads and executes programs such as the exercise application 231 stored in the storage unit 23 and performs various arithmetic processing to control the operation of each part of the terminal device 20. The RAM 22 provides a working memory space for the CPU 21 and stores temporary data.
[0021] The storage unit 23 is a non-transitory recording medium readable by the CPU 21 as a computer, and stores various data and programs such as the exercise application 231. The storage unit 23 includes a non-volatile memory such as a flash memory.
[0022] Display unit 24 displays various information such as an operation screen of exercise app 231 and exercise analysis results under the control of CPU 21. As display unit 24, for example, a liquid crystal display device that performs display using a dot matrix method can be used, but is not limited to this.
[0023] The operation unit 25 receives an input operation from a user and outputs an input signal corresponding to the input operation to the CPU 21. The operation unit 25 includes a touch panel provided over the display screen of the display unit 24, hardware buttons, and the like.
[0024] The communication unit 26 performs a communication operation according to a predetermined communication standard. Through this communication operation, the communication unit 26 transmits and receives data to and from the server 10 via the network N. The communication unit 26 also transmits and receives data to and from the wearable device 30 via wireless communication.
[0025] FIG. 6 is a block diagram showing the functional configuration of the wearable device 30. As shown in FIG. The wearable device 30 includes a CPU 31, a RAM 32, a storage unit 33, a sensor unit 34, a position information acquisition unit 35, a communication unit 36, and a bus 37. The components of the wearable device 30 are connected to each other via the bus 37.
[0026] The CPU 31 is a processor that reads and executes a program 331 stored in the storage unit 33 and performs various arithmetic processing to control the operation of each part of the wearable device 30. The RAM 32 provides a working memory space for the CPU 31 and stores temporary data.
[0027] The storage unit 33 is a non-transitory recording medium readable by the CPU 31 as a computer, and stores a program 331 and various data. The storage unit 33 includes a non-volatile memory such as a flash memory.
[0028] The sensor unit 34 includes, for example, a three-axis acceleration sensor and a three-axis gyro sensor as sensors for detecting the motion state of the wearable device 30. The three-axis acceleration sensor detects the acceleration in each axial direction applied to the wearable device 30, and outputs the acceleration data as the detection result to the CPU 31. The three-axis gyro sensor detects the angular velocity around each axis applied to the wearable device 30, and outputs the angular velocity data as the detection result to the CPU 31. Note that the configuration of the sensor unit 34 is not limited to the above as long as it can detect the motion state of the wearable device 30. For example, the sensor unit 34 may include a three-axis geomagnetic sensor.
[0029] The sensor unit 34 may include a biosensor that detects the user's vital signs, for example, a pulse wave sensor that detects pulse waves. The pulse wave sensor emits green light that is easily absorbed by hemoglobin in the blood, receives the light reflected by the skin, and detects its intensity. Since a part of the light irradiated to the user's skin is absorbed by the blood in the blood vessels, the pulse wave sensor can detect the pulse wave based on the change over time in the amount of received light that corresponds to the change in blood flow rate associated with the pulsation of the heart. The CPU 31 measures the heart rate based on the waveform.
[0030] The location information acquisition unit 35 receives and decodes radio waves transmitted from positioning satellites of a Global Navigation Satellite System (GNSS), such as a Global Positioning System (GPS), to calculate the current location. Information on the current location is output to the CPU 31. It should be noted that the position information acquisition unit may be provided in the terminal device 20, and the position information acquisition unit 35 of the wearable device 30 may be omitted.
[0031] The communication unit 36 performs a communication operation in accordance with a predetermined communication standard. Through this communication operation, the communication unit 36 transmits and receives data to and from the terminal device 20 via wireless communication.
[0032] <Operation of the exercise support system> Next, the operation of the exercise support system 1 will be described. The exercise support system 1 of the present embodiment analyzes the contents of the user's exercise and presents the user with, for example, advice on improving running form as an analysis result, thereby supporting the user's exercise. Here, since the user switches between multiple exercise menus during exercise, it is desirable to perform an analysis according to each exercise menu (for example, present advice according to the exercise menu). The order of the exercise menu performed by the user and the timing of switching the order are planned in advance in the exercise schedule data 133. However, if the exercise menu performed by the user at each time is simply identified according to the exercise schedule data 133, the analysis may be off-target. This is because the user does not necessarily switch the exercise menu according to the schedule in the exercise schedule data 133, and the switching timing may be shifted forward or backward from the schedule.
[0033] Therefore, in the exercise support system 1 of this embodiment, the speed index "pace" and the action index "pitch" of the exercise result data 132 are used in combination, and the exercise schedule data 133 is also referred to, to estimate with high accuracy the series of exercise menus performed by the user. Here, the series of exercise menus is information that represents the exercise menus performed by the user at each point in time per unit time (per 10 seconds in this embodiment). The series of exercise menus may also be referred to as the transition of the exercise menus. Below, an exercise menu estimation process executed by the CPU 11 of the server 10 to perform this estimation will be described.
[0034] FIG. 7 is a flowchart showing a control procedure for the exercise menu estimation process. The exercise menu estimation process is started when the exercise schedule data 133 relating to a certain exercise is stored in the storage unit 13, the exercise is completed, and the server 10 receives the exercise result data 132 from the terminal device 20. In the exercise menu estimation process, the CPU 11 of the server 10 executes a likelihood derivation process (step S1), a likelihood correction process (step S2), a state transition probability derivation process (step S3), and an exercise menu sequence estimation process (step S4) in this order. The likelihood derivation process is a process for deriving the likelihood that the user performed each of a plurality of exercise menus at each of a plurality of time points during exercise, based on the pace value of the exercise result data 132. The plurality of exercise menus are exercise menus included in the exercise schedule data 133. The likelihood correction process is a process of correcting the likelihood derived in the likelihood derivation process based on the exercise schedule data 133. The state transition probability derivation process is a process of deriving a state transition probability from each of the plurality of exercise menus to each of the plurality of exercise menus at each of the plurality of time points based on a time series change in the pitch value of the exercise result data 132. The exercise menu sequence estimation process is a process of estimating a sequence of an exercise menu performed by a user during exercise, based on the corrected likelihood and state transition probability at each of a plurality of time points. The details of each process will be described below.
[0035] <Likelihood derivation process> FIG. 8 is a flowchart showing a control procedure for the likelihood derivation process. When the likelihood derivation process is started, CPU 11 divides exercise result data 132 shown in FIG. 3 into N pieces for each unit time, and resamples the data to generate exercise result divided data 132a (step S101).
[0036] FIG. 9 is a diagram showing an example of the contents of exercise result divided data 132a. In this embodiment, CPU 11 divides exercise result data 132 into N pieces with a unit time of 10 seconds to generate exercise result divided data 132a. The divided times (10 seconds, 20 seconds, ... Te seconds) correspond to "plurality of time points." Hereinafter, each of the plurality of time points will also be referred to as "time point n" (n: 1 to N). The interval between the last time point N (Te seconds) and the previous time point (N-1) may be less than 10 seconds. Each time point n becomes the resolution for estimating the sequence of the exercise menu. Note that the unit time for dividing exercise result data 132 is not limited to 10 seconds. The CPU 11 resamples each motion index such as pace, pitch, stride, etc. at each time point n after division and records them in the exercise result divided data 132a. The CPU 11 resamples the motion index at time point n, for example, by taking the average value for 10 seconds from time point (n-1) to time point n. Furthermore, CPU 11 derives normalized times corresponding to each time (each time point n) after division, and records them in exercise result divided data 132a. The normalized times are obtained by dividing each time by the end time Te of the exercise, so that Te becomes 1. The normalized time may be rephrased as a time elapsed rate that indicates the ratio of the elapsed time to the total exercise time.
[0037] The CPU 11 acquires the instructed pace of each exercise menu from the exercise schedule data 133 (step S102). If the instructed pace is not set in the exercise schedule data 133, a representative value (average value, maximum value, etc.) of the pace in the history data of the user performing the corresponding exercise menu in the past may be used instead of the instructed pace.
[0038] FIG. 10 is a diagram showing time-series changes in pace in exercise result divided data 132a. In FIG. 10, the time series change of the pace recorded during exercise is shown by a solid line, and the instructed pace of LSD (7 min / km) and the instructed pace of race pace running (5 min / km) are shown by dashed lines. The pace data included in the exercise result divided data 132a is discrete data for each time point n of 10 second intervals, but in FIG. 10, it is drawn as a continuous curve for convenience (the same applies to the following FIGS. 11, 14 to 16, and 18 to 20). The user's pace generally fluctuates between the instructed pace of LSD and the instructed pace of race pace running. Due to the accuracy of speed detection by the position information acquisition unit 35, etc., the graph tends to change gradually when the pace is switched.
[0039] Returning to FIG. 8, the CPU 11 assigns "1" to the variable n (step S103), and executes the following steps S104 and S105 to derive the likelihood that the user was performing each exercise menu at the time point n (here, the first time point).
[0040] Specifically, the CPU 11 derives the difference between the pace value of the exercise schedule divided data 133a and the designated pace of each exercise menu for the time point n (step S104). Next, the CPU 11 derives the likelihood of each exercise menu at the time point n by taking the softmax of the value obtained by multiplying the difference for each exercise menu by -1 (step S105). That is, the CPU 11 converts the value obtained by multiplying the difference for each exercise menu by -1 so that the sum is 1. As a result, the likelihood of each exercise menu is derived so that the smaller the difference, the higher the likelihood.
[0041] CPU 11 assigns "n+1" to variable n (step S106). If CPU 11 determines that variable n is equal to or less than N ("NO" in step S107), CPU 11 shifts the process to step S104. By repeatedly executing the loop process of steps S104 to S107, the likelihood of each exercise menu at each of N time points n is derived.
[0042] FIG. 11 is a diagram showing the derivation results of the likelihood. 10 and 11, the closer the pace in Fig. 10 is to the LSD recommended pace (7 min / km), the higher the likelihood of LSD, and the closer it is to the race pace recommended pace (5 min / km), the higher the likelihood of race pace running. Also, at each time (time point n), the sum of the likelihood of LSD and the likelihood of race pace running is 1.
[0043] Returning to FIG. 8, if it is determined that the variable n is greater than N ("YES" in step S107), the CPU 11 ends the likelihood derivation process. In the above description, the likelihood is derived based on the speed index (pace), but the invention is not limited to this, and the likelihood may be derived based on a biological index such as the heart rate.
[0044] <Likelihood correction process> FIG. 12 is a flowchart showing a control procedure for the likelihood correction process. When the likelihood correction process is started, the CPU 11 divides the exercise schedule data 133 into N times corresponding to the normalized times of the exercise result divided data 132a to generate the exercise schedule divided data 133a (see FIG. 13). This makes it possible to obtain a time correspondence between the exercise result divided data 132a and the exercise schedule divided data 133a (step S201). That is, even if the end time Te of the actual exercise is different from the end time (2400 seconds = 40 minutes) scheduled in the exercise schedule data 133, the corresponding scheduled exercise menu at each normalized time can be identified by normalizing both to 1 and comparing them.
[0045] Returning to FIG. 12, the CPU 11 assigns "1" to the variable n (step S202) and assigns "1" to the variable m (step S203). Here, the variable m represents each of M types of exercise menus included in the exercise schedule data 133 (m: 1 to M). In this embodiment, since there are two types of exercise menus, LSD and race pace running, M is 2. Hereinafter, the mth exercise menu of the M types of exercise menus will be referred to as "exercise menu m."
[0046] The CPU 11 corrects the likelihood r[m,t] of the exercise menu m at the normalized time t corresponding to the point in time n according to the following correction function (1) (step S204). r'[m,t] = r[m,t] + A (1) Here, r'[m,t] is the likelihood after correction, and A is the correction value of the likelihood according to the scheduled exercise menu, and is expressed by the following formula (2).
number
[0047] The correction value A is calculated by deriving a weighted value for each normalized time t' at which the exercise menu m is scheduled to be performed in the exercise schedule divided data 133a, so that the closer the time t' is to the normalized time t, the larger the weighted value is according to a Gaussian distribution, and taking the sum of the values for all times t'. In other words, the process of deriving the correction value A of the likelihood of the exercise menu m (a certain exercise menu) for time n (a certain time) corresponds to "a process of deriving a weighted value for each scheduled time point at which a certain exercise menu is scheduled to be performed in the exercise schedule data 133 among N time points, so that the closer the scheduled time point is to time n, the larger the weighted value is, and taking the sum of the values for each scheduled time point." However, the correction value A is not limited to that expressed by formula (2). For example, the correction value A may be simply set to a predetermined positive constant when the exercise menu m is scheduled to be performed at the normalized time t, and set to 0 or a predetermined negative constant when the exercise menu m is not scheduled to be performed.
[0048] The CPU 11 assigns "m+1" to the variable m (step S205). If the CPU 11 determines that the variable m is equal to or less than M ("NO" in step S206), the CPU 11 shifts the process to step S204. By repeatedly executing the loop process of steps S204 to S206, the likelihood of each exercise menu m at the time point n is corrected.
[0049] When it is determined that the variable m is greater than M ("YES" in step S206), the CPU 11 normalizes the likelihood after correction of each exercise menu m at the time point n so that the sum of the likelihoods becomes 1 (step S207).
[0050] The CPU 11 assigns "n+1" to the variable n (step S208). If the CPU 11 determines that the variable n is equal to or less than N ("NO" in step S209), the CPU 11 shifts the process to step S203. By repeatedly executing the loop process of steps S203 to S209, the likelihood of each exercise menu at each of the N time points n is corrected.
[0051] FIG. 14 is a diagram showing likelihoods for normalized times. Fig. 15 is a diagram showing a transition of a scheduled exercise menu with respect to normalized time. Fig. 15 shows the contents of the exercise schedule division data 133a. FIG. 16 is a diagram showing the result of likelihood correction. The likelihoods before correction shown in Fig. 14 are corrected according to the scheduled exercise menu shown in Fig. 15 to obtain the corrected likelihoods shown in Fig. 16. Compared with the likelihoods before correction shown in Fig. 14, the corrected likelihoods shown in Fig. 16 show that the likelihoods of exercise menus that match the scheduled exercise menu at each time point are increased, and the likelihoods of exercise menus that do not match are decreased.
[0052] Returning to FIG. 12, if it is determined that the variable n is greater than N ("YES" in step S209), the CPU 11 ends the likelihood correction process.
[0053] <State transition probability derivation process> FIG. 17 is a flowchart showing a control procedure of the state transition probability derivation process. When the state transition probability derivation process is started, the CPU 11 acquires the pitch value of the exercise result data 132 (step S301).
[0054] FIG. 18 is a diagram showing time-series changes in pitch in the exercise result data 132. Pitch tends to be larger when the user is running at race pace than when the user is running LSD. Also, compared with speed indices such as pace, motion indices such as pitch tend to change more abruptly before and after switching between exercise menus.
[0055] 17, the CPU 11 derives a moving variance of the pitch corresponding to each time point n (step S302). Here, the CPU 11 derives a variance value of the pitch within a predetermined period centered on each time point n.
[0056] FIG. 19 is a diagram showing the movement dispersion of the pitch. The moving variance becomes large at the time when the pitch value shown in Fig. 18 changes significantly, and becomes small at the time when the pitch change is small. When the user's exercise menu changes, the pitch value changes abruptly, so it can be said that the time when the moving variance of the pitch is large is the time when the exercise menu is likely to change.
[0057] Returning to Fig. 17, CPU 11 linearly converts the moving variance value for each time point n into a probability value so that the minimum value is 0.2 and the maximum value is 0.8 (step S303). Here, the reason why the minimum value is not 0 and the maximum value is not 1 is to avoid the transition of the exercise menu becoming decisive at the time point where the probability value is 0 or 1. Therefore, the minimum value need only be greater than 0 and need not necessarily be 0.2. Moreover, the maximum value need only be less than 1 and need not necessarily be 0.8.
[0058] FIG. 20 is a diagram showing probability values converted from moving variance. Here, it is assumed that the probability value at the point where the pitch value shown in FIG. 18 changes significantly is 0.8, and the probability value at other points is 0.2.
[0059] Returning to FIG. 17, CPU 11 derives state transition probabilities of the exercise menu at each time point n by executing the following steps S304 to S307. Specifically, CPU 11 derives each state transition probability that the exercise menu performed by the user transitions from each of M types of exercise menus m to each of M types of exercise menus m at each time point n. The transition of the exercise menu includes an exercise menu that changes before and after the transition and an exercise menu that does not change before and after the transition. Therefore, M×M state transition probabilities are derived for one time point n. The state transition probabilities arranged in a matrix of M rows and M columns are also called a state transition probability matrix.
[0060] More specifically, the CPU 11 first assigns "1" to a variable n (step S304). Next, CPU 11 determines the state transition probability when the exercise menu changes for time point n (here, the first time point) to be the probability value for time point n derived in step S303. Also, CPU 11 determines the state transition probability when the exercise menu does not change to a predetermined constant (here, 0.5) (step S305).
[0061] CPU 11 assigns "n+1" to variable n (step S306). If CPU 11 determines that variable n is equal to or less than N ("NO" in step S307), the process returns to step S305. By repeatedly executing the loop process of steps S305 to S307, state transition probabilities at each of N time points n are derived.
[0062] FIG. 21 is a diagram showing state transition probabilities at points in time a and b in FIG. At time point a, the probability value is 0.2. Therefore, when the exercise menu changes, that is, when the transition of the exercise menu is "LSD to race pace running" or "race pace running to LSD", the state transition probability is determined to be 0.2. Also, when the exercise menu does not change, that is, when the transition of the exercise menu is "LSD to LSD" or "race pace running to race pace running", the state transition probability is determined to be the constant 0.5. On the other hand, at time point b, the probability value is 0.8. Therefore, the probability of each state transition when the exercise menu changes is determined to be 0.8. Also, the probability of each state transition when the exercise menu does not change is determined to be the constant 0.5, just like at time point a.
[0063] The reason why the state transition probability when the exercise menu does not change is set to a constant of 0.5 is as follows. The probability value (hereinafter, z) obtained by converting the movement variance becomes large not only when the exercise menu changes, but also when the user's movement changes without the exercise menu changing (for example, when the user trips, etc.). Therefore, the reliability of the probability value z as a value representing the probability that the exercise menu changes is not necessarily high, and especially when the probability value z is large (for example, when it is larger than 0.5), it is often appropriate to estimate the probability that the exercise menu does not change to be larger than (1-z). In order to reflect this point, at the time point b where the probability value z is large, the state transition probability when the exercise menu does not change is set to a constant of a certain magnitude or more (here, 0.5) regardless of the probability value z. The process of "setting the state transition probability when the exercise menu does not change to a constant" needs to be applied commonly to all time points n. For this reason, in step S305, for all time points n, the state transition probability when the exercise menu does not change is set to a constant, and the state transition probability when the exercise menu changes is determined based on the probability value z.
[0064] When the number of exercise menus (M) is 3 or more, each state transition probability when the exercise menu changes (state transition probability from exercise menu k to exercise menu m (k ≠ m)) is set to the above-mentioned probability value z (0.8). In addition, the state transition probability when the exercise menu does not change is set to a constant (0.5) as above.
[0065] Conversely, the state transition probability when the exercise menu changes may be set to a constant (e.g., 0.5), and the state transition probability when the exercise menu does not change may be determined based on the probability value z, for example, to (1-z). In addition, in a situation where the user's movement is stable (does not change significantly) during a period in which the exercise menu does not change, as shown in Figure 22, at each time, the state transition probability when the exercise menu changes may be set to probability value z, and the state transition probability when the exercise menu does not change may be set to (1-z).
[0066] Returning to FIG. 17, if it is determined that the variable n is greater than N ("YES" in step S307), the CPU 11 ends the state transition probability derivation process.
[0067] In the above, a motion index (pitch) different from the motion index (pace) used to derive the likelihood is used to derive the state transition probability, but this is not limited to this, and the likelihood and state transition probability may be derived based on the same motion index (e.g., pace). In the above, the state transition probability is derived based on one type of action index (pitch), but the state transition probability may be derived based on multiple different types of action indexes. For example, a first moving variance is derived based on a time series change in the pitch value, a second moving variance is derived based on a time series change in the stride value, and the first moving variance and the second moving variance are normalized and added. Then, this added value may be converted into a probability value so that the minimum value is 0.2 and the maximum value is 0.8. When multiple different types of action indexes are used, it is preferable to use action indexes that are less correlated or uncorrelated with each other. Note that an index indicating each correlation among the multiple action indexes (for example, a value of 0 to 1, either present / absent, or either small / medium / large, etc.) is stored in advance in the storage unit 13 as action index correlation data. When multiple action indicators of different types are used, the CPU 11 refers to the action indicator correlation data and selects from the exercise result data 132 an action indicator that satisfies any one of the following conditions: an index indicating a correlation is smaller than a predetermined threshold (e.g., 0.3), an index indicating a correlation is “none”, or an index indicating a correlation is “small”. Moreover, instead of the shift variance, the absolute value or the square value of the differential value may be used.
[0068] <Exercise menu sequence estimation processing> Next, the exercise menu sequence estimation process will be described. In the exercise menu sequence estimation process of this embodiment, a sequence of exercise menus is estimated based on the Viterbi algorithm. That is, the likelihood after correction at each time point n is taken as an observation event, and based on the observation event, a sequence of exercise menus performed by the user is estimated as a sequence of hidden states. In addition, a prerequisite is applied that the exercise menu transitions according to state transition probability at each time point n.
[0069] FIG. 23 is a flowchart showing a control procedure for the exercise menu sequence estimation process. In the following, the corrected likelihood of exercise menu m at time point n is represented as R(m,n). When the exercise menu sequence estimation process is started, the CPU 11 assigns "1" to a variable n (step S401) and assigns "1" to a variable m (step S402).
[0070] If the variable n is 1 ("YES" in step S403), the CPU 11 sets the state probability P(m,n) (here, P(m,1)) of the exercise menu m at the time point n (=1) to the corrected likelihood R(m,n) (here, R(m,1)) of the exercise menu m at the time point n (=1) (step S404).
[0071] On the other hand, if the variable n is not 1 ("NO" in step S403), the CPU 11 derives the state probability P(m,n) of the exercise menu m at the time point n according to the following formula (3), and saves the state transition path that gives the max value (step S405). P(m,n)=R(m,n)* max{P(1,n-1)*Q(1,m,n-1), P(2,n-1)*Q(2,m,n-1),…, P(k,n-1)*Q(k,m,n-1)} ···(3) Here, the variable k (k: 1 to M) represents the exercise menu k at the time point (n-1). Furthermore, Q(k, m, n-1) is the state transition probability from exercise menu k at time point (n-1) to exercise menu m at time point n.
[0072] When step S404 or S405 ends, the CPU 11 assigns "m+1" to the variable m (step S406). If the CPU 11 determines that the variable m is equal to or less than M ("NO" in step S407), the CPU 11 shifts the process to step S403. By repeatedly executing the loop process of steps S403 to S407, the state probability P of each exercise menu m at the time point n is derived.
[0073] FIG. 24 is a diagram showing a method for deriving the state probability P of the exercise menu m. FIG. 24 shows the contents of one loop process of steps S403 to S407. Here, the case where the number M of exercise menus m is 3 is illustrated. In FIG. 24, three vertically arranged circles represent the state of performing three types of exercise menus at a certain time. The arrows connecting the three circles at time (n-1) and the three circles at time n represent the state transition path from the exercise menu k at time (n-1) to the exercise menu m at time n. The corresponding state transition probability Q(k, m, n-1) is added to each state transition path. The state probability P(m, n) of a certain exercise menu m at time n corresponds to the largest value among the three state probabilities when passing through each of the three state transition paths to the exercise menu m. The state transition path that gives this value is represented by a thick line in FIG. 24. For each exercise menu m at time n, one thick state transition path from the previous time (n-1) is determined. In step S405, this one state transition path is saved.
[0074] Returning to FIG. 23, if it is determined in step S407 that the variable m is greater than M ("YES" in step S407), the CPU 11 assigns "n+1" to the variable n (step S408). If it is determined that the variable n is equal to or less than N ("NO" in step S409), the CPU 11 transitions the process to step S402. By repeatedly executing the loop process of steps S402 to S409, the CPU 11 derives the state probability P of each exercise menu m at each of the N time points n, and saves one state transition path that gives the maximum value of the state probability P for each exercise menu m.
[0075] If it is determined that the variable n is greater than N ("YES" in step S409), CPU 11 traces the state transition path of the saved exercise menu m from the last time point back to determine the series of the exercise menu m (step S410). As shown in FIG. 24, for each exercise menu m at time point n, one bold state transition path that transitions from the previous time point (n-1) is saved, so that the saved state transition path can be traced from the last time point to the first time point. CPU 11 estimates (derives) the exercise menu m at each time point passed through as the series of exercise menus performed by the user.
[0076] When step S410 ends, the CPU 11 ends the exercise menu sequence estimation process, which also ends the exercise menu estimation process of FIG. Thereafter, the CPU 11 performs an analysis of each exercise menu based on the estimation result of the series of exercise menus, and transmits the analysis result, such as advice for improving the running form, to the terminal device 20.
[0077] <Effects> As described above, the server 10 according to this embodiment is equipped with a CPU 11, which derives the likelihood that the user performed each of a predetermined number of exercise menus at each of the multiple time points n based on the pace value as first information related to the user's exercise state across the multiple time points n, derives the state transition probability from each of the multiple exercise menus to each of the multiple exercise menus at each of the multiple time points n based on the time series change in the pitch value as second information related to the user's exercise state, and estimates the series of exercise menus performed by the user during exercise based on the likelihood and state transition probability at each of the multiple time points n. This makes it possible to estimate the order of the exercise menus performed by the user and the timing of switching between them, even if the timing of switching between the exercise menus in the exercise performed by the user differs from the schedule in the exercise schedule data 133. In addition, by using the state transition probability, it is possible to more appropriately estimate whether or not the exercise menu has changed at each time point, compared to a method of simply specifying a sequence of exercise menus that maximizes the likelihood.
[0078] In addition, the CPU 11 corrects the likelihood based on the exercise schedule data 133 that indicates the time-series implementation schedule of a plurality of exercise menus in the exercise, and estimates the sequence of the exercise menus performed by the user based on the corrected likelihood and state transition probability at each of the plurality of time points n. This can increase the accuracy of the likelihood of each exercise menu. Therefore, the sequence of the exercise menus can be estimated with higher accuracy.
[0079] Furthermore, CPU 11 identifies exercise menus to be performed corresponding to a plurality of time points n, and corrects the likelihood of a certain exercise menu at a certain time point by adding a correction value A to the likelihood. CPU 11 derives a weighted value for each scheduled time point at which the certain exercise menu is scheduled to be performed among the plurality of time points n such that the weighted value is larger the closer the scheduled time point is to the certain time point, and derives the sum of the values for each scheduled time point as correction value A. This allows the likelihood to be corrected to reflect the distribution of the scheduled implementation periods of the exercise menus in the exercise schedule data 133.
[0080] The CPU 11 derives the likelihood for each of the plurality of exercise menus based on the difference between the pace value and the indicated pace as a reference pace value, so that the smaller the difference, the higher the likelihood. This makes it possible to derive an appropriate likelihood with simple processing.
[0081] Furthermore, the CPU 11 derives the state transition probability such that the state transition probability when the exercise menu being performed by the user changes increases as the moving variance of the pitch value increases. This makes it possible to derive an appropriate state transition probability with simple processing.
[0082] Furthermore, the CPU 11 determines the state transition probability when the exercise menu being performed by the user at each of the multiple time points n is not changed to a constant that is not based on a time-series change in the pitch value. This makes it possible to derive the state transition probability taking into consideration the possibility that the user's movement may change without a change in the exercise menu.
[0083] In addition, the first information (pace) and the second information (pitch) are different types of exercise indexes. This allows the timing of switching the exercise menu, which is difficult to accurately estimate from the first information, to be estimated based on the second information and compensated for, thereby improving the accuracy of estimating the series of exercise menus.
[0084] The first information includes a value of a motion index (speed index) related to the user's moving speed or a value of a motion index (biological index) related to the user's vital signs, and the second information includes a value of a motion index (motion index) related to the user's body movement. This makes it possible to derive an appropriate likelihood of each exercise menu based on the first information, and to appropriately estimate the timing of switching the exercise menu based on the second information.
[0085] The second information may include values of multiple action indicators of different types, and the CPU 11 may derive the state transition probability based on time-series changes in the values of the multiple action indicators. This makes it possible to estimate the timing of switching the exercise menu with higher accuracy.
[0086] In addition, the CPU 11 estimates the sequence of the exercise menu based on the Viterbi algorithm that applies the precondition that the exercise menu transitions according to the state transition probability at each of the multiple time points n. This makes it possible to estimate the sequence of the exercise menu with high accuracy by a simple process of evaluating the state probability of each exercise menu at each time point.
[0087] In addition, in the information processing method according to the present embodiment, the CPU 11 derives the likelihood that the user performed each of a plurality of predetermined exercise menus at each of a plurality of time points n based on the pace value, derives the state transition probability at each of the plurality of time points n based on the time series change of the pitch value, and estimates the sequence of the exercise menus performed by the user in the exercise based on the likelihood and the state transition probability at each of the plurality of time points n. This makes it possible to estimate the order of the exercise menus performed by the user and the switching timing thereof.
[0088] The program 131 according to the present embodiment causes the CPU 11 to execute a process of deriving a likelihood that the user performed each of a plurality of predetermined exercise menus at each of a plurality of time points n based on the pace value, deriving a state transition probability at each of the plurality of time points n based on a time series change in the pitch value, and estimating a sequence of the exercise menus performed by the user in the exercise based on the likelihood and the state transition probability at each of the plurality of time points n. This makes it possible to estimate the order of the exercise menus performed by the user and the timing of switching between them.
[0089] <Other> The present invention is not limited to the above-described embodiment, but may be modified in various ways. For example, in the above embodiment, the processing performed by the server 10 as an information processing device may be executed by the terminal device 20. In this case, the terminal device 20 corresponds to the information processing device, and the CPU 21 of the terminal device 20 corresponds to the processing unit. In the above embodiment, the processing performed by the server 10 as an information processing device may be executed by the wearable device 30. In this case, the wearable device 30 corresponds to the information processing device, and the CPU 31 of the wearable device 30 corresponds to the processing unit. The terminal device 20 and the wearable device 30 may be integrated. For example, if the terminal device 20 has a sensor unit, the terminal device 20 may detect body movements due to the user's exercise, and the wearable device 30 may be omitted. If the wearable device 30 can execute the functions executed by the terminal device 20 in the above embodiment, the terminal device 20 may be omitted.
[0090] In addition, although running has been exemplified as an exercise performed by the user, this is not limited thereto, and may be, for example, walking, riding a bicycle, etc. In addition, the exercise is not necessarily limited to one that involves movement, and may be, for example, calisthenics, muscle training, etc.
[0091] Furthermore, in cases where the likelihood can be derived with sufficient accuracy in the likelihood derivation process, the likelihood correction process may be omitted.
[0092] Furthermore, the algorithm used to estimate the sequence of exercise menus is not limited to the Viterbi algorithm, and other dynamic programming algorithms may be used.
[0093] In the above description, an example has been disclosed in which the HDD or SSD of the storage unit 13 is used as a computer-readable medium for the program according to the present invention, but the present invention is not limited to this example. As other computer-readable media, information recording media such as flash memory and CD-ROM can be applied. In addition, a carrier wave can also be applied to the present invention as a medium for providing data of the program according to the present invention via a communication line.
[0094] Furthermore, it goes without saying that the detailed configuration and detailed operation of each component of the exercise support system 1 in the above embodiment can be modified as appropriate without departing from the spirit and scope of the present invention. Although the embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and its equivalents. [Explanation of symbols]
[0095] 1 Exercise support system 10 Server (information processing device) 11 CPU (processing unit) 13 Storage section 131 Programs 132 Exercise results data 133 Exercise schedule data (schedule information) 20 Terminal Equipment 30 Wearable Devices m Exercise Menu At point n P state probability Q state transition probability R-likelihood
Claims
1. deriving a likelihood that the user performed each of a plurality of predetermined exercise menus at each of the plurality of time points based on first information related to the user's exercise state across the plurality of time points; Deriving a state transition probability from each of the plurality of exercise menus to each of the plurality of exercise menus at each of the plurality of time points based on a time series change of second information related to the exercise state of the user; estimating a sequence of an exercise menu performed by the user during the exercise based on the likelihood and the state transition probability at each of the plurality of time points; An information processing device comprising a processing unit.
2. The processing unit includes: correcting the likelihood based on schedule information representing a time-series implementation schedule of the plurality of exercise menus for the exercise; estimating a sequence of the exercise menu performed by the user based on the corrected likelihood and the state transition probability at each of the plurality of time points; The information processing device according to claim 1 .
3. The processing unit includes: Identifying an exercise menu to be performed at each of the plurality of time points in the schedule information; correcting the likelihood for a certain exercise menu among the plurality of exercise menus at a certain time point among the plurality of time points by adding a correction value to the likelihood; For each scheduled time point at which the certain exercise menu is scheduled to be performed in the schedule information among the plurality of time points, a weighted value is derived so that the closer the scheduled time point is to the certain time point, the larger the weighted value is, and the sum of the values for each scheduled time point is derived as a correction value. The information processing device according to claim 2 .
4. The processing unit derives the likelihood for each of the plurality of exercise menus based on a difference between a value of a certain exercise index included in the first information and a reference value of the certain exercise index predetermined for each of the plurality of exercise menus, such that the likelihood is higher as the difference is smaller. The information processing device according to claim 1 .
5. The processing unit derives the state transition probability such that the state transition probability when the exercise menu being performed by the user is changed increases as the moving variance of the value of the exercise index included in the second information increases. The information processing device according to claim 1 .
6. The processing unit includes: determining the state transition probability in a case where the exercise menu being performed by the user at each of the plurality of time points does not change to a constant that is not based on a time-series change in the second information; The information processing device according to claim 1 .
7. The first information and the second information include values of different types of exercise indices. The information processing device according to claim 1 .
8. The first information includes a value of a motion index related to a moving speed of the user or a value of a motion index related to a vital sign of the user, The second information includes a value of a motion index related to a body movement of the user. The information processing device according to claim 1 .
9. The second information includes values of a plurality of different types of motion indices related to a body motion of the user, The processing unit derives the state transition probability based on a time-series change in values of the plurality of motion indices. The information processing device according to claim 1 .
10. The processing unit estimates the sequence of the exercise menu based on a Viterbi algorithm to which a precondition is applied that the exercise menu transitions according to the state transition probability at each of the plurality of time points. The information processing device according to claim 1 .
11. 1. A computer-implemented information processing method, comprising: deriving a likelihood that the user performed each of a plurality of predetermined exercise menus at each of the plurality of time points based on first information related to the user's exercise state across the plurality of time points; Deriving a state transition probability from each of the plurality of exercise menus to each of the plurality of exercise menus at each of the plurality of time points based on a time series change of second information related to the exercise state of the user; estimating a sequence of an exercise menu performed by the user during the exercise based on the likelihood and the state transition probability at each of the plurality of time points; Information processing methods.
12. On the computer, A process of deriving a likelihood that the user performed each of a plurality of predetermined exercise menus at each of the plurality of time points based on first information related to the user's exercise state over the plurality of time points; A process of deriving a state transition probability from each of the plurality of exercise menus to each of the plurality of exercise menus at each of the plurality of time points based on a time series change of second information related to the exercise state of the user; A process of estimating a sequence of an exercise menu performed by the user during the exercise based on the likelihood and the state transition probability at each of the plurality of time points; A program that executes the following.
Citation Information
Patent Citations
IMU-based gait recognition method and device
CN111329485A
Information output system, information output method, and information output program
JP2018023680A
Information processing device, information processing method, and information processing program
WO2017199305A1
Movement analysis device, system, storage medium, and rehabilitation system
WO2021241676A1
Portable fitness monitoring systems, and applications thereof
JP2010264246A
