A multi-role training method and system
By fuzzy multi-role descriptions and simplified training trajectories, combined with artificial intelligence models, it solves the problem that traditional online education platforms cannot meet user needs, achieves efficient and personalized training plan recommendations, and improves training efficiency and flexibility.
Patent Information
- Application Number
- CN202410375825.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-03-29
AI Technical Summary
Traditional online education platforms cannot meet users' needs for flexible, personalized and efficient training. Especially in the context of the development of artificial intelligence technology, how to better describe user needs and provide targeted training plans is a challenge.
Train users through fuzzy multi-role descriptions, combine with simplified training trajectories, introduce artificial intelligence models, screen and create user training plans with different roles and training purposes, and use artificial intelligence models to simplify historical training data into input and output vectors , train the training plan model and recommend suitable training trajectories.
It greatly improves training efficiency and evaluation, provides flexible and personalized training plans, can dynamically adjust model training difficulty, quickly apply artificial intelligence models, and effectively utilize third-party server resources.
Smart Images

Figure CN118195857B
Abstract
Description
[Technical field]
[0001] The present invention belongs to the field of computing technology, and in particular relates to a multi-role training method and system. [Background technology]
[0002] With the development of the market, the demand for online education has greatly increased, but traditional online education platforms cannot meet people's needs at this stage. Training is a way to increase knowledge and is very popular among people. With the popularization of the Internet and the development of the training industry, most users will first understand the relevant training points and routes before actually traveling, and use this as a travel guide.
[0003] From a technical perspective, although distributed computing and streaming media are technologies that have only been developed in recent years, they have been widely used in their respective fields. However, the combination of the two is still a relatively new field, and the multimedia training platform used in the education and training industry based on them is just getting started. With the continuous development of social economy, artificial intelligence plays an increasingly important role in our lives. Artificial intelligence refers to the intelligence displayed by artificially created systems. Artificial intelligence is a technology that studies how to create intelligent devices or intelligent systems to simulate human intelligent activities.
[0004] From the demand perspective, people have more and more requirements for training needs, and the required training results are getting higher and higher. How to better describe user needs, how to better characterize user attributes, and how to combine the latest technologies to provide more flexible, personalized and efficient training are issues to be solved.
[0005] Based on the above problems, the present invention describes training users through fuzzy multiple roles, introduces artificial intelligence models by means of simplified training trajectories, and combines artificial intelligence models with inherent training segment construction methods. Artificial intelligence means are used to selectively screen and create training plans for users with different roles and training purposes, thereby greatly improving training efficiency and predictable training evaluation. [Summary of the invention]
[0006] In order to solve the above problems in the prior art, the present invention proposes a multi-role training method and system, the method comprising:
[0007] Step S1: Analyze historical training data to construct simplified sample data; the simplified sample data includes input and output; the input includes the first, second, and third input vectors; the output is a training evaluation value;
[0008] The step S1 specifically includes the following steps:
[0009] Step SA11: Acquire historical training data; specifically: acquire historical training data, the historical training data includes training records of multiple users; each training record includes user role, training track, training conditions and training evaluation; wherein: the training track includes one or more training segment numbers arranged in the order of training execution; the training file or training material is divided into one or more training segments, each training segment is numbered and used as an independent individual;
[0010] Step SA12: quantify the user role and set it as a first input vector; the first input vector is a multivariate vector corresponding to multiple user roles;
[0011] Step SA13: simplify the training trajectory, and construct a second input vector based on the simplified training trajectory; the simplified training trajectory is specifically as follows: (1) when the length of the training trajectory is greater than or equal to the length of the second input vector, cluster the training segment numbers in the training trajectory to obtain one or more training segment clusters, determine the cluster number, and process the training segment numbers of all training segments in the cluster based on the cluster number; arrange the processed training segment numbers in ascending order to form the second input vector; (2) when the length of the training trajectory is less than or equal to the length of the second input vector, arrange the training segment numbers in ascending order to form the second input vector; fill the insufficient length with 0 values;
[0012] The processing of the training segment numbers of all the training segments in the cluster based on the cluster number is specifically: replacing the training segment numbers of all the training segments in the cluster with the cluster number to obtain the processed training segment numbers;
[0013] Step SA14: quantizing the training conditions and setting them as a third input vector; each element in the third input vector corresponds to a training objective in the training conditions;
[0014] Step SA15: using the training evaluation value as the output part of the simplified sample data;
[0015] Step S2: training the training plan model using simplified sample data; specifically: training and validating the training plan model using simplified sample data until the validation target is met;
[0016] Step S3: For a new training request, select from the training trajectories that meet its training conditions based on the training plan model to obtain a recommended training trajectory; for each training segment corresponding to the recommended training trajectory, arrange them according to the training execution order of the training segments in the training trajectory and present them to the user.
[0017] Furthermore, the training evaluation is a quantitative value.
[0018] Furthermore, the length of the second input vector is a preset value.
[0019] Furthermore, the determining of the cluster number specifically includes: selecting the training segment number with the highest frequency of use in the training segment clustering as the cluster number.
[0020] Furthermore, the training plan model is an artificial intelligence model.
[0021] A multi-role training system comprises: the system is used to implement the above-mentioned multi-role training method; the system is deployed on a distributed server.
[0022] Furthermore, the number of the distributed servers is one or more.
[0023] A multi-role training platform comprises a processor, wherein the processor is coupled to a memory, wherein the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the multi-role training method is implemented.
[0024] A computer-readable storage medium includes a program, which, when running on a computer, enables the computer to execute the multi-role training method.
[0025] A distributed server is configured to execute the multi-role training method.
[0026] The beneficial effects of the present invention include:
[0027] (1) By describing training users through fuzzy multiple roles and simplifying the training trajectory, artificial intelligence models are introduced. By combining artificial intelligence models with the inherent training segment construction method, artificial intelligence methods are used to specifically screen and create training plans for users with different roles and training purposes, which greatly improves training efficiency and makes training evaluation predictable.
[0028] (2) The training file is divided into multiple training segments, which provides a flexible basis for constructing a training plan or training file. According to the different roles of each user and their training objectives, a training plan or training file is dynamically constructed, which is suitable for the situation where there are many training segments contained in the training track. With a small model training cost, a longer training plan based on very small training segments can be generated. Furthermore, by presenting the training track set in parts, the training materials of the third-party server can be effectively utilized, and a training file or training plan that is more suitable for users with multiple roles can be selected from a wider range.
[0029] (3) Based on the simplified training trajectory, the input data contains many continuous repeated data values, or even many continuous zero-value elements, which enables the vertical application of artificial intelligence models to be rapid. However, because it needs to be combined with indicator screening, the difficulty and complexity of model training are not high. At the same time, by limiting the length of the input vector, the training difficulty can be dynamically adjusted according to actual needs.
Brief Description of the Drawings
[0030] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present application, but do not constitute an improper limitation of the present invention. In the drawings:
[0031] Figure 1 This is a schematic diagram of the multi-role training method provided by the present invention. [Specific implementation method]
[0032] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments, wherein the illustrative embodiments and descriptions are only used to explain the present invention but are not intended to limit the present invention.
[0033] The present invention proposes a multi-role training method and system, as shown in the attached Figure 1 As shown, the method comprises the following steps:
[0034] Step S1: Analyze historical training data to construct simplified sample data; the simplified sample data includes input and output; the input includes the first, second, and third input vectors; the output is a training evaluation value; the step S1 specifically includes the following steps:
[0035] Step SA11: Acquire historical training data; specifically: acquire historical training data, the historical training data includes training records of multiple users; each training record includes user role, training track, training conditions and training evaluation; wherein: the training track includes one or more training segment numbers arranged in the training execution order; more flexibility can be provided by fragmenting training files or training materials; the training segments will form one or more training files or training plans after being combined in the training execution order;
[0036] Preferably, the training evaluation is a quantitative value, for example, an evaluation value between 0 and 100;
[0037] Preferably: the training file or training material is divided into one or more training segments, each training segment is renumbered and used as an independent individual, which will greatly improve the flexibility of training, but will obviously bring certain complexity; the numbering method is that the higher the similarity between two training segments, the closer the numbers between the two are, that is, the numbering of the training segments is based on the similarity between the training segments; such similarity evaluation can be based on multiple indicators such as semantics, category, training purpose, etc.; at the same time, after the division, the multi-role training system regularly obtains the training segment data and its number, and the training segment number is unique;
[0038] Preferably: the numbering method is scalable;
[0039] Preferably: the multi-role training system is arranged in a distributed server;
[0040] Step SA12: quantify the user role and set it as the first input vector; the first input vector is a multivariate vector, corresponding to multiple user roles respectively; the user role is a single-facet description information different from user attributes or user characteristics, but a description of comprehensive characteristics; for example, the role can be a fuzzy description such as a student, a doctor, a newcomer, a young person, a lazy person, etc.; of course, an optional setting method is to make each element in the first input vector correspond to a role, and when the role is true, the corresponding element value is set to 1, otherwise, the corresponding element value is set to 0; of course, the setting method of the role depends on the target user group of the training system itself;
[0041] Describing users through roles or even multiple roles is more rich and three-dimensional, but the disadvantage is that the role feature is not a quantitative feature and is difficult to compare directly, especially for multiple roles. When other constraints are superimposed, it is difficult to converge, and it is difficult to build a standardized training plan and lacks dynamic adaptability. The present invention describes training users through fuzzy multiple roles, introduces artificial intelligence models by simplifying training trajectories, combines artificial intelligence models with inherent training segment construction methods, and uses artificial intelligence methods to selectively screen and create training plans for users with different roles and training conditions, thereby greatly improving training efficiency and predictable training evaluation.
[0042] Step SA13: simplify the training trajectory, and construct a second input vector based on the simplified training trajectory; the simplified training trajectory is specifically as follows: (1) when the length of the training trajectory is greater than or equal to the length of the second input vector, cluster the training segment numbers in the training trajectory to obtain one or more training segment clusters, determine the cluster number, and process the training segment numbers of all training segments in the cluster based on the cluster number; arrange the processed training segment numbers in ascending order to form the second input vector; (2) when the length of the training trajectory is less than or equal to the length of the second input vector, arrange the training segment numbers in ascending order to form the second input vector; fill the insufficient length with 0 values;
[0043] Preferably: during the sorting process, the 0-valued elements are still in the original position, and the non-0-valued elements change their original positions due to the different sorting positions; for example: 1, 0, 4, 0, 3; after sorting, it becomes 1, 0, 3, 0, 4;
[0044] Compared with complex sample data, simplified training trajectories have more and continuous repeated data values, and even more and continuous zero-value elements; this will greatly reduce the complexity and amount of model training; and make the model converge quickly. Although it may reduce accuracy, by combining with traditional methods, the model does not need to have very high accuracy. What is more important is the speed of verticalization;
[0045] Preferably: the length of the second input vector is determined according to the input restriction of the training plan model, the length of the first input vector, and the length of the third input vector;
[0046] The determining of the cluster number specifically includes: selecting the training segment number with the highest frequency of use in the training segment clustering as the cluster number; alternatively, using the cluster center number as the cluster number;
[0047] The clustering of the training segment numbers in the training track is specifically as follows: clustering based on the number values based on the training segment numbers, and grouping the training segments with similar number values into one cluster; the number of clusters is less than or equal to the length of the second input vector; that is, this clustering is a one-dimensional clustering based on the value;
[0048] Preferably: adjusting the clustering parameters so that the number of clusters is less than or equal to the length of the second input vector;
[0049] Preferably: a numerical barrier is set during the clustering process so that the file numbers on both sides of the numerical barrier do not enter the same cluster;
[0050] The determining of the cluster number is specifically as follows: for each cluster, selecting the training segment number corresponding to the cluster center in the training segment cluster as the cluster number;
[0051] The processing of the training segment numbers of all the training segments in the cluster based on the cluster number is specifically: replacing the training segment numbers of all the training segments in the cluster with the cluster number to obtain the processed training segment numbers;
[0052] Alternatively: the processing of the training segment numbers of all the training segments in the cluster based on the cluster number is specifically: replacing the first number of training segment numbers of all the training segments in the cluster with the cluster number, and replacing the training segment numbers other than the first number with 0, so as to obtain the processed training segment numbers;
[0053] Preferably, the first number is a preset value, for example: 1;
[0054] Step SA14: quantize the training conditions and set them as a third input vector; each element in the third input vector corresponds to a training objective; the quantization method for the training conditions is similar to the training roles; each element in the third input vector obtained after quantization corresponds to a quantitative representation of a training objective, and of course the quantization here can be a variety of methods such as numerical quantization and enumeration quantization;
[0055] Step SA15: Use the training evaluation value as the output in the sample; of course, a single data value as the output value will also lead to faster optimization convergence;
[0056] Preferably, the training evaluation is a quantitative value, for example, an evaluation value between 0 and 100;
[0057] Step S2: training the training plan model using simplified sample data; specifically: training and validating the training plan model using simplified sample data until the validation target is met;
[0058] Preferably: the verification target is accuracy, correctness, etc.;
[0059] Preferably: the training plan model is an artificial intelligence model;
[0060] Preferably, the training plan model is a neural network model, such as a convolutional neural network model;
[0061] Preferably: the neural network model is a ResNet model, wherein a part of the ResNet model is used to extract the second input vector, and another part is processed based on the combination of the first, second and third input vectors;
[0062] Step S3: for a new training request, obtain a recommended training trajectory set based on the training plan model; send the training trajectory set to the user; wherein: the new training request includes a user role and a training condition; wherein: each user includes one or more roles; each training condition includes one or more training objectives; the training objectives include one or more of the training type, duration, training subject, etc.;
[0063] The step S3 specifically includes the following steps:
[0064] Step S31: obtaining the training trajectories to be selected; specifically: selecting N training trajectories to be selected that meet the training conditions in a specific order as the training trajectories to be selected;
[0065] Preferably: N is a preset value;
[0066] Preferably: the specific order is heat, duration, historical average training evaluation, etc.;
[0067] Step S32: Based on the user role in the current training request, each candidate training track and the training condition, construct the first, second and third input vectors; input them as input data into the training plan model to obtain the training evaluation value as output; wherein: each output training evaluation corresponds to a different candidate training track; the first, second and third input vectors are constructed in the same manner as step S2;
[0068] Step S33: Select the to-be-trained trajectory corresponding to the one with the highest training score as the target training trajectory, and put the target training trajectory into the training trajectory set;
[0069] Step S34: determine whether the mean or maximum value of the training evaluation value of the target training trajectory in the training trajectory set is less than or equal to the evaluation threshold. If so, determine whether there are unprocessed candidate training trajectories that meet the training conditions. If so, return to step S31; otherwise, proceed to the next step. Of course, the number of times N is taken can also be limited, for example; repeatedly process 3N groups of candidate evaluation trajectories, etc. The processing method is not limited here.
[0070] Preferably: the evaluation threshold is a preset value, for example: 80;
[0071] Step S35: sending the training trajectory set to the user; specifically: determining the one with the highest training evaluation in the training trajectory set, obtaining each training segment corresponding to the highest evaluation, arranging them according to the training execution order of the training segments in the training trajectory, and presenting them to the user; it can be seen that the training trajectory is orderly, and this order can be organized and sorted according to the training experience and the internal logic of the training segments, that is, the final training execution order;
[0072] The training segments, after being organized into a training execution sequence, form training files, training materials or training plans that need to be recommended to users; the training execution sequence is the order in which the training segments are arranged in the training trajectory;
[0073] Alternatively, the step S35 is specifically as follows: dividing the set of trajectories to be trained into a first part and a second part; wherein: all training segments corresponding to the trajectories to be trained in the first part are locally stored in the multi-role training system; and some training segments corresponding to the trajectories to be trained in the second part are not locally stored in the multi-role training system; determining the one with the highest training evaluation in the first part, obtaining each training segment corresponding to the training trajectory, arranging them into a first training plan according to the arrangement order of the training segments in the training trajectory, and presenting it to the user; determining the one with the highest training evaluation in the second part, when the training evaluation of the one with the highest training evaluation in the second part is greater than that of the one with the highest training evaluation in the first part When evaluating the training of the person with the highest training evaluation, a third-party server is requested to obtain the training segments that are not saved locally, and the first training plan is formed after the sequence is arranged; according to the progress of the first training plan, it is determined whether to replace the first training plan with the second training plan; wherein: the third-party server stores the authority control training segments; that is, when the execution of the first training plan is switchable, the first training plan is replaced with the second training plan; by presenting the training track set in parts, the training materials of the third-party server can be effectively utilized, and a training file or training plan that is more suitable for multi-role users can be selected from a wider range;
[0074] Preferably: the training plan is one or more training files organized and collated using training segments; the training file contains an address or is connected to the training segment; alternatively: the training file contains training segment data organized in the order of training tracks; optionally, the training file is sent to the user terminal to implement the training plan;
[0075] Based on the same inventive concept, the present invention also provides a multi-role training system; the multi-role training system is used to implement the multi-role training method; the system is deployed on a distributed server; the user terminal is used to send a training request to the distributed server; the distributed server is used to save the training clips, and construct one or more training files or training plans based on the training clips;
[0076] Preferably: the number of the distributed servers is one or more;
[0077] Preferably: the user terminal is a mobile terminal, a mobile phone, a notebook, etc.;
[0078] The present invention also provides a multi-role training platform; the multi-role training platform includes a distributed server, a user terminal and a third-party server; wherein: the distributed server is used to implement the multi-role training method; the user terminal is used to send a training request to the distributed server; the distributed server is used to save training segments, and build one or more training files or training plans based on the training segments; the third-party server is used to save training segments; the distributed server requests the third-party server to obtain the training segment part that is not locally saved by the distributed server;
[0079] Preferably: there are one or more third-party servers;
[0080] Preferably: access to third-party servers requires authentication;
[0081] A computer program (also referred to as a program, software, software application, script, or code) can be written in any form of a programming language, including an assembled or interpreted language, a declarative or procedural language, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, object, or other unit suitable for use in a computing environment. A computer program may, but need not, correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program, or in multiple collaborative files (e.g., files storing one or more modules, subroutines, or code portions). A computer program can be deployed to execute on one computer or on multiple computers located at one site or distributed across multiple sites and interconnected by a communication network.
[0082] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0083] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0084] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0085] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0086] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A multi-role training method, characterized in that: The method comprises: Step S1: Analyze historical training data to construct simplified sample data; the simplified sample data includes input and output; the input includes the first, second, and third input vectors; the output is a training evaluation value; The step S1 specifically includes the following steps: Step SA11: Acquire historical training data; specifically: acquire historical training data, the historical training data includes training records of multiple users; each training record includes user role, training track, training conditions and training evaluation; wherein: the training track includes one or more training segment numbers arranged in the order of training execution; the training file or training material is divided into one or more training segments, each training segment is numbered and used as an independent individual; Step SA12: quantify the user role and set it as a first input vector; the first input vector is a multivariate vector corresponding to multiple user roles; Step SA13: simplify the training trajectory, and construct a second input vector based on the simplified training trajectory; the simplified training trajectory is specifically as follows: (1) when the length of the training trajectory is greater than or equal to the length of the second input vector, cluster the training segment numbers in the training trajectory to obtain one or more training segment clusters, determine the cluster number, and process the training segment numbers of all training segments in the cluster based on the cluster number; arrange the processed training segment numbers in ascending order to form the second input vector; (2) when the length of the training trajectory is less than or equal to the length of the second input vector, arrange the training segment numbers in ascending order to form the second input vector; fill the insufficient length with 0 values; The processing of the training segment numbers of all the training segments in the cluster based on the cluster number is specifically: replacing the training segment numbers of all the training segments in the cluster with the cluster number to obtain the processed training segment numbers; Step SA14: quantizing the training conditions and setting them as a third input vector; each element in the third input vector corresponds to a training objective in the training conditions; Step SA15: using the training evaluation value as the output part of the simplified sample data; Step S2: training the training plan model using simplified sample data; specifically: training and validating the training plan model using simplified sample data until the validation target is met; Step S3: For a new training request, select from the training trajectories that meet its training conditions based on the training plan model to obtain a recommended training trajectory; for each training segment corresponding to the recommended training trajectory, arrange them according to the training execution order of the training segments in the training trajectory and present them to the user.
2. The multi-role training method according to claim 1, characterized in that: The training evaluation is a quantitative value.
3. The multi-role training method according to claim 2, characterized in that: The length of the second input vector is a preset value.
4. The multi-role training method according to claim 3, characterized in that: The determining of the cluster number specifically includes: selecting the training segment number with the highest frequency of use in the training segment clustering as the cluster number.
5. The multi-role training method according to claim 4, characterized in that: The training plan model is an artificial intelligence model.
6. A multi-role training system, characterized in that: include: The system is used to implement the multi-role training method described in any one of claims 1 to 5; The system is deployed on distributed servers.
7. The multi-role training system according to claim 6, characterized in that: The number of the distributed servers is one or more.
8. A multi-role training platform, characterized in that: The invention comprises a processor, wherein the processor is coupled to a memory, wherein the memory stores program instructions, and when the program instructions stored in the memory are executed by the processor, the multi-role training method according to any one of claims 1 to 5 is implemented.
9. A computer-readable storage medium, characterized in that: The invention comprises a program which, when being run on a computer, enables the computer to execute the multi-role training method according to any one of claims 1 to 5.
10. A distributed server, characterized in that: The distributed server is configured to execute the multi-role training method according to any one of claims 1-5.
