CN109978738B - Class-dividing method and device, computer equipment and storage medium - Google Patents

Class-dividing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109978738B
CN109978738B CN201910217879.8A CN201910217879A CN109978738B CN 109978738 B CN109978738 B CN 109978738B CN 201910217879 A CN201910217879 A CN 201910217879A CN 109978738 B CN109978738 B CN 109978738B
Authority
CN
China
Prior art keywords
course
class
shift
target
classes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910217879.8A
Other languages
Chinese (zh)
Other versions
CN109978738A (en
Inventor
庄清林
曾毅
肖碧文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Beth Education Technology Co ltd
Original Assignee
Shenzhen Beth Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Beth Education Technology Co ltd filed Critical Shenzhen Beth Education Technology Co ltd
Priority to CN201910217879.8A priority Critical patent/CN109978738B/en
Publication of CN109978738A publication Critical patent/CN109978738A/en
Application granted granted Critical
Publication of CN109978738B publication Critical patent/CN109978738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/20Education

Landscapes

  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Educational Technology (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a shift-dividing method, a shift-dividing device, computer equipment and a storage medium. The method comprises the following steps: reading student identifications one by one, acquiring target courses corresponding to the student identifications, calculating the number ratio of the target courses in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, the number ratio refers to the ratio of the actual number of lessons selected corresponding to each course in the class-walking combination to the maximum number of lessons selected, sequencing each class-walking combination according to the number ratio corresponding to the target course to obtain a sequencing result, and obtaining the class-dividing information corresponding to the student identifications according to the sequencing result. Because the number ratio calculated by the computer equipment is the ratio of the actual number of the selected lessons corresponding to each lesson to the maximum number of the selected lessons, the sequence of each class-walking combination can be more accurately arranged according to the number ratio, and the accuracy of the class-dividing can be improved.

Description

Class-dividing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a shift-dividing method and apparatus, a computer device, and a storage medium.
Background
With the implementation of a new high-examination scheme, the original scissoring mode of the literature department is gradually replaced by free selection. The free choice subjects means that students can select 3 subjects from 6 subjects of physics, chemistry, biology, politics, history and geography to study except that Chinese, mathematics and English are required to study.
However, when the department is freely selected, the number of subjects increases, the difficulty of data analysis increases, the department is uncertain, and the error rate is high when the shift is performed.
Disclosure of Invention
In view of the above, it is necessary to provide a shift distribution method, device, computer device and storage medium, which can improve the accuracy of shift distribution.
A method of shift sharing, the method comprising:
reading student identifications one by one, and acquiring target courses corresponding to the student identifications;
calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio refers to the ratio of the actual number of course-selecting people corresponding to each course in the class-walking combination to the maximum number of course-selecting people;
sequencing each moving group according to the number ratio corresponding to the target course to obtain a sequencing result;
and obtaining the shift information corresponding to the student identification according to the sequencing result.
In one embodiment, the method further comprises:
acquiring shift data;
calculating the number of class classes of the curriculum according to the class-dividing data;
and generating a class-walking combination according to the class number of the curriculum and the class-dividing data.
In one embodiment, the class data comprises the classes corresponding to the class classes; generating a shift combination according to the class number of the curriculum and the shift data, wherein the shift combination comprises the following steps:
extracting the course corresponding to the course class in the class-dividing data;
and according to the number of the course classes, grouping the course classes and the courses corresponding to the course classes to generate a walking class combination.
In one embodiment, the method further comprises:
acquiring the total number of students corresponding to the target course;
acquiring the total number of the courses corresponding to the target course;
and calculating the maximum number of course selection people corresponding to the target course according to the total number of the students and the total number of the courses.
In one embodiment, the obtaining of the shift information corresponding to the student identifier according to the sorting result includes:
acquiring a target shift group arranged at a target position in the sequencing result;
extracting course information corresponding to the target course in the target shift-walking combination;
and taking the course information as the shift information corresponding to the student identification.
In one embodiment, the calculating the ratio of the number of people corresponding to the target course in each of the shift-taking combinations includes:
acquiring the combination number of each shift-walking combination containing the target course;
when the number of the combinations is not less than the number threshold, calculating the corresponding number ratio of the people in each shift-walking combination of the target course;
the method further comprises the following steps:
and when the number of the combinations is smaller than a number threshold, obtaining the shift information corresponding to the student identification according to each shift combination.
In one embodiment, after the sorting of the travel groups according to the number of people corresponding to the target course to obtain a sorting result, the method further includes:
acquiring student data corresponding to the student identification, and respectively acquiring reference student data corresponding to the class of the course in each class-walking combination;
the obtaining of the shift information corresponding to the student identification according to the sorting result comprises:
and obtaining the shift information corresponding to the student identification according to the student data, the reference student data and the sequencing result.
A shift-sharing apparatus, the apparatus comprising:
the target course acquisition module is used for reading student identifications one by one and acquiring target courses corresponding to the student identifications;
the number ratio calculation module is used for calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio refers to the ratio of the actual number of course-selecting people corresponding to each course in the class-walking combination to the maximum number of course-selecting people;
the sequencing module is used for sequencing all the moving groups according to the number ratio corresponding to the target course to obtain a sequencing result;
and the shift information acquisition module is used for acquiring shift information corresponding to the student identification according to the sequencing result.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
reading student identifications one by one, and acquiring target courses corresponding to the student identifications;
calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio refers to the ratio of the actual number of course-selecting people corresponding to each course in the class-walking combination to the maximum number of course-selecting people;
sequencing each moving group according to the number ratio corresponding to the target course to obtain a sequencing result;
and obtaining the shift information corresponding to the student identification according to the sequencing result.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
reading student identifications one by one, and acquiring target courses corresponding to the student identifications;
calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio refers to the ratio of the actual number of course-selecting people corresponding to each course in the class-walking combination to the maximum number of course-selecting people;
sequencing each moving group according to the number ratio corresponding to the target course to obtain a sequencing result;
and obtaining the shift information corresponding to the student identification according to the sequencing result.
According to the class distribution method, the device, the computer equipment and the storage medium, the student identifications are read one by one, the target courses corresponding to the student identifications are obtained, and the number ratio of the target courses in each class-walking combination is calculated, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, the number ratio refers to the ratio of the actual number of the curriculums corresponding to each course in the class-walking combination to the maximum number of the curriculums, each class-walking combination is sequenced according to the number ratio corresponding to the target course to obtain a sequencing result, and the class distribution information corresponding to the student identifications is obtained according to the sequencing result. The computer equipment sequences all the moving groups according to the number ratio corresponding to the target course, and obtains the shift information according to the sequencing result.
Drawings
FIG. 1 is a diagram of an application environment of the shift distribution method in one embodiment;
FIG. 2 is a schematic flow chart of a shift method in one embodiment;
FIG. 3 is a schematic view of a shift-walking combination in one embodiment;
FIG. 4 is a block diagram of the shift device according to an embodiment;
FIG. 5 is a block diagram showing the construction of a shift register in another embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The shift distribution method provided by the embodiment of the application can be applied to the application environment shown in fig. 1. As shown in FIG. 1, the application environment includes a computer device 110. The computer device 110 may read the student identifications one by one and obtain the target courses corresponding to the student identifications. The computer device 110 may calculate a ratio of the number of people corresponding to the target course in each of the group of the moving class, wherein the group of the moving class comprises at least two course classes and courses corresponding to the respective course classes, and the ratio of the number of people is a ratio of an actual number of selected courses corresponding to the respective courses in the group of the moving class to a maximum number of selected courses. The computer device 110 may sort the moving groups according to the number ratio corresponding to the target course, and obtain a sorting result. The computer device 110 may obtain shift information corresponding to the student identification according to the sorting result. The computer device may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and other devices.
In one embodiment, as shown in fig. 2, a shift-dividing method is provided, comprising the steps of:
step 202, reading the student identifications one by one, and obtaining the target courses corresponding to the student identifications.
The student identification can be used for distinguishing different students, and can be the identifications of students such as study numbers, examination numbers, identity card numbers and the like. The target course corresponding to the student identification may be a course selected by the student corresponding to the student identification.
Each student corresponds to a student identification, and the computer equipment can read the stored student identifications one by one. The computer device may look up the target course corresponding to the read student identification. For example, the student identification read by the computer device is student number 201810234, the student corresponding to the student number is student a, the computer device may obtain that the course selected by student a is chemistry, and the computer device may obtain that the target course corresponding to student identification 201810234 is chemistry.
And 204, calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio is the ratio of the actual number of the selected courses corresponding to each course in the class-walking combination to the maximum number of the selected courses.
The number of the walking groups can be multiple, each walking group can correspond to a walking group identifier, and the walking group identifiers can be used for distinguishing different walking groups. For example, there are 3 shift-walking combinations, which may be shift-walking combination 1, shift-walking combination 2, and shift-walking combination 3, respectively.
The class-walking combination can comprise at least two class classes and classes corresponding to the class classes. Each course class can have a corresponding course number for distinguishing the course classes. For example, a class of lessons may be divided into 1, 2, 3, etc. The lesson corresponding to each class can be used for representing subjects needing to take lessons in the class, for example, the class corresponding to 1 class is a living being, which represents that the living being class is in 1 class; the course corresponding to class 2 is physical, and represents that the physical course is in class 2; the class corresponding to 3 shifts is history, and represents that the history class is in 3 shifts.
The number of the actual lessons selected corresponding to the lesson can be used for representing the number of the lesson selected actually, and the maximum number of the lesson selected corresponding to the lesson can be used for representing the maximum number of the lesson selected. For example, when a class is a physical class, the corresponding maximum number of people selecting the class is 40, and the number of people actually selecting the physical class is 35. The maximum number of the lessons selected for each lesson may be preset by the user through a computer device, and may be the same or different, and is not limited herein.
After the target course corresponding to the student identification is obtained, the computer equipment can search the target course in each shift combination. The computer device may calculate a ratio of the number of people for the target course in each of the work-shift combinations. Specifically, the computer device may obtain an actual number of course selections and a maximum number of course selections corresponding to the target course in each of the work-shift combinations, and select a corresponding number ratio of the target course in each of the work-shift combinations according to the actual number of course selections and the maximum number of course selections corresponding to the target course. For example, there are 3 shift-walking combinations, namely shift-walking combination 1, shift-walking combination 2 and shift-walking combination 3, the target course obtained by the computer device is a political class, and the computer can obtain the actual number of the selected classes corresponding to the political class in shift-walking combination 1 and the maximum number of the selected classes, so as to calculate the number ratio 1 of the political class in shift-walking combination 1; the computer device can calculate the corresponding number ratio 2 of the political classes in the group 2; the computer device can calculate the corresponding number of people ratio 3 for the political class in the group of 3 flights.
And step 206, sequencing all the moving groups according to the number ratio corresponding to the target course to obtain a sequencing result.
After the computer device calculates the number of people of the target course in each moving group, the moving groups can be sequenced according to the number of people of the target course. Specifically, the computer equipment can sequence all the moving groups in the sequence from high to low according to the number ratio corresponding to the target course; the computer device may also sort the moving groups in the order from low to high according to the number ratio corresponding to the target course, which is not limited herein. For example, the computer device calculates that the ratio of the number of people in the moving group 1 of the target lesson is 20%, the ratio of the number of people in the moving group 2 is 50%, and the ratio of the number of people in the moving group 3 is 40%, and the computer device sorts the moving groups in the order of the lower number of people ratio to the higher number of people ratio to obtain the sorting results of the moving group 1, the moving group 3 and the moving group 2.
And step 208, obtaining the shift information corresponding to the student identification according to the sequencing result.
The class information may include time of class, class of class, etc. For example, the shift information may be the third class on Monday morning, classroom 2-203. After the computer equipment obtains the sequencing result, the shift information corresponding to the student identification can be obtained according to the sequencing result.
In this embodiment, the computer device calculates the number ratio of the target class in each of the moving groups by reading the student identifiers one by one and acquiring the target classes corresponding to the student identifiers, where the moving group comprises at least two classes and classes corresponding to the classes, and the number ratio is the ratio of the actual number of lessons selected for each class in the moving group to the maximum number of lessons selected for each class, and sorts each moving group according to the number ratio corresponding to the target class to obtain a sorting result, and obtains the branch information corresponding to the student identifiers according to the sorting result. The computer equipment sequences all the moving groups according to the number ratio corresponding to the target course, and obtains the shift information according to the sequencing result.
In one embodiment, the shift-dividing method provided may further include a process of generating a shift-walking combination, where the specific process includes: acquiring shift data; calculating the number of class classes of the curriculum according to the class-dividing data; and generating a class-walking combination according to the class number of the curriculum and the class-dividing data.
The shift data can include student data, class data, shift rule data and the like. The student data can comprise student identification, student course selection subjects, student scores and other data; the class data can comprise data such as class number and the like; the work-sharing rule data may include teacher data, maximum number of people in class per class, minimum number of people in class per class, etc.
The computer equipment can obtain the class-dividing data and calculate the class number of the curriculum according to the obtained class-dividing data. Specifically, the computer device may calculate the number of classes of the courses according to each course acquired from the class-dividing data, the number of students selecting the course corresponding to each course, and the maximum number of people who have class in each class. For example, the courses acquired by the computer device according to the class distribution data are a physical course, a chemical course and a biological course, wherein 200 students selecting the physical course, 240 students selecting the chemical course and 400 students selecting the biological course have the maximum number of people in each class of 40, the computer device can calculate that the number of classes of the physical course is 5, the number of classes of the chemical course is 6 and the number of classes of the biological course is 10.
After obtaining the calculated number of the class classes of the curriculum, the computer equipment can generate a class-walking combination according to the number of the class classes of the curriculum and the class-dividing data.
In this embodiment, the computer device obtains the shift data, calculates the number of class classes according to the shift data, and generates the shift-going combination according to the number of class classes and the shift data. Because the number of the class classes of the course is calculated according to the acquired work-sharing data, the work-walking combination is generated according to the number of the class classes of the course and the work-sharing data, and the accuracy of the generated work-walking combination can be improved.
In another embodiment, the provided shift-dividing method may further include a process of generating a shift-walking combination, where the specific process includes: extracting courses corresponding to the course classes in the class-dividing data; and according to the number of the class classes of the courses, grouping the class classes of the courses and the courses corresponding to the class classes of the courses to generate a class-walking combination.
The class-dividing data comprises classes corresponding to the class classes. The computer device may extract the individual courses in the shift data, for example, the individual courses extracted by the computer device from the shift data may be physical, chemical, biological, political, historical, geographic. The course corresponding to the course class may be used to represent the course that is taken in the course class, for example, a physical course is taken in the course class 1, and the course corresponding to the course class 1 is the physical course.
The computer device can group the course classes and the courses corresponding to the course classes according to the calculated number of the course classes to generate a walking class combination. Specifically, the computer device may divide the obtained number of class classes of the lessons by the number of lessons to obtain the number of the class-walking combination, and further generate the class-walking combination. For example, the number of the class classes calculated by the computer device is 18, there are 6 class classes, which are 1, 2, 3, 4, 5 and 6 classes, respectively, and there are 6 classes corresponding to the class classes, which are physical, chemical, biological, political, historical and geographic, and the computer device can generate at least 3 combinations of walking classes, each of which has 1, 2, 3, 4, 5, 6 classes, and 6 classes corresponding to the class classes, which are physical, chemical, biological, political, historical and geographic.
Specifically, the computer device may extract each class in the class-dividing data, and then generate a class-walking combination according to the class number of the class and each class. For example, each course extracted from the shift data by the computer device is physical, chemical, biological, political, historical, and geographic, the number of the course classes calculated by the computer device is 5 for the physical course, 6 for the chemical course, 6 for the biological course, 7 for the political course, 8 for the historical course, and 4 for the geographic course, and the computer device can generate 6 shift combinations, where the number of each course in 4 shift combinations is one; the fifth shift combination has no geographic courses and has two historical courses, and the number of other courses is one; the sixth shift combination has no physical course and geographic course, has two political courses and two historical courses, and the number of other courses is one.
As shown in FIG. 3, in one embodiment, the generated walk-shift combination is as shown in FIG. 3. The class moving combination can comprise at least two class classes and classes corresponding to the class classes, taking the class moving combination 1 as an example, the class moving combination 1 comprises 5 class classes which are respectively a class 1, a class 2, a class 3, a class 4 and a class 5; in addition, the group 1 further includes courses corresponding to the respective course classes, and as shown in fig. 3, the group 1 further includes a course physics corresponding to the course class 1, a course chemistry corresponding to the course class 2, a course biology corresponding to the course class 3, a course politics corresponding to the course class 4, and a course history corresponding to the course class 5. As shown in fig. 3, the number 1 after the group 1 represents the first lesson, the number 2 after the group 2 represents the second lesson, the number 3 after the group 3 represents the third lesson, and the number 4 after the group 4 represents the fourth lesson.
In an embodiment, the provided work-sharing method may further include a process of calculating a maximum number of lessons selected corresponding to the target lesson, and the specific process includes: acquiring the total number of students corresponding to the target course; acquiring the total number of the courses corresponding to the target course; and calculating the maximum number of course selection persons corresponding to the target course according to the total number of students and the total number of courses.
The total number of students for the target course may be used to represent the number of students who selected the target course. For example, the number of students in the selected physical class is 200, and the total number of students corresponding to the physical class in the target course is 200. The total number of courses corresponding to the target course may be used to represent the total number of classes that the target course needs to open, for example, a school decides to open 10 physical classes in a class, and the total number of courses corresponding to the target course physical class pair is 10.
The maximum number of selected lessons for a class may be used to indicate how many students at most can select a class. Specifically, after acquiring the total number of students and the total number of courses corresponding to the target course, the computer device may divide the total number of students corresponding to the target course by the total number of courses, so as to obtain the maximum number of lessons selected corresponding to the target course. For example, the total number of students corresponding to the physical lesson acquired by the computer device is 200, the total number of lessons corresponding to the physical lesson is 10, and the maximum number of lesson-selecting persons corresponding to the physical lesson can be calculated by the computer device to be 20.
In this embodiment, the computer device obtains the total number of the courses corresponding to the target course by obtaining the total number of the students corresponding to the target course, and calculates the maximum number of lessons selected according to the total number of the students and the total number of the courses. The computer equipment calculates the maximum number of the selected lessons according to the total number of the acquired students and the total number of the courses, so that the calculated maximum number of the selected lessons corresponding to the target course can be more accurate, the accuracy of the generated shift combination is further improved, and the shift distribution is more accurate.
In an embodiment, the provided shift-dividing method may further include a process of obtaining shift-dividing information, and the specific process includes: acquiring a target shift group arranged at a target position in the sequencing result; extracting course information corresponding to the target course in the target shift-walking combination; and taking the course information as the shift information corresponding to the student identification.
The target position can be preset, and the target shift combination is combined with the position in the sequencing result. The target position may be the first bit in the obtained sorting result, and the target position may also be the last bit in the obtained sorting result, which is not limited herein. The course information may include time of day, class room, teacher, etc.
After obtaining the sorting result, the computer device may obtain the target position in the sorting result. Further, the computer device may search the shift combination ranked at the target position in the ranking result, and collaborate the shift combination ranked at the target position as the target shift combination. The computer device can search the target course in the target shift combination and extract the course information corresponding to the target course, and the computer device can use the extracted course information corresponding to the target course as the shift information corresponding to the student identification.
In this embodiment, the computer device extracts the course information corresponding to the target course in the target shift combination by acquiring the target shift combination arranged at the target position in the sequencing result, and takes the course information as the shift information corresponding to the student identification. The computer equipment extracts the course information corresponding to the target course in the target shift combination arranged at the target position, so that the branch information corresponding to the student identification is obtained.
In one embodiment, the provided work-sharing method may further include a process of calculating a ratio of the number of people corresponding to the target course in each work-taking combination, where the specific process includes: acquiring the combination number of each shift-walking combination containing the target course; when the number of the combinations is not less than the number threshold, calculating the corresponding number ratio of the people in each shift-walking combination of the target course; and when the number of the combinations is smaller than the number threshold, obtaining the shift information corresponding to the student identification according to each shift combination.
The number of combinations of each shift group containing the target course may be used to indicate the number of shift groups containing the target course. For example, when the target course is a chemical class, the number of combinations of each shift group including the chemical class is 3 in total, and the number of combinations of each shift group including the target course is 3.
The quantity threshold may be set by a user via a computer device, and the quantity threshold may be a specific value, for example, the quantity threshold may be a specific value of 1, 2, 3, etc.
The computer device may obtain a combined number of each of the shift-taking combinations that include the target course. Specifically, each shift combination may be stored in the computer device, and the computer device may compare the acquired target course with the courses in each shift combination one by one, so as to obtain the number of combinations of each shift combination including the target course. The computer device may compare the resulting number of combinations to a number threshold and obtain a comparison result. The computer equipment can determine how to acquire the shift information corresponding to the student identification according to the obtained comparison result.
Specifically, when the comparison result obtained by the computer device is that the number of the combinations is not less than the number threshold, the computer device may calculate the number ratio of the corresponding number of people of the target course in each of the shift-walking combinations; when the comparison result obtained by the computer equipment indicates that the number of the combinations is greater than the number threshold, the computer equipment can directly obtain the shift information corresponding to the student identification according to each shift combination.
When the comparison result obtained by the computer equipment indicates that the number of the combinations is not less than the number threshold, the target courses are contained in more work-walking combinations, and the computer equipment can respectively calculate the number ratio of the corresponding persons of the target courses in each work-walking combination, so that the target work-walking combination is obtained according to the sequencing result, and the work-dividing information corresponding to the student identification is obtained; when the comparison result obtained by the computer equipment indicates that the number of the combinations is smaller than the number threshold, the target courses are contained in only a few of the shift-walking combinations, and the computer equipment can directly obtain the shift information corresponding to the student identification according to the shift-walking combinations.
In this embodiment, the computer device obtains the number of combinations of each shift combination including the target course, calculates the number ratio of the corresponding persons of the target course in each shift combination when the number of combinations is not less than the number threshold, and obtains the shift information corresponding to the student identifier according to each shift combination when the number of combinations is less than the number threshold. The computer equipment can improve the efficiency of obtaining the shift information by comparing the combined number of the shift-walking combinations containing the target courses with the number threshold and determining the mode of obtaining the shift information corresponding to the student identification according to the comparison result.
In another embodiment, the provided shift-dividing method may further include a process of obtaining shift-dividing information, and the specific process includes: acquiring student data corresponding to the student identification, and respectively acquiring reference student data corresponding to the class of the course in each class-walking combination; and obtaining the shift information corresponding to the student identification according to the student data, the reference student data and the sequencing result.
The student data may include student identification, student course selection subject, student score, etc. The reference student data may be used to determine whether the student data meets the requirements. The reference student data may be set by the user in advance through the computer device. Taking student data as student scores as an example, the computer device can acquire the student scores corresponding to the student identifications, the computer device can acquire reference student scores corresponding to class classes in each class walking combination, and then the class division information corresponding to the student identifications is obtained according to the student scores, the reference student scores and the sequencing results. For example, the score of the student a acquired by the computer device is 90 points, and the reference scores corresponding to the class classes of the course in the 3 class-walking combinations acquired by the computer device are respectively: the reference score corresponding to the class of the course in the walking combination 1 is 90-100 points, the reference score corresponding to the class of the course in the walking combination 2 is 80-89 points, the reference score corresponding to the class of the course in the walking combination 3 is 70-79 points, and the computer device can obtain the class information corresponding to the student identification, which is the class information corresponding to the class of the course in the walking combination 1, according to the obtained student score, the student reference score and the sequencing result.
In this embodiment, the computing technology device obtains the shift information corresponding to the student identifier according to the student data, the reference student data and the sorting result by obtaining the student data corresponding to the student identifier and respectively obtaining the reference student data corresponding to the class in each shift combination. The computer equipment obtains the shift information corresponding to the student identification according to the student data, the reference student data and the sequencing result, so that the obtained shift information is more accurate.
It should be understood that, although the steps in the respective flowcharts described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in each of the flowcharts described above may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a shift-dividing apparatus including: target course obtaining module 410, people ratio calculating module 420, sorting module 430 and shift information obtaining module 440, wherein:
and the target course obtaining module 410 is configured to read the student identifiers one by one, and obtain the target courses corresponding to the student identifiers.
The number ratio calculating module 420 is configured to calculate a number ratio of the target course in each of the moving groups, where the moving group includes at least two course classes and courses corresponding to the course classes, and the number ratio is a ratio of an actual number of selected courses corresponding to each course in the moving group to a maximum number of selected courses.
And the sorting module 430 is configured to sort the moving groups according to the number ratio corresponding to the target course to obtain a sorting result.
And a shift information obtaining module 440, configured to obtain shift information corresponding to the student identifier according to the sorting result.
As shown in fig. 5, in an embodiment, the shift-dividing apparatus provided may further include a shift-taking combination generating module 450, where the shift-taking combination generating module 450 may be configured to obtain shift-dividing data; calculating the number of class classes of the curriculum according to the class-dividing data; and generating a class-walking combination according to the class number of the curriculum and the class-dividing data.
In one embodiment, the class data includes classes corresponding to class classes. The shift-walking combination generation module 450 may also be configured to extract a course corresponding to the course class in the shift-dividing data; and according to the number of the class classes of the courses, grouping the class classes of the courses and the courses corresponding to the class classes of the courses to generate a class-walking combination.
In one embodiment, the people number ratio calculation module 420 may be further configured to obtain a total number of students corresponding to the target course; acquiring the total number of the courses corresponding to the target course; and calculating the maximum number of course selection persons corresponding to the target course according to the total number of students and the total number of courses.
In one embodiment, the shift information obtaining module 440 may further be configured to obtain a target shift group arranged at a target position in the sorting result; extracting course information corresponding to the target course in the target shift-walking combination; and taking the course information as the shift information corresponding to the student identification.
In one embodiment, the people ratio calculation module 420 can be further configured to obtain the number of combinations of each shift combination including the target course; when the number of the combinations is not less than the number threshold, calculating the corresponding number ratio of the people in each shift-walking combination of the target course; and when the number of the combinations is smaller than the number threshold, obtaining the shift information corresponding to the student identification according to each shift combination.
In one embodiment, the shift information obtaining module 440 may further be configured to obtain student data corresponding to the student identifiers, and obtain reference student data corresponding to the class classes in each shift-taking combination; and obtaining the shift information corresponding to the student identification according to the student data, the reference student data and the sequencing result.
For specific limitations of the shift device, reference may be made to the above limitations of the shift method, which are not described herein again. The modules in the shift device can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a shift-by-shift method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
reading student identifications one by one, and acquiring target courses corresponding to the student identifications;
calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio is the ratio of the actual number of course-selecting people corresponding to each course in the class-walking combination to the maximum number of course-selecting people;
sequencing each group of the moving groups according to the number ratio corresponding to the target course to obtain a sequencing result;
and obtaining the shift information corresponding to the student identification according to the sequencing result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring shift data; calculating the number of class classes of the curriculum according to the class-dividing data; and generating a class-walking combination according to the class number of the curriculum and the class-dividing data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: extracting courses corresponding to the course classes in the class-dividing data; and according to the number of the class classes of the courses, grouping the class classes of the courses and the courses corresponding to the class classes of the courses to generate a class-walking combination.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the total number of students corresponding to the target course; acquiring the total number of the courses corresponding to the target course; and calculating the maximum number of course selection persons corresponding to the target course according to the total number of students and the total number of courses.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a target shift group arranged at a target position in the sequencing result; extracting course information corresponding to the target course in the target shift-walking combination; and taking the course information as the shift information corresponding to the student identification.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the combination number of each shift-walking combination containing the target course; when the number of the combinations is not less than the number threshold, calculating the corresponding number ratio of the people in each shift-walking combination of the target course; and when the number of the combinations is smaller than the number threshold, obtaining the shift information corresponding to the student identification according to each shift combination.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring student data corresponding to the student identification, and respectively acquiring reference student data corresponding to the class of the course in each class-walking combination; and obtaining the shift information corresponding to the student identification according to the student data, the reference student data and the sequencing result.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
reading student identifications one by one, and acquiring target courses corresponding to the student identifications;
calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio is the ratio of the actual number of course-selecting people corresponding to each course in the class-walking combination to the maximum number of course-selecting people;
sequencing each group of the moving groups according to the number ratio corresponding to the target course to obtain a sequencing result;
and obtaining the shift information corresponding to the student identification according to the sequencing result.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring shift data; calculating the number of class classes of the curriculum according to the class-dividing data; and generating a class-walking combination according to the class number of the curriculum and the class-dividing data.
In one embodiment, the computer program when executed by the processor further performs the steps of: extracting courses corresponding to the course classes in the class-dividing data; and according to the number of the class classes of the courses, grouping the class classes of the courses and the courses corresponding to the class classes of the courses to generate a class-walking combination.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the total number of students corresponding to the target course; acquiring the total number of the courses corresponding to the target course; and calculating the maximum number of course selection persons corresponding to the target course according to the total number of students and the total number of courses.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a target shift group arranged at a target position in the sequencing result; extracting course information corresponding to the target course in the target shift-walking combination; and taking the course information as the shift information corresponding to the student identification.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the combination number of each shift-walking combination containing the target course; when the number of the combinations is not less than the number threshold, calculating the corresponding number ratio of the people in each shift-walking combination of the target course; and when the number of the combinations is smaller than the number threshold, obtaining the shift information corresponding to the student identification according to each shift combination.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring student data corresponding to the student identification, and respectively acquiring reference student data corresponding to the class of the course in each class-walking combination; and obtaining the shift information corresponding to the student identification according to the student data, the reference student data and the sequencing result.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of shift sharing, the method comprising:
reading student identifications one by one, and acquiring target courses corresponding to the student identifications;
calculating the number ratio of the target course in each class-walking combination, wherein the class-walking combination comprises at least two course classes and courses corresponding to the course classes, and the number ratio refers to the ratio of the actual number of course-selecting people corresponding to each course in the class-walking combination to the maximum number of course-selecting people;
acquiring shift data;
calculating the number of class classes according to the class-dividing data, wherein the class-dividing data comprises the classes corresponding to the class classes, and extracting the classes corresponding to the class classes in the class-dividing data;
according to the number of the course classes, grouping the course classes and courses corresponding to the course classes to generate a walking combination;
sequencing each moving group according to the corresponding number ratio of the target course in the moving group to obtain a sequencing result;
and obtaining the shift information corresponding to the student identification according to the sequencing result, wherein the shift information is a target shift combination arranged at a target position in the sequencing result.
2. The method of claim 1, further comprising:
acquiring the total number of students corresponding to the target course;
acquiring the total number of the courses corresponding to the target course;
and calculating the maximum number of course selection people corresponding to the target course according to the total number of the students and the total number of the courses.
3. The method of claim 1, wherein obtaining shift information corresponding to the student identity according to the sorting result comprises:
acquiring a target shift group arranged at a target position in the sequencing result;
extracting course information corresponding to the target course in the target shift-walking combination;
and taking the course information as the shift information corresponding to the student identification.
4. The method as claimed in claim 1, wherein said calculating the ratio of the number of people corresponding to the target course in each of the shift combination comprises:
acquiring the combination number of each shift-walking combination containing the target course;
when the number of the combinations is not less than the number threshold, calculating the corresponding number ratio of the people in each shift-walking combination of the target course;
the method further comprises the following steps:
and when the number of the combinations is smaller than a number threshold, obtaining the shift information corresponding to the student identification according to each shift combination.
5. The method as claimed in claim 1, wherein after the sorting of the groups according to the ratio of the number of people corresponding to the target lessons to obtain the sorting result, the method further comprises:
acquiring student data corresponding to the student identification, and respectively acquiring reference student data corresponding to the class of the course in each class-walking combination;
the obtaining of the shift information corresponding to the student identification according to the sorting result comprises:
and obtaining the shift information corresponding to the student identification according to the student data, the reference student data and the sequencing result.
6. A shift-dividing apparatus, the apparatus comprising:
the target course acquisition module is used for reading student identifications one by one and acquiring target courses corresponding to the student identifications;
the number ratio calculation module is used for calculating the number ratio of the target course in each course combination, wherein the course combination comprises at least two course classes and courses corresponding to the course classes, the number ratio refers to the ratio of the actual number of course selection people corresponding to each course in the course combination to the maximum number of course selection people, and the course combination is obtained by combining different courses and course classes in advance;
the sorting module is used for acquiring the class dividing data, calculating the number of class classes according to the class dividing data, wherein the class dividing data comprises classes corresponding to the class classes, extracting the classes corresponding to the class classes in the class dividing data, grouping the class classes and the classes corresponding to the class classes according to the number of the class classes, generating a class-walking combination, and sorting the class-walking combinations according to the number ratio of the target classes corresponding to the class-walking combination to obtain a sorting result;
and the shift information acquisition module is used for acquiring shift information corresponding to the student identification according to the sequencing result, wherein the shift information is a target shift combination arranged at a target position in the sequencing result.
7. The device according to claim 6, characterized in that it comprises:
the total number of students acquiring module is used for acquiring the total number of students corresponding to the target course;
the course total number acquisition module is used for acquiring the total number of courses corresponding to the target course;
and the maximum number of course selection people calculation module is used for calculating the maximum number of course selection people corresponding to the target course according to the total number of the students and the total number of the courses.
8. The shift arrangement according to claim 6, wherein the shift information obtaining module comprises:
the target shift combination acquisition unit is used for acquiring a target shift combination arranged at a target position in the sequencing result;
the course information extraction unit is used for extracting course information corresponding to the target course in the target shift group;
and the class information obtaining unit is used for taking the course information as class information corresponding to the student identification.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201910217879.8A 2019-03-21 2019-03-21 Class-dividing method and device, computer equipment and storage medium Active CN109978738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910217879.8A CN109978738B (en) 2019-03-21 2019-03-21 Class-dividing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910217879.8A CN109978738B (en) 2019-03-21 2019-03-21 Class-dividing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109978738A CN109978738A (en) 2019-07-05
CN109978738B true CN109978738B (en) 2021-07-20

Family

ID=67079777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910217879.8A Active CN109978738B (en) 2019-03-21 2019-03-21 Class-dividing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109978738B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111539581A (en) * 2020-05-07 2020-08-14 浙江蓝鸽科技有限公司 Intelligent class scheduling method and system for different shifts
CN112288178B (en) * 2020-11-05 2024-04-30 广州今之港教育咨询有限公司 Intelligent shift sorting method
CN112102132B (en) * 2020-11-06 2021-03-12 深圳英之泰教育科技有限公司 Automatic configuration method and device for administrative classes and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222155A (en) * 2010-12-14 2011-10-19 贾永鑫 Method for high-efficiency class grouping and course scheduling in multi-restraint condition
CN106203712A (en) * 2016-07-12 2016-12-07 杭州源中通信技术有限公司 Optimal Decision-making guide systems based on big data
CN108122179A (en) * 2016-11-30 2018-06-05 北京王府学校 Delamination Teaching cource arrangement method and device, delamination Teaching curricula-variable method and system
CN108846782A (en) * 2018-06-05 2018-11-20 科大讯飞股份有限公司 Schedule aranging generation method and device, storage medium, electronic equipment
CN108846786A (en) * 2018-06-26 2018-11-20 上海亿阁信息科技有限公司 A kind of new college entrance examination elective course row class artificial intelligence is put into several classes algorithm

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107610012B (en) * 2017-09-22 2021-01-29 皇晓琳 Course selecting and arranging system and course selecting and arranging method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222155A (en) * 2010-12-14 2011-10-19 贾永鑫 Method for high-efficiency class grouping and course scheduling in multi-restraint condition
CN106203712A (en) * 2016-07-12 2016-12-07 杭州源中通信技术有限公司 Optimal Decision-making guide systems based on big data
CN108122179A (en) * 2016-11-30 2018-06-05 北京王府学校 Delamination Teaching cource arrangement method and device, delamination Teaching curricula-variable method and system
CN108846782A (en) * 2018-06-05 2018-11-20 科大讯飞股份有限公司 Schedule aranging generation method and device, storage medium, electronic equipment
CN108846786A (en) * 2018-06-26 2018-11-20 上海亿阁信息科技有限公司 A kind of new college entrance examination elective course row class artificial intelligence is put into several classes algorithm

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"6选3"走班教学的实践与思考;林春辉;《山西教育》;20170831;第9-11页 *
基于3+3新高考模式下的走班教学管理系统设计与实现;侯发毅;《中国优秀硕士学位论文全文数据库 信息科技辑》;20180415;I138-1334 *

Also Published As

Publication number Publication date
CN109978738A (en) 2019-07-05

Similar Documents

Publication Publication Date Title
CN109978738B (en) Class-dividing method and device, computer equipment and storage medium
Asif et al. Analyzing undergraduate students' performance using educational data mining
CN110389969A (en) The system and method for the learning Content of customization are provided
Studer et al. Estimating the relationship between time-varying covariates and trajectories: The sequence analysis multistate model procedure
CN104993962B (en) Method and system for acquiring use state of terminal
CN111090809A (en) Topic recommendation method and device, computer equipment and storage medium
CN113743821A (en) Examination room arranging method and device, computer equipment and storage medium
CN112288337B (en) Behavior recommendation method, behavior recommendation device, behavior recommendation equipment and behavior recommendation medium
CN112434217A (en) Position information recommendation method, system, computer equipment and storage medium
CN112016311A (en) Entity identification method, device, equipment and medium based on deep learning model
CN112214688A (en) Recommendation method and device for repair course selection and server
CN112069329A (en) Text corpus processing method, device, equipment and storage medium
CN116503031B (en) Personnel similarity calculation method, device, equipment and medium based on resume analysis
CN111191129A (en) Professional recommendation method and device, computer equipment and storage medium
CN116631614A (en) Treatment scheme generation method, treatment scheme generation device, electronic equipment and storage medium
Johnson et al. Peer instruction for digital forensics
Godfrey Creating Matched Samples Using Exact Matching. Statistical Report 2016-3.
CN112102131B (en) Automatic configuration method, device, equipment and storage medium of walking class
CN112036671B (en) Method and device for automatically generating course configuration information and computer equipment
CN115578226A (en) Learning situation analysis method and system based on big data
CN112102132B (en) Automatic configuration method and device for administrative classes and computer equipment
CN113744101A (en) Intelligent examinee volunteer filling method and device in new high-level examination mode and computer equipment
CN108897828A (en) A kind of knowledge system construction method and electronic equipment
CN111191914A (en) Professional recommendation method and device, computer equipment and computer readable storage medium
Irvine et al. " Perceptual Speed" and Cognitive Controls: Tasks in Reconstructing Group Test Theory and Practice within and Across Cultures

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant