Exercise prescription making and executing method, system, medium and product

Through deep learning models and AR game technology, dynamic adjustment of sports prescriptions and game tasks has been solved, and the problem that existing systems cannot adapt to changes in users' physical state in real time is improved, and the fitness and effectiveness of sports exercises are improved.

CN120072193APending Publication Date: 2025-05-30北京一石科技有限责任公司
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510044333.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-11
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The existing exercise prescription system cannot adjust the intensity and type of exercise in real time, resulting in inability to adapt effectively when the user's physical state changes, which may lead to excessive or insufficient exercise and affect the exercise effect.

Method used

Generate personalized sports prescriptions through deep learning models, and combine them with AR game library to generate target game tasks, monitor the user's physiological parameters and task completion rate in real time, and dynamically adjust game tasks and sports prescriptions to adapt to the user's current physical state.

Benefits of technology

It improves the fitness of exercise prescriptions with the user's current physical condition, avoids excessive or insufficient exercise, enhances the effectiveness and safety of exercise, and makes the exercise process more interesting and more involved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120072193A_ABST
    Figure CN120072193A_ABST
Patent Text Reader

Abstract

The invention discloses an exercise prescription making and executing method and system, a medium and a product, and relates to the field of exercise prescriptions. The method comprises the following steps: acquiring physiological parameters and exercise preferences of a current user; based on the physiological parameters and the exercise preferences of the current user, generating an exercise prescription through a deep learning model; generating a target game task according to the AR game library and the exercise prescription; according to the task time period of each game task in the target game task, periodically sending the corresponding game task to the current user; and when the current user executes the first game task, dynamically adjusting the first game task according to the real-time physiological parameters and the task completion rate when the current user executes the first game task. By implementing the technical scheme provided by the invention, the adaptation degree of the generated exercise prescription and the current physical state of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of exercise prescription, and in particular to a method, system, medium and product for prescribing and executing exercise prescription. Background Art

[0002] As people's health awareness continues to improve, the importance of exercise in maintaining and promoting physical health has become increasingly prominent. As a scientific and personalized exercise guidance program, exercise prescription can accurately plan the type, intensity, frequency and duration of exercise based on individual physical conditions, exercise goals and health risks, providing strong protection for people's pursuit of a healthy life.

[0003] At present, the technology of exercise prescription management system has been relatively well developed. It can automatically generate exercise prescriptions according to the user's physiological condition, guide users in the process of executing the exercise prescription, correct and standardize the user's exercise posture to ensure the accuracy and safety of exercise.

[0004] However, since the exercise prescription is generated based on the user's normal physiological condition and is fixed, when the user's body function is in an abnormal state during exercise, continuing to exercise according to the exercise prescription will not only fail to achieve the exercise effect, but may increase the burden on the body and bury hidden dangers to health. Summary of the invention

[0005] The present application provides a method, system, medium and product for preparing and executing an exercise prescription, which are used to improve the compatibility of the generated exercise prescription with the user's current physical condition.

[0006] In a first aspect, the present application provides a method for prescribing and executing an exercise prescription, the method comprising: obtaining physiological parameters and exercise preferences of a current user; the physiological parameters include the heart rate and blood pressure of the current user; the exercise preferences include the exercise time and exercise type preferred by the current user; based on the physiological parameters and the exercise preferences of the current user, generating an exercise prescription through a deep learning model; generating a target game task according to an AR game library and the exercise prescription; the target game task includes one or more game tasks and their corresponding task time periods; according to the task time periods of each game task in the target game task, periodically sending the corresponding game tasks to the current user; when the current user performs the first game task, dynamically adjusting the first game task according to the real-time physiological parameters and task completion rate of the current user when performing the first game task; the first game task is one of the target game tasks.

[0007] By adopting the above technical solution, by obtaining the physiological parameters and exercise preferences of the current user, automatically generating a personalized exercise prescription according to the physiological parameters and exercise preferences of the user, and generating corresponding personalized target game tasks according to the exercise prescription, the exercise process becomes more interesting and avoids the boredom that may be brought by traditional exercise methods. At the same time, during the exercise process, the game tasks are dynamically adjusted according to the real-time physiological parameters and task completion rate of the user, and then the exercise prescription is adjusted to ensure that the generated exercise prescription always adapts to the user's physical state, improving the adaptability of the generated exercise prescription to the user's current physical state, avoiding the occurrence of over-exercise or under-exercise, and thus more effectively achieving the expected exercise effects such as fitness and rehabilitation.

[0008] Combined with some embodiments of the first aspect, in some embodiments, generating the target game task according to the AR game library and the exercise prescription specifically includes: matching the AR game corresponding to the exercise prescription in the AR game library according to the exercise type in the exercise prescription and the game preferences of the current user; adjusting the game parameters of the AR game according to the exercise intensity and exercise duration in the exercise prescription to obtain the target AR game; formulating the target game task according to the exercise cycle, exercise frequency in the exercise prescription and the target AR game.

[0009] By adopting the above technical solution, generating the corresponding target game task according to the exercise prescription enables the user to perform the exercise in the exercise prescription by executing the target game task, achieving the expected exercise effect, enriching the exercise method, and improving the enthusiasm and initiative of the user to participate in the exercise.

[0010] Combined with some embodiments of the first aspect, in some embodiments, when the current user executes the first game task, dynamically adjusting the first game task according to the real-time physiological parameters and task completion rate of the current user when executing the first game task specifically includes: when the current user executes the first game task, determining the current exercise state of the current user according to the real-time physiological parameters of the current user; the current exercise state includes relaxed, moderate, slightly fatigued, moderately fatigued, highly fatigued; calculating the task completion rate of the current user; the task completion rate is the value obtained by dividing the actual task progress completed by the current user by the target task progress; when the current exercise state is relaxed and the task completion rate is higher than the preset completion rate threshold, adjusting the game parameters of the current AR game to increase the difficulty of the first game task; when the current exercise state is moderately fatigued and the task completion rate is lower than the completion rate threshold, adjusting the game parameters of the current AR game to reduce the difficulty of the first game task; when the current exercise state is highly fatigued, pausing the current AR game.

[0011] By adopting the above technical solution, during exercise, the game tasks are dynamically adjusted according to the user's real-time physiological parameters and task completion rate, and then the exercise prescription is adjusted to ensure that the exercise prescription always adapts to the user's physical condition, thereby improving the compatibility of the generated exercise prescription with the user's current physical condition, avoiding excessive or insufficient exercise, and more effectively achieving the expected exercise effects such as fitness and rehabilitation.

[0012] In combination with some embodiments of the first aspect, in some embodiments, after the step of periodically sending corresponding game tasks to the current user according to the task time periods of each game task in the target game task, the method further includes: obtaining the motion posture of the current user; determining whether the current user is in a dangerous position or performing a dangerous action based on the motion posture, the environmental conditions around the current user, and the game content of the current AR game; if so, giving a voice prompt to the user; the voice prompt content is used to remind the user to adjust the motion posture, change the direction of travel, or pause the current action.

[0013] By adopting the above technical solution, it is possible to monitor in real time whether the current user is in a dangerous position or performing a dangerous action. When it is detected that the current user is in a dangerous position or performing a dangerous action, the user is reminded in time to prevent the user from ignoring the dangerous situation due to focusing on the game content, thereby preventing accidents from happening, ensuring the personal safety of users while participating in AR games, and improving the user experience.

[0014] In combination with some embodiments of the first aspect, in some embodiments, when the current user performs the game task, after the step of dynamically adjusting the game task according to the real-time physiological parameters of the current user when performing the game task, the method also includes: when the current user completes any game task in the target game task, determining the task score value of the current user according to the current user's actual total task completion time, actual task difficulty, preset total task completion time and preset task difficulty; according to the task score value, issuing a corresponding number of points to the current user; when the current user completes the entire target game task, issuing a corresponding achievement badge to the current user.

[0015] By adopting the above technical solution, when a user completes a task, on the one hand, the task score is determined based on the user's actual total task completion time, the actual task difficulty and preset relevant standards, and a corresponding number of points are issued accordingly, which can quantitatively evaluate and incentivize the user's task completion, so that the user can redeem corresponding rights and interests or use the points obtained for further development in the game; on the other hand, when the user completes the entire target game task, an achievement badge is issued, so that the user can gain a sense of accomplishment and satisfaction, enhance the user's identification and participation in the game, thereby attracting users to continue to participate in the game, and improving the fun of the game and user stickiness.

[0016] In some embodiments in combination with some embodiments of the first aspect, after the step of awarding an achievement badge to the current user when the current user completes the entire target game task, the method further includes: updating an online leaderboard according to the integral quantities of all users and the achievement badge; periodically awarding rewards to the top three users in the online leaderboard.

[0017] By adopting the above technical solution, by updating the online leaderboard based on the integral quantities of all users and the obtained achievement badges, the comprehensive performance of different users in the game can be intuitively displayed, creating a healthy competitive atmosphere, motivating users to actively participate in the game, strive to complete tasks to obtain more integral and achievement badges, and improve their rankings in the leaderboard. And periodically awarding rewards to the top three users in the online leaderboard further strengthens this incentive effect, enabling excellent-performing users to receive additional rewards, which can not only increase the sense of honor and achievement of this part of users, but also attract more users to invest more energy in the game in order to rank among the top of the leaderboard, thereby improving the overall activity and user stickiness of the game.

[0018] In some embodiments in combination with some embodiments of the first aspect, after the step of periodically sending corresponding game tasks to the current user according to the task time periods of the respective game tasks in the target game task, the method further includes: when receiving an online request from a first user, screening other users who are performing the same game task as the second user; sending the online request to the second user; in the case where the second user accepts the online request from the first user, establishing a virtual avatar in the fields of view of the first user and the second user for interactive communication.

[0019] By adopting the above technical solution, when receiving an online request from a first user, screening out the second user who is performing the same game task realizes accurate matching of game partners for users with online interaction needs. At the same time, in the case of successful online connection, establishing a virtual avatar in the fields of view of both parties for interactive communication enriches the social attributes of the game, breaks the limitation of users playing the game alone, allows users to interact with other like-minded players in real time during the game process, share the game experience, jointly cooperate to complete tasks, etc., enhances the fun and playability of the game, and also helps to improve the social satisfaction of users, attract users to participate in the game for a longer time, and create a more active and diverse game social atmosphere.

[0020] Second aspect, an embodiment of the present application provides a sports prescription management system, which includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, and the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the sports prescription management system to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0021] Third aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions, when the above instructions run on the sports prescription management system, enabling the above sports prescription management system to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0022] Fourth aspect, the present application provides a computer program product, when the computer program product runs on the sports prescription management system, enabling the sports prescription management system to execute the method described in the first aspect and any possible implementation manner in the first aspect.

[0023] It can be understood that the sports prescription management system provided in the second aspect above, the storage medium provided in the third aspect, and the computer program product provided in the fourth aspect are all used to execute the method provided by the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be elaborated here.

[0024] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: 1. The present application generates a personalized sports prescription for the user through a deep learning model, and then generates corresponding game tasks according to the sports prescription, so that the user can perform the exercises in the sports prescription by executing the game tasks, making the exercise process more interesting and avoiding the boredom that may be brought by traditional exercise methods. At the same time, during the exercise process, the game tasks are dynamically adjusted according to the user's real-time physiological parameters and task completion rate, and then the sports prescription is adjusted to ensure that the generated sports prescription always adapts to the user's physical state, improving the adaptability of the generated sports prescription to the user's current physical state.

[0025] 2. The present application monitors in real time whether the current user is in a dangerous position or is performing a dangerous action. When it is detected that the current user is in a dangerous position or is performing a dangerous action, the user is reminded in time to avoid the user ignoring the dangerous situation where they are due to focusing on the game content, thereby avoiding the occurrence of accidents and ensuring the personal safety of the user during the AR game process and enhancing the user experience.

[0026] 3. This application motivates users to continuously participate in sports by awarding rewards to them, encouraging them to strive to complete tasks to obtain more rewards, so that users can not only gain material rewards but also a sense of achievement, enhancing users' enthusiasm and persistence for sports, and thus improving users' sports participation rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 FIG. is a schematic structural diagram of a system architecture to which the method for prescribing and executing an exercise prescription in an embodiment of the present application can be applied; Figure 2 FIG. is a schematic flowchart of a method for prescribing and executing an exercise prescription in an embodiment of the present application; Figure 3 FIG. is another schematic flowchart of a method for prescribing and executing an exercise prescription in an embodiment of the present application; Figure 4 FIG. is a schematic diagram of an exemplary hardware structure of an exercise prescription management system in an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0028] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular forms "a", "an", "the", "above", "said", "this" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in the present application refers to any and all possible combinations including one or more of the listed items.

[0029] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or indicating relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality" is two or more.

[0030] Figure 1 FIG. is a schematic structural diagram of a system architecture to which the method for prescribing and executing an exercise prescription in an embodiment of the present application can be applied.

[0031] Please refer to Figure 1 , the exercise prescription management system includes a server, a sensor, and an AR (Augmented Reality) device.

[0032] The server is the core component of the system, which is used to generate exercise prescriptions and game tasks, and send game tasks and control instructions to AR devices. AR devices are used to present game tasks and AR games in game tasks to users, and obtain the real-time execution status and user instructions issued when users perform game tasks, and feed them back to the server. Sensors are used to collect real-time physiological parameters of users and transmit these data to the server.

[0033] Among them, AR gaming devices include but are not limited to head-mounted AR devices, handheld AR devices, smart glasses, etc., and sensors include but are not limited to heart rate sensors, blood pressure sensors, gyroscope sensors, etc., which are not limited here.

[0034] Through the above system architecture, the exercise prescription management system can generate exercise prescriptions and corresponding game tasks. Users can perform exercise exercises in the exercise prescription by using AR devices to execute game tasks to achieve the expected exercise effect.

[0035] When the user's body functions are in an abnormal state during exercise, since the exercise prescription is generated based on the user's normal physiological condition and is fixed, at this time, continuing to exercise according to the exercise prescription will not only fail to achieve the exercise effect, but may increase the burden on the body and pose a hidden danger to health.

[0036] By adopting the exercise prescription preparation and prescription execution method in the embodiment of the present application, the user's physiological state is collected in real time, and the exercise prescription is dynamically adjusted according to the user's real-time physical state, so that the exercise prescription can be accurately adapted to the user's current physical function, thereby avoiding potential risks to the greatest extent and ensuring that exercise has a positive and beneficial effect on the body.

[0037] Combine the following Figure 2 To illustrate the method of the embodiment of the present application.

[0038] See also Figure 2 , which is a flow chart of the method for preparing and executing exercise prescriptions in an embodiment of the present application.

[0039] S201. Acquire physiological parameters and exercise preferences of the current user.

[0040] The current user's physiological parameters are obtained through sensors, and the user's exercise preferences are obtained based on the preference content pre-filled by the user.

[0041] Among them, physiological parameters include the current user's heart rate, blood pressure, etc., and exercise preferences include the current user's preferred exercise time, preferred exercise type, etc.

[0042] Specifically, physiological parameters of the current user are obtained through sensors with detection functions worn on the user's body. For example, heart rate data of the current user is obtained in real time through heart rate sensors built into wearable devices such as smart bracelets and smart watches, and a dedicated blood pressure monitor (some smart wearable devices also have blood pressure monitoring functions) is used to obtain the user's blood pressure value.

[0043] Regarding the current user's exercise preferences, when the user registers, the system will pop up a dedicated setting page to guide the user to fill in the information, including height, weight, exercise time, exercise type, game type, historical medical records, etc. After filling in, the system will encrypt and store these data properly in the background database, and the exercise preferences and basic body data of the current user can be obtained by retrieving the content pre-filled by the current user in the database. Among them, the basic body data includes height, weight, etc.

[0044] S202. Based on the physiological parameters and exercise preferences of the current user, a personalized exercise prescription is generated through a deep learning model.

[0045] Specifically, first, physiological parameters such as the heart rate and blood pressure of the current user, as well as exercise preference data such as height, weight, exercise time, and preferred exercise type, are standardized to meet the input requirements of the deep learning model. For example, the heart rate and blood pressure values are uniformly converted into a specific numerical format, the height and weight are sorted according to international standard units, and the exercise time is converted into a continuous numerical value in minutes, etc.

[0046] Next, the preprocessed data is input into a pre-trained deep learning model. This model is trained based on a large amount of physiological parameters, exercise preferences of different populations, and corresponding scientific exercise prescription sample data, and it can learn the complex relationship between different parameter combinations and the best exercise prescriptions.

[0047] Inside the model, through complex operations of multiple layers of neurons, feature extraction and pattern recognition are performed on the input data. For example, when the model recognizes that the user has a high heart rate, blood pressure at the critical value, prefers aerobic exercises, and has sufficient exercise time, it will focus on recommending an exercise prescription mainly based on low-intensity aerobic jogging, and at the same time, accurately calculate the appropriate speed, distance, and weekly exercise frequency of jogging in combination with height and weight information.

[0048] When the model completes the operation, a detailed and personalized exercise prescription can be obtained. This prescription covers content such as exercise type, exercise intensity, exercise duration, exercise cycle, and exercise frequency.

[0049] S203. Based on the AR game library and the exercise prescription, a target game task is generated.

[0050] Among them, the target game tasks include one or more game tasks and their corresponding task time periods, covering all game tasks within the exercise cycle in the exercise prescription.

[0051] Specifically, the system will first analyze and extract the key elements in the exercise prescription, such as information on exercise type, exercise intensity, exercise duration, and the expected exercise effect to be achieved.

[0052] Then, these information are matched and compared with various game characteristics in the AR game library. The games in the AR game library are classified and indexed in multiple dimensions such as exercise stimulation intensity, body movement categories involved, and energy metabolism patterns. For example, if the exercise type determined in the exercise prescription is aerobic and of moderate intensity, and the duration requirement is about 30 minutes, the system will screen out those games in the AR game library that can allow players to continuously perform moderate-intensity physical activities. For example, an AR game that simulates running and avoiding obstacles in a fantasy forest and collecting energy gems requires players to continuously move their feet and swing their bodies to control the game character to avoid various virtual obstacles along the way and collect gems scattered everywhere.

[0053] Next, the target game tasks are further customized according to the detailed requirements in the exercise prescription. For example, the number of gems to be collected or the number of levels to be completed for game clearance is set according to the exercise duration, and the frequency and difficulty of obstacle appearance in the game are adjusted according to the exercise intensity, so that players must maintain the corresponding exercise intensity and continuously exercise for a certain duration to achieve the game task goal.

[0054] Finally, according to the exercise cycle and exercise frequency in the exercise prescription and the user's preferred exercise time, the task time periods of each game task in the target game tasks are determined. For example, the exercise cycle is one month, the exercise frequency is three times a week, and the user is used to exercising from 9 am to 6 pm on weekends and from 6 pm to 10 pm on Wednesday afternoons. The system will arrange the task time periods from 9 am to 6 pm on weekend days and from 6 pm to 10 pm on Wednesday afternoons. The specific exercise time can be arranged by the user himself as long as it is within the specified task time period.

[0055] In some embodiments, when the exercise prescription involves multiple exercise types, multiple AR games can also be integrated into one game task. For example, if the exercise requires a combination of aerobic and strength training, the system may select an AR game that simulates mountain climbing for the aerobic part, set a 20-minute mountain climbing challenge task, and then match an AR game that simulates building construction, requiring players to carry heavy objects in a virtual scene to complete a 20 - 35-minute strength training task.

[0056] S204. Periodically send the corresponding game tasks to the current user according to the task time periods of each game task in the target game tasks.

[0057] Specifically, the system has a built-in accurate time scheduling module, which executes and sends tasks according to the pre-set task time period. For example, if the task time period is from 6:00 to 10:00 p.m. on Wednesday, the system will send the corresponding game task to the user's mobile terminal 30 minutes in advance, that is, at 5:30 p.m. If the time point after adding the exercise time to the current time is less than half an hour away from the task end time point, and the user has not started the game task, the corresponding game task will be sent to the user's mobile terminal again.

[0058] S205. When the current user performs the first game task, dynamically adjust the first game task according to the real-time physiological parameters and task completion rate of the current user when performing the first game task.

[0059] Among them, the first game task is one of the target game tasks.

[0060] Specifically, the user's physiological parameters are monitored in real time through sensors with detection functions worn by the user. At the same time, the real-time execution status of the user when performing the game task is obtained through the AR device, and the AR device can clearly record the user's game progress, total game time, game parameters and other information in the virtual and real scene. After obtaining the real-time execution status, the user's task completion rate is calculated based on the user's current game progress, current total game time and target game progress and target total game time.

[0061] If the system detects that the user's heart rate rises sharply, the blood oxygen content shows a downward trend, and the task completion rate is at a low level, the system can appropriately extend the time limit of the limited-time task in the game to allow the user more time to complete the operation; or adjust the game parameters to reduce the difficulty of the task.

[0062] If it is monitored that the user's various physiological parameters remain within a normal and stable range and the task completion rate is high, the system can adjust the game parameters and increase the task difficulty accordingly to increase the challenge.

[0063] If abnormal fluctuations in the user's physiological parameters are detected, such as heart rate fluctuations, low blood oxygen levels for a long time, and other conditions that may indicate physical discomfort, the game task will be immediately paused regardless of the current game progress and task completion rate, and a striking prompt box will be popped up to the user using the AR device to remind the user that there may be problems with the user's physical condition and to recommend timely rest and adjustment. After the user's physiological parameters are detected to return to normal, the difficulty and specific content of the first game task will be readjusted in combination with the latest game progress and other execution status recorded by the AR device to ensure that the user can continue to experience the game in a healthy and comfortable state.

[0064] After adjusting the first game task, determine the exercise intensity again according to the adjusted first game task. If the difficulty of the first game task decreases, correspondingly, analyze whether the current user's exercise intensity is lower than the exercise intensity range set in the exercise prescription. If so, regenerate the exercise prescription and appropriately reduce the exercise intensity requirements in the exercise prescription, such as reducing the exercise duration, lowering the exercise frequency, or adjusting the exercise type, etc., and formulate the corresponding target game task according to the new exercise prescription to ensure the safety and effectiveness of the user's exercise.

[0065] If the difficulty of the first game task increases, also analyze whether the user's new exercise intensity exceeds the range set by the original exercise prescription. If so, regenerate the exercise prescription, appropriately increase the upper limit of the exercise intensity, and at the same time ensure that the increase in exercise intensity is within the user's tolerable range to prevent adverse effects on the user's body due to a sudden increase in exercise intensity, and then formulate the corresponding target game task according to the new exercise prescription.

[0066] In some embodiments, in addition to dynamically adjusting the first game task based on the above-mentioned real-time physiological parameters, task completion rate, and relevant game status information, the first game task can also be dynamically adjusted by further combining the brain's fatigue state and the user's emotional state.

[0067] For the judgment of the brain's fatigue state, the physiological parameters monitored by the sensors worn on the user's body are used to judge whether the brain is in a fatigue state. For example, the electroencephalogram sensor is used to monitor the user's brain waves. If it is detected that the activity of the brain waves decreases significantly and the ratio of brain waves in different frequency bands changes abnormally (such as a decrease in alpha waves and an increase in theta waves. Usually, alpha waves represent a relaxed and awake state, and theta waves will relatively increase during drowsiness and fatigue), it indicates that the brain may be gradually entering a fatigue state. At the same time, the real-time execution state of the user in the game obtained by the AR device is combined to assist in the judgment. If the user's original operation accuracy is high and the reaction speed is fast, but as the game progresses, there are more operation errors and the reaction becomes significantly slower, even if there are no major abnormalities in conventional physiological parameters such as heart rate and blood oxygen, it may also indicate that the brain is starting to become fatigued.

[0068] To determine whether the user is in a stressful or in a bad mood, it is judged by the physiological parameters monitored by the sensors worn on the user's body. For example, the skin conductivity of the user is monitored by a skin conductivity sensor. When the skin conductivity sensor detects that the skin conductivity has been at a relatively high level for a long time, it indicates that the user's mood is in a relatively tense and fluctuating state. If the blood pressure sensor monitors small but frequent fluctuations in blood pressure, it may also imply that there is pressure in the user's heart, the mood is not stable enough, and the body is in a stress state. In addition, heart rate variability is also an important reference index. When the heart rate variability decreases, it indicates that the balance of the autonomic nervous system is broken, which may be affected by negative emotional factors such as stress, suggesting that there may be problems in the user's mood aspect.

[0069] When it is monitored that the user's heart rate climbs sharply, the blood oxygen content shows a downward trend, and the task completion rate is at a low level, if the user's brain is in a fatigued state, adjust the game parameters to reduce the difficulty of the task; if the user is in a stressful or in a bad mood, adjust the game parameters to increase the difficulty of the task; if the user's brain is in a fatigued state and the user is in a stressful or in a bad mood, suspend the game task.

[0070] If it is monitored that all the user's physiological parameters are maintained within the normal and stable range and the task completion rate is high, if the user's brain is in a fatigued state, adjust the game parameters to reduce the difficulty of the task; if the user is in a stressful or in a bad mood, adjust the game parameters to increase the difficulty of the task; if the user's brain is in a fatigued state and the user is in a stressful or in a bad mood, suspend the game task.

[0071] If it is monitored that the user's physiological parameters show abnormal fluctuations, such as the heart rate fluctuating up and down, the blood oxygen content remaining at a low level for a long time, etc., which may imply physical discomfort, suspend the game task.

[0072] By making such a detailed judgment on the brain state and the user's emotional stress situation, and combining with the previously mentioned factors such as real-time physiological parameters and task completion rate, the first game task can be dynamically adjusted more comprehensively and accurately, ensuring that the game can always fit the user's current actual situation, continuously improving the game experience, making the adaptability of the game to the user reach a higher level, and enabling each user to enjoy the game process in a healthy, comfortable and fun state.

[0073] In the embodiments of this application, an exercise prescription and corresponding game tasks are automatically generated based on the user's physiological parameters. During the process of the user performing the game tasks, the game tasks are dynamically adjusted according to the user's real-time physical state, and then the exercise prescription is adjusted, so that the exercise prescription fits the user's current physical state better, and the adaptability of the generated exercise prescription to the user's current physical state is improved.

[0074] The following will further illustrate the method of the embodiment of the present application in conjunction with Figure 3 to further illustrate the method of the embodiment of the present application.

[0075] Please refer to Figure 3 , which is another schematic flowchart of the method for prescribing and executing an exercise prescription in the embodiment of the present application.

[0076] S301. Obtain the physiological parameters and exercise preferences of the current user.

[0077] S302. Generate an exercise prescription through a deep learning model based on the physiological parameters and exercise preferences of the current user.

[0078] Steps S301 and S302 are similar to Figure 2 steps S201 and S202 in the embodiment shown, and reference can be made to the descriptions in steps S201 and S202, which will not be elaborated here.

[0079] S303. Match the AR games corresponding to the exercise prescription in the AR game library according to the exercise type in the exercise prescription and the game preferences of the current user.

[0080] Specifically, analyze and extract the exercise type in the exercise prescription, and obtain the content pre-filled by the current user in the database to obtain the game preferences of the current user. Then, compare and match this information with the characteristics of various games in the AR game library. For example, if the exercise type determined in the exercise prescription is aerobic and the user's game preference is action adventure games, first match one or more AR games according to the exercise type, and then screen out the AR game that best meets the user's game preference as the AR game corresponding to the exercise prescription according to the user's game preference.

[0081] S304. Adjust the game parameters of the AR game according to the exercise intensity and exercise duration in the exercise prescription to obtain the target AR game.

[0082] Specifically, analyze and extract the exercise intensity and exercise duration in the exercise prescription. According to the exercise intensity, adjust the game parameters of the AR game to adjust the difficulty of the AR game, so that the game difficulty is adapted to the exercise intensity, and further enable the physical load situation of the user during the game to match the exercise requirements under the corresponding exercise intensity, achieving the purpose of effective exercise through the game. Then, according to the exercise duration, set the game duration in the game parameters to the exercise duration to obtain the target AR game.

[0083] S305. Develop a target game task according to the exercise cycle, exercise frequency in the exercise prescription and the target AR game.

[0084] Specifically, analyze and extract the exercise cycle and exercise frequency in the exercise prescription. Then, in combination with the exercise time preferred by the user, determine the time periods of each game task within the exercise cycle. Finally, integrate the time periods of the game tasks and the target AR game to obtain one or more game tasks, and summarize these game tasks to obtain the target game task.

[0085] S306. Periodically send the corresponding game tasks to the current user according to the task time periods of each game task in the target game task.

[0086] Step S306 is similar to Figure 2 step S204 in the embodiment shown, and reference can be made to the description in step S204, which will not be elaborated here.

[0087] S307. Obtain the exercise posture of the current user.

[0088] Specifically, obtain the exercise posture of the current user through a sensor with detection function worn on the user's body. The accelerometer can detect the acceleration changes of an object in all directions. By analyzing the change patterns of the acceleration data, it can be judged whether the user's limbs are in a static, swinging or accelerating state, etc. For example, it can distinguish the acceleration changes generated by the natural swing of the arm when the user is walking from the more intense arm swing when running. The gyroscope can measure the angular velocity of an object and help accurately know the situation of limb rotation. For example, when doing some twisting body movements, it can accurately capture the angle and speed of body twisting. The magnetometer can assist in determining the direction and further improve the positioning and analysis of the user's exercise posture in space by combining the data of other sensors. Through processing and analyzing these data, specific exercise posture information of the user is obtained.

[0089] In some embodiments, some AR devices are equipped with advanced somatosensory detection functions by themselves. For example, some AR glasses or AR helmets are built with high-precision cameras and depth sensors and other components. The camera can capture the images of various parts of the user's body in real time, and analyze the position, shape changes, etc. of the limbs through image recognition technology. For example, it can identify whether the arm is straight or bent, whether the legs are together or apart, etc. The depth sensor can obtain the distance information between the user's body and the device and assist in judging the posture of the user's body in three-dimensional space. For example, changes in the distance between the body and the device caused by actions such as leaning forward, backward or squatting can be detected.

[0090] S308. Determine whether the current user is in a dangerous position or is performing a dangerous action.

[0091] If so, execute the steps of S309 to give a voice prompt to the user; if not, execute the steps of S307 to continue obtaining the exercise posture of the user.

[0092] Specifically, the environmental perception module scans the surrounding environment of the user in real time to generate a 3D model, obtains the game content of the current AR game, combines the current motion posture of the user and the game content of the current AR game to predict the next motion posture of the user, and determines whether the user is in a dangerous position or performing a dangerous action based on the 3D model of the surrounding environment and the predicted motion posture. For example, if the 3D model shows that there is a construction fence on one side of the road where the user is located, and the predicted next motion posture is that the user will move to that side due to game guidance and may collide with the fence and get injured, it can be determined that the user is in a dangerous position.

[0093] Meanwhile, obtain the user's historical medical records to get the user's medical history, which includes the type of injury, the situation of the injury, the recovery time, etc. If the user's historical medical records are empty, analyze the movement amplitude of each part of the user's body based on the user's motion posture, and analyze the movement frequency of each part of the user's body based on the historical execution status of the user's execution of game tasks. Compare and judge according to the preset normal movement amplitude range standard and movement frequency range standard for each part of the body. If it is found that the movement amplitude or movement frequency of a certain part of the user's body exceeds the normal range, such as the bending angle of the joint is too large, the limb extension degree far exceeds the normal, etc., it is determined that the user is performing a dangerous action; if the user's historical medical records are not empty, adjust the preset movement amplitude range standard and movement frequency range standard for the corresponding body part according to the type of injury, the situation of the injury, and the recovery time of the user, so that it is more in line with the actual physical condition of the user, and compare and judge according to the adjusted movement amplitude range standard and movement frequency range standard. If it is found that the movement amplitude or movement frequency of a certain part of the user's body exceeds the normal range, it is determined that the user is performing a dangerous action.

[0094] S309. Give a voice prompt to the user.

[0095] Play the voice prompt content through the speaker built in the AR device.

[0096] Among them, the voice prompt content is used to remind the user to adjust the motion posture, change the traveling direction or pause the current action.

[0097] S310. When receiving the online request of the first user, screen other users who are performing the same game task as the second user.

[0098] Among them, the second user includes one or more users.

[0099] Specifically, when the system receives an online request from the first user, it will first parse the request and extract the information related to the specific game task currently being performed by the first user involved in the request, such as the name of the game task, number, key task objectives, and key elements of the game stage. Then, the system will traverse the game data records of all other users who are currently online and active. These game data records cover the details of the game tasks being performed by each user, including the specific content of the tasks, completion progress, etc. By comparing the key elements of the first user's game tasks with the details of the game tasks of other users one by one, other users who match in terms of game task names, key objectives, and stages are obtained as second users.

[0100] S311. Send a connection request to the second user.

[0101] According to the user information of the second users, online requests are sent to each of the second users in sequence.

[0102] S312: Determine whether the second user accepts the connection request of the first user.

[0103] Receive feedback information from the second user after receiving the connection request, determine whether the second user has accepted the connection request of the first user, if yes, execute step S313; if no, execute step S314 and send a connection failure message to the user.

[0104] S313: Create a virtual portrait in the field of vision of the first user and the second user for interactive communication.

[0105] Specifically, through the acquisition devices such as cameras equipped on the AR device, the appearance features, dressing style, clothing color and other appearance-related information of the first user and the second user are captured, and based on this, the corresponding virtual portrait model is constructed in the system background using professional graphic modeling technology. Then, with the help of the built-in spatial perception technology of the AR device, such as depth sensors, inertial measurement units, etc., the position and orientation of the first user and the second user in the real space are accurately determined. Subsequently, based on these spatial data, the virtual portraits constructed for each of them will be accurately positioned at the appropriate distance in front of the corresponding user's position. In addition, according to the user's perspective changes and head rotation and other actions, the display angle and position of the virtual portrait in the user's field of view are adjusted in real time to ensure that no matter how the user moves his head or changes the viewing direction, the virtual portrait can always be presented in the user's field of view with a suitable posture.

[0106] Meanwhile, the real-time execution status of the first user and the second user when performing the game task is obtained through the AR device. According to the real-time execution status and task content of the first user and the second user, the task difficulty, task progress, and task objectives of the first user and the second user are obtained. According to the task difficulty, task progress, and task objectives of the first user and the second user, the first amount of exercise and the second amount of exercise that the first user and the second user still need to complete to reach the task objectives are analyzed. The physiological parameters of the first user and the second user are obtained, and the exercise intensity suitable for the two users to exercise together is comprehensively analyzed. According to the exercise intensity, the first amount of exercise, and the second amount of exercise, the first exercise duration and the second exercise duration are calculated, and the longer exercise duration is selected as the target exercise duration. According to the exercise intensity and the target exercise duration, a new game task is formulated. The task difficulty of the new game task matches the exercise intensity, and the task duration matches the target task duration. The new game task is sent to the first user and the second user, so that the first user and the second user can perform the game task together and exercise together.

[0107] Finally, the virtual portrait is equipped with a voice interaction function and an action interaction function, so that the first user and the second user can interact more immersively during the game task.

[0108] S314. Send the information of connection failure to the user.

[0109] Play the information of connection failure through the speaker built in the AR device.

[0110] S315. When the current user is performing the first game task, determine the current exercise state of the current user according to the real-time physiological parameters of the current user.

[0111] Among them, the current exercise state includes relaxed, moderate, slightly fatigued, moderately fatigued, highly fatigued, etc.

[0112] Specifically, the real-time physiological parameters of the current user are obtained through the sensor with detection function worn on the user's body.

[0113] If the real-time heart rate is between 60 and 90 beats per minute, the breathing frequency is stable, other physiological indicators such as blood pressure are fluctuating stably within the normal range, and the indicators related to the body's stress level such as skin conductivity are at a low level, it is determined that the current exercise state of the current user is relaxed.

[0114] If the real-time heart rate is between 90 and 110 beats per minute, the breathing frequency is slightly accelerated, the physiological indicators such as blood pressure are still within the normal range but have small fluctuations, and the related body stress indicators have a certain degree of increase, it is determined that the current exercise state of the current user is moderate.

[0115] If the real-time heart rate is between 110 and 130 beats per minute, the breathing rate is significantly faster, the blood pressure fluctuates slightly, the body stress index rises significantly, and the user may begin to feel slight muscle fatigue, then the current exercise state of the user is determined to be slight fatigue.

[0116] If the real-time heart rate is between 130 and 150 beats per minute, the breathing rate is significantly faster and may become slightly rapid, the blood pressure fluctuation range is further increased, the body stress index is at a high level, the user can clearly feel muscle fatigue and physical strength has decreased to a certain extent, then the current exercise state of the user is determined to be moderate fatigue.

[0117] If the real-time heart rate exceeds 150 beats / minute, breathing becomes rapid or even difficult, blood pressure fluctuates significantly beyond the critical value of the normal range, body stress indicators are at a very high level, and the user shows obvious fatigue or extreme exhaustion, then the current exercise state of the user is determined to be highly fatigued.

[0118] Among them, the heart rate range described above is for reference only and can be further modified and refined according to actual scenarios and is not limited here.

[0119] S316: Calculate the task completion rate of the current user.

[0120] The task completion rate is the value of the current user's actual task completion progress divided by the target task completion progress.

[0121] Specifically, first determine the actual task completion progress of the current user. For example, in role-playing games, the number of main story chapters completed, the number of side quests completed, or the rank achieved and the number of achievements unlocked in competitive games are used as indicators to measure game progress and are recorded as the current game progress value.

[0122] Then, the total game progress is determined based on the game tasks, such as the total number of main story chapters to be completed, the total number of side quests to be completed, or the preset highest rank, the total number of achievements to be unlocked, etc., which are recorded as the target game progress value.

[0123] Next, the current total game time is obtained, that is, the total amount of time the user has spent since the start of the game task to the current moment. At the same time, the total game time is determined according to the game task.

[0124] Finally, based on the current total game time, total game time, and total game progress, calculate the target task completion progress that should be achieved at the current time, and then calculate the actual task completion progress divided by the target task completion progress to get the current user's task completion rate.

[0125] S317. When the current exercise state is easy and the task completion rate is higher than the preset completion rate threshold, adjust the game parameters of the current AR game to increase the difficulty of the first game task.

[0126] Specifically, if the current exercise state is easy and the task completion rate is higher than the preset completion rate threshold, adjust the game parameters of the current AR game to increase the difficulty of the first game task. At the same time, re-evaluate the exercise intensity according to the increased difficulty of the game task, and generate a new exercise prescription and corresponding target game task based on the new exercise intensity to ensure the exercise effect and safety of the user.

[0127] In some embodiments, when the current exercise state is easy and the task completion rate is higher than the preset completion rate threshold, it is also possible to further determine whether the user's brain is in a fatigued state and whether the user is under stress or in a bad mood. If the user's brain is in a fatigued state, adjust the game parameters to reduce the difficulty of the task; if the user is under stress or in a bad mood, adjust the game parameters to increase the difficulty of the task; if the user's brain is in a fatigued state and the user is under stress or in a bad mood, suspend the game task.

[0128] In some embodiments, if the content filled in by the user obtained from the database shows that the user is a marathon athlete, when the current exercise state is easy and the task completion rate is higher than the preset completion rate threshold, do not adjust the game parameters of the current AR game and keep the difficulty of the first game task.

[0129] S318. When the current exercise state is moderately fatigued and the task completion rate is lower than the completion rate threshold, adjust the game parameters of the current AR game to reduce the difficulty of the first game task.

[0130] Specifically, if the current exercise state is moderately fatigued and the task completion rate is lower than the completion rate threshold, adjust the game parameters of the current AR game to reduce the difficulty of the first game task. At the same time, re-evaluate the exercise intensity according to the reduced difficulty of the game task, and generate a new exercise prescription and corresponding target game task based on the new exercise intensity to ensure the exercise effect and safety of the user.

[0131] In some embodiments, when the current exercise state is moderately fatigued and the task completion rate is lower than the completion rate threshold, it is also possible to further determine whether the user's brain is in a fatigued state and whether the user is under stress or in a bad mood. If the user's brain is in a fatigued state, adjust the game parameters to reduce the difficulty of the task; if the user is under stress or in a bad mood, adjust the game parameters to increase the difficulty of the task; if the user's brain is in a fatigued state and the user is under stress or in a bad mood, suspend the game task.

[0132] In some embodiments, if the content filled in by the user obtained from the database shows that the user is a marathon athlete, and when the current exercise state is moderate fatigue and the task completion rate is lower than the completion rate threshold, the game parameters of the current AR game can be adjusted to appropriately increase the difficulty of the first game task.

[0133] S319. When the current exercise state is high fatigue, pause the current AR game.

[0134] If the current exercise state is high fatigue, then pause the current AR game.

[0135] In some embodiments, if the content filled in by the user obtained from the database shows that the user is a marathon athlete, and when the current exercise state is high fatigue, the game parameters of the current AR game can be adjusted to appropriately reduce the difficulty of the first game task.

[0136] S320. When the current user completes any game task in the target game task, determine the task score value of the current user according to the actual total task completion time, actual task difficulty, preset total task completion time, and preset task difficulty of the current user.

[0137] Specifically, first obtain the actual total task completion time, actual task difficulty, preset total task completion time, and preset task difficulty of the current user.

[0138] Then, calculate the score for the task completion time. When the actual total completion time is equal to the preset completion time, the time score is 100 points; when the actual time is less than the preset time, the score is increased accordingly according to the exceeded proportion to obtain the score value of the time score; when the actual time exceeds the preset time, the score is deducted accordingly according to the exceeded proportion to obtain the score value of the time score.

[0139] Then, calculate the score for the task difficulty. Obtain the number of times the task difficulty is adjusted and the corresponding adjusted game difficulty during the process of the current user executing the game task. If the task difficulty has never been adjusted, the difficulty score is 100 points; if an adjustment is made and the adjusted game difficulty is greater than the previous game difficulty, the corresponding score is increased according to the adjusted difficulty range; if an adjustment is made and the adjusted game difficulty is less than the previous game difficulty, the corresponding score is reduced according to the adjusted difficulty range. Calculate the corresponding score according to the above calculation rules based on the number of times the task difficulty is adjusted to obtain the score value of the difficulty score.

[0140] Finally, combine the time score and the difficulty score, and calculate the task score value of the current user according to the pre-allocated weight.

[0141] S321. According to the task score value, distribute the corresponding number of integral points to the current user.

[0142] Specifically, according to the corresponding rules between the set task score value and the number of integral points or a preset calculation formula, the number of integral points to be distributed is obtained. Based on the task score value, the number of integral points to be distributed is determined. After determining the number of integral points to be distributed, the corresponding number of integral points is increased in the integral account of the current user.

[0143] S322. When the current user completes the entire target game task, the corresponding achievement badge is issued to the current user.

[0144] Specifically, when the current user completes the entire target game task, the growth status of the user before and after is analyzed according to the historical execution status of the user's execution of the target game task, and the improvement of the user in aspects such as motor coordination, reaction speed, and physical endurance is obtained. According to the improvement of the user in various aspects, the growth value of the user after completing the target game task is calculated, and the corresponding achievement badge is issued to the current user according to the growth value.

[0145] S323. Update the online leaderboard according to the integral points and achievement badges of all users.

[0146] Specifically, the online leaderboard is classified according to the age of the users, such as divided into different groups such as children's group, youth group, adult group, etc.

[0147] For each group, the system first extracts from the database the integral points of all users within the group and the data related to the obtained achievement badges. In terms of the integral points, they are arranged in descending order. The user with a higher integral value has a higher initial ranking on the leaderboard of the corresponding group. If there is a situation where the integral points are the same, then it enters the comparison link of the achievement badges.

[0148] When analyzing the achievement badges, the system will count the total growth value corresponding to the achievement badges owned by each user. The user with a higher total growth value has a higher ranking in the leaderboard of this group. If the total growth values are also the same, then it can be judged according to the time sequence of obtaining the achievement badges. The user who obtains the achievement badge first has a higher ranking.

[0149] After completing the above sorting work, the system will update the latest ranking situation of each group to the corresponding online leaderboard page respectively, ensuring that the leaderboards of each age group can accurately and real - time present the comprehensive strength performance of the users within the group based on integral points and achievement badges.

[0150] S324. Periodically issue rewards to the top three users in the online leaderboard.

[0151] Specifically, set a timed task according to a preset reward distribution period. When the timed task is triggered, automatically obtain the information of the top three users in each group in the leaderboard, their historical achievement badges at the time of the previous reward distribution, and their current achievement badges at the time of the current reward distribution. Respectively calculate the total historical growth value corresponding to the historical achievement badges owned by each user and the total current growth value corresponding to the current achievement badges, calculate the difference between the total historical growth value and the total current growth value to obtain the growth value of the user in the previous cycle, and distribute corresponding rewards to each user according to the calculated growth value.

[0152] In the embodiments of the present application, a personalized exercise prescription is automatically generated according to the physiological parameters and exercise preferences of the user, and corresponding game tasks are generated according to the exercise prescription. By executing the game tasks, the exercise in the exercise prescription can be carried out, making the exercise process more interesting and avoiding the boredom that may be brought by traditional exercise methods. At the same time, during the exercise process, the game tasks are dynamically adjusted according to the user's real-time physiological parameters and task completion rate to ensure that the exercise intensity always adapts to the user's physical state, avoiding the occurrence of over-exercise or under-exercise, and thus more effectively achieving the expected exercise effects such as fitness and rehabilitation. When the user completes the task or achieves a certain achievement, corresponding rewards are distributed to motivate the user to continuously participate in the exercise and improve the user's exercise participation. Through the online function, the social interaction between users can also be increased, making the exercise game experience more rich.

[0153] The above describes the exercise prescription opening and prescription execution methods in the embodiments of the present application. Below, in combination with the above exercise prescription opening and prescription execution methods, the exercise prescription management system in the embodiments of the present application will be described in detail.

[0154] Please refer to Figure 4 , which is an exemplary hardware structure diagram of the exercise prescription management system in the embodiments of the present application.

[0155] In some embodiments, the exercise prescription management system 400 includes a computer device, which may be a terminal device. The computer device includes a processor 401, a memory 402, a sensor module 403, a communication module 404, an input device 405, and an output device 406 connected through a system bus. Among them, the processor 401 of the computer device is used to provide computing and control capabilities. The memory 402 of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database is used to store data. The sensor module 403 of the computer device is used to collect data related to the user's physiological parameters and exercise postures. The communication module 404 of the computer device is used to send an online request to the user, send a game task to the user terminal device, etc. The input device 405 of the computer device is used to receive data such as the user's online request. The output device 406 of the computer device is used to display an AR game, play a prompt message, etc. When the computer program is executed by the processor 401, it realizes the exercise prescription opening and prescription execution methods in the embodiments of the present application.

[0156] Those skilled in the art can understand that Figure 4 the structure shown in

[0157] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0158] In some embodiments of the present application, a computer-readable storage medium is provided, including instructions, which when running on the exercise prescription management system 400, can cause the exercise prescription management system 400 to execute the exercise prescription opening and prescription execution methods in the embodiments of the present application.

[0159] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

[0160] As used in the foregoing embodiments, depending on the context, the term "when" can be interpreted to mean "if" or "after" or "in response to determining" or "in response to detecting". Similarly, depending on the context, the phrase "when determining" or "if detecting (the stated condition or event)" can be interpreted to mean "if determining" or "in response to determining" or "when detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)".

[0161] In the foregoing embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state drive), etc.

[0162] Those of ordinary skill in the art can understand all or part of the processes in the methods of the foregoing embodiments. These processes can be completed by relevant hardware instructed by a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the foregoing method embodiments. The foregoing storage medium includes various media that can store program codes, such as ROM or random access memory RAM, magnetic disks, or optical discs.

Claims

1. A method for prescribing and executing exercise prescriptions, characterized in that: include: Obtain the current user's physiological parameters and exercise preferences; The physiological parameters include the heart rate and blood pressure of the current user; the exercise preferences include the current user's preferred exercise time and preferred exercise type; Based on the physiological parameters and the exercise preference of the current user, generating an exercise prescription through a deep learning model; Generate a target game task according to the AR game library and the exercise prescription; the target game task includes one or more game tasks and their corresponding task time periods; According to the task time period of each game task in the target game task, periodically sending the corresponding game task to the current user; When the current user performs the first game task, the first game task is dynamically adjusted according to the real-time physiological parameters and task completion rate of the current user when performing the first game task; the first game task is one of the target game tasks.

2. The method according to claim 1, characterized in that The generating of the target game task according to the AR game library and the exercise prescription specifically includes: According to the exercise type in the exercise prescription and the game preference of the current user, matching an AR game in an AR game library that corresponds to the exercise prescription; According to the exercise intensity and exercise duration in the exercise prescription, the game parameters of the AR game are adjusted to obtain a target AR game; According to the exercise cycle, exercise frequency and the target AR game in the exercise prescription, a target game task is formulated.

3. The method according to claim 1, characterized in that When the current user performs the first game task, dynamically adjusting the first game task according to the real-time physiological parameters and the task completion rate of the current user when performing the first game task specifically includes: When the current user performs the first game task, determining the current motion state of the current user according to the real-time physiological parameters of the current user; the current motion state includes relaxed, moderate, slightly fatigued, moderately fatigued, and highly fatigued; Calculate the task completion rate of the current user; the task completion rate is the value of the actual task completion progress of the current user divided by the target task completion progress; When the current motion state is easy and the task completion rate is higher than a preset completion rate threshold, adjusting the game parameters of the current AR game to increase the difficulty of the first game task; When the current motion state is moderate fatigue and the task completion rate is lower than the completion rate threshold, adjusting the game parameters of the current AR game to reduce the difficulty of the first game task; When the current motion state is highly fatigued, the current AR game is paused.

4. The method according to claim 1, characterized in that: After the step of periodically sending the corresponding game tasks to the current user according to the task time periods of the respective game tasks in the target game tasks, the method further comprises: Acquire the motion posture of the current user; Determine whether the current user is in a dangerous position or performing a dangerous action according to the motion posture, the environmental conditions around the current user, and the game content of the current AR game; If so, a voice prompt is given to the user; the voice prompt content is used to remind the user to adjust the movement posture, change the direction of travel or pause the current action.

5. The method according to claim 1, characterized in that After the step of dynamically adjusting the game task according to the real-time physiological parameters of the current user when the current user performs the game task, the method further includes: When the current user completes any game task in the target game task, the task score value of the current user is determined according to the actual total task completion time, the actual task difficulty, the preset total task completion time and the preset task difficulty of the current user; According to the task score, a corresponding number of points are issued to the current user; When the current user completes the entire target game task, a corresponding achievement badge is issued to the current user.

6. The method according to claim 5, characterized in that After the step of issuing an achievement badge to the current user when the current user completes the entire target game task, the method further includes: updating the online leaderboard based on the number of points and said achievement badges of all users; Rewards are periodically distributed to the top three users in the online ranking list.

7. The method according to claim 1, characterized in that After the step of periodically sending the corresponding game tasks to the current user according to the task time periods of the respective game tasks in the target game tasks, the method further comprises: Upon receiving an online request from the first user, selecting other users who are performing the same game task as second users; Sending the connection request to the second user; When the second user accepts the online request of the first user, a virtual portrait is established in the field of vision of the first user and the second user for interactive communication.

8. An exercise prescription management system, characterized in that: The exercise prescription management system includes: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the exercise prescription management system to execute the method according to any one of claims 1 to 7.

9. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed on an exercise prescription management system, the exercise prescription management system is caused to execute the method according to any one of claims 1 to 7.

10. A computer program product, characterized in that When the computer program product runs on an exercise prescription management system, the exercise prescription management system is enabled to perform the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Management method and system for executing exercise prescription

    CN111883227A

  • Rehabilitation training system based on virtual reality

    CN112642133A

  • Personalized exercise prescription management system

    CN114187996A

  • Physical and psychological health system based on artificial intelligence

    CN116313091A

  • Exercise prescription generation system, method and equipment and storage medium

    CN118136201A