Motion supervision method and device and computer equipment

文档序号:1928383 发布日期:2021-12-07 浏览:11次 中文

阅读说明:本技术 运动监督方法、装置和计算机设备 (Motion supervision method and device and computer equipment ) 是由 宋清林 于 2021-08-11 设计创作,主要内容包括:本申请提供了一种运动监督方法、装置和计算机设备,第一运动设备获取运动任务信息,并将运动任务信息发送至各第二运动设备。第一运动设备在运动时间内采集本身用户的第一运动量,并在运动时间内接收各第二运动设备反馈的第二运动量。第一运动设备根据第二运动量和若干个第一运动量,生成实时任务进程,并将实时任务进程输出到第一运动设备和各第二运动设备进行展示。在运动时间结束后,第一运动设备根据实时任务进程与运动目标之间的对应关系,对第一运动设备和各第二运动设备实施奖惩措施。本申请中,通过实时共享第一运动设备和各第二运动设备采集的运动量,和根据最终的运动结果对用户执行对应的奖惩措施,有效增强运动的趣味性和互动性。(The application provides a motion supervision method and device and computer equipment. The first motion equipment collects the first motion quantity of the user in the motion time, and receives the second motion quantity fed back by each second motion equipment in the motion time. And the first motion equipment generates a real-time task process according to the second motion quantity and the plurality of first motion quantities, and outputs the real-time task process to the first motion equipment and each second motion equipment for display. And after the motion time is finished, the first motion equipment implements reward and punishment measures on the first motion equipment and each second motion equipment according to the corresponding relation between the real-time task process and the motion target. In the application, through the amount of exercise of sharing first motion equipment and each second motion equipment collection in real time, and according to the corresponding reward punishment measure of final motion result to the user execution, effectively strengthen the interest and the interactive of motion.)

1. An exercise supervision method applied to an intelligent exercise device, wherein the intelligent exercise device comprises a first exercise device and a plurality of pre-associated second exercise devices, and the method comprises the following steps:

the first motion equipment acquires motion task information and sends the motion task information to each second motion equipment, wherein the motion task information comprises a motion target, motion time and reward and punishment measures;

the first motion equipment collects the first motion quantity of the user in the motion time and receives the second motion quantity fed back by each second motion equipment in the motion time;

the first motion equipment generates a real-time task process according to the first motion quantity and the plurality of second motion quantities, and outputs the real-time task process to the first motion equipment and each second motion equipment for display;

and after the motion time is finished, the first motion device implements the reward and punishment measures on the first motion device and each second motion device according to the corresponding relation between the real-time task process and the motion target.

2. The motion supervision method according to claim 1, wherein the step of generating a real-time task process according to the first motion amount and a plurality of the second motion amounts comprises:

generating a stacking bar-shaped statistical graph according to the first motion quantity and each second motion quantity;

and marking the first identification of the first motion device and the second identification of each second motion device on the corresponding stacking bar in the stacking bar statistical graph to obtain the real-time task progress.

3. The motion supervision method according to claim 1, wherein the step of performing the reward and punishment measure on the first motion device and each of the second motion devices according to the correspondence between the real-time task process and the motion target after the motion time ends includes:

after the movement time is finished, judging whether the movement target is finished according to the final result of the real-time task process;

if the moving target is finished, performing descending ranking on the first moving equipment and each second moving equipment according to the first moving quantity and each second moving quantity to obtain ranking names corresponding to the first moving equipment and each second moving equipment respectively;

screening reward measures respectively corresponding to the ranking orders from the reward and punishment measures, sending the reward measures to intelligent motion equipment corresponding to the ranking orders, and controlling the first motion equipment and the second motion equipment to execute actions corresponding to the reward measures;

and if the motion target is not finished, screening penalty measures from the reward penalty measures, and controlling the first motion equipment and each second motion equipment to execute actions corresponding to the penalty measures.

4. The motion supervision method according to claim 3, wherein the step of screening out penalty measures from the reward penalty measures comprises:

calculating a first motion amount difference between the moving object and the final result;

and matching the punishment measures of the grade corresponding to the first motion amount difference value from the reward and punishment measures.

5. The motion surveillance method according to claim 1, wherein the step of outputting the real-time task process to the first motion device and each second motion device for presentation comprises:

acquiring a reminding instruction input by a user, wherein the reminding instruction carries a plurality of third motion identifiers;

and generating first reminding information according to the reminding instruction, and sending the first reminding information to third motion equipment corresponding to each third motion identifier respectively so as to control each third motion equipment to execute a first reminding action.

6. The motion supervision method according to claim 1, wherein the step of generating a real-time task process by the first motion device according to the first motion amount and a plurality of the second motion amounts is followed by:

calculating a second motion amount difference value between the real-time task process and the task target and the remaining duration of the motion time according to a preset frequency;

acquiring a second reminding action of a corresponding level according to the second motion amount difference and the remaining time length;

and the first motion equipment executes the second reminding action, generates second reminding information according to the second reminding action, and sends the second reminding information to each second motion equipment so as to control each second motion equipment to execute the second reminding action.

7. The exercise supervision method according to claim 1, wherein the exercise time includes an exercise start time and an exercise end time, and the step of the first exercise device collecting a first amount of exercise of its own user during the exercise time and receiving a second amount of exercise fed back by each of the second exercise devices during the exercise time includes:

monitoring whether the current moment is the same as the motion starting moment in real time;

and if the current time is the same as the motion starting time, controlling the first motion equipment to acquire the first motion amount before the motion ending time, and receiving the second motion amounts respectively fed back by the second motion equipment before the motion ending time.

8. An exercise supervision apparatus applied to an intelligent exercise device including a first exercise device and a plurality of pre-associated second exercise devices, the apparatus comprising:

the sending module is used for obtaining motion task information and sending the motion task information to each second motion device, wherein the motion task information comprises a motion target, motion time and reward and punishment measures;

the first acquisition module is used for acquiring the first amount of exercise of the user in the exercise time and receiving the second amount of exercise fed back by each piece of second exercise equipment in the exercise time;

the generating module is used for generating a real-time task process according to the first motion amount and the plurality of second motion amounts, and outputting the real-time task process to the first motion device and each second motion device for display;

and the execution module is configured to implement the reward and punishment measure on the first motion device and each of the second motion devices according to the corresponding relationship between the real-time task process and the motion target after the motion time is ended.

9. A computer device comprising a memory and a processor, the memory having stored therein a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.

Technical Field

The present application relates to the field of exercise equipment technologies, and in particular, to an exercise monitoring method and apparatus, and a computer device.

Background

Most of the existing sports equipment (such as intelligent watches) only monitor and supervise the amount of exercise of equipment users, lack interactivity and interestingness, lead to lower interest of the movement of the equipment users, and further lead to poorer movement effect of the equipment users.

Disclosure of Invention

The application mainly aims to provide a motion monitoring method, a motion monitoring device and computer equipment, and aims to overcome the defect that the existing motion equipment is low in interactivity and interestingness.

In order to achieve the above object, the present application provides an exercise supervision method applied to an intelligent exercise device including a first exercise device and a plurality of pre-associated second exercise devices, the method including:

the first motion equipment acquires motion task information and sends the motion task information to each second motion equipment, wherein the motion task information comprises a motion target, motion time and reward and punishment measures;

the first motion equipment collects the first motion quantity of the user in the motion time and receives the second motion quantity fed back by each second motion equipment in the motion time;

the first motion equipment generates a real-time task process according to the first motion quantity and the plurality of second motion quantities, and outputs the real-time task process to the first motion equipment and each second motion equipment for display;

and after the motion time is finished, the first motion device implements the reward and punishment measures on the first motion device and each second motion device according to the corresponding relation between the real-time task process and the motion target.

The application also provides an exercise supervision apparatus, which is applied to intelligent exercise equipment, the intelligent exercise equipment comprises a first exercise equipment and a plurality of pre-associated second exercise equipment, the apparatus comprises:

the sending module is used for obtaining motion task information and sending the motion task information to each second motion device, wherein the motion task information comprises a motion target, motion time and reward and punishment measures;

the first acquisition module is used for acquiring the first amount of exercise of the user in the exercise time and receiving the second amount of exercise fed back by each piece of second exercise equipment in the exercise time;

the generating module is used for generating a real-time task process according to the first motion amount and the plurality of second motion amounts, and outputting the real-time task process to the first motion device and each second motion device for display;

and the execution module is configured to implement the reward and punishment measure on the first motion device and each of the second motion devices according to the corresponding relationship between the real-time task process and the motion target after the motion time is ended.

The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.

The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.

The application provides an exercise supervision method, an exercise supervision device and computer equipment, which are applied to intelligent exercise equipment. During working, the first motion equipment acquires motion task information and sends the motion task information to each second motion equipment, wherein the motion task information comprises a motion target, motion time and reward and punishment measures. The first motion equipment collects the first motion quantity of the user in the motion time, and receives the second motion quantity fed back by each second motion equipment in the motion time. And the first motion equipment generates a real-time task process according to the second motion quantity and the plurality of first motion quantities, and outputs the real-time task process to the first motion equipment and each second motion equipment for display. And after the motion time is finished, the first motion equipment implements reward and punishment measures on the first motion equipment and each second motion equipment according to the corresponding relation between the real-time task process and the motion target. In this application, through the amount of exercise of sharing first motion equipment and each second motion equipment collection in real time to and after the motion, carry out corresponding reward punishment measure to the user of intelligent motion equipment according to final motion result, thereby strengthen the interest and the interactive of motion by a wide margin, effectively improve user's motion interest and motion effect.

Drawings

FIG. 1 is a schematic diagram of steps of an exercise supervision method according to an embodiment of the present application;

FIG. 2 is a block diagram of the overall structure of an exercise monitoring device according to an embodiment of the present application;

fig. 3 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present application.

The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.

Detailed Description

In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.

Referring to fig. 1, in an embodiment of the present application, there is provided an exercise supervision method applied to an intelligent exercise device including a first exercise device and a plurality of pre-associated second exercise devices, the method including:

s1, the first motion equipment acquires motion task information and sends the motion task information to each second motion equipment, wherein the motion task information comprises a motion target, motion time and reward and punishment measures;

s2, the first motion equipment collects the first motion quantity of the user in the motion time and receives the second motion quantity fed back by each second motion equipment in the motion time;

s3, the first motion equipment generates a real-time task process according to the first motion quantity and the plurality of second motion quantities, and the real-time task process is output to the first motion equipment and each second motion equipment for display;

and S4, after the motion time is over, the first motion device carries out the reward and punishment measures on the first motion device and each second motion device according to the corresponding relation between the real-time task process and the motion target.

In this embodiment, the exercise supervision method is applied to a plurality of intelligent exercise devices (such as an intelligent watch with a step counting function, a rope skipping device with a networking function, and the like) associated with each other, and assuming that any one of the intelligent exercise devices is a first exercise device and the rest are second exercise devices, the first exercise device has a function of receiving and generating exercise task information (which is equivalent to establishing a group of the plurality of intelligent exercise devices, and the first exercise device is a manager of the group and has a large administrative authority). When the exercise supervision method is implemented, a user of the first exercise device customizes exercise task information and inputs the exercise task information into the first exercise device. The motion task information comprises a motion target, motion time and reward and punishment measures, the motion target comprises a motion type and a motion amount, and the motion type can be running, rope skipping or even unlimited; the amount of exercise is set corresponding to the type of exercise, for example, if the type of exercise is running, the amount of exercise can be set to be a total kilometer; if the exercise type is an unlimited type, the amount of exercise may be set to the total number of calories consumed (i.e., the exercise type is not limited as long as the calories consumed can reach the goal of the amount of exercise). The exercise time includes an exercise start time and an exercise end time, and specific values thereof are customized by a user and are not limited herein. After receiving the movement task information, the first movement device sends the movement task information to each second movement device through a wireless signal (such as a bluetooth signal, a wifi signal and the like), so that a user of each second movement device can know the specific movement task information, and the second movement device can also monitor, collect and feed back the movement condition of the user in time according to the movement time. Specifically, when the current time reaches the exercise start time, the first exercise device continuously acquires the first amount of exercise of the user (i.e., the amount of exercise of the user of the first exercise device) for the exercise time before the exercise end time. Meanwhile, each second motion device continuously acquires the motion amount of the user of the second motion device within the motion time to form a second motion amount, and the second motion amount is transmitted to the first motion device. After receiving the second motion quantity fed back by each second motion device, the first motion device counts the first motion quantity and each second motion quantity of the first motion device, so that a real-time task process is generated, and the real-time task process is output to display interfaces of the first motion device and each second motion device to be displayed, so that users of the first motion device and each second motion device can know the current motion task progress in time. After the exercise end time is reached, the first exercise device and each second exercise device determine that the exercise time is ended, and the amount of exercise of the user is not monitored any more. The first sports equipment compares the final result of the real-time task process (the final result of the real-time task process is the total amount of motion of all users in the whole sports time because the real-time task process is updated in real time) with the sports target, so as to judge whether the users of the first sports equipment and each second sports equipment complete the sports target in the sports time. And if the final result of the real-time task process is not less than the moving target, the first moving device judges that the moving target is finished, and outputs the corresponding reward measures to the first moving device and each second moving device according to a first preset rule and executes the reward measures, so that the reward measures are implemented for all users. And if the final result of the real-time task process is smaller than the moving target, the first moving device judges that the moving target is not completed, and the first moving device outputs the corresponding penalty measures to the first moving device and each second moving device according to a second preset rule and executes the penalty measures, so that the penalty measures are implemented for all users. The specific content of the reward and punishment measures is customized by the user, for example, measures such as rewarding a certain amount of money or limiting consumption amount are not specifically limited herein.

In this embodiment, each intelligent motion device shares the motion amount acquired by the first motion device and each second motion device in real time, and executes corresponding reward and punishment measures to the user of the intelligent motion device according to the final motion result after the motion is finished, so that the interest and interactivity of the motion are greatly enhanced, the motion interest and motion effect of the user are effectively improved, and the purpose of motion supervision is realized.

Further, the step of generating a real-time task process according to the first amount of motion and the plurality of second amounts of motion includes:

s301, generating a stacking bar-shaped statistical graph according to the first motion quantity and each second motion quantity;

and S302, marking the first identification of the first motion device and the second identification of each second motion device on the corresponding stacking bar in the stacking bar statistical graph to obtain the real-time task progress.

In this embodiment, the first exercise device generates a stacked bar statistic graph according to the first exercise amount and the second exercise amount, the stacked bar statistic graph is composed of stacked bars corresponding to the first exercise amount and each of the second exercise amounts, and the length of the stacked bars represents the magnitude of the exercise amount (the longer the stacked bars are, the larger the represented exercise amount is). The stacked bars are spliced with one another to form a stacked bar statistical graph, and the total length of the spliced stacked bars represents the total amount of exercise of all users. In order to better distinguish the stacked bars corresponding to different users, the first motion device sets the stacked bars corresponding to different users to different display colors (for example, user 1 corresponds to red stacked bar, and user 2 corresponds to blue stacked bar). In order to further distinguish the differences among the stacked bars, so that a user can recognize the stacked bars corresponding to the user, the first motion device marks a first identifier of the first motion device and a second identifier corresponding to each second motion device on the stacked bars corresponding to each motion device in the stacked bar statistical chart, and a real-time task process is obtained after the integration. The first identifier and the second identifier may be information such as an account name and a head portrait of the sports equipment, and are specifically defined by a user, and are not specifically limited herein.

Further, after the motion time is over, the step of implementing the reward and punishment measure on the first motion device and each of the second motion devices according to the corresponding relationship between the real-time task process and the motion target by the first motion device includes:

s401, after the movement time is finished, judging whether the movement target is finished according to the final result of the real-time task process;

s402, if the moving target is finished, performing descending ranking on the first moving equipment and the second moving equipment according to the first moving quantity and the second moving quantities to obtain ranking names respectively corresponding to the first moving equipment and the second moving equipment;

s403, screening reward measures respectively corresponding to the ranking orders from the reward and punishment measures, sending the reward measures to intelligent motion equipment corresponding to the ranking orders, and controlling the first motion equipment and the second motion equipment to execute actions corresponding to the reward measures;

s404, if the motion target is not finished, selecting punishment measures from the reward punishment measures, and controlling the first motion device and each second motion device to execute actions corresponding to the punishment measures.

In this embodiment, after the movement time is over, the first movement device compares the final result of the real-time task process with the movement target, so as to determine whether the current movement target is completed. And if the final result of the real-time task process is not less than the task target, the first motion device judges that the current motion target is finished, and selects reward measures according to a first preset rule. Specifically, the first motion device performs descending ranking on the first motion device and each second motion device according to the first motion amount and each second motion amount (that is, the larger the motion amount is, the more the corresponding ranking rank is), so as to obtain the ranking rank corresponding to each motion device. And then, the first motion equipment screens reward measures respectively corresponding to the ranking orders from the reward and punishment measures, and sends the reward measures to the intelligent operation equipment corresponding to the ranking orders. After the first sports equipment and each second sports equipment receive the corresponding reward measures, actions (such as accumulated reward amount) corresponding to the reward measures are executed, and implementation of the reward measures is achieved.

And if the final result of the real-time task process is smaller than the task target, the first motion device judges that the current motion target is not completed, and selects punishment measures according to a second preset rule. Specifically, the first motion device may select a penalty measure of a corresponding level according to a difference between a final result of the real-time task process and a task target; and one of the plurality of self-defined penalty measures can be randomly selected as the current penalty measure. The first sport setting outputs the screened punishment measures to the first sport device and each second sport device, so that each intelligent sport device implements actions corresponding to the punishment measures (such as limiting the maximum consumption amount of the daily electronic wallet of the intelligent sport device user), and implements the reward measures.

Further, the step of screening penalty measures from the reward and penalty measures includes:

s4041, calculating a first motion amount difference value between the motion target and the final result;

s4042, the punishment measures of the grade corresponding to the first motion amount difference value are obtained from the reward punishment measures in a matching mode.

In this embodiment, the reward and punishment measures include a motion amount difference range and penalty level mapping table, the motion amount difference range and penalty level mapping table includes a plurality of groups of motion amount difference ranges and penalty levels in one-to-one correspondence, for example, the motion amount difference range (0-50) corresponds to penalty level 1, and the motion amount difference range (50-100) corresponds to penalty level 2; the specific corresponding relationship and value are defined by the user, and are not limited in detail herein. During implementation, the first motion device calculates a difference between the motion target and a final result of the real-time task progress to obtain a first motion amount difference. And then, screening the punishment measures of the grade corresponding to the first motion amount difference value from the motion amount difference value range and the punishment grade mapping relation table by the first motion device according to the motion amount difference value range in which the first motion amount difference value falls.

Further, after the step of outputting the real-time task process to the first motion device and each second motion device for display, the method includes:

s5, acquiring a reminding instruction input by a user, wherein the reminding instruction carries a plurality of third motion identifiers;

and S6, generating first reminding information according to the reminding instruction, and sending the first reminding information to the third motion equipment corresponding to each third motion identifier respectively so as to control each third motion equipment to execute a first reminding action.

In this embodiment, in the exercise time, if the exercise completion condition of each user of the intelligent exercise device is not satisfactory to the other users, a prompt instruction may be input on the intelligent exercise device to prompt the other users (one or more of them may be) to perform the prompt. The first and second sports apparatuses have the above functions, and the first sports apparatus is taken as an execution subject for illustration in this embodiment. Specifically, the first motion device monitors a reminding instruction input by the user, where the reminding instruction carries a plurality of third motion identifiers (for example, when the user double-clicks a plurality of user avatars on the stacked bar-shaped statistical graph, a double-click action is the reminding instruction, and a plurality of user avatars are the third motion identifiers). The third motion identifier is the motion identifier selected by the current user from the second motion devices, and is included in the second motion identifiers. The first motion equipment generates first reminding information according to the collected reminding instruction, and the first reminding information is respectively sent to the third motion equipment corresponding to each third motion identifier (each third motion equipment is contained in each second motion equipment and is all or part of each second motion equipment), so that each third motion equipment is controlled to execute the first reminding action. For example, after each third motion device receives the first reminding information, the third motion device continuously shakes for a preset time to remind the user of the third motion device to actively move so as to complete the motion target.

Further, after the step of generating the real-time task process by the first motion device according to the first motion amount and the plurality of second motion amounts, the method includes:

s7, calculating a second motion amount difference value between the real-time task process and the task target and the remaining duration of the motion time according to preset frequency;

s8, acquiring a second reminding action of a corresponding level according to the second motion amount difference value and the remaining time length;

and S9, the first motion device executes the second reminding action, generates second reminding information according to the second reminding action, and sends the second reminding information to each second motion device so as to control each second motion device to execute the second reminding action.

In this embodiment, in the movement time, the first movement device calculates a difference between a total movement amount included in the real-time task process and the task target according to the preset frequency, so as to obtain a second movement amount difference. Meanwhile, the remaining duration of the movement time is calculated according to the current time and the movement ending time of the movement time. The method comprises the steps that a mapping relation table of the motion amount difference, the residual time length and the reminding level is constructed in advance in first motion equipment, and the mapping relation table of the motion amount difference, the residual time length and the reminding level comprises a plurality of groups of motion amount difference ranges, residual time length ranges and reminding levels which are in one-to-one correspondence, such as the motion amount difference range (0-50), the residual time length range (1-2 h) and the corresponding reminding level 1; the range of the motion amount difference (50-100) and the range of the residual time length (1-2 h) correspond to the reminding level 2; the range of the motion amount difference (50-100) and the range of the residual time length (1-2 h) correspond to the reminding level 3; the higher the reminding level is, the larger the reminding action amplitude is, and the longer the reminding action duration is. The motion amount difference value, the remaining time length, and the motion amount difference value range, the remaining time length range, and the reminding level in the reminding level mapping relation table are customized by the user according to the actual situation, and are not specifically limited herein. And the first motion equipment matches the motion difference, the residual time length and the reminding level mapping relation table to obtain a second reminding action of a corresponding level according to the current second motion difference and the residual time length. The first motion equipment executes the second reminding action, generates second reminding information according to the second reminding action, and sends the second reminding information to each second motion equipment so as to control each second motion equipment to execute the second reminding action, remind all users, supervise the users to finish the current motion target as soon as possible, and improve the enthusiasm of the users.

Further, the step of acquiring, by the first motion device, a first amount of motion of a user within the motion time, and receiving, by the first motion device within the motion time, a second amount of motion fed back by each of the second motion devices, includes:

s201, monitoring whether the current moment is the same as the motion starting moment in real time;

and S202, if the current time is the same as the motion starting time, controlling the first motion equipment to collect the first motion quantity before the motion ending time, and receiving the second motion quantities respectively fed back by the second motion equipment before the motion ending time.

In this embodiment, after receiving the exercise task information, the first exercise device and the second exercise device monitor in real time whether the current time is the same as the exercise start time. And if the current moment is the same as the motion starting moment, each intelligent motion device starts to acquire the motion amount of the user. Specifically, the first exercise device continuously acquires the first amount of exercise of the user during the exercise time, and each second exercise device also continuously acquires the second amount of exercise of the user during the exercise time, and transmits the second amount of exercise to the first exercise device in real time or at a preset frequency. The first motion setting receives second motion amounts respectively fed back by each second motion device before the motion ending time so as to combine the first motion amounts of the first motion devices and conveniently generate a real-time task process.

Referring to fig. 2, an embodiment of the present application further provides an exercise supervision apparatus, which is applied to an intelligent exercise device, where the intelligent exercise device includes a first exercise device and a plurality of pre-associated second exercise devices, and the apparatus includes:

the device comprises a sending module 1, a motion task processing module and a processing module, wherein the sending module is used for obtaining motion task information and sending the motion task information to each second motion device, and the motion task information comprises a motion target, motion time and reward and punishment measures;

the first acquisition module 2 is used for acquiring the first amount of exercise of the user in the exercise time and receiving the second amount of exercise fed back by each piece of second exercise equipment in the exercise time;

the generating module 3 is configured to generate a real-time task process according to the first motion amount and the plurality of second motion amounts, and output the real-time task process to the first motion device and each of the second motion devices for display;

and the implementing module 4 is configured to implement the reward and punishment measure on the first motion device and each of the second motion devices according to the corresponding relationship between the real-time task process and the motion target after the motion time is ended.

Further, the generating module 3 includes:

a generating unit, configured to generate a stacked bar-shaped statistical graph according to the first motion amount and each of the second motion amounts;

and the marking unit is used for marking the first identification of the first motion equipment and the second identification of each second motion equipment on the corresponding stacking bar in the stacking bar statistical graph to obtain the real-time task progress.

Further, the implementation module 4 includes:

the judging unit is used for judging whether the moving target is finished or not according to the final result of the real-time task process after the moving time is finished;

the ranking unit is used for ranking the first motion equipment and the second motion equipment in a descending order according to the first motion quantity and the second motion quantities to obtain ranking names respectively corresponding to the first motion equipment and the second motion equipment if the motion target is finished;

the first screening unit is used for screening reward measures corresponding to the ranking orders from the reward punishment measures, sending the reward measures to the intelligent motion equipment corresponding to the ranking orders, and controlling the first motion equipment and the second motion equipment to execute actions corresponding to the reward measures;

and the second screening unit is used for screening penalty measures from the reward penalty measures if the motion target is not completed, and controlling the first motion equipment and each second motion equipment to execute actions corresponding to the penalty measures.

Further, the second screening unit includes:

a calculating subunit, configured to calculate a first motion amount difference between the motion target and the final result;

and the matching subunit is used for matching the punishment measures of the grade corresponding to the first motion amount difference value from the reward punishment measures.

Further, the exercise supervising device further includes:

the second acquisition module 5 is configured to acquire a reminding instruction input by a user, where the reminding instruction carries a plurality of the third motion identifiers;

and the control module 6 is configured to generate first reminding information according to the reminding instruction, and send the first reminding information to third motion devices corresponding to the third motion identifiers, so as to control the third motion devices to execute a first reminding action.

Further, the exercise supervising device further includes:

the calculating module 7 is configured to calculate a second motion amount difference between the real-time task process and the task target and a remaining duration of the motion time according to a preset frequency;

the obtaining module 8 is configured to obtain a second reminding action of a corresponding level according to the second motion amount difference and the remaining duration;

and the execution module 9 is configured to execute the second reminding action by the first motion device, generate second reminding information according to the second reminding action, and send the second reminding information to each second motion device, so as to control each second motion device to execute the second reminding action.

Further, the exercise time includes an exercise start time and an exercise end time, and the first acquisition module 2 includes:

the monitoring unit is used for monitoring whether the current moment is the same as the motion starting moment in real time;

and the acquisition unit is used for controlling the first motion equipment to acquire the first motion amount before the motion ending time if the current time is the same as the motion starting time, and receiving the second motion amounts respectively fed back by the second motion equipment before the motion ending time.

In this embodiment, each module, unit, and subunit in the exercise monitoring device is used to correspondingly execute each step in the exercise monitoring method, and the specific implementation process thereof is not described in detail herein.

The exercise supervision device provided by the embodiment is applied to intelligent exercise equipment, and the intelligent exercise equipment comprises first exercise equipment and a plurality of pre-associated second exercise equipment. During working, the first motion equipment acquires motion task information and sends the motion task information to each second motion equipment, wherein the motion task information comprises a motion target, motion time and reward and punishment measures. The first motion equipment collects the first motion quantity of the user in the motion time, and receives the second motion quantity fed back by each second motion equipment in the motion time. And the first motion equipment generates a real-time task process according to the second motion quantity and the plurality of first motion quantities, and outputs the real-time task process to the first motion equipment and each second motion equipment for display. And after the motion time is finished, the first motion equipment implements reward and punishment measures on the first motion equipment and each second motion equipment according to the corresponding relation between the real-time task process and the motion target. In this application, through the amount of exercise of sharing first motion equipment and each second motion equipment collection in real time to and after the motion, carry out corresponding reward punishment measure to the user of intelligent motion equipment according to final motion result, thereby strengthen the interest and the interactive of motion by a wide margin, effectively improve user's motion interest and motion effect.

Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile 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 an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing data such as exercise task information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an exercise supervision method applied to an intelligent exercise device comprising a first exercise device and a number of pre-associated second exercise devices.

The processor executes the steps of the exercise supervision method:

s1, the first motion equipment acquires motion task information and sends the motion task information to each second motion equipment, wherein the motion task information comprises a motion target, motion time and reward and punishment measures;

s2, the first motion equipment collects the first motion quantity of the user in the motion time and receives the second motion quantity fed back by each second motion equipment in the motion time;

s3, the first motion equipment generates a real-time task process according to the first motion quantity and the plurality of second motion quantities, and the real-time task process is output to the first motion equipment and each second motion equipment for display;

and S4, after the motion time is over, the first motion device carries out the reward and punishment measures on the first motion device and each second motion device according to the corresponding relation between the real-time task process and the motion target.

Further, the step of generating a real-time task process according to the first amount of motion and the plurality of second amounts of motion includes:

s301, generating a stacking bar-shaped statistical graph according to the first motion quantity and each second motion quantity;

and S302, marking the first identification of the first motion device and the second identification of each second motion device on the corresponding stacking bar in the stacking bar statistical graph to obtain the real-time task progress.

Further, after the motion time is over, the step of implementing the reward and punishment measure on the first motion device and each of the second motion devices according to the corresponding relationship between the real-time task process and the motion target by the first motion device includes:

s401, after the movement time is finished, judging whether the movement target is finished according to the final result of the real-time task process;

s402, if the moving target is finished, performing descending ranking on the first moving equipment and the second moving equipment according to the first moving quantity and the second moving quantities to obtain ranking names respectively corresponding to the first moving equipment and the second moving equipment;

s403, screening reward measures respectively corresponding to the ranking orders from the reward and punishment measures, sending the reward measures to intelligent motion equipment corresponding to the ranking orders, and controlling the first motion equipment and the second motion equipment to execute actions corresponding to the reward measures;

s404, if the motion target is not finished, selecting punishment measures from the reward punishment measures, and controlling the first motion device and each second motion device to execute actions corresponding to the punishment measures.

Further, the step of screening penalty measures from the reward and penalty measures includes:

s4041, calculating a first motion amount difference value between the motion target and the final result;

s4042, the punishment measures of the grade corresponding to the first motion amount difference value are obtained from the reward punishment measures in a matching mode.

Further, after the step of outputting the real-time task process to the first motion device and each second motion device for display, the method includes:

s5, acquiring a reminding instruction input by a user, wherein the reminding instruction carries a plurality of third motion identifiers;

and S6, generating first reminding information according to the reminding instruction, and sending the first reminding information to the third motion equipment corresponding to each third motion identifier respectively so as to control each third motion equipment to execute a first reminding action.

Further, after the step of generating the real-time task process by the first motion device according to the first motion amount and the plurality of second motion amounts, the method includes:

s7, calculating a second motion amount difference value between the real-time task process and the task target and the remaining duration of the motion time according to preset frequency;

s8, acquiring a second reminding action of a corresponding level according to the second motion amount difference value and the remaining time length;

and S9, the first motion device executes the second reminding action, generates second reminding information according to the second reminding action, and sends the second reminding information to each second motion device so as to control each second motion device to execute the second reminding action.

Further, the step of acquiring, by the first motion device, a first amount of motion of a user within the motion time, and receiving, by the first motion device within the motion time, a second amount of motion fed back by each of the second motion devices, includes:

s201, monitoring whether the current moment is the same as the motion starting moment in real time;

and S202, if the current time is the same as the motion starting time, controlling the first motion equipment to collect the first motion quantity before the motion ending time, and receiving the second motion quantities respectively fed back by the second motion equipment before the motion ending time.

An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements an exercise supervision method applied to an intelligent exercise device, where the intelligent exercise device includes a first exercise device and a plurality of pre-associated second exercise devices, and the exercise supervision method specifically includes:

s1, the first motion equipment acquires motion task information and sends the motion task information to each second motion equipment, wherein the motion task information comprises a motion target, motion time and reward and punishment measures;

s2, the first motion equipment collects the first motion quantity of the user in the motion time and receives the second motion quantity fed back by each second motion equipment in the motion time;

s3, the first motion equipment generates a real-time task process according to the first motion quantity and the plurality of second motion quantities, and the real-time task process is output to the first motion equipment and each second motion equipment for display;

and S4, after the motion time is over, the first motion device carries out the reward and punishment measures on the first motion device and each second motion device according to the corresponding relation between the real-time task process and the motion target.

Further, the step of generating a real-time task process according to the first amount of motion and the plurality of second amounts of motion includes:

s301, generating a stacking bar-shaped statistical graph according to the first motion quantity and each second motion quantity;

and S302, marking the first identification of the first motion device and the second identification of each second motion device on the corresponding stacking bar in the stacking bar statistical graph to obtain the real-time task progress.

Further, after the motion time is over, the step of implementing the reward and punishment measure on the first motion device and each of the second motion devices according to the corresponding relationship between the real-time task process and the motion target by the first motion device includes:

s401, after the movement time is finished, judging whether the movement target is finished according to the final result of the real-time task process;

s402, if the moving target is finished, performing descending ranking on the first moving equipment and the second moving equipment according to the first moving quantity and the second moving quantities to obtain ranking names respectively corresponding to the first moving equipment and the second moving equipment;

s403, screening reward measures respectively corresponding to the ranking orders from the reward and punishment measures, sending the reward measures to intelligent motion equipment corresponding to the ranking orders, and controlling the first motion equipment and the second motion equipment to execute actions corresponding to the reward measures;

s404, if the motion target is not finished, selecting punishment measures from the reward punishment measures, and controlling the first motion device and each second motion device to execute actions corresponding to the punishment measures.

Further, the step of screening penalty measures from the reward and penalty measures includes:

s4041, calculating a first motion amount difference value between the motion target and the final result;

s4042, the punishment measures of the grade corresponding to the first motion amount difference value are obtained from the reward punishment measures in a matching mode.

Further, after the step of outputting the real-time task process to the first motion device and each second motion device for display, the method includes:

s5, acquiring a reminding instruction input by a user, wherein the reminding instruction carries a plurality of third motion identifiers;

and S6, generating first reminding information according to the reminding instruction, and sending the first reminding information to the third motion equipment corresponding to each third motion identifier respectively so as to control each third motion equipment to execute a first reminding action.

Further, after the step of generating the real-time task process by the first motion device according to the first motion amount and the plurality of second motion amounts, the method includes:

s7, calculating a second motion amount difference value between the real-time task process and the task target and the remaining duration of the motion time according to preset frequency;

s8, acquiring a second reminding action of a corresponding level according to the second motion amount difference value and the remaining time length;

and S9, the first motion device executes the second reminding action, generates second reminding information according to the second reminding action, and sends the second reminding information to each second motion device so as to control each second motion device to execute the second reminding action.

Further, the step of acquiring, by the first motion device, a first amount of motion of a user within the motion time, and receiving, by the first motion device within the motion time, a second amount of motion fed back by each of the second motion devices, includes:

s201, monitoring whether the current moment is the same as the motion starting moment in real time;

and S202, if the current time is the same as the motion starting time, controlling the first motion equipment to collect the first motion quantity before the motion ending time, and receiving the second motion quantities respectively fed back by the second motion equipment before the motion ending time.

It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, first object, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, first object, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of another identical element in a process, apparatus, first object or method that comprises the element.

The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种羽毛球收集筛选整理装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!