Skill training method, computer equipment and storage medium
By introducing technologies such as file upload, test question import and question bank generation in the skills training system, the problem of low efficiency of the existing skills training system is solved and more efficient employee training and management efficiency is achieved.
Patent Information
- Application Number
- CN202411530683.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-02-25
AI Technical Summary
The existing skills training system is inefficient in employee training, evaluation, assessment and examination questions, and it is difficult to meet the phased needs of the human resources management department. Online training is limited by network speed, equipment and communication effects.
Through file upload, test questions import and question bank generation, OCR, PHPWORD, PHPEXCEL, baselist, jstree and smarty technologies, the functions of batch import of test questions, classification management and random generation of test papers are realized.
It improves the efficiency and management efficiency of employee training, accelerates the growth of corporate talents, and solves the problems of low efficiency of traditional training and poor online training.
Smart Images

Figure CN119515620A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer software systems, and in particular to a skill training method, computer equipment and storage medium. Background Art
[0002] With the advent of the digital age, network skills training has become an important part of corporate culture and corporate training in the context of modern education, and an important way for companies to improve their management level and promote their continuous development.
[0003] By using the skill training system, a comprehensive professional knowledge base can be established for all employees, a platform for mutual communication and learning can be built, the efficiency of employee training can be improved, and the continuous growth of employees can be promoted to improve work efficiency and serve the enterprise.
[0004] Employee training, assessment, evaluation and examination questions take a long time and are inefficient, often failing to meet the periodic needs of the human resources management department. Traditional offline training requires the allocation of the time and work arrangements of the trainees, which consumes a certain amount of manpower and material resources and its specific effect cannot be guaranteed. Online training in the form of live broadcasts such as Tencent Conference relies on uncontrollable factors such as network speed, participating equipment, and radio effects, and when encountering issues that require communication and discussion, the effect is poor. Summary of the invention
[0005] The purpose of the present invention is to provide a skills training method to address the deficiencies of the prior art, which can effectively improve employee training efficiency and enhance training management effectiveness.
[0006] A skill training method includes the following steps, specifically:
[0007] Step S1, file upload: The uploaded entry file is converted into text through OCR or PHPWORD technology, and the converted text can be consulted and searched for text content;
[0008] Step S2, importing test questions and generating a question bank: PHPEXCEL reads the cell information of the test question template to implement batch import of test questions, uses baselist to generate front-end visual charts, and uses jstree to classify and manage the front-end charts;
[0009] Step S3, extract test questions from the question bank to generate a test paper: calculate the total score of each type of question and the total score of the paper according to the score of each question in the test paper, and calculate the number of test questions that should be extracted from the database for each major through the set professional proportion information, and use smarty to cyclically generate test questions to compose the test paper based on the test paper information on the front-end page.
[0010] Wherein, the step S1 is specifically as follows:
[0011] Step S1-1, click Upload File and enter the number related information;
[0012] Step S1-2, after uploading the file, the system modifies the temporary file to the specified name and moves the modified file to the specified directory;
[0013] Step S1-3, the system determines the file type;
[0014] Step S1-4, convert the Word file into text using PHPword;
[0015] Step S1-5, split the PDF file into images using xpdf, and convert the split images into text using OCR;
[0016] Step S1-6, identifying number information through regular expressions;
[0017] Step S1-7: storing the recognized text content and number information in a database.
[0018] Wherein, the step S2 specifically includes a batch importing test questions step, a manual importing test questions step, and a question bank chart generating step;
[0019] The steps to import test questions in batches include:
[0020] Step S2-1-1, upload the set test question template form;
[0021] Step S2-1-2, use PHPexcel to read the information in the table according to the set method and store it in the database;
[0022] The steps to manually import test questions include:
[0023] Step S2-2-1, fill in the form information related to the test questions on the front end;
[0024] Step S2-2-2, storing the relevant information in a database;
[0025] The steps to generate the question bank chart include:
[0026] Step S2-3-1, using baselist to generate a front-end icon from the stored information;
[0027] Step S2-3-2: Use jstree to classify and manage the generated charts.
[0028] Wherein, the step S3 is specifically as follows:
[0029] Step S3-1, fill in the form information such as the number of questions and percentage of majors in the test paper at the front end;
[0030] Step S3-2, calculating and controlling the number of relevant professional test questions to be extracted from the question bank according to the professional proportion information;
[0031] Step S3-3, calculating the total score of each question type and the total score of the test paper;
[0032] Step S3-4, randomly obtain the test question ID according to the processed setting information;
[0033] Step S3-5, storing the processed test information in a database;
[0034] Step S3-6, send the data to the front end and use smarty loop to generate test questions to form the test paper.
[0035] The present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned skill training method when executing the computer program.
[0036] The present invention also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned skill training method are implemented.
[0037] Compared with the prior art, the beneficial effects of the present invention are: the skill training method of the present invention can effectively improve employee training efficiency and accelerate the growth of corporate talents, and can also effectively improve management efficiency; for computer equipment and storage media that implement the above-mentioned skill training method through computer programs, they also have corresponding technical effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The present invention is further described below with the aid of the accompanying drawings. However, the embodiments in the accompanying drawings do not constitute any limitation to the present invention.
[0039] Figure 1 It is a flow chart of the present invention.
[0040] Figure 2 Flowchart for file upload.
[0041] Figure 3 Flowchart for test question import and question bank generation.
[0042] Figure 4 Generate a flow chart for the test paper. DETAILED DESCRIPTION
[0043] The present invention is described below in conjunction with specific implementation methods.
[0044] Embodiment 1, a skill training method, such as Figure 1 As shown, it includes the following steps, specifically:
[0045] Step S1, file upload: The uploaded entry file is converted into text through OCR or PHPWORD technology, and the converted text can be consulted and searched for text content; the number and other related information are identified from the converted text through regular expressions to reduce the workload of manually entering relevant number information when uploading files;
[0046] Step S2, importing test questions and generating a question bank: PHPEXCEL reads the cell information of the test question template to implement batch import of test questions, uses baselist to generate front-end visual charts, and uses jstree to classify and manage the front-end charts;
[0047] Step S3, extract test questions from the question bank to generate a test paper: calculate the total score of each type of question and the total score of the paper according to the score of each question in the test paper, and calculate the number of test questions that should be extracted from the database for each major through the set professional proportion information, and use smarty to cyclically generate test questions to compose the test paper based on the test paper information on the front-end page.
[0048] Specifically, Figure 2 As shown, the step S1 is specifically as follows:
[0049] Step S1-1, click Upload File and enter the number related information;
[0050] Step S1-2, after uploading the file, the system modifies the temporary file to the specified name and moves the modified file to the specified directory;
[0051] Step S1-3, the system determines the file type;
[0052] Step S1-4, convert the Word file into text using PHPword;
[0053] Step S1-5, split the PDF file into images using xpdf, and convert the split images into text using OCR;
[0054] Step S1-6, identifying number information through regular expressions;
[0055] Step S1-7: storing the recognized text content and number information in a database.
[0056] Also, if Figure 3 As shown, the step S2 specifically includes a batch importing test questions step, a manual importing test questions step, and a question bank chart generating step;
[0057] The steps to import test questions in batches include:
[0058] Step S2-1-1, upload the set test question template form;
[0059] Step S2-1-2, use PHPexcel to read the information in the table according to the set method and store it in the database;
[0060] The steps to manually import test questions include:
[0061] Step S2-2-1, fill in the form information related to the test questions on the front end;
[0062] Step S2-2-2, storing the relevant information in a database;
[0063] The steps to generate the question bank chart include:
[0064] Step S2-3-1, using baselist to generate a front-end icon from the stored information;
[0065] Step S2-3-2: Use jstree to classify and manage the generated charts.
[0066] More specifically, Figure 4 As shown, the step S3 is specifically as follows:
[0067] Step S3-1, fill in the form information such as the number of questions and percentage of majors in the test paper at the front end;
[0068] Step S3-2, calculating and controlling the number of relevant professional test questions to be extracted from the question bank according to the professional proportion information;
[0069] Step S3-3, calculating the total score of each question type and the total score of the test paper;
[0070] Step S3-4, randomly obtain the test question ID according to the processed setting information;
[0071] Step S3-5, storing the processed test information in a database;
[0072] Step S3-6, send the data to the front end and use smarty loop to generate test questions to form the test paper.
[0073] The skill training method of the first embodiment can effectively improve employee training efficiency and accelerate the growth of corporate talents, and can also effectively improve management efficiency.
[0074] Embodiment 2, a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the skill training method described above when executing the computer program. The computer device may be a mobile phone, a tablet, a mobile computer, etc.
[0075] It should be pointed out that, since the computer device includes the aforementioned skill training method, the computer device also has the beneficial effects of the aforementioned skill training method, which will not be elaborated here.
[0076] Embodiment 3, a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the skill training method described above are implemented.
[0077] It should be pointed out that, since the storage medium contains the aforementioned skill training method, the storage medium also has the beneficial effects of the aforementioned skill training method, which will not be elaborated here.
[0078] The above contents are only preferred embodiments of the present invention. For ordinary technicians in this field, according to the concept of the present invention, there will be changes in the specific implementation methods and application scopes. The content of this specification should not be understood as limiting the present invention.
Claims
1. A skill training method, characterized in that: The following steps are included, specifically: Step S1, file upload: The uploaded entry file is converted into text through OCR or PHPWORD technology, and the converted text can be consulted and searched for text content; Step S2, importing test questions and generating a question bank: PHPEXCEL reads the cell information of the test question template to implement batch import of test questions, uses baselist to generate front-end visual charts, and uses jstree to classify and manage the front-end charts; Step S3, extract test questions from the question bank to generate a test paper: calculate the total score of each type of question and the total score of the paper according to the score of each question in the test paper, and calculate the number of test questions that should be extracted from the database for each major through the set professional proportion information, and use smarty to cyclically generate test questions to compose the test paper based on the test paper information on the front-end page.
2. A skill training method according to claim 1, characterized in that: The step S1 is specifically as follows: Step S1-1, click Upload File and enter the number related information; Step S1-2, after uploading the file, the system modifies the temporary file to the specified name and moves the modified file to the specified directory; Step S1-3, the system determines the file type; Step S1-4, convert the Word file into text using PHPword; Step S1-5, split the PDF file into images using xpdf, and convert the split images into text using OCR; Step S1-6, identifying number information through regular expressions; Step S1-7: storing the recognized text content and serial number information in a database.
3. A skill training method according to claim 1, characterized in that: The step S2 specifically includes a batch importing test questions step, a manual importing test questions step, and a question bank chart generating step; The steps to import test questions in batches include: Step S2-1-1, upload the set test question template form; Step S2-1-2, use PHPexcel to read the information in the table according to the set method and store it in the database; The steps to manually import test questions include: Step S2-2-1, fill in the form information related to the test questions on the front end; Step S2-2-2, storing the relevant information in a database; The steps to generate the question bank chart include: Step S2-3-1, using baselist to generate a front-end icon from the stored information; Step S2-3-2: Use jstree to classify and manage the generated charts.
4. A skill training method according to claim 1, characterized in that: The step S3 is specifically as follows: Step S3-1, fill in the form information such as the number of questions and percentage of majors in the test paper at the front end; Step S3-2, calculating and controlling the number of relevant professional test questions to be extracted from the question bank according to the professional proportion information; Step S3-3, calculating the total score of each question type and the total score of the test paper; Step S3-4, randomly obtain the test question ID according to the processed setting information; Step S3-5, storing the processed test information in a database; Step S3-6, send the data to the front end and use smarty loop to generate test questions to form the test paper.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the skill training method described in any one of claims 1 to 4 are implemented.
6. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the skill training method described in any one of claims 1 to 4 are implemented.