Examination item distribution method and platform based on random drawing
Through the random lottery method of the examination project allocation method, complex and cumbersome problems caused by many physical examination projects are solved, and automatic, efficient, fair and reasonable distribution results are achieved.
Patent Information
- Application Number
- CN202411789634.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-04-15
AI Technical Summary
There are many physical examination projects, and the examination arrangements are complicated and cumbersome. Manual examination arrangements cannot be guaranteed to be rational in the distribution results.
The random lottery method is adopted to obtain the examination plan information and refer to student information, generate the examination arrangement table, and generate the examination item allocation results according to the preset random lottery algorithm to ensure the fairness and reasonableness of the allocation results.
It realizes automatic, efficient, fair and reasonable allocation of examination items, reduces manual intervention, and improves allocation efficiency and rationality of results.
Smart Images

Figure CN119831210A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of test item allocation, and in particular to a test item allocation method and platform based on random drawing, which are applied to physical education tests. Background Art
[0002] As an important part of school education, physical education plays an important auxiliary role in cultivating students' willpower, cultural science, psychological and physical qualities. At present, the status of physical education is gradually improving.
[0003] Currently, many places have included physical education in the academic proficiency test, but there are many physical education test items, and the test arrangement work is complicated and cumbersome, which requires a lot of energy. Relying on manual examination arrangements is not only time-consuming and labor-intensive, but also cannot guarantee the rationality of the allocation results. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a method and platform for allocating examination items based on random drawing, which can realize automatic, efficient, fair and reasonable allocation of examination items.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions: In a first aspect, a method for allocating examination items based on random drawing is provided, which specifically comprises the following steps: Acquire examination plan information, and generate an examination schedule according to the examination plan information, wherein the examination schedule includes at least fields such as examination items, examination room number, number of candidates, examination session number, and examination time; Obtain reference student information, and based on the test schedule and the reference student information, generate test item allocation results according to a preset random drawing algorithm, wherein the test item allocation results at least include: student name, admission ticket number, test item, test room number, test session number, test start and end time, and test serial number; verify the test item allocation results according to preset rules, and reallocate allocation results that are incorrectly verified; send the correctly verified allocation results to the examinees; and achieve the purpose of automatically, efficiently, fairly and reasonably allocating test items.
[0006] Furthermore, the examination plan information specifically includes: examination items, number of examination rooms, maximum duration required for each examination, number of examinees in each batch for each item I, I≥1, number of examination days, duration of half-day examinations, time for each examination and interval between two examinations.
[0007] Furthermore, the step of generating the test schedule includes: Exam session arrangement: Calculate the number of half-day sessions based on the half-day exam duration, each exam time and the interval between two exams. The number of half-day sessions = half-day exam duration / (each exam time + interval between two exams). Calculate the total number of sessions in each exam room based on the number of half-day sessions. The total number of sessions = number of exam days. Number of half-day sessions 2. Number the examination sessions in chronological order; arrange the number of candidates: calculate the number of candidates for each examination in each examination room for each examination item according to the maximum duration of each examination, the number of candidates in each batch of each item I, I ≥ 1, and the time of each examination. The number of candidates = I Duration of each exam / maximum duration of each exam; ensure that all exam items are completed within the planned time.
[0008] Furthermore, the step of obtaining reference student information specifically includes: obtaining student registration information, and identifying the candidate's name, admission ticket number, number of reference items and telephone number in the registration information.
[0009] Furthermore, the step of generating the test item allocation result according to the preset random drawing algorithm includes: Test item allocation: Create a test item array with M test items. Every time a reference student information is obtained, the Math.random(1, M) function is called immediately to generate a 1-M random integer, use this random integer to identify the candidate, obtain the corresponding test item name based on this identifier, and add the test item name to the candidate data; Test room allocation: Create a test room array with N test rooms according to the number of test rooms assigned to the test items, call the Math.random(1, N) function to generate a 1-N random integer, use this random integer to identify the candidate, obtain the corresponding test room number based on this identifier, and add the test room number to the candidate data; and so on, assign test session numbers according to the total number of test sessions for each item, assign test serial numbers according to the number of candidates in each test room for each test item, add the test session number, the test time and test serial number corresponding to the test session number to the candidate data; ensure that the test item allocation is fair and reasonable.
[0010] Furthermore, when the number of reference items for the examinee is greater than 1, the step of generating the test item allocation result according to the preset random drawing algorithm is executed F times, where F=the number of reference items; when allocating the second test item, an test item array is established that does not include the allocated items to avoid repeated allocation of test items.
[0011] Furthermore, a test number that has been assigned to a certain test item, a certain test center, a certain test session, or a certain test number will no longer be assigned in the subsequent random drawing; this avoids the situation where too many candidates are assigned to a certain item, resulting in the inability to complete the test task on time.
[0012] Furthermore, when the number of reference items for a candidate is greater than 1, the test item allocation results of each candidate are verified. If there are items with overlapping test sessions, the later allocated test item sessions are reallocated to avoid the situation where the same candidate takes multiple tests at the same time.
[0013] In the second aspect, a test item allocation platform based on random drawing is provided, which is used to implement a test item allocation method based on random drawing as described in the first aspect of this application; the platform includes: a student terminal and a background management system; wherein the student terminal is used for candidates to register for the test and enter reference student information; the background management system is used to obtain test plan information and reference student information, allocate test items according to the test plan information and the reference student information, and send the allocation results to the corresponding student terminal.
[0014] Furthermore, the platform includes at least one processor and at least one memory; The at least one memory is used to store a computer program; when the computer program is executed by the at least one processor, the processor is caused to perform the method according to claims 1-8.
[0015] In a third aspect, the present application proposes a computer-readable storage medium, wherein the storage medium stores a computer program. When a computer reads the computer program in the storage medium, the computer executes the method as described in any one of claims 1 to 8. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work, and they do not exceed the scope of protection required by this application.
[0017] Figure 1 The present invention provides a flowchart of a method for allocating examination items based on random drawing.
[0018] Figure 2 It is a schematic diagram of a test item allocation platform based on random drawing provided by an embodiment of the present invention.
[0019] Figure 3It is a structural diagram of a test item allocation platform based on random drawing provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0020] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. It should be noted that in the description herein, step codes such as S101, S102, etc. are used for the purpose of more clearly and concisely expressing the corresponding content and do not constitute a substantial restriction on the order. The terms used in the disclosure of this application are only for the purpose of describing specific embodiments and are not intended to limit the present disclosure. The singular expressions "a", "said" and "the" used in the present disclosure and the appended claims are also intended to include plural expressions unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0021] Figure 1 The present invention provides a flowchart of a method for allocating examination items based on random drawing.
[0022] The specific steps include: Step S101, obtain the examination plan information, and generate the examination schedule according to the examination plan information. The examination schedule includes at least the fields of examination items, examination room number, number of candidates, examination session number, examination time, etc.
[0023] In this embodiment, the examination plan information specifically includes: examination items, number of examination rooms, maximum duration required for each examination, number of examinees in each batch for each item I, I≥1, number of examination days, half-day examination duration, time for each examination and interval between two examinations.
[0024] In this embodiment, the steps of generating the test schedule include: Exam session arrangement: Calculate the number of half-day sessions based on the half-day exam duration, each exam time and the interval between two exams. The number of half-day sessions = half-day exam duration / (each exam time + interval between two exams). Calculate the total number of sessions in each exam room based on the number of half-day sessions. The total number of sessions = number of exam days. Number of half-day sessions 2. Number the examination sessions according to the chronological order; Candidate quota arrangement: According to the maximum duration of each exam, the number of candidates in each batch of each item I, I ≥ 1, and the duration of each exam, calculate the number of candidates in each exam room for each exam item, and the number of candidates = I Duration of each exam / maximum duration of each exam; ensure that all exam items are completed within the planned time.
[0025] Step S102, obtain reference student information, and generate test item allocation results based on the test schedule and the reference student information according to a preset random drawing algorithm. The test item allocation results at least include: student name, admission ticket number, test item, test room number, test session number, test start and end time, and test serial number.
[0026] In this embodiment, the step of obtaining reference student information specifically includes: obtaining student registration information, identifying the candidate's name, admission ticket number, number of reference items and telephone number in the registration information. The acquisition method can be that the student enters the information through an APP of a smart terminal such as a mobile phone, laptop computer, tablet computer, etc., and submits and uploads it to the backend management system, and the backend management system parses and identifies the entered information to obtain the reference student information.
[0027] In this embodiment, the step of generating the test item allocation result according to the preset random drawing algorithm includes: Test item allocation: Create a test item array with M test items. Every time a reference student information is obtained, the Math.random(1, M) function is immediately called to generate a random integer from 1 to M. The candidate is identified with this random integer. The corresponding test item name is obtained based on this identification, and the test item name is added to the candidate data. Examination room allocation: According to the number of examination rooms for the assigned examination items, create an examination room array with the number of examination rooms as N. Call the Math.random(1, N) function to generate a random integer from 1 to N. Use this random integer to identify the examinee. According to this identifier, obtain the corresponding examination room number and add the examination room number to the examinee data. Similarly, the examination session number is allocated according to the total number of examination sessions for each item, and the examination serial number is allocated according to the number of candidates in each examination room for each examination item. The examination session number, the examination time corresponding to the examination session number, and the examination serial number are added to the candidate data to ensure that the allocation of examination items is fair and reasonable.
[0028] In this embodiment, when the number of reference items for the examinee is greater than 1, the step of generating the test item allocation result according to the preset random drawing algorithm is executed F times, where F=the number of reference items; when allocating the second test item, an test item array is established that does not include the allocated items to avoid repeated allocation of test items.
[0029] In this embodiment, a certain examination number of a certain examination item, a certain examination room, a certain examination session, and a certain examination number that have been assigned will not be assigned again in the subsequent random drawing, so as to avoid the situation where too many candidates are assigned to a certain item, resulting in the inability to complete the examination task on time.
[0030] Step S103, verifying the test item allocation results according to preset rules, and reallocating the allocation results that are incorrectly verified; In this embodiment, when the number of reference items for a candidate is greater than 1, the test item allocation results of each candidate are verified. If there are items with overlapping test sessions, the later allocated test item sessions are reallocated to avoid the situation where the same candidate takes multiple tests at the same time.
[0031] In this embodiment, the examination item allocation results are verified according to preset rules. The preset rules may be to verify whether the examination items are repeated and whether the examination sessions are overlapping. If the verification result is that the examination items are repeated or the examination sessions are overlapping, step S102 and step S103 are re-executed.
[0032] Step S104, sending the verified allocation results to the examinees.
[0033] In this embodiment, the background management system sends the verified allocation results to the APP of the examinee's smart terminal.
[0034] Figure 2 It is a schematic diagram of a test item allocation platform based on random drawing provided by an embodiment of the present invention.
[0035] In this embodiment, the platform is used to implement a method for allocating examination items based on random drawing; the platform includes: N student terminals, N = the number of reference students and a background management system; wherein the student terminal can be a smart terminal such as a mobile phone, a laptop computer, a tablet computer, etc., which is installed with an APP program for candidates to register for the examination and enter reference student information; the background management system can be a mobile phone, a laptop computer, a server and other devices that can obtain examination plan information, obtain reference student information and allocate examination items.
[0036] Figure 3 It is a structural diagram of a test item allocation platform based on random drawing provided by an embodiment of the present invention.
[0037] The platform may include at least one memory 301 , at least one processor 302 , and one or more computer programs stored in the memory 301 and executable on the processor 302 .
[0038] When at least one processor 302 executes the computer program, the test item allocation method based on random drawing provided in the above embodiment is implemented.
[0039] In this embodiment, the device further includes: a communication interface 303 for communication between at least one memory 301 and at least one processor 302 .
[0040] At least one memory 301 is used to store a computer program that can be executed on at least one processor 302 .
[0041] The at least one memory 301 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0042] If at least one memory 301, at least one processor 302 and communication interface 303 are implemented independently, communication interface 303, at least one memory 301 and at least one processor 302 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0043] In a specific implementation, if at least one memory 301, at least one processor 302 and a communication interface 303 are integrated on a chip, then at least one memory 301, at least one processor 302 and a communication interface 303 can communicate with each other through an internal interface.
[0044] The at least one processor 302 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0045] This embodiment also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by at least one processor, the method for allocating examination items based on random drawing provided in the above embodiment is implemented.
[0046] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0047] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0048] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0049] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method and platform for allocating examination items based on random drawing, characterized in that: Applied to the physical education exam, including the following steps: Acquire examination plan information, and generate an examination schedule according to the examination plan information, wherein the examination schedule includes at least fields such as examination items, examination room number, number of candidates, examination session number, and examination time; Obtain reference student information, and generate test item allocation results according to a preset random drawing algorithm based on the test schedule and the reference student information, wherein the test item allocation results at least include: student name, admission ticket number, test item, test room number, test session number, test start and end time, and test sequence number; Verifying the test item allocation results according to preset rules and reallocating incorrectly verified allocation results; The verified allocation results will be sent to the candidates.
2. A method for allocating examination items based on random drawing according to claim 1, characterized in that: The examination plan information specifically includes: Examination items, number of examination rooms, maximum duration required for each examination, number of examinees in each batch for each item I, I≥1, number of examination days, duration of half-day examinations, time for each examination and interval between two examinations.
3. A method for allocating examination items based on random drawing according to claims 1-2, characterized in that: The step of generating the examination schedule comprises: Exam session arrangement: Calculate the number of half-day sessions based on the half-day exam duration, each exam time and the interval between two exams. The number of half-day sessions = half-day exam duration / (each exam time + interval between two exams). Calculate the total number of sessions in each exam room based on the number of half-day sessions. The total number of sessions = number of exam days. Number of half-day sessions 2. Number the examination sessions according to the chronological order; Candidate quota arrangement: According to the maximum duration of each exam, the number of candidates in each batch of each item I, I ≥ 1, and the duration of each exam, calculate the number of candidates in each exam room for each exam item, and the number of candidates = I Duration of each exam / maximum duration required for each exam.
4. A method for allocating examination items based on random drawing according to claim 1, characterized in that: The step of obtaining reference student information specifically includes: Obtain student registration information, and identify the candidate's name, admission ticket number, reference item number, and telephone number in the registration information.
5. A method for allocating examination items based on random drawing according to claims 1-4, characterized in that: The step of generating the test item allocation result according to the preset random drawing algorithm includes: Test item allocation: Create a test item array with M test items. Every time a reference student information is obtained, the Math.random(1, M) function is immediately called to generate a random integer from 1 to M. The candidate is identified with this random integer. The corresponding test item name is obtained based on this identification, and the test item name is added to the candidate data. Examination room allocation: According to the number of examination rooms for the assigned examination items, create an examination room array with the number of examination rooms as N. Call the Math.random(1, N) function to generate a random integer from 1 to N. Use this random integer to identify the examinee. According to this identifier, obtain the corresponding examination room number and add the examination room number to the examinee data. Similarly, the test session number is assigned according to the total number of test sessions for each item, and the test serial number is assigned according to the number of candidates per test item per test session and per test venue. The test session number, the test time corresponding to the test session number, and the test serial number are added to the candidate data.
6. A method for allocating examination items based on random drawing according to claim 3, characterized in that: When the number of reference items for the examinee is greater than 1, execute the step of generating the test item allocation result according to the preset random drawing algorithm F times, where F=the number of reference items; when allocating the second test item, establish a test item array that does not include the allocated items.
7. A method for allocating examination items based on random drawing according to claim 6, characterized in that: An examination number that has been assigned to a certain examination item, a certain examination room, a certain examination session, or a certain examination number will not be assigned in the subsequent random drawing.
8. A method for allocating examination items based on random drawing according to claim 7, characterized in that: When the number of reference items for a candidate is greater than 1, the test item allocation results for each candidate will be verified. If there are items with overlapping test sessions, the later allocated test item sessions will be reallocated.
9. A test item allocation platform based on random drawing, characterized in that: Used to implement the test item allocation method based on random drawing as described in claims 1 to 8; Specifically include: student end and backend management system; The student terminal is used by candidates to register for the exam and enter reference student information; The backend management system is used to obtain examination plan information and reference student information, allocate examination items according to the examination plan information and the reference student information, and send the allocation results to the corresponding student terminals.
10. The test item allocation platform based on random drawing according to claim 8, characterized in that: The platform includes at least one processor and at least one memory; The at least one memory is used to store a computer program; when the computer program is executed by the at least one processor, the processor is caused to perform the method according to claims 1-8.