Manipulator-based training action generation method and related device

By using the robot-based training action generation method in rehabilitation training equipment, customizing target joints and movement angles, and generating motion images solves the problem that existing equipment cannot adapt to different user needs and improves the effect and user experience of rehabilitation training. .

CN118675697AActive Publication Date: 2024-09-20SHANGHAI FOURIER INTELLIGENCE CO LTD

Patent Information

Application Number
CN202411163383.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-09-20
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

Existing rehabilitation training equipment cannot customize training actions according to the specific injury conditions of different users, resulting in poor training effects and low user experience.

Method used

Using a robot-based training action generation method, the server communicates with electronic devices and manipulators to obtain custom action requests, determine target joints and movement angles, generate motion images, and add custom actions to the training action set after user confirmation. Improve the flexibility and intelligence of training movements.

Benefits of technology

It realizes customized training actions according to user needs, improves the effect and user experience of rehabilitation training, and enhances the intelligence and flexibility of the manipulator.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675697A
    Figure CN118675697A
Patent Text Reader

Abstract

The invention provides a training action generation method based on a manipulator and a related device. The method comprises the following steps: acquiring a user-defined action request from electronic equipment; determining at least one target joint of the manipulator and a moving angle of each target joint in the at least one target joint according to the custom action request; according to the moving angle of each target joint, generating a motion image of the manipulator corresponding to a target custom action; sending the motion image to the electronic equipment, so that the motion image of the manipulator corresponding to the user-defined action request is displayed on a display interface of the electronic equipment; and after confirmation information aiming at the target custom action from the electronic equipment is obtained, adding the target custom action into a training action set. The flexibility of generation of training actions is improved, and the intelligence of the manipulator and the user experience are enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of new generation information technology, and specifically relates to a training action generation method based on a robot and related devices. Background Art

[0002] When users currently conduct rehabilitation training based on equipment, they can only perform passive training based on a few pre-set movements. These pre-set movements can only meet the general training needs of most users. However, the specific injuries of different patients are different, and the required training content will also be different. These pre-set training movements cannot be specifically adapted to the rehabilitation needs of each user. Therefore, the effect of user rehabilitation training is not good, resulting in a low user experience. Summary of the invention

[0003] The embodiments of the present application provide a training action generation method based on a robot and related devices to improve the flexibility of generating training actions, enhance the intelligence of the robot, and improve the user experience and the effect of rehabilitation training.

[0004] In a first aspect, an embodiment of the present application provides a method for generating training movements based on a manipulator, which is applied to a server of a rehabilitation training system, wherein the rehabilitation training system includes the server, an electronic device, and a manipulator, wherein the server is communicatively connected to the electronic device, and the electronic device is communicatively connected to the manipulator, and the method includes: Obtaining a custom action request from the electronic device; Determining at least one target joint of the manipulator and a movement angle of each target joint of the at least one target joint according to the custom action request; Generate a motion image of the manipulator corresponding to a target custom action according to the movement angle of each target joint; Sending the motion image to the electronic device, so that the motion image of the manipulator corresponding to the custom action request is displayed on a display interface of the electronic device; After obtaining confirmation information for the target custom action from the electronic device, the target custom action is added to the training action set.

[0005] In a second aspect, an embodiment of the present application provides a training action generation device based on a manipulator, which is applied to a server of a rehabilitation training system, wherein the rehabilitation training system includes the server, an electronic device, and a manipulator, wherein the server is communicatively connected to the electronic device, and the electronic device is communicatively connected to the manipulator, and the device includes: An acquiring unit, configured to acquire a custom action request from the electronic device; a determination unit, configured to determine at least one target joint of the manipulator and a movement angle of each target joint of the at least one target joint according to the custom action request; A generating unit, configured to generate a motion image of the manipulator corresponding to a target custom action according to a moving angle of each target joint; a sending unit, configured to send the motion image to the electronic device, so that the motion image of the manipulator corresponding to the custom action request is displayed on a display interface of the electronic device; The adding unit is used to add the target customized action to the training action set after obtaining confirmation information for the target customized action from the electronic device.

[0006] In a third aspect, an embodiment of the present application provides a server, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.

[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program or instructions stored thereon, wherein the computer program or instructions are executed by a processor to implement the steps in the first aspect of the embodiment of the present application.

[0008] It can be seen that in this embodiment, the server first obtains a custom action request from the electronic device, and then determines at least one target joint of the manipulator and the movement angle of each target joint of the at least one target joint according to the custom action request, and then generates a motion image of the manipulator corresponding to the target custom action according to the movement angle of each target joint, and then sends the motion image to the electronic device so that the motion image of the manipulator corresponding to the custom action request is displayed on the display interface of the electronic device, and finally, after obtaining confirmation information from the electronic device for the target custom action, the target custom action is added to the training action set.

[0009] In this way, users can customize training movements based on rehabilitation needs and conduct rehabilitation training based on customized training movements, thereby improving the intelligence of the robot. At the same time, when users customize training movements, they can also view corresponding motion images based on the determined joint movement angles, so that when customizing training movements, they can determine whether the movements meet expectations based on the motion images, thereby improving the flexibility of customizing training movements and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0011] Figure 1 It is a schematic diagram of the composition of a rehabilitation training system provided in an embodiment of the present application; Figure 2 It is a structural diagram of a server provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of a manipulator provided in an embodiment of the present application; Figure 4 It is a flowchart of a method for generating training movements based on a manipulator provided in an embodiment of the present application; Figure 5 It is a schematic diagram of a custom interface provided in an embodiment of the present application; Figure 6 This is another schematic diagram of a custom interface provided in an embodiment of the present application; Figure 7 It is a functional unit composition block diagram of a training action generation device based on a manipulator provided in an embodiment of the present application; Figure 8 This is a block diagram of the functional units of another manipulator-based training action generation device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0012] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0013] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0014] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0015] Currently, when users conduct rehabilitation training based on equipment, they can only perform passive training based on a few pre-set movements. These pre-set movements can only adapt to the general training needs of most users, and cannot specifically adapt to the rehabilitation needs of each user. Therefore, the effect of user rehabilitation training is not good, resulting in a low user experience.

[0016] In view of the above problems, an embodiment of the present application provides a training action generation method based on a robot and a related device. The embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0017] See also Figure 1 , Figure 1 Schematic diagram of a rehabilitation training system provided in an embodiment of the present application. Figure 1 As shown, the rehabilitation training system 10 includes a server 101, an electronic device 102 and a manipulator 103, wherein the server 101 is connected to the electronic device 102 in communication, and the electronic device 102 is connected to the manipulator 103 in communication. In particular, the electronic device 102 can be connected to the manipulator 103 in communication via Bluetooth or Wi-Fi, or the electronic device 102 can also be connected to the manipulator by wire. The electronic device 102 is used to display an interface of a custom training action, and receives a user's custom action request based on the interface. At the same time, the electronic device 102 also sends the custom action request to the server 101, so that the server 101 generates a related motion image and sends it to the electronic device 102, so that the user can view the actual motion trajectory of the custom training action based on the electronic device 102. When the user customizes successfully, the server 101 adds the custom action to the training action set, so that when the user is performing rehabilitation training, the server 101 can formulate a training plan for the user based on the training actions in the training action set. At the same time, the electronic device 102 can also generate motor control instructions for the manipulator 103 based on the training plan, so that the manipulator 103 moves based on the motor control instructions, completes the user's customized actions, and drives the user's hand movements to complete the user's passive training.

[0018] See also Figure 2 , Figure 2It is a structural diagram of a server provided in an embodiment of the present application. The server 101 includes a processor 120, a memory 130, a communication interface 140 and one or more programs 131, wherein the one or more programs 131 are stored in the above-mentioned memory 130 and are configured to be executed by the above-mentioned processor 120, and the one or more programs 131 include instructions for executing any step in the following method embodiment. In a specific implementation, the processor 120 is used to execute any step executed by the server in the following method embodiment, and when performing data transmission such as sending, the communication interface 140 can be selectively called to complete the corresponding operation. It should be noted that the electronic device 102 has the same structure as the server 101, and may also include a processor 120, a memory 130, a communication interface 140 and one or more programs 131, which will not be repeated here.

[0019] See also Figure 3 , Figure 3 It is a structural schematic diagram of a manipulator provided in an embodiment of the present application. Figure 3 The manipulator 103 shown includes a plurality of joint drivers 1031, a palm fixing belt 1032 and a finger fixing belt 1033. Each finger of the manipulator 103 corresponds to at least one joint driver 1031. The joint driver 1031 outputs driving information based on the motor control instruction of the electronic device 102, so that the corresponding finger on the manipulator moves, so that the manipulator can perform training movements. When the user uses the manipulator for rehabilitation training, the injured hand is bound to the manipulator through the palm fixing belt 1032 and the finger fixing belt 1033, and then the manipulator performs training movements based on the motor control instruction, and drives the user's hand to perform corresponding training movements, thereby realizing the user's passive training.

[0020] See also Figure 4 , Figure 4 The flowchart of a method for generating training actions based on a manipulator provided in an embodiment of the present application is shown in FIG. The method for generating training actions based on a manipulator is applied to the above server and specifically includes the following steps.

[0021] S201, obtaining a custom action request from the electronic device.

[0022] When the user wants to customize the training action, he can first send a new action request on the training action viewing interface of the electronic device. The electronic device jumps to the new action page based on the new action request. The user can customize the training action on this page. When the user completes the customization, the electronic device generates a custom action request based on the user's custom action and sends it to the server. Figure 5 As shown, Figure 5 This is a schematic diagram of a custom interface provided in an embodiment of the present application. Figure 5 The training action interface displayed in includes multiple training actions in the training action set and action examples corresponding to each training action. Figure 5 The training actions shown in the figure include "two-finger pinch", "three-finger pinch", "side grip", "hook grip", "column grip", "ball grip", "compound grip" and "new action 1". The user can manage the training actions in the training action interface, for example, select the training action to be trained, or change the training action or delete the training action from the training action set. At the same time, the user can click the control corresponding to "new action" to send a new action request to the electronic device.

[0023] S202: Determine at least one target joint of the manipulator and a movement angle of each target joint in the at least one target joint according to the custom action request.

[0024] Among them, when the user customizes the training action, he can upload a target picture through an electronic device, and the hand movement in the target picture is the action that the user wants to customize. At this time, the server can scan the target picture, and then locate the fingers in the target picture, and then determine the current relative position between each finger based on the positioning, and determine the target joint and the moving angle of the target joint based on the current relative position and the initial relative position between each finger when the hand is relaxed. The target joint is the joint that needs to be moved when the hand goes from a relaxed state to present the relative position between each finger in the target picture. The larger the amplitude of the hand movement, that is, the greater the difference with the finger in a relaxed state, the greater the moving angle of the target joint.

[0025] In a specific implementation, the user can also directly input the movement angle of each joint corresponding to the manipulator into the electronic device. Figure 6 As shown, after receiving the new request, the electronic device jumps to the custom action interface, where the user names the newly created custom action and adjusts the movement angle of each joint. It should be noted that each knuckle in the custom action interface corresponds to a joint in the robot. Figure 6 As shown, the manipulator has 8 corresponding knuckles, namely the thumb, index finger (metacarpal finger), index finger (proximal end), middle finger (metacarpal finger), middle finger (proximal end), ring finger (metacarpal finger), ring finger (proximal end) and little finger. Therefore, the manipulator has 8 adjustable joints, and the initial state can be the state when the hand is relaxed. Therefore, when the manipulator is in the initial state, the movement angle of each joint is 0°. After the user customizes the action, the joint corresponding to the knuckle whose movement angle is not 0° is the target joint, and the movement angle input by the user is the movement angle of the target joint.

[0026] S203, generating a motion image of the manipulator corresponding to a target custom action according to the moving angle of each target joint.

[0027] Among them, after obtaining a custom action request, the movement trajectory of each knuckle in the manipulator can be determined based on the movement angle of the target joint in the custom action request, and then a motion image of the manipulator is generated based on the movement trajectory of all target joints. The movement trajectory of each knuckle is the trajectory corresponding to the target joint corresponding to the knuckle moving from 0° to the movement angle set by the user.

[0028] S204: Send the motion image to the electronic device, so that the motion image of the robot corresponding to the custom action request is displayed on the display interface of the electronic device.

[0029] Among them, after the user views the motion image through the electronic device, the user can determine whether the current customized action meets the user's expectations based on the motion image. At the same time, the information that needs to be changed can also be intuitively determined based on the motion image. For example, the user can determine the target joint to be changed, or the moving angle of a certain target joint that needs to be changed based on the current motion image. Then the user adjusts the target joint and / or the moving angle of the target joint again on the custom action interface, generates a new custom action request, and the server generates a motion image based on the new custom action request, so that the user can check whether the training action after this change meets expectations until the user confirms that the custom action is completed.

[0030] S205: After obtaining confirmation information for the target customized action from the electronic device, add the target customized action to a training action set.

[0031] After the user completes the customized action, the server can add the customized action to the training action set. In this way, the user can choose to use the customized training action for rehabilitation training next time. Figure 5 As shown, Figure 5 In the training action interface, the training action corresponding to "New Action 1" is displayed, and the "New Action 1" is the user-defined training action. When the target training action is displayed on the training action interface, an action picture can be obtained from the motion image, and then the action picture is determined to be an action example of the target customized action. The action picture can be the last frame image in the motion image, that is, the hand shape of the manipulator after the target joints have moved the corresponding movement angle.

[0032] It can be seen that in this embodiment, the user can customize the training action based on the rehabilitation needs, and perform rehabilitation training based on the customized training action, thereby improving the intelligence of the manipulator. At the same time, when the user customizes the training action, the user can also view the corresponding motion image based on the determined joint movement angle, so that when the training action is customized, the user can determine whether the action meets the expectations based on the motion image, thereby improving the flexibility of the customized training action and improving the user experience.

[0033] In a possible embodiment, before determining at least one target joint of the manipulator and the movement angle of each target joint of the at least one target joint according to the custom action request, it includes: determining a target custom mode according to the custom action request, the custom mode including a custom related action or a custom new action; when the custom mode is the custom related action, obtaining a reference action according to the custom action request, the reference action being an action in the training action set; sending the movement angle of each joint of the manipulator corresponding to the reference action to the electronic device, so that the movement angle of each joint of the manipulator corresponding to the reference action is displayed on the display interface of the electronic device; when the custom mode is the custom new action, obtaining the original angle of each joint of the manipulator; sending the original angle to the electronic device, so that the original angle is displayed on the display interface of the electronic device.

[0034] When the user customizes the training action, he can also send a custom action request first, which is used to inform the server that the user has a custom action request and the customization method selected by the user. The server then sends the initial angle information to the electronic device based on the customization method selected by the user to facilitate the user to customize. After the user adjusts the initial angle information, a custom action request is generated again, and the server can obtain the target joint based on the content adjusted by the user.

[0035] In a specific implementation, the customization method is to customize related actions, that is, the user customizes the action based on the existing action. At this time, the custom action request also includes the reference action selected by the user. For example, the user selects the existing two-finger pinch as the reference action. At this time, the server can obtain the movement angles of each joint of the manipulator corresponding to the two-finger pinch, and then send the movement angles of each joint corresponding to the two-finger pinch to the electronic device. The electronic device will synchronously display the movement angles of the corresponding joints on the custom action interface. In this way, when the user customizes the action type, he can make changes based on the movement angles of each joint corresponding to the reference action, or use the movement angles of each joint of the changed reference action as a reference for custom training actions.

[0036] It should be noted that, in addition to the user-defined training actions, the other actions in the training set are regular actions corresponding to the action names. For example, two-finger pinch corresponds to two-finger pinch of the thumb and index finger. At this time, if the user wants to customize the two-finger pinch of the thumb and middle finger, he can customize it based on the two-finger pinch in the training set as a reference action.

[0037] In a specific implementation, the original angle of each joint of the manipulator is the moving angle of each joint of the manipulator in the shutdown state, and the original angle may be 0°. In particular, when the manipulator is in the joint state, the hand shape of the manipulator is the hand shape corresponding to when the hand is relaxed.

[0038] It can be seen that in this embodiment, different initial angles can be provided to users based on different customization methods, so that users have reference directions when performing customized training movements, thereby improving the efficiency and convenience of user-defined movements.

[0039] In a possible embodiment, before adding the target custom action to the training action set, the method also includes: obtaining the current training level of the target user; obtaining the training time of the target user; determining whether the target user meets a preset condition based on the training time and the current training level; if the preset condition is met, adding the target custom action to the training action set; if the preset condition is not met, sending a prompt message to the electronic device, wherein the prompt message is used to prompt the target user that the custom action failed and the reason for the failure of the custom action.

[0040] Among them, since users can train based on customized training movements, this greatly improves the flexibility and freedom of users in rehabilitation training. However, since users are not professional doctors, they may customize training movements that do not match the current level of rehabilitation on a whim. At this time, if the user trains based on the target customized movement, they may be injured again. Therefore, it is necessary to set a preset condition. Only when the user meets the preset condition can the user train based on the target customized movement. This can improve the safety of users when training based on customized movements. If the user does not meet the preset conditions, although the user can customize, he cannot train based on the customized movement, which means that the user's customized movement fails. At the same time, if the user's customized movement fails, the reason for the failure can also be informed, for example, the reason for the failure is insufficient training time or insufficient training level.

[0041] In a specific implementation, the current training level may indicate the user's degree of recovery or the user's degree of mastery of a certain type of training action. The higher the current training level, the higher the user's degree of recovery or the higher the user's degree of mastery of the training action. The current training level may be determined based on a reexamination report issued by a doctor and / or a training score of the user when training with the manipulator.

[0042] In a possible embodiment, obtaining the current training level of the target user includes: determining the training purpose corresponding to the target custom action based on the motion image, the training purpose is used to indicate the trained hand function; determining whether there is at least one reference training action based on the training purpose, the reference training action being an action in the training action set that the target user has trained; if there is at least one reference training action, obtaining the training score of each reference training action in the at least one reference training action; and determining the current training level based on the training score of each reference training action.

[0043] Among them, the hand function may refer to the pinching function of the hand or the grasping function of the hand, etc. That is, the training purpose is which function of the hand the current action is for training. For example, the training purposes of "hook grasp" and "column grasp" are the same, both of which are for training the grasping function of the hand. If the user has already trained for the training purpose corresponding to the target custom action type, the training score of the trained action corresponding to the training purpose can be obtained. If the training score is high, it is considered that the user has a high degree of mastery of this type of training action, that is, the user can perform customized training for this type of training action. The training score at this time can be the average score of at least one training action.

[0044] In a specific implementation, when determining the training purpose of a target custom action based on a motion image, the last frame of the motion image can be obtained as the target image, which is the hand shape of the manipulator after the target joint moves a corresponding movement angle. Then, the target image is image matched with the training action corresponding to each training purpose, and the training purpose with the highest matching degree is determined as the training purpose of the target custom action. The training purpose with a high matching degree can be the training action corresponding to the training purpose that has the highest matching degree with the target custom action, or the training action corresponding to the training purpose has the largest number of training actions with a matching degree with the target custom action higher than a preset value.

[0045] It can be seen that in this embodiment, the current training level is determined based on the training purpose, and the training level is determined based on the user's mastery of the training movements corresponding to each training purpose, which can make it more reasonable to judge whether the user meets the preset conditions.

[0046] In a possible embodiment, determining whether the target user meets the preset condition based on the trained time and the current training level includes: determining whether the current training level is higher than a preset level; if it is higher than or equal to the preset level, determining a reference customization method based on the trained time; determining a target customization method based on the customized action request; when the reference customization method includes the target customization method, determining that the preset condition is met; if it is lower than the preset level, determining that the preset condition is not met.

[0047] Among them, first, if the user's current training level is lower than the preset level, it can be determined that the user's mastery of the action type corresponding to the target customized action is low, and the user is not suitable for customizing the action related to the training purpose for training, that is, directly determining that the user does not meet the preset conditions. If the user's current training is equal to or not lower than the preset level, it can also be judged whether the user's customization method meets the conditions based on the user's training time. In other words, in order to prevent the user from arbitrarily customizing the training action when he does not understand the manipulator, the user's customization method can also be restricted based on the user's training time.

[0048] For example, if the user's training time is short, the corresponding reference customization method is to customize related actions. At this time, when the user customizes the training action, he can customize the training action based on the joint movement angle corresponding to the reference action, so that the user has a certain understanding of the relationship between the joint movement angle and the movement range of the manipulator, which can improve the success rate and efficiency of the user's customized training action. If the user's training time is long, the reference customization method can include both customized related actions and customized new actions.

[0049] It can be seen that in this embodiment, judging whether the user meets the preset conditions based on the current training level and training duration can improve the safety of the user when training based on customized training movements, while motivating the user to perform rehabilitation training to meet the preset conditions.

[0050] In a possible embodiment, before adding the target custom action to the training action set, the method also includes: in the presence of at least one reference training action, obtaining a reference motion amplitude of each reference training action, wherein the reference motion amplitude is associated with a joint movement angle of each reference training action; determining the reference training action with the largest reference motion amplitude among each reference training action as the target training action; determining the target motion amplitude of the target custom action according to the movement angle of the target joint; determining the effectiveness score of the target custom action according to the reference motion amplitude and the target motion amplitude; when the effectiveness score is greater than a preset value, adding the target custom action to the training action set; and when the effectiveness score is less than or equal to a preset value, sending the prompt information to the electronic device.

[0051] Among them, after the user customizes the training action, it can also be determined whether the training action is effective. Only when the effectiveness score of the training action is higher than the preset value, the user can perform rehabilitation training based on the target customized action. When there is at least one reference training action, it means that the user has conducted relevant training for the training purpose corresponding to the target customized action. At this time, the effectiveness score of the target customized action can be determined based on the ratio of the target motion amplitude to the reference motion amplitude. If the ratio is greater than 1, the effectiveness score is determined to be zero. When the ratio is less than or equal to 1, the larger the ratio, the lower the effectiveness score. That is, if the motion amplitude of the target defined action is greater than the maximum motion amplitude, it is determined that the user customized action has failed, and the user can be informed that the reason for the failure is that the motion amplitude is too large or the corresponding movement angle of the joint is too large.

[0052] In a specific implementation, when determining the preset value, the lowest score among the training scores of the at least one reference training action may be first obtained, the movement amplitude of the reference training action corresponding to the lowest score may be determined, and the preset value may be determined according to the ratio of the movement amplitude of the lowest score to the reference movement amplitude. That is, the lowest score means that the user has the lowest mastery of the reference training action, and since the larger the ratio, the lower the effectiveness score, if the effectiveness score is higher than the preset value, it is considered that the difficulty of the target custom action is lower than the action difficulty corresponding to the lowest score.

[0053] It can be seen that in the embodiment of the present application, if there is a reference training action, an effectiveness score is performed based on the maximum movement amplitude in the reference training action and the movement amplitude of the target custom action. This can improve the accuracy and rationality of the judgment on whether the target custom action can be added to the training action set, and improve the safety of users training based on custom actions.

[0054] In a possible embodiment, before adding the target custom action to the training action set, the method also includes: in the absence of the at least one reference training action, obtaining the trained actions of the target user; determining at least one target trained action from the trained actions, the at least one target trained action being a trained action with a training score higher than a preset score among the trained actions; obtaining an average motion amplitude of the at least one target trained action, the average motion amplitude being associated with a joint movement angle corresponding to the at least one target trained action; determining a target motion amplitude of the target custom action according to the movement angle of the target joint; determining a validity score of the target custom action according to the average motion amplitude and the target motion amplitude; if the validity score is greater than a preset value, adding the target custom action to the training action set; and if the validity score is greater than or equal to a preset value, sending the prompt information to the electronic device.

[0055] Among them, if there is no reference training action, it means that the user has not conducted relevant training for the training purpose corresponding to the target custom action. Since the user has not conducted relevant training, it is necessary to be more cautious when determining whether the purpose custom training action can be added to the training set. Therefore, when performing effectiveness scoring, it is determined based on the average movement amplitude of the target trained action. The average movement amplitude here has the same function as the reference movement amplitude mentioned above, and will not be repeated here. The preset value at this time can be a set fixed value.

[0056] It can be seen that in this embodiment, when there is no reference training action, the effectiveness score is calculated based on the average value of the motion amplitude of the trained actions with higher training scores, which can improve the accuracy and rationality of the judgment on whether the target custom action can be added to the training action set, and improve the safety of users' training based on custom actions.

[0057] For the above embodiments, please refer to Figure 7 , Figure 7 1 is a functional unit block diagram of a training action generation device based on a manipulator provided in an embodiment of the present application. Figure 7As shown, a training action generating device 30 based on a manipulator is applied to a server of a rehabilitation training system, wherein the rehabilitation training system comprises the server, an electronic device and a manipulator, wherein the server is communicatively connected to the electronic device, and the electronic device is communicatively connected to the manipulator, and the training action generating device 30 based on the manipulator comprises: an acquiring unit 301, for acquiring a custom action request from the electronic device; a determining unit 302, for determining at least one target joint of the manipulator and a movement angle of each target joint of the at least one target joint according to the custom action request; a generating unit 303, for generating a motion image of the manipulator corresponding to a target custom action according to the movement angle of each target joint; a sending unit 304, for sending the motion image to the electronic device, so that the motion image of the manipulator corresponding to the custom action request is displayed on the display interface of the electronic device; and an adding unit 305, for adding the target custom action to the training action set after obtaining confirmation information from the electronic device for the target custom action.

[0058] In a possible embodiment, before determining at least one target joint of the manipulator and the movement angle of each target joint of the at least one target joint according to the custom action request, the manipulator-based training action generation device 30 is also used to: determine a target customization mode according to the custom action request, the customization mode including a custom-related action or a custom-new action; when the customization mode is the custom-related action, obtain a reference action according to the custom action request, the reference action being an action in the training action set; send the movement angle of each joint of the manipulator corresponding to the reference action to the electronic device, so that the movement angle of each joint of the manipulator corresponding to the reference action is displayed on the display interface of the electronic device; when the customization mode is the custom-new action, obtain the original angle of each joint of the manipulator; send the original angle to the electronic device, so that the original angle is displayed on the display interface of the electronic device.

[0059] In a possible embodiment, before adding the target custom action to the training action set, the adding unit 305 is specifically used to: obtain the current training level of the target user; obtain the training time of the target user; determine whether the target user meets a preset condition based on the training time and the current training level; if the preset condition is met, add the target custom action to the training action set; if the preset condition is not met, send a prompt message to the electronic device, and the prompt message is used to prompt the target user that the custom action failed and the reason for the failure of the custom action.

[0060] In a possible embodiment, in terms of determining whether the target user meets the preset condition based on the trained time and the current training level, the joining unit 305 is specifically used to: determine whether the current training level is higher than the preset level; if it is higher than or equal to the preset level, determine a reference customization method based on the trained time; determine a target customization method based on the customized action request; when the reference customization method includes the target customization method, determine that the preset condition is met; if it is lower than the preset level, determine that the preset condition is not met.

[0061] In a possible embodiment, in terms of obtaining the current training level of the target user, the adding unit 305 is specifically used to: determine the training purpose corresponding to the target custom action based on the motion image, and the training purpose is used to indicate the trained hand function; determine whether there is at least one reference training action based on the training purpose, and the reference training action is an action in the training action set that the target user has trained; if there is at least one reference training action, obtain the training score of each reference training action in the at least one reference training action; determine the current training level based on the training score of each reference training action.

[0062] In a possible embodiment, before adding the target custom action to the training action set, the adding unit 305 is specifically used to: in the presence of at least one reference training action, obtain a reference motion amplitude of each reference training action, wherein the reference motion amplitude is associated with a joint movement angle of each reference training action; determine the reference training action with the largest reference motion amplitude among each reference training action as the target training action; determine the target motion amplitude of the target custom action according to the movement angle of the target joint; determine the effectiveness score of the target custom action according to the reference motion amplitude and the target motion amplitude; in the case where the effectiveness score is greater than a preset value, add the target custom action to the training action set; in the case where the effectiveness score is less than or equal to a preset value, send the prompt information to the electronic device.

[0063] In a possible embodiment, before adding the target custom action to the training action set, the adding unit 305 is specifically used to: obtain the trained actions of the target user in the absence of the at least one reference training action; determine at least one target trained action from the trained actions, the at least one target trained action being a trained action with a training score higher than a preset score among the trained actions; obtain an average motion amplitude of the at least one target trained action, the average motion amplitude being associated with a joint movement angle corresponding to the at least one target trained action; determine a target motion amplitude of the target custom action according to the movement angle of the target joint; determine a validity score of the target custom action according to the average motion amplitude and the target motion amplitude; if the validity score is greater than a preset value, add the target custom action to the training action set; if the validity score is less than or equal to a preset value, send the prompt information to the electronic device.

[0064] It can be understood that since the method embodiment and the device embodiment are different presentation forms of the same technical concept, the content of the method embodiment part in this application should be synchronously adapted to the device embodiment part and will not be repeated here.

[0065] In the case of integrated units, see Figure 8 , Figure 8 1 is a functional unit block diagram of another training action generation device based on a manipulator provided in an embodiment of the present application. Figure 8 In the embodiment, the training action generation device 30 based on the manipulator includes: a processing module 312 and a communication module 311. The processing module 312 is used to control and manage the actions of the training action generation device 30 based on the manipulator, for example, to execute the steps of the acquisition unit 301, the determination unit 302, the generation unit 303, the sending unit 304 and the adding unit 305, and / or to execute other processes of the technology described in this article. The communication module 311 is used for the interaction between the training action generation device 30 based on the manipulator and other devices. Figure 8 As shown, the training motion generating device 30 based on the robot may further include a storage module 313, and the storage module 313 is used to store the program code and data of the training motion generating device 30 based on the robot.

[0066] Among them, the processing module 312 can be a processor or a controller, for example, a central processing unit (CPU), a general processor, a digital signal processor (DSP), an ASIC, an FPGA or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication module 311 can be a transceiver, an RF circuit or a communication interface, and the like. The storage module 313 can be a memory.

[0067] Among them, all relevant contents of each scenario involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here. The above-mentioned training action generation device 30 based on the manipulator can execute the above-mentioned Figure 4 The training action generation method based on the robot is shown.

[0068] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented using software, the above embodiments may 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 or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0069] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes an electronic device.

[0070] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0071] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0072] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0073] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0074] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0075] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the above-mentioned methods in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0076] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0077] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A training action generation method based on a manipulator, characterized in that: A server applied to a rehabilitation training system, the rehabilitation training system comprising the server, an electronic device and a manipulator, the server being communicatively connected to the electronic device, the electronic device being communicatively connected to the manipulator, the method comprising: Obtaining a custom action request from the electronic device; Determining at least one target joint of the manipulator and a movement angle of each target joint of the at least one target joint according to the custom action request; Generate a motion image of the manipulator corresponding to a target custom action according to the movement angle of each target joint; Sending the motion image to the electronic device, so that the motion image of the manipulator corresponding to the custom action request is displayed on a display interface of the electronic device; After obtaining confirmation information for the target custom action from the electronic device, the target custom action is added to the training action set.

2. The method according to claim 1, characterized in that Before determining at least one target joint of the manipulator and the movement angle of each target joint in the at least one target joint according to the custom action request, the method includes: Determining a target customization method according to the customization action request, where the customization method includes customizing a related action or customizing a new action; In the case where the customization mode is the customization-related action, a reference action is obtained according to the customization action request, where the reference action is an action in the training action set; a movement angle of each joint of the manipulator corresponding to the reference action is sent to the electronic device, so that the movement angle of each joint of the manipulator corresponding to the reference action is displayed on the display interface of the electronic device; When the customization mode is the customized new action, the original angle of each joint of the manipulator is acquired; and the original angle is sent to the electronic device so that the original angle is displayed on the display interface of the electronic device.

3. The method according to claim 1 or 2, characterized in that: Before adding the target custom action to the training action set, the method further includes: Get the current training level of the target user; Obtaining the training time of the target user; Determining whether the target user meets a preset condition according to the training duration and the current training level; If the preset condition is met, the target custom action is added to the training action set; If the preset condition is not met, a prompt message is sent to the electronic device, where the prompt message is used to prompt the target user that the customized action fails and the reason for the customized action failure.

4. The method according to claim 3, characterized in that The determining whether the target user meets a preset condition according to the trained time and the current training level includes: Determining whether the current training level is higher than a preset level; If it is higher than or equal to the preset level, determining a reference customization mode according to the trained time; determining a target customization mode according to the customized action request; and determining that the preset condition is satisfied when the reference customization mode includes the target customization mode; If it is lower than the preset level, it is determined that the preset condition is not met.

5. The method according to claim 3, characterized in that: The obtaining of the current training level of the target user includes: Determining a training purpose corresponding to the target custom action according to the motion image, wherein the training purpose is used to indicate a hand function to be trained; Determining whether there is at least one reference training action according to the training purpose, where the reference training action is an action in the training action set that the target user has trained on; If the at least one reference training action exists, a training score of each reference training action in the at least one reference training action is obtained; and the current training level is determined according to the training score of each reference training action.

6. The method according to claim 5, characterized in that Before adding the target custom action to the training action set, the method further includes: In the case where there is at least one reference training action, obtaining a reference movement amplitude of each reference training action, wherein the reference movement amplitude is associated with a joint movement angle of each reference training action; Determine the reference training action with the largest reference movement amplitude among each of the reference training actions as the target training action; Determining a target movement amplitude of the target custom action according to the movement angle of the target joint; Determine the effectiveness score of the target custom action according to the reference motion amplitude and the target motion amplitude; When the effectiveness score is greater than a preset value, adding the target custom action to the training action set; When the effectiveness score is less than or equal to a preset value, the prompt information is sent to the electronic device.

7. The method according to claim 5 or 6, characterized in that: Before adding the target custom action to the training action set, the method further includes: In the absence of the at least one reference training action, obtaining a trained action of the target user; Determining at least one target trained action from the trained actions, wherein the at least one target trained action is a trained action having a training score higher than a preset score among the trained actions; Acquire an average movement amplitude of the at least one target trained action, where the average movement amplitude is associated with a joint movement angle corresponding to the at least one target trained action; Determining a target movement amplitude of the target custom action according to the movement angle of the target joint; Determining a validity score of the target custom action according to the average motion amplitude and the target motion amplitude; When the effectiveness score is greater than a preset value, adding the target custom action to the training action set; When the effectiveness score is less than or equal to a preset value, the prompt information is sent to the electronic device.

8. A training action generation device based on a manipulator, characterized in that: A server applied to a rehabilitation training system, the rehabilitation training system comprising the server, an electronic device and a manipulator, the server being communicatively connected to the electronic device, the electronic device being communicatively connected to the manipulator, and the device comprising: An acquiring unit, configured to acquire a custom action request from the electronic device; a determination unit, configured to determine at least one target joint of the manipulator and a movement angle of each target joint of the at least one target joint according to the custom action request; A generating unit, configured to generate a motion image of the manipulator corresponding to a target custom action according to a moving angle of each target joint; a sending unit, configured to send the motion image to the electronic device, so that the motion image of the manipulator corresponding to the custom action request is displayed on a display interface of the electronic device; The adding unit is used to add the target customized action to the training action set after obtaining confirmation information for the target customized action from the electronic device.

9. A server, characterized in that: The method comprises a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for executing the steps in the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: The computer program or instructions are executed by a processor to implement the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Functional electric stimulation system capable of providing customized rehabilitation training and control method

    CN110496308A

  • Implementation method of digital rehabilitation software

    CN116564468A

  • System and method for physical rehabilitation and motion training

    US20170136296A1

  • Robot system for active and passive upper limb rehabilitation training based on force feedback technology

    US20210346225A1

  • KR20230124840A

Cited By

  • Data processing method and device for manipulator, electronic equipment and storage medium

    CN119049683A

  • Data processing method, device, electronic device and storage medium for manipulator

    CN119049683B