Disclosure of Invention
The present invention aims to solve, at least to some extent, one of the technical problems in the above-described technology. Therefore, the invention aims to provide a scene interaction children rehabilitation training system based on a cloud platform, which aims to scientifically and pointedly perform rehabilitation training on children by utilizing the cloud platform to perform scene interaction so as to achieve the effect of optimizing the rehabilitation training.
In order to achieve the above purpose, the embodiment of the invention provides a scene interaction children rehabilitation training system based on a cloud platform, which is characterized by comprising:
a user terminal;
cloud platform for:
receiving and analyzing symptom information of a user sent by a user terminal to obtain a corresponding treatment strategy;
generating a treatment instruction according to the treatment strategy, and sending the treatment instruction to the scene interaction rehabilitation training module;
and the scene interaction rehabilitation training module is used for receiving the treatment instruction and determining a target scene interaction strategy based on the treatment instruction.
According to some embodiments of the invention, the cloud platform comprises:
the first receiving module is used for receiving symptom information of a user sent by the user terminal;
an analysis module for:
extracting keywords from the symptom information of the user to obtain symptom keywords;
the symptom keywords are respectively matched with a plurality of preset symptom keywords in a database, and a treatment strategy corresponding to the matched preset symptom keywords is determined;
the first sending module is used for generating corresponding treatment instructions based on the treatment strategies and sending the corresponding treatment instructions to the scene interaction rehabilitation training module.
According to some embodiments of the invention, the analysis module comprises:
the preprocessing module is used for acquiring a text comprising symptom information of the user, and preprocessing the text to obtain a text to be extracted;
the weight determining module is used for determining the target weight of the description keyword in the text to be extracted;
the keyword determining module is used for sequencing the description keywords corresponding to the target weights from large to small, and selecting the description keywords with the preset quantity as symptom keywords.
According to some embodiments of the invention, the preprocessing module comprises:
a first processing module for:
acquiring a text comprising symptom information of the user as a first text;
identifying and deleting characters matched with preset characters in the first text to obtain a second text;
a second processing module for:
the second text is segmented by utilizing a jieba word segmentation device, and the obtained segmented words are separated by spaces, so that a third text is obtained;
and carrying out de-duplication processing on the third text to obtain a text to be extracted.
According to some embodiments of the invention, the weight determination module comprises:
a first determining module, configured to:
extracting keywords from the text to be extracted to obtain a plurality of description keywords;
clustering semantics corresponding to the descriptive keywords to obtain a plurality of descriptive keyword sets;
determining a cluster center corresponding to each description keyword set, and determining a target cluster center according to the cluster center corresponding to each description keyword set;
respectively calculating the distance between the description keyword set and the target clustering center to obtain a corresponding distance value;
and describing the target weight of the keyword based on a preset distance-weight setting rule.
According to some embodiments of the invention, the contextual interactive rehabilitation training module comprises:
the second receiving module is used for receiving the treatment instruction; the treatment instructions comprise instructions for analyzing the treatment strategy;
the analysis module is used for executing the instruction for analyzing the treatment strategy and obtaining a corresponding scene interaction strategy alternative set;
and the operation module is used for receiving a selection instruction input by a user, determining a target scenario interaction strategy in the scenario interaction strategy alternative set and executing the target scenario interaction strategy.
According to some embodiments of the invention, the parsing module includes:
the first execution module is used for executing the instruction for analyzing the treatment strategy to obtain the treatment strategy;
a matching module for:
extracting keywords from the treatment strategy to obtain treatment keywords;
and matching the treatment keywords with a preset treatment keyword-scenario interaction association table to obtain a scenario interaction strategy alternative set.
According to some embodiments of the invention, the operating module comprises:
the third receiving module is used for receiving a selection instruction generated by a user in the scene interaction strategy alternative set due to selection operation;
the second determining module is used for analyzing the selection instruction and determining a target scene interaction strategy;
and the second execution module is used for executing the target scenario interaction strategy.
According to some embodiments of the invention, further comprising:
the second sending module is used for sending rehabilitation training data recorded in the target scenario interaction strategy to a cloud platform;
the cloud platform is used for receiving rehabilitation training data, evaluating the rehabilitation training effect of the user based on the rehabilitation training data and judging whether the target scenario interaction strategy needs to be adjusted or not.
According to some embodiments of the invention, the cloud platform is further configured to convert the rehabilitation training data into document data and send the document data to a user terminal.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical scheme of the invention is further described in detail through the drawings and the embodiments.
Detailed Description
The preferred embodiments of the present invention will be described below with reference to the accompanying drawings, it being understood that the preferred embodiments described herein are for illustration and explanation of the present invention only, and are not intended to limit the present invention.
As shown in fig. 1, an embodiment of the present invention provides a scenario interaction child rehabilitation training system based on a cloud platform, which is characterized by comprising:
a user terminal;
cloud platform for:
receiving and analyzing symptom information of a user sent by a user terminal to obtain a corresponding treatment strategy;
generating a treatment instruction according to the treatment strategy, and sending the treatment instruction to the scene interaction rehabilitation training module;
and the scene interaction rehabilitation training module is used for receiving the treatment instruction and determining a target scene interaction strategy based on the treatment instruction.
The working principle of the technical scheme is as follows: a user terminal;
cloud platform for:
receiving and analyzing symptom information of a user sent by a user terminal to obtain a corresponding treatment strategy; the accurate analysis is convenient, and a reliable treatment strategy is obtained;
generating a treatment instruction according to the treatment strategy, and sending the treatment instruction to the scene interaction rehabilitation training module; the therapeutic strategy is conveniently and rapidly sent to the interactive emotion rehabilitation training module by generating the therapeutic instruction, so that the rehabilitation training efficiency is improved;
the scenario interaction rehabilitation training module is used for receiving the treatment instruction and determining a target scenario interaction strategy based on the treatment instruction; the method is convenient for determining the target scenario interaction strategy applicable to the user by analyzing the received treatment instruction, and improves the rehabilitation training effect.
The beneficial effects of the technical scheme are that: the cloud platform is utilized to conduct contextual interaction, so that a large number of different users can conduct rehabilitation training on line, the integrity of data storage generated by the rehabilitation training is guaranteed, and the rehabilitation training effect is improved. In addition, the treatment strategy is obtained according to accurate analysis, and the treatment instruction is generated, so that the treatment strategy can be conveniently and rapidly sent to the scene interaction rehabilitation training module according to the instruction, and the efficiency and the accuracy of rehabilitation training are improved. And receiving the treatment instruction, and determining a target scenario interaction strategy based on the treatment instruction, so as to ensure that each user is trained in a targeted manner, thereby improving the rehabilitation training effect.
As shown in fig. 2, according to some embodiments of the invention, the cloud platform includes:
the first receiving module is used for receiving symptom information of a user sent by the user terminal;
an analysis module for:
extracting keywords from the symptom information of the user to obtain symptom keywords;
the symptom keywords are respectively matched with a plurality of preset symptom keywords in a database, and a treatment strategy corresponding to the matched preset symptom keywords is determined;
the first sending module is used for generating corresponding treatment instructions based on the treatment strategies and sending the corresponding treatment instructions to the scene interaction rehabilitation training module.
The working principle of the technical scheme is as follows: the first receiving module is used for receiving symptom information of a user sent by the user terminal; facilitating analysis of the symptom information;
an analysis module for:
extracting keywords from the symptom information of the user to obtain symptom keywords; the symptom of the user can be conveniently and accurately obtained, and then a reliable treatment strategy can be obtained;
the symptom keywords are respectively matched with a plurality of preset symptom keywords in a database, and a treatment strategy corresponding to the matched preset symptom keywords is determined; the treatment strategies comprise treatment time schedule and treatment difficulty level;
the first sending module is used for generating corresponding treatment instructions based on the treatment strategies and sending the corresponding treatment instructions to the scene interaction rehabilitation training module; the contextual interaction rehabilitation training module is convenient to perform rehabilitation training on the user by sending the treatment instruction.
The beneficial effects of the technical scheme are that: the cloud platform is utilized to receive the symptom information of the user sent by the user terminal, so that symptom keywords can be conveniently extracted from text data of the symptom information, and the symptom of the user can be accurately acquired, thereby ensuring the accuracy of the acquired treatment strategy and the individual pertinence of subsequent rehabilitation training. And the treatment instruction is sent to the scene interaction rehabilitation training module, so that the cloud platform is conveniently connected with the scene interaction rehabilitation training module, and the rehabilitation training efficiency is improved.
As shown in fig. 3, according to some embodiments of the invention, the analysis module includes:
the preprocessing module is used for acquiring a text comprising symptom information of the user, and preprocessing the text to obtain a text to be extracted;
the weight determining module is used for determining the target weight of the description keyword in the text to be extracted;
the keyword determining module is used for sequencing the description keywords corresponding to the target weights from large to small, and selecting the description keywords with the preset quantity as symptom keywords.
The working principle of the technical scheme is as follows: the preprocessing module is used for acquiring a text comprising symptom information of the user, and preprocessing the text to obtain a text to be extracted; the standard text is convenient to obtain, so that the extracted symptom keywords are more accurate and standard;
the weight determining module is used for determining the target weight of the description keyword in the text to be extracted; the scope is further narrowed in a large number of descriptive keywords;
the keyword determining module is used for sequencing the description keywords corresponding to the target weights from large to small, and selecting the description keywords with the preset quantity as symptom keywords; the method is convenient for screening out description keywords with smaller effect on symptom description, and accurate and refined symptom keywords are obtained.
The beneficial effects of the technical scheme are that: through preprocessing the text of symptom information of a user, more standard text data can be conveniently obtained, the accuracy of extracting description keywords is improved, and the extraction difficulty is reduced. By determining the weight of the description keywords, the description keywords which are sufficiently expressed and refined can be accurately obtained under the condition that a large number of description keywords exist, and the description keywords are determined to be symptom keywords.
According to some embodiments of the invention, the preprocessing module comprises:
a first processing module for:
acquiring a text comprising symptom information of the user as a first text;
identifying and deleting characters matched with preset characters in the first text to obtain a second text;
a second processing module for:
the second text is segmented by utilizing a jieba word segmentation device, and the obtained segmented words are separated by spaces, so that a third text is obtained;
and carrying out de-duplication processing on the third text to obtain a text to be extracted.
The working principle of the technical scheme is as follows: a first processing module for: acquiring a text comprising symptom information of the user as a first text; the original text data is convenient to acquire;
identifying and deleting characters matched with preset characters in the first text to obtain a second text; the preset characters comprise punctuation marks, preset special characters (such as:% and the like), single characters (such as: "and the like" which have no meaning per se);
a second processing module for:
the second text is segmented by utilizing a jieba word segmentation device, and the obtained segmented words are separated by spaces, so that a third text is obtained; the text data after word segmentation can be obtained quickly by using the jieba word segmentation device;
performing de-duplication treatment on the third text to obtain a text to be extracted; and more pure text data can be conveniently obtained.
The beneficial effects of the technical scheme are that: the text of symptom information of the user is preprocessed, so that purer text data can be conveniently obtained to serve as the text to be extracted, the difficulty of extracting the descriptive keywords is reduced, and the accuracy of extracting the descriptive keywords is improved.
According to some embodiments of the invention, the weight determination module comprises:
a first determining module, configured to:
extracting keywords from the text to be extracted to obtain a plurality of description keywords;
clustering semantics corresponding to the descriptive keywords to obtain a plurality of descriptive keyword sets;
determining a cluster center corresponding to each description keyword set, and determining a target cluster center according to the cluster center corresponding to each description keyword set;
respectively calculating the distance between the description keyword set and the target clustering center to obtain a corresponding distance value;
and describing the target weight of the keyword based on a preset distance-weight setting rule.
The working principle of the technical scheme is as follows: a first determining module, configured to:
extracting keywords from the text to be extracted to obtain a plurality of description keywords; a plurality of description keywords are conveniently and preliminarily obtained;
clustering semantics corresponding to the descriptive keywords to obtain a plurality of descriptive keyword sets; the method is convenient for clustering a large number of description keywords through semantics under the condition that a large number of description keywords exist, is convenient for dividing the large number of description keywords and further extracts the description keywords;
determining a cluster center corresponding to each description keyword set, and determining a target cluster center according to the cluster center corresponding to each description keyword set; the method is convenient for determining the target weight of the descriptive keywords according to the distance between the target clustering center and the clustering center corresponding to each descriptive keyword set;
respectively calculating the distance between the description keyword set and the target clustering center to obtain a corresponding distance value; the weight is conveniently determined according to the distance value;
describing target weights of keywords based on preset distance-weight setting rules; the preset distance-weight setting rule is a rule for determining weights according to a preset corresponding relationship between a distance value range and weight values, for example: when the distance value ranges from 0 to 10, the corresponding weight is 5; when the distance value ranges from 10 to 20, the corresponding weight is 4; obtaining a weight through a preset distance-weight setting rule, and conveniently setting the weight to a corresponding description keyword;
the beneficial effects of the technical scheme are that: clustering a large number of description keywords through semantics, so that the large number of description keywords can be conveniently divided; the method comprises the steps of determining a target clustering center, conveniently calculating the distance between a description keyword set and the target clustering center, obtaining the target weight of the description keywords through a preset distance-weight setting rule by using the obtained distance value, conveniently sequencing the description keywords corresponding to the target weight from large to small, and extracting the preset number of description keywords as symptom keywords.
According to some embodiments of the invention, the contextual interactive rehabilitation training module comprises:
the second receiving module is used for receiving the treatment instruction; the treatment instructions comprise instructions for analyzing the treatment strategy;
the analysis module is used for executing the instruction for analyzing the treatment strategy and obtaining a corresponding scene interaction strategy alternative set;
and the operation module is used for receiving a selection instruction input by a user, determining a target scenario interaction strategy in the scenario interaction strategy alternative set and executing the target scenario interaction strategy.
The working principle of the technical scheme is as follows: the second receiving module is used for receiving the treatment instruction; the treatment instructions comprise instructions for analyzing the treatment strategy; the treatment strategy is convenient to quickly analyze and obtain;
the analysis module is used for executing the instruction for analyzing the treatment strategy and obtaining a corresponding scene interaction strategy alternative set; the method is convenient for obtaining a scene interaction strategy alternative set according to the primary matching of the treatment strategy obtained by analysis;
the operation module is used for receiving a selection instruction input by a user, determining a target scenario interaction strategy in the scenario interaction strategy alternative set and executing the target scenario interaction strategy; the scene interaction strategy comprises scene interaction topics, difficulty level, scene interaction rules, link setting conditions, interaction completion requirements and interaction duration; the method is convenient for determining a target scenario interaction strategy to be executed according to the selection of a user;
the beneficial effects of the technical scheme are that: by receiving the treatment instructions, the safety integrity of the treatment strategy included in the received treatment instructions is ensured. By analyzing the treatment strategy, the scene interaction strategy which is adapted by the user can be obtained preliminarily, the selection is provided for the user to finally determine the target scene interaction strategy, and the user friendliness is improved.
According to some embodiments of the invention, the parsing module includes:
the first execution module is used for executing the instruction for analyzing the treatment strategy to obtain the treatment strategy;
a matching module for:
extracting keywords from the treatment strategy to obtain treatment keywords;
and matching the treatment keywords with a preset treatment keyword-scenario interaction association table to obtain a scenario interaction strategy alternative set.
The working principle of the technical scheme is as follows: the first execution module is used for executing the instruction for analyzing the treatment strategy to obtain the treatment strategy; the complete and complete treatment strategy is convenient to obtain;
a matching module for: extracting keywords from the treatment strategy to obtain treatment keywords; the interaction strategy between the acquired treatment keywords and the matched scenes is facilitated;
matching the treatment keywords with a preset treatment keyword-scenario interaction association table to obtain a scenario interaction strategy alternative set; the preset treatment keyword-scenario interaction association table is a relationship table established according to an association relationship between a preset treatment keyword and a scenario interaction strategy, for example: the treatment keywords are autism, and the scene interaction strategy M01, the scene interaction strategy M02 and the scene interaction strategy M03 are obtained according to the association relation between the preset treatment keywords and the scene interaction strategy.
The beneficial effects of the technical scheme are that: and the keyword extraction is carried out on the analyzed treatment strategies, so that scene interaction strategy alternative sets can be obtained conveniently according to the rapid and accurate matching of the extracted treatment keywords and a preset treatment keyword-scene interaction association table, and the rehabilitation training efficiency is improved.
According to some embodiments of the invention, the operating module comprises:
the third receiving module is used for receiving a selection instruction generated by a user in the scene interaction strategy alternative set due to selection operation;
the second determining module is used for analyzing the selection instruction and determining a target scene interaction strategy;
and the second execution module is used for executing the target scenario interaction strategy.
The working principle of the technical scheme is as follows: the third receiving module is used for receiving a selection instruction generated by a user in the scene interaction strategy alternative set due to selection operation; the target scene strategy which is convenient to be executed is finally determined according to the selection instruction;
the second determining module is used for analyzing the selection instruction and determining a target scene interaction strategy; the selection instruction comprises a scene interaction strategy name; the method is convenient for rapidly determining the target scenario interaction strategy according to the scenario interaction strategy name obtained by analyzing the selection instruction;
the second execution module is used for executing the target scenario interaction strategy; the user-optimized scene interaction strategy is convenient to execute for rehabilitation training, and the rehabilitation training effect is improved.
The beneficial effects of the technical scheme are that: and the target scene interaction strategy is determined by receiving the selection instruction of the user, so that the user friendliness is improved. The rehabilitation training is carried out according to the target scenario interaction strategy, so that the rehabilitation training is carried out by a user according to the scientific and most targeted scenario interaction strategy, and the rehabilitation training effect is improved.
According to some embodiments of the invention, further comprising:
the second sending module is used for sending rehabilitation training data recorded in the target scenario interaction strategy to a cloud platform;
the cloud platform is used for receiving rehabilitation training data, evaluating the rehabilitation training effect of a user based on the rehabilitation training data and judging whether the target scenario interaction strategy needs to be adjusted or not;
the working principle of the technical scheme is as follows: the second sending module is used for sending rehabilitation training data recorded in the target scenario interaction strategy to a cloud platform; the rehabilitation training data is convenient to store and process;
the cloud platform is used for receiving rehabilitation training data, evaluating the rehabilitation training effect of a user based on the rehabilitation training data and judging whether the target scenario interaction strategy needs to be adjusted or not; evaluating the rehabilitation training effect of the user through the rehabilitation training data, and timely adjusting the target scenario interaction strategy so as to ensure that the rehabilitation training effect is always kept in an optimal state;
the cloud platform comprises:
the fourth receiving module is used for receiving the rehabilitation training data;
the data analysis module is used for:
preprocessing the rehabilitation training data to obtain processed data; the preprocessing comprises outlier rejection and data standardization;
counting the processing data based on a preset counting method to obtain four groups of counting data; the four sets of statistics include: the first group of data is the time-consuming statistical data of each link in the single training, the second group of data is the total time-consuming statistical data of the single training, the third group of data is the completion degree statistical data of each link in the single training when the time threshold of the preset link is preset, and the fourth group of data is the total completion degree statistical data of the single training when the time threshold of the preset total time is preset; the preset statistical method comprises a statistical table and a broken line statistical graph;
based on the four groups of statistical data, respectively acquiring change data between the latest data and the initial data of each group of statistical data; whether the target scenario interaction strategy needs to be adjusted or not is conveniently judged according to the change data;
comparing the change data with corresponding change thresholds respectively, and determining that the target scenario interaction strategy needs to be adjusted when any one of the change data meets the change thresholds; the rehabilitation training effect is improved by enabling the target scenario interaction strategy to always keep the optimal state.
The beneficial effects of the technical scheme are that: by sending the rehabilitation training data to the cloud platform, the cloud platform is convenient for storing and processing a large amount of rehabilitation training data. The cloud platform counts the rehabilitation training data and evaluates the rehabilitation training effect of the user, so that the target scenario interaction strategy can be timely adjusted, and the rehabilitation training effect is always kept in an optimal state.
According to some embodiments of the invention, the cloud platform is further configured to convert the rehabilitation training data into document data and send the document data to a user terminal.
The technical scheme has the working principle and beneficial effects that: and converting the rehabilitation training data into document data and sending the document data to a user terminal. The rehabilitation training device is convenient for a user to acquire rehabilitation training data through the user terminal, and the recovery condition of the user is known by timely knowing the progress and effect of rehabilitation training.
According to some embodiments of the invention, the cloud platform further comprises:
a task scheduling module, configured to:
scheduling different assessment tasks triggered by rehabilitation training data of different users; each evaluation task is allocated with at least one process;
based on the number of processes allocated to the evaluation tasks, the completion time of the individual evaluation tasks in the scheduling phase s is calculated:
wherein t1 is the completion time of a single evaluation task in the scheduling stage s; j (J) s A number of processes allocated at the scheduling stage s; j is the j-th process; Δt is the time each process is executed;
thereby, the completion time of all the evaluation tasks in the current scheduling stage s is obtained:
wherein t2 is the completion time of all the evaluation task numbers N at present; n is the nth evaluation task;
based on the t2, obtaining the throughput rate of the current scheduling stage s:
wherein L is s Throughput rate in the scheduling stage s for the current evaluation task; i is a trigger node included in a scheduling stage s of a current evaluation task; i is the ith trigger node;
throughput rate L in scheduling stage s based on the current evaluation task s The throughput rate of the complete currently executed evaluation task is obtained:
wherein L is the throughput rate of the complete currently executing assessment task;
and comparing the throughput rate of the complete currently executed evaluation task with a preset throughput rate threshold, and when the throughput rate of the complete currently executed evaluation task is smaller than the preset throughput rate threshold, adjusting the scheduling of the current evaluation task and sending out an alarm prompt.
The working principle of the technical scheme is as follows: a task scheduling module, configured to:
scheduling different assessment tasks triggered by rehabilitation training data of different users; each evaluation task is allocated with at least one process;
calculating the completion time of a single evaluation task in a scheduling stage s based on the number of processes;
thereby, the completion time of all the evaluation tasks in the current scheduling stage s is obtained;
obtaining the throughput rate in the current scheduling stage s based on the completion time of all the evaluation tasks in the current scheduling stage s;
based on the throughput rate in the scheduling stage s of the current evaluation task, obtaining the throughput rate of the complete evaluation task which is currently executed;
comparing the throughput rate of the complete currently executed evaluation task with a preset throughput rate threshold, and when the throughput rate of the complete currently executed evaluation task is smaller than the preset throughput rate threshold, adjusting the scheduling of the current evaluation task and sending out an alarm prompt; the method and the device are convenient for judging the currently-performed evaluation task amount through the throughput rate of the complete currently-performed evaluation task.
The beneficial effects of the technical scheme are that: the throughput rate of the current evaluation task in the scheduling stage s is calculated to obtain the complete throughput rate of the currently executed evaluation task, so that the current evaluation task amount can be conveniently judged based on the complete throughput rate of the currently executed evaluation task, the data processing resources of the cloud platform are fully and reasonably utilized, the full scheduling of the evaluation task is ensured, and the execution efficiency of the evaluation task is improved. By sending out the alarm prompt, the current evaluation task scheduling can be adjusted in time, and the evaluation task scheduling efficiency is improved.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.