Test paper generation method and system

By establishing and classifying the test question bank and automatically generating test papers based on user filtering conditions, the problem of low test paper generation efficiency and test question leakage in traditional education is solved, efficient and automated test paper generation is achieved, and teaching efficiency and test paper quality are improved.

CN117634450BActive Publication Date: 2024-08-23HEBEI JINJUAN EDUCATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311646900.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-04
Publication Date
2024-08-23
Estimated Expiration
2043-12-04

AI Technical Summary

Technical Problem

The generation of test papers in the traditional education field requires a lot of manual time and energy, which is inefficient and difficult to make full use of the massive test question bank resources, which can easily lead to duplication of test questions and leakage of test questions.

Method used

By establishing a test question bank, classifying and difficulty-dividing test questions, and automatically generating test papers based on the filtering conditions of target users, and using computer programs to automatically fill in test paper templates and generate target test papers, it reduces manual retrieval and compilation time, improves the efficiency of test paper generation, and ensures the quality of test papers.

Benefits of technology

It realizes the automation of test paper generation, improves teaching efficiency and test paper quality, makes full use of test question bank resources, avoids test question leakage, and reduces manual workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117634450B
    Figure CN117634450B
Patent Text Reader

Abstract

The present disclosure provides a test paper generation method and system, which belongs to the field of data processing technology. The method includes: establishing a test question bank, classifying the test questions in the test question bank, and obtaining multiple sub-test question banks. The test questions in each sub-test question bank are divided according to the difficulty, and multiple test question lists corresponding to different difficulties are obtained. The test question bank is searched based on the first screening condition of the target user, and the sub-test question bank corresponding to the first screening condition is determined. The test question list is searched based on the second screening condition of the target user, and multiple test questions corresponding to the second screening condition are obtained. Multiple test questions are distributed and filled according to the test paper template generated in advance to generate a target test paper. The test paper generation method and system provided by the present disclosure can reduce the time of manual retrieval and preparation of test papers, improve teaching efficiency, and update the test paper questions in time to avoid the leakage of test questions, so as to ensure that the generated test paper has high quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of data processing technology, and more specifically, to a test paper generation method and system. Background Art

[0002] In the traditional education field, test papers are manually set and compiled, which consumes a lot of time and energy, is inefficient, and it is difficult to make full use of the massive test question bank resources. At present, many colleges and universities use a set of test papers randomly drawn from the existing test paper bank for final examinations. Although this method of making test papers has certain conveniences, it still has many disadvantages and is prone to problems such as repeated test questions and test question leakage. With the continuous development of computer technology, its application in the field of smart education has gradually exerted more and more advantages. How to use computer technology to automatically generate test papers, reduce manual workload, improve teaching efficiency, and ensure that the generated test papers have high quality has become a hot topic in the field of smart education research. Summary of the invention

[0003] The purpose of the present invention is to provide a test paper generation method and system to improve teaching efficiency and teaching quality.

[0004] A first aspect of the embodiments of the present disclosure provides a test paper generation method, comprising:

[0005] Establish a question bank, classify the questions in the question bank to obtain multiple sub-question banks, and classify the questions in each sub-question bank according to difficulty to obtain multiple question lists corresponding to different difficulty levels.

[0006] The question bank is searched based on the first screening condition of the target user to determine the sub-question bank corresponding to the first screening condition. The question list is searched based on the second screening condition of the target user to obtain multiple questions corresponding to the second screening condition.

[0007] The test paper template generated in advance is filled based on the multiple test questions to generate a target test paper.

[0008] A second aspect of the embodiments of the present disclosure provides a test paper generation system, including:

[0009] The data input module is used to establish a question bank, classify the questions in the question bank to obtain multiple sub-question banks, and classify the questions in each sub-question bank according to the difficulty to obtain multiple question lists corresponding to different difficulties.

[0010] The question retrieval module is used to search the question bank based on the first screening condition of the target user to determine the sub-question bank corresponding to the first screening condition. The question list is searched based on the second screening condition of the target user to obtain multiple questions corresponding to the second screening condition.

[0011] The test paper generating module is used to fill in the test paper template generated in advance based on the multiple test questions to generate a target test paper.

[0012] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising 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 test paper generation method when executing the computer program.

[0013] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned test paper generating method are implemented.

[0014] The beneficial effects of the test paper generation method and system provided by the embodiments of the present disclosure are:

[0015] The test paper generation method provided by the present disclosure can divide the test questions in the test question bank according to the test question subjects and test question types to obtain multiple sub-test question banks; further divide the sub-test question bank according to the test question difficulty to obtain multiple test question lists. The target user can filter out the corresponding sub-test question bank according to the first screening condition, and then filter out the corresponding test question list according to the second screening condition, retrieve multiple test questions that meet the target user's screening condition from the corresponding test question list, and automatically fill them into the test paper template generated in advance, so as to generate the target test paper. The test paper generation method can retrieve the corresponding test questions according to the actual requirements of the target user and automatically generate the target test paper, reduce the time of manual retrieval and preparation of test papers, and improve the efficiency of test paper formation; it can also make full use of the massive resources of the test question bank, update the test paper questions in time, avoid the leakage of test questions, and ensure that the generated test paper has high quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, 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 disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0017] Figure 1 A flowchart of a test paper generation method provided by an embodiment of the present disclosure;

[0018] Figure 2 A structural block diagram of a test paper generation system provided by an embodiment of the present disclosure;

[0019] Figure 3 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.

[0021] In order to make the purpose, technical solutions and advantages of the present disclosure more clear, specific embodiments will be described below in conjunction with the accompanying drawings.

[0022] Please refer to Figure 1 , Figure 1 A flow chart of a test paper generation method provided in an embodiment of the present disclosure, the method comprising:

[0023] S101: Establish a question bank, classify the questions in the question bank to obtain multiple sub-question banks, and classify the questions in each sub-question bank according to the difficulty to obtain multiple question lists corresponding to different difficulties.

[0024] In this embodiment, a question bank is established, and the questions in the question bank are classified to obtain multiple sub-question banks. The questions in each sub-question bank are classified according to difficulty to obtain multiple question lists corresponding to different difficulties, which can be described in detail as follows:

[0025] By collecting a large amount of test question data, a test question bank is established. The test question bank contains test question data of various subjects and types. The test questions in the test question bank are classified according to different test question subjects and test question types. The classified test questions are respectively placed in sub-test question banks to obtain multiple sub-test question banks containing different test question types and test question subjects. Each sub-test question bank can be named separately. The test questions in each sub-test question bank are divided according to the test question difficulty to obtain multiple test question lists corresponding to different difficulty levels.

[0026] This embodiment provides a reference example. For example, according to the question type, the questions can be divided into: multiple-choice questions, fill-in-the-blank questions and subjective questions. According to the subject of the question, the questions can be divided into: Chinese, mathematics, English and other subjects. By classifying the questions in the question bank, multiple sub-question banks can be obtained. Each sub-question bank can be named: Chinese multiple-choice question bank, Chinese fill-in-the-blank question bank, Chinese subjective question bank, mathematics multiple-choice question bank, mathematics fill-in-the-blank question bank, mathematics subjective question bank, English multiple-choice question bank and English fill-in-the-blank question bank, etc. According to the questions in each sub-question bank, according to different levels of question difficulty, multiple question lists are obtained. For example, the "Chinese multiple-choice question bank" can include three question lists, namely: a simple list, a medium list and a difficult list. Other sub-question banks can be deduced by analogy, and multiple question lists are divided for each sub-question bank.

[0027] S102: Search the question bank based on the first screening condition of the target user to determine the sub-question bank corresponding to the first screening condition. Search the question list based on the second screening condition of the target user to obtain multiple questions corresponding to the second screening condition.

[0028] In this embodiment, the question bank is searched based on the first screening condition of the target user to determine the sub-question bank corresponding to the first screening condition. The question list is searched based on the second screening condition of the target user to obtain multiple questions corresponding to the second screening condition, which can be described in detail as follows:

[0029] The target user is the user who needs to generate the target test paper. The target user can filter out matching test questions in the test question bank through two-level screening. The first screening condition and the second screening condition can be determined by selecting multiple keywords. The target user can determine the corresponding sub-test question bank based on the first screening condition; and then based on the second screening condition, multiple test question lists in the sub-test question bank can be retrieved to obtain multiple test questions corresponding to the second screening condition.

[0030] This embodiment provides a reference example. For example, the first screening condition of the target user is set as mathematics and selection. Based on this condition, the test question bank is searched, and its corresponding sub-test question bank can be determined to be "math multiple-choice question bank". The second screening condition of the target user is set as medium and 10. Based on this condition, the math multiple-choice question bank is searched, and the test question list that meets the target user is the "medium list" corresponding to the "math multiple-choice question bank". The list is searched to obtain 10 test questions corresponding to the second screening condition.

[0031] S103: Filling in the test paper template generated in advance based on multiple test questions to generate a target test paper.

[0032] In this embodiment, the test paper template generated in advance is filled based on multiple test questions to generate a target test paper, which can be described in detail as follows:

[0033] A test paper template is generated in advance, and multiple test questions that have passed two-level screening are filled into the test paper template to generate a target test paper, which is the test paper to be generated.

[0034] It can be concluded from the above that the test paper generation method provided in this embodiment can establish a test question bank, and divide the test question bank into multiple sub-test question banks according to the test question type and test question subject, and divide each sub-test question bank into multiple test question lists according to the test question difficulty. The target user undergoes two-level screening, retrieves the sub-test question bank and the test question list, obtains multiple test questions corresponding to the screening conditions, and fills the test paper template generated in advance with the multiple test questions to obtain the final generated target test paper. This method enables the target user to quickly and easily obtain the corresponding test questions, and automatically generates a target test paper with a standardized template and clear format, thereby improving teaching efficiency. At the same time, it can also update the test paper questions in a timely manner to ensure that the generated test paper has a high quality.

[0035] In one embodiment of the present disclosure, the test paper generation method further includes:

[0036] A scanned image of a sample test paper is obtained, and the scanned image is segmented according to the test paper content to obtain multiple test paper regions.

[0037] According to the text attributes of different test paper areas, the test paper area is divided to obtain multiple filling areas.

[0038] Generate test paper template based on multiple filling areas.

[0039] In this embodiment, a scanned image of a sample test paper is acquired, and the scanned image is segmented according to the test paper content to obtain a plurality of test paper regions.

[0040] According to the text attributes of different test paper areas, the test paper area is divided to obtain multiple filling areas.

[0041] Based on multiple filling areas, the test paper template is generated, which can be detailed as follows:

[0042] Select a test paper that is the same as the target test paper template as a sample test paper, scan the sample test paper, obtain the scanned image of the sample test paper, mark the different areas corresponding to different test paper contents in the image, and segment the scanned image into images containing multiple different test paper areas. By extracting different text attributes of each test paper area, the test paper area is divided into multiple blank areas that need to be filled. The blank areas are the filling areas of the test paper template to be generated. Typeset multiple filling areas to generate a test paper template.

[0043] This embodiment provides a reference example, such as obtaining a scanned image of a sample test paper and performing image segmentation on it. The specific segmentation method is: determine the title part of the sample test paper as the first test paper area; the second test paper area is below the first test paper area, which is usually a multiple-choice question area or a fill-in-the-blank question area; divide the area containing the dotted line and the area within the dotted line into the third test paper area; the bottom center position of each page of the test paper is determined as the fourth test paper area; the rest is determined as the fifth test paper area, which is usually a subjective question area, and may also be other types of test question areas. According to the different text attributes of the aforementioned test paper areas, they are divided into multiple blank areas that need to be filled, and a test paper template is generated by typesetting the multiple blank areas.

[0044] In one embodiment of the present disclosure, the test paper area is divided according to the text attributes of different test paper areas, and the multiple filling areas include:

[0045] Based on the text size, format and position in the test paper area, the test paper area is divided to obtain multiple filling areas.

[0046] In this embodiment, based on the text size, format and position in the test paper area, the test paper area is divided to obtain multiple filling areas, which can be described in detail as follows:

[0047] In this embodiment, multiple test paper areas of the sample test paper are divided into multiple filling areas, and the filling areas can be customized to generate a test paper template that can be customized. This embodiment provides a test paper template including: page number area, header area, binding area, subjective question area, subjective question answer area, multiple choice area, fill-in-the-blank area and other test paper areas. When dividing the test paper area based on the different text attributes of each test paper area, the text size, format and position in the test paper area can be used as features to divide the test paper area into multiple filling areas.

[0048] This embodiment provides a reference example, for example, the header area and the question area in the test paper can be divided according to the font size of the text and whether it is bold; the page number area in the test paper can be divided according to the center position of the text; and the binding line area in the test paper can be divided according to the presence of dotted lines in the test paper area.

[0049] In one embodiment of the present disclosure, the test paper generation method further includes:

[0050] In response to the existence of similar test papers to the sample test paper, the sample templates corresponding to the similar test papers are adjusted to obtain the sample templates corresponding to the sample test paper.

[0051] In this embodiment, in response to the existence of similar test papers in the sample test paper, the sample template corresponding to the similar test paper is adjusted to obtain the sample template corresponding to the sample test paper, which can be described in detail as follows:

[0052] If there is a slight difference between a similar test paper and a sample test paper during the test paper generation process, where the similar test paper is a sample test paper for which a sample template has been generated. If there is a similar test paper in the sample test paper, the test paper template corresponding to the similar test paper is defined as the sample template, and the sample template is adjusted according to the layout of the similar sample test paper. The adjusted sample template is the test paper template corresponding to the sample test paper.

[0053] This embodiment provides a reference example, for example, setting the first question area of ​​the sample test paper as multiple-choice questions and the second question area as fill-in-the-blank questions. If there is a similar test paper in the sample test paper, whose first question area is fill-in-the-blank questions and the second question area is multiple-choice questions, the sample template corresponding to the similar test paper is adjusted, and the first fill-in area of ​​the adjusted sample template is fill-in-the-blank multiple-choice questions and the second fill-in area is fill-in-the-blank multiple-choice questions. This template is the sample template corresponding to the sample test paper.

[0054] In one embodiment of the present disclosure, the test paper generation method further includes:

[0055] For each sample template, the sample template is adjusted based on a preset template adjustment method to obtain multiple sample templates.

[0056] In this embodiment, for each sample template, the sample template is adjusted based on a preset template adjustment method, and multiple sample templates are obtained, which can be described in detail as follows:

[0057] A template adjustment method is preset in advance, which stipulates that in a template sample, the content of its fill area remains unchanged, but the positions of different fill areas may change. For each sample template, it can be adjusted based on the preset template adjustment method to obtain multiple sample templates. This embodiment provides a reference example, such as setting the first fill area of ​​the first sample template to be a subjective question area, and the second fill area to be a multiple-choice question area. After adjusting it based on the preset template adjustment method, the first fill area of ​​the second sample template is obtained as a multiple-choice question area, and the second fill area is obtained as a subjective question area.

[0058] In one embodiment of the present disclosure, the test paper generation method further includes:

[0059] Set template properties for the test paper template, including the difficulty of the test questions.

[0060] Based on the template attributes, the question difficulty distribution of the test paper template is determined.

[0061] In this embodiment, template attributes are set for the test paper template. The template attributes include the difficulty of the test questions. Based on the template attributes, the test question difficulty distribution of the test paper template is determined, which can be described in detail as follows:

[0062] Set template attributes for the generated test paper template, including test question difficulty. The purpose of setting the template attributes is to specify the test question difficulty distribution of the test paper template, thereby determining the test question difficulty of the target test paper, ensuring that test questions of different difficulty levels can be evenly distributed in one test paper, and improving the adaptability of the target test paper to the target user.

[0063] In one embodiment of the present disclosure, the first screening condition includes:

[0064] Test subjects and test question types.

[0065] The second screening criteria include: test difficulty and number of questions.

[0066] In this embodiment, the first screening condition includes: test subject and test type. The selection lists corresponding to the test subject and test type respectively include multiple keywords, which can be selected by the target user, and the target user can determine the first screening condition by selecting multiple keywords. For example, the first screening condition test subject selection list includes multiple keywords, such as Chinese, mathematics, English, physics and chemistry, etc.; the test type selection list includes multiple keywords, such as multiple-choice questions, fill-in-the-blank questions and subjective questions, etc.

[0067] The second screening condition includes: test difficulty and the number of test questions. The selection lists corresponding to the test difficulty and the number of test questions include multiple keywords, which can be selected by the target user. The target user can determine the second screening condition by selecting multiple keywords. For example, the second screening condition test difficulty selection list includes multiple keywords, such as simple, medium, difficult, etc.; the test number selection list includes multiple keywords, such as 5, 10, 20, etc.

[0068] This embodiment provides a reference example. For example, the first screening condition of the target user is set as mathematics, selection, and filling in the blanks. Based on this condition, the test question bank is searched, and its corresponding sub-test question bank can be determined as "mathematics multiple-choice question bank" and "mathematics fill-in-the-blank question bank". The second screening condition of the target user is set as medium, 10, difficult, and 5. Based on this condition, the math multiple-choice question bank is searched, and it can be determined that the test question list that meets the target user is the "medium list" and "difficult list" corresponding to the "mathematics multiple-choice question bank" and "mathematics fill-in-the-blank question bank" respectively, wherein 10 test questions are retrieved from the "medium list" and 5 test questions are retrieved from the "difficult list". The multiple test questions obtained after the retrieval are filled into the test paper template generated in advance to obtain the final generated target test paper.

[0069] Corresponding to the test paper generation method of the above embodiment, Figure 2 This is a structural block diagram of a test paper generation system provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 2 The test paper generating system 20 includes: a data input module 21, a test question retrieval module 22 and a test paper generating module 23.

[0070] The data input module 21 is used to establish a question bank, classify the questions in the question bank, and obtain multiple sub-question banks. The questions in each sub-question bank are classified according to the difficulty, and multiple question lists corresponding to different difficulties are obtained.

[0071] The question retrieval module 22 is used to search the question bank based on the first screening condition of the target user to determine the sub-question bank corresponding to the first screening condition and to search the question list based on the second screening condition of the target user to obtain multiple questions corresponding to the second screening condition.

[0072] The test paper generating module 23 is used to fill in the test paper template generated in advance based on a plurality of test questions to generate a target test paper.

[0073] In one embodiment of the present disclosure, the test paper generating module 23 is further used for:

[0074] A scanned image of a sample test paper is obtained, and the scanned image is segmented according to the test paper content to obtain multiple test paper regions.

[0075] According to the text attributes of different test paper areas, the test paper area is divided to obtain multiple filling areas.

[0076] Generate test paper template based on multiple filling areas.

[0077] In one embodiment of the present disclosure, the test paper generating module 23 is further used for:

[0078] Based on the text size, format and position in the test paper area, the test paper area is divided to obtain multiple filling areas.

[0079] In one embodiment of the present disclosure, the test paper generating module 23 is further used for:

[0080] In response to the existence of similar test papers to the sample test paper, the sample templates corresponding to the similar test papers are adjusted to obtain the sample templates corresponding to the sample test paper.

[0081] In one embodiment of the present disclosure, the test paper generating module 23 is further used for:

[0082] For each sample template, the sample template is adjusted based on a preset template adjustment method to obtain multiple sample templates.

[0083] In one embodiment of the present disclosure, the test paper generating module 23 is further used for:

[0084] Set template properties for the test paper template. Template properties include the difficulty of the test questions.

[0085] Based on the template attributes, the question difficulty distribution of the test paper template is determined.

[0086] In one embodiment of the present disclosure, the first screening condition includes:

[0087] Test subjects and test question types.

[0088] The second screening criteria include: test difficulty and number of questions.

[0089] See also Figure 3 , Figure 3 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure. Figure 3 The electronic device 300 in the embodiment shown may include: one or more processors 301, one or more input devices 302, one or more output devices 303 and one or more memories 304. The processors 301, input devices 302, output devices 303 and memories 304 communicate with each other via a communication bus 305. The memory 304 is used to store computer programs, which include program instructions. The processor 301 is used to execute the program instructions stored in the memory 304. The processor 301 is configured to call the program instructions to perform the following operations to perform the functions of the modules in the above-mentioned system embodiments, such as Figure 2 The functions of modules 21 to 23 are shown.

[0090] It should be understood that in the embodiment of the present disclosure, the processor 301 may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0091] The input device 302 may include a touch panel, a fingerprint sensor (for collecting fingerprint information of the user and fingerprint direction information), a microphone, etc. The output device 303 may include a display (LCD, etc.), a speaker, etc.

[0092] The memory 304 may include a read-only memory and a random access memory, and provide instructions and data to the processor 301. A portion of the memory 304 may also include a non-volatile random access memory. For example, the memory 304 may also store information about the device type.

[0093] In a specific implementation, the processor 301, input device 302, and output device 303 described in the embodiments of the present disclosure can execute the implementation methods described in the first and second embodiments of the test paper generation method provided in the embodiments of the present disclosure, and can also execute the implementation methods of the electronic device described in the embodiments of the present disclosure, which will not be repeated here.

[0094] In another embodiment of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, wherein the program instructions are executed by a processor to implement all or part of the processes in the above-mentioned embodiment method, and may also be completed by instructing the relevant hardware through the computer program, wherein the computer program may be stored in a computer-readable storage medium, and wherein the computer program may be executed by the processor to implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the contents contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signal and telecommunication signal.

[0095] The computer-readable storage medium may be an internal storage unit of the electronic device of any of the aforementioned embodiments, such as a hard disk or memory of the electronic device. The computer-readable storage medium may also be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of the electronic device and an external storage device. The computer-readable storage medium is used to store computer programs and other programs and data required by the electronic device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0096] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0097] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the electronic devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0098] In the several embodiments provided in the present application, it should be understood that the disclosed electronic devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and 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. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces or units, or it can be an electrical, mechanical or other form of connection.

[0099] The units described 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 embodiments of the present disclosure.

[0100] In addition, each functional unit in each embodiment of the present disclosure 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.

[0101] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present disclosure, and these modifications or replacements should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A test paper generation method, characterized in that: include: Establishing a question bank, classifying the questions in the question bank to obtain multiple sub-question banks; classifying the questions in each sub-question bank according to the difficulty level to obtain multiple question lists corresponding to different difficulty levels; The question bank is searched based on the first screening condition of the target user to determine the sub-question bank corresponding to the first screening condition; the question list is searched based on the second screening condition of the target user to obtain a plurality of questions corresponding to the second screening condition; The first screening condition and the second screening condition are determined by selecting a plurality of keywords; Filling in the test paper template generated in advance based on the multiple test questions to generate a target test paper; Obtaining a scanned image of a sample test paper, and performing image segmentation on the scanned image according to the test paper content to obtain a plurality of test paper regions; According to the text attributes of different test paper areas, the test paper area is divided to obtain multiple filling areas; Based on the multiple filling areas, generate a test paper template; In response to the existence of a similar test paper to the sample test paper, determining the test paper template corresponding to the similar test paper as the sample template; If the layout of the sample template is different from the layout of the test paper template corresponding to the sample test paper, the layout of the sample template is adjusted to be the same as the layout of the test paper template corresponding to the sample test paper, and the adjusted sample template is determined as the test paper template corresponding to the sample test paper; Adjust the sample templates corresponding to the similar test papers to obtain the sample templates corresponding to the sample test papers; For each sample template, the sample template is adjusted based on a preset template adjustment method to obtain multiple sample templates.

2. The test paper generating method according to claim 1, characterized in that: The test paper area is divided according to the text attributes of different test paper areas to obtain multiple filling areas including: Based on the text size, format and position in the test paper area, the test paper area is divided to obtain multiple filling areas.

3. The test paper generating method according to claim 1, characterized in that: Also includes: Setting template attributes for the test paper template; the template attributes include the difficulty of the test questions; Based on the template attributes, the difficulty distribution of the test questions of the test paper template is determined.

4. The test paper generating method according to claim 1, characterized in that: The first screening condition includes: Test subjects and test question types; The second screening condition includes: the difficulty of the test questions and the number of test questions.

5. A test paper generation system, characterized in that: include: The data input module is used to establish a question bank, classify the questions in the question bank to obtain multiple sub-question banks; classify the questions in each sub-question bank according to the difficulty level to obtain multiple question lists corresponding to different difficulty levels; A test question retrieval module is used to search the test question bank based on the first screening condition of the target user to determine the sub-test question bank corresponding to the first screening condition; search the test question list based on the second screening condition of the target user to obtain multiple test questions corresponding to the second screening condition; The first screening condition and the second screening condition are determined by selecting a plurality of keywords; A test paper generating module, used for filling in the test paper template generated in advance based on the multiple test questions to generate a target test paper; Obtaining a scanned image of a sample test paper, and performing image segmentation on the scanned image according to the test paper content to obtain a plurality of test paper regions; According to the text attributes of different test paper areas, the test paper area is divided to obtain multiple filling areas; Based on the multiple filling areas, generate a test paper template; In response to the existence of a similar test paper to the sample test paper, determining the test paper template corresponding to the similar test paper as the sample template; If the layout of the sample template is different from the layout of the test paper template corresponding to the sample test paper, the layout of the sample template is adjusted to be the same as the layout of the test paper template corresponding to the sample test paper, and the adjusted sample template is determined as the test paper template corresponding to the sample test paper; Adjust the sample templates corresponding to the similar test papers to obtain the sample templates corresponding to the sample test papers; For each sample template, the sample template is adjusted based on a preset template adjustment method to obtain multiple sample templates.

6. An electronic 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 method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.