CN117132092A - Automatic course adjustment method and device and computer storage medium - Google Patents
Automatic course adjustment method and device and computer storage medium Download PDFInfo
- Publication number
- CN117132092A CN117132092A CN202311410473.4A CN202311410473A CN117132092A CN 117132092 A CN117132092 A CN 117132092A CN 202311410473 A CN202311410473 A CN 202311410473A CN 117132092 A CN117132092 A CN 117132092A
- Authority
- CN
- China
- Prior art keywords
- course
- class
- positions
- exchange
- information
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004364 calculation method Methods 0.000 claims abstract description 8
- 230000008859 change Effects 0.000 claims description 27
- 238000010276 construction Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012216 screening Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06312—Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/20—Education
- G06Q50/205—Education administration or guidance
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- Tourism & Hospitality (AREA)
- Entrepreneurship & Innovation (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Educational Technology (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Data Mining & Analysis (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides an automatic course adjustment method, a device and a computer storage medium, which are used for acquiring current course table information, calculating the ratio of an adjustable course position of each course to the number of times of the course in the current course table, obtaining the occupancy of each course on each course position, constructing an inverted index of each course position, acquiring course information and course position information of a target course to be adjusted, acquiring N course positions with the highest occupancy of the target course from the inverted index according to the course information and the course position information, selecting a course exchange position from the N course positions, repeatedly calculating the N course positions with the highest occupancy of the course exchange, and constructing M paths with the shortest course exchange according to calculation results; the method automatically calculates the occupation degree of the target course on each course position, selects the course position suitable for exchanging with the target course, iteratively calculates the course position suitable for exchanging with the course of exchanging the course position, can quickly construct an optimal course exchanging path, and greatly saves the time and difficulty of course exchanging of teachers.
Description
Technical Field
The application relates to the technical field of education systems, in particular to an automatic course adjustment method, an automatic course adjustment device and a computer storage medium.
Background
At present, the course arrangement method in the computer education system cannot adapt to the course adjustment requirement of teachers, and the teachers have no first thread in the manual adjustment process after automatic course arrangement, so that the teachers cannot predict how to adjust the school timetable to quickly obtain a complete available school timetable. When course adjustment is needed, a great deal of thinking is needed, much time and effort are spent, and teachers have not found a good calculation method except for the course arrangement experience based on the teachers.
Thus, a need exists for a tutor to assist in the course of a lesson call.
Disclosure of Invention
The application provides an automatic course adjusting method, an automatic course adjusting device and a computer storage medium, and aims to provide an effective course adjusting method which helps teachers to adjust courses quickly.
In a first aspect, the present application provides an automatic lesson tuning method, including:
acquiring current school table information, and calculating the ratio of the adjustable class position of each course to the class time number of the course in the current school table to obtain the occupancy of each course on each class position;
constructing an inverted index according to the class position information and the occupancy of each course on each class position;
acquiring course information and course position information of a target course to be adjusted, and obtaining N course positions with the highest target course occupancy degree from the reverse index according to the course information and the course position information;
selecting a change course from the N courses, repeatedly obtaining course information and course information of the change course, and obtaining N courses with highest course occupancy degree of the change course from the reverse index according to the course information and the course information;
and constructing M paths with shortest exchange paths according to the target courses, the exchange course positions and N course positions with highest course occupancy of the exchange course positions.
In one embodiment, before calculating the ratio of the adjustable lesson level of each lesson in the existing lesson list to the number of lessons in time of the lesson, the method further comprises,
and calculating the adjustable lesson position of each lesson according to the lesson arranging conditions.
In one embodiment, the calculating the adjustable lesson location of each lesson according to the lesson-arranging conditions is specifically,
the method comprises the steps of obtaining a teacher available class position set, a classroom available class position set and a course available class position set corresponding to each course in a week, and obtaining an intersection of the teacher available class position set and the classroom available class position set to form an available class position set of each course as an adjustable class position of each course.
In one embodiment, before selecting the exchange course from the N courses, the method further comprises,
and if the current class list contains blank class positions, taking the blank class positions as exchange class positions to form an exchange path and storing the exchange path into a path result set.
In one embodiment, after selecting the exchange course from the N courses, the method further comprises,
and if the target course is exchanged to the class list after the exchange course, blank course positions are included, and the course positions, the exchange course positions and the blank course positions of the target course are used as exchange paths to be stored in a path result set.
In one embodiment, the constructing M paths with the shortest zapping paths according to the target lesson, zapping lessons and the N lessons with the highest lesson occupancy of the zapping lessons comprises,
and according to the class positions of the target class, the exchange class positions and N class positions with highest class occupation degree of the exchange class positions, exchanging the exchange class positions to the corresponding class positions with the highest class occupation degree, taking blank class positions in a class table as exchange paths, storing a path result set, and screening M paths with the shortest paths from the path result set as final exchange paths.
In one embodiment, after constructing M paths with the shortest zapping paths according to the target lesson, zapping lessons and the N lessons with the highest lesson occupancy of the zapping lessons, the method further comprises,
and displaying M paths with the shortest exchange paths on a class list interface for a lesson-tuning teacher to refer to.
In one embodiment, the method further comprises the step of obtaining the target course to be adjusted by clicking a mouse, and the target course is placed in the exchange course position by dragging the mouse.
In a second aspect, the present application further provides an automatic lesson-adjusting apparatus, including:
the occupancy calculating unit is used for acquiring current class list information, calculating the ratio of the adjustable class position of each course to the class time number of the course in the current class list, and obtaining the occupancy of each course on each class position;
the reverse index construction unit is used for constructing a reverse index according to the class position information and the occupancy of each course on each class position;
the exchange list acquisition unit is used for acquiring course information and course position information of a target course to be adjusted, and N course positions with the highest target course occupancy degree are obtained from the reverse index according to the course information and the course position information;
the iteration calculation unit is used for selecting a change course from the N courses, repeatedly acquiring course information and course information of the change course, and obtaining N courses with highest course occupancy of the change course from the reverse index according to the course information and the course information;
and the path construction unit is used for constructing M paths with the shortest exchange paths according to the target courses, the exchange course positions and N course positions with the highest course occupancy of the exchange course positions.
In a third aspect, the present application also proposes a computer storage medium having stored therein a computer program which, when executed, implements a method as described in any of the above.
The application relates to an automatic course adjustment method, a device and a computer storage medium, which are used for acquiring current course table information, calculating the ratio of an adjustable course position of each course to the number of times of the course in the current course table to obtain the occupancy of each course on each course position, constructing an inverted index of each course position, acquiring course information and course position information of a target course to be adjusted, acquiring N course positions with the highest occupancy of the target course from the inverted index according to the course information and the course position information, selecting a course change position from the N course positions, repeatedly calculating the N course positions with the highest occupancy of the course change, and constructing M paths with the shortest course change according to calculation results; the method automatically calculates the occupation degree of the target course on each course position, selects the course position suitable for exchanging with the target course, iteratively calculates the course position suitable for exchanging with the course of exchanging the course position, can quickly construct an optimal course exchanging path, and greatly saves the time and difficulty of course exchanging of teachers.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required in the embodiments are briefly described below, and the drawings in the following description are only drawings corresponding to some embodiments of the present application, and it is possible for a person skilled in the art to obtain drawings of other embodiments according to these drawings without inventive effort.
FIG. 1 is a flow chart of a method for automatically tuning lessons in accordance with one embodiment of the present application;
FIG. 2 is a schematic diagram of a class diagram according to one embodiment of the present application;
FIG. 3 is a flow chart of a method for automatically tuning lessons according to another embodiment of the present application;
FIG. 4 is a schematic diagram of a class diagram according to another embodiment of the present application;
fig. 5 is a block diagram of a module of the automatic lesson-tuning apparatus according to one embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
Referring to fig. 1, in one embodiment, the automatic lesson tuning method of the present application includes:
s101, acquiring current class list information, and calculating the ratio of the adjustable class position of each course to the class time number of the course in the current class list to obtain the occupancy of each course on each class position.
Specifically, the adjustable lesson level of each lesson is calculated according to the lesson-arranging conditions when the adjustable lesson level is calculated. Referring to fig. 2, if the second (2) class, the third class of language class needs to be adjusted at this time, the third class of language class is selected as the selected course, that is, the target course, and if the school specifies that the language class, the math class and the english class in the morning cannot be adjusted to the afternoon, the arrangement condition of the third class of language class is: the adjustable lessons from monday to friday morning are as follows: 4*5 =20.
Calculating the ratio of the adjustable class position of each course to the class time number of the course in the existing class list to obtain the resource occupancy of each course:
chinese language: 20/7=2.85;
english: 20/6=3.33;
mathematics: 20/7=2.85;
chemical: 40/4=10;
geography: 40/4=10;
physical: 40/4=10.
S102, constructing an inverted index according to the class position information and the occupancy of each course on each class position.
If no other constraint exists, the occupancy of each course on a certain course position is the resource occupancy thereof, an inverted index is constructed according to the course position information and the occupancy of each course on each course position, and the first lesson of monday is marked as 1-1, then:
1-1, chinese: 20/7=2.85, english: 20/6=3.33, mathematics: 20/7=2.85, chemistry: 40/4=10, geography: 40/4=10, physical: 40/4=10;
1-2, chinese: 20/7=2.85, english: 20/6=3.33, mathematics: 20/7=2.85, chemistry: 40/4=10, geography: 40/4=10, physical: 40/4=10;
1-3, chinese: 20/7=2.85, english: 20/6=3.33, mathematics: 20/7=2.85, chemistry: 1-3, 40/4=10, geography: 40/4=10, physical: 40/4=10;
1-4, chinese: 20/7=2.85, english: 20/6=3.33, mathematics: 20/7=2.85, chemistry: 40/4=10, geography: 40/4=10, physical: 40/4=10;
2-1, chinese: 20/7=2.85, english: 20/6=3.33, mathematics: 20/7=2.85, chemistry: 40/4=10, geography: 40/4=10, physical: 40/4=10;
……
the class positions in afternoon are not in the index list corresponding to the Chinese class, when class list information is acquired, the first class of friday is identified as the similar class, the class positions are not used as candidate class exchanging positions, the first class of friday, the fourth class of friday and the fourth class of friday are blank class positions and have no limiting condition, the class positions can be directly used as candidate class exchanging positions, and the first three class exchanging paths are obtained: 1-3- > (2-4); 1-3- > (4-1); 1-3- & gt 4-4, storing the transposed path into a path result set.
S103, course information and course position information of a target course to be adjusted are obtained, and N course positions with the highest target course occupancy degree are obtained from the reverse index according to the course information and the course position information.
And 5 lessons with highest lessons occupation degree of the Chinese lessons are screened from the index list, and a candidate list of the exchanged lessons is obtained, for example: 1-2,2-2,3-3,4-4,5-2. And displaying the selected preferred exchange class positions on a class list interface for a class adjustment teacher to refer to.
S104, selecting a change course from the N courses, repeatedly obtaining course information and course information of the change course, and obtaining N courses with highest occupation degree of the change course from the reverse index according to the course information and the course information.
S105, constructing M paths with shortest exchange paths according to the target courses, the exchange course positions and N course positions with highest course occupancy of the exchange course positions.
If the lesson-adjusting teacher wants to adjust the lesson to the second chemical lesson of friday, the lesson-adjusting teacher selects the chemical lesson as the selected lesson, i.e. the target lesson, obtains the index list corresponding to the lesson based on the new lesson list, and screens out the 5 lesson positions with highest lesson occupancy, such as: 1-4,2-3,3-2,4-2,5-3. The Chinese class is preset to be a chemical class of 4-2 at the moment, the chemical class of 4-2 becomes a blank class position in a new class table, and the chemical class of 4-2 can be directly adjusted to class positions 1-3, 2-4, 4-1 or 4-4, so that the first four exchanging paths of the second chemical class of friday are formed.
If the language class of 1-3 is to be exchanged to the chemical class of 5-2, the 4 exchange paths with the shortest paths can be obtained by combining the exchange paths obtained by two times of calculation, and the 4 exchange paths are as follows: 1-3-/5-/2-/1-/3-, 1-3-/5-/2-/4-1-, or 1-3-/5-/2-/4-the four transposed paths are stored in the path result set.
If the lesson-tuning teacher does not want to tune the chemical lessons of 5-2 to the blank lessons of the new lesson list, the lesson-tuning teacher can iterate and calculate the candidate list of the chemical lessons of 5-2, select the exchange lessons from the candidate list, further calculate the shortest exchange path, and synthesize the multiple exchange paths to obtain the complete exchange path. The automatic lesson adjustment method can be combined with the actual situation of the lesson list according to the needs of teachers, and the lesson list can be adjusted rapidly and effectively to obtain the lesson list meeting the needs.
In another embodiment, the automatic course tuning method may further directly calculate paths for the Chinese courses to be transposed to any one of the course positions in the candidate list, store the transposed paths in the path result set, and screen M, such as the shortest transposed path of 5 paths, from the final path result set for the course tuning teacher to refer.
According to the automatic course adjustment method, the occupation degree of the target course on each course position is automatically calculated, the course position suitable for being changed with the target course is selected, the course position suitable for being changed with the course of changing the course position is iteratively calculated, an optimal course change path can be quickly constructed, and the time and difficulty of course adjustment of a teacher are greatly saved.
Referring to fig. 2, in another embodiment, the automatic lesson tuning method includes:
s201, current school timetable information is acquired.
In one embodiment, the current class information includes current class data, class information, teacher information, lesson conditions, etc.
S202, calculating an adjustable lesson position of each lesson according to the lesson arranging conditions.
Referring to fig. 4, fig. 4 is a schematic diagram of a class diagram of two (2) classes according to another embodiment, where a class tuning state of each class position is set on the class diagram, including: the adjustable, with course, the conflict of unable harmonious condition four types, the class form can change the colour according to the state of every class position, and then can audio-visually show for the accent mr sees and carries out the reference, and the state of every class position is decided by arranging the class condition.
In one embodiment, a set of available lessons and available lessons of the teacher, a set of available lessons and a set of available lessons of the classroom are obtained, and their intersections are taken to form a set of available lessons of each course, which is used as an adjustable lesson position of each course. For example, if the course to be adjusted is still the third language class in monday am, the available class position of the language teacher corresponding to the third language class is the whole week; the available lessons of teachers are the whole week; the available class position of course is monday to friday morning, and chinese class can not be adjusted with mathematics class, geography class, physics class and other specific constraint condition constraint, obtain the final available class position set of this section chinese class, get the intersection with these three class position sets, obtain the adjustable class position of this section chinese class, the unable class position of adjustment and condition conflict class position and show, adjust the teacher can be from what class position is can be changed in the intuitive seeing on the class table, and then can select to change the class position from the class table after the sign as required.
S203, calculating the ratio of the adjustable class position of each class in the existing class list to the class time number of the class, and obtaining S201, wherein the occupancy of each class on each class position.
S204, constructing an inverted index according to the class position information and the occupancy of each course on each class position.
S205, course information and course position information of a target course to be adjusted are obtained, and N course positions with the highest target course occupancy degree are obtained from the reverse index according to the course information and the course position information.
S206, selecting a change course from the N courses, repeatedly obtaining course information and course information of the change course, and obtaining N courses with highest occupation degree of the change course from the reverse index according to the course information and the course information.
S207, constructing M paths with shortest exchange paths according to the target courses, the exchange course positions and N course positions with highest course occupancy of the exchange course positions.
And S208, displaying M paths with the shortest exchange paths on a class list interface for a lesson-tuning teacher to refer to.
Meanwhile, the background starts to calculate the ratio of the adjustable class position of each course to the class time number of the courses in the existing class list, the occupancy of each course on each class position is obtained, an inverted index is built based on the occupancy of each course on each class position, 5 classes with the highest occupancy are selected, and the 5 classes are not limited to be used as candidate lists for exchanging class positions of the Chinese classes, and a teacher for adjusting the courses is displayed and selects according to requirements; or directly calculating M paths with shortest transposed paths, such as 5 shortest paths, for a lesson-tuning teacher to refer to, wherein M is not limited to 5 paths.
In one embodiment, the lesson adjustment teacher can obtain the target lessons to be adjusted by clicking the mouse, and the target lessons are placed in the lesson adjustment position by dragging the mouse, so that the operation is simple and convenient.
According to the automatic course adjustment method, various course arrangement factors related to teachers and courses are integrated to obtain available course positions of target courses, selection targets of course adjustment teachers can be greatly reduced through color identification and display, blind course position adjustment is prevented, practicability is high, and time and difficulty of course adjustment of the teachers are greatly saved.
The present application also proposes an automatic lesson-adjusting apparatus, referring to fig. 5, in one embodiment, the apparatus includes:
the occupancy calculating unit 10 is configured to obtain current class list information, calculate a ratio of an adjustable class position of each course in the current class list to a class time number of the course, and obtain an occupancy of each course on each class position;
an inverted index construction sheet 20 for constructing an inverted index according to the course position information and the occupancy of each course on each course position;
a swap list obtaining unit 30, configured to obtain course information and course position information of a target course to be adjusted, and obtain N course positions with the highest target course occupancy from the reverse index according to the course information and the course position information;
an iterative calculation unit 40, configured to select a swap course from the N course positions, repeatedly obtain course information and course position information of the swap course, and obtain N course positions with highest occupancy level of the swap course from the inverted index according to the course information and the course position information;
a first path construction unit 50 for constructing M paths with the shortest exchange paths according to the target lesson level, the exchange lesson level, and the N lesson levels with the highest occupation degree of the exchange lessons.
In one embodiment, the automatic lesson-tuning device further comprises,
and the adjustable course position calculating unit is used for calculating the adjustable course position of each course according to the course arranging conditions.
In one of the embodiments, the adjustable course position calculation unit is specifically configured to,
the method comprises the steps of obtaining a teacher available class position set, a classroom available class position set and a course available class position set corresponding to each course in a week, and obtaining an intersection of the teacher available class position set and the classroom available class position set to form an available class position set of each course as an adjustable class position of each course.
In one embodiment, the automatic lesson-tuning device further comprises,
and the second path construction unit is used for forming a change path and storing the change path into a path result set by taking the blank class position as a change class position if the blank class position is contained in the current class table.
In one embodiment, the automatic lesson-tuning device further comprises,
and the third path construction unit is used for storing the class positions, the exchange class positions and the blank class positions of the target courses as exchange paths into a path result set if the class list after the target courses are exchanged to the exchange courses contains the blank class positions.
In one embodiment, the third path construction element comprises,
and according to the class positions of the target classes, the class positions for exchange and N class positions with highest class position course occupation degree, exchanging the class positions for exchange to the corresponding class positions with the N class positions with highest class position occupation degree, taking blank class positions in a corresponding class table as exchange paths, storing a path result set, and screening M paths with shortest paths from the path result set as final exchange paths.
In one embodiment, the automatic lesson-tuning device further comprises,
and the display unit is used for displaying the M paths with the shortest exchange paths on a class list interface for a lesson-tuning teacher to refer to.
In one embodiment, the automatic lesson-tuning device further comprises,
and the operation unit is used for acquiring a target course to be adjusted by clicking the mouse, and placing the target course to the exchange course position by dragging the mouse.
The embodiment of the application also provides a computer device, which comprises a processor and a memory, wherein the memory stores a computer program, and the computer program realizes the steps of any one of the above method embodiments when being loaded and executed by the processor.
The embodiment of the application also provides a computer storage medium, wherein a computer program is stored in the computer storage medium, and when the computer program is executed, the method steps of any one of the above method embodiments are realized.
In the foregoing embodiments of the present application, it should be understood that the disclosed systems, devices and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium.
Based on such understanding, the technical solution of the present application may be embodied in essence or contributing part or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a mobile terminal, a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In summary, although the present application has been described with reference to the preferred embodiments, the scope of the application is not limited thereto, and any person skilled in the art who is skilled in the art should make equivalent substitutions or modifications according to the technical scheme of the present application within the scope of the present application.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
Claims (10)
1. An automatic lesson-tuning method, comprising:
acquiring current school table information, and calculating the ratio of the adjustable class position of each course to the class time number of the course in the current school table to obtain the occupancy of each course on each class position;
constructing an inverted index according to the class position information and the occupancy of each course on each class position;
acquiring course information and course position information of a target course to be adjusted, and obtaining N course positions with the highest target course occupancy degree from the reverse index according to the course information and the course position information;
selecting a change course from the N courses, repeatedly obtaining course information and course information of the change course, and obtaining N courses with highest course occupancy degree of the change course from the reverse index according to the course information and the course information;
and constructing M paths with shortest exchange paths according to the target courses, the exchange course positions and N course positions with highest course occupancy of the exchange course positions.
2. The automatic lesson-tuning method of claim 1, further comprising, prior to calculating a ratio of the adjustable lesson level for each lesson in the existing lesson list to the number of lessons in time of the lesson,
and calculating the adjustable lesson position of each lesson according to the lesson arranging conditions.
3. The automatic course tuning method of claim 2, wherein the calculating the adjustable course position of each course according to the course scheduling condition is specifically,
the method comprises the steps of obtaining a teacher available class position set, a classroom available class position set and a course available class position set corresponding to each course in a week, and obtaining an intersection of the teacher available class position set and the classroom available class position set to form an available class position set of each course as an adjustable class position of each course.
4. The automatic course tuning method of claim 1, wherein the selecting a course tuning course from the N courses further comprises,
and if the current class list contains blank class positions, taking the blank class positions as exchange class positions to form an exchange path and storing the exchange path into a path result set.
5. The automatic course tuning method of claim 1, wherein after selecting a course tuning course from the N courses, further comprising,
and if the target course is exchanged to the class list after the exchange course, blank course positions are included, and the course positions, the exchange course positions and the blank course positions of the target course are used as exchange paths to be stored in a path result set.
6. The automatic course adjustment method according to claim 1, wherein the constructing M paths having shortest exchange paths from N course positions having highest course occupancy of the target course, exchange course position, and exchange course position includes,
and according to the class positions of the target class, the exchange class positions and N class positions with highest class occupation degree of the exchange class positions, exchanging the exchange class positions to the corresponding class positions with the highest class occupation degree, taking blank class positions in a class table as exchange paths, storing a path result set, and screening M paths with the shortest paths from the path result set as final exchange paths.
7. The automatic course adjustment method according to claim 1, wherein after the M paths having shortest exchange paths are constructed based on the target course, exchange course and N courses having highest course occupancy of the exchange course, further comprising,
and displaying M paths with the shortest exchange paths on a class list interface for a lesson-tuning teacher to refer to.
8. The automatic lesson-tuning method of claim 7, further comprising obtaining a target lesson to be tuned by clicking a mouse, and placing the target lesson in a lesson-tuning position by dragging the mouse.
9. An automatic lesson-adjusting device, comprising:
the occupancy calculating unit is used for acquiring current class list information, calculating the ratio of the adjustable class position of each course to the class time number of the course in the current class list, and obtaining the occupancy of each course on each class position;
the reverse index construction unit is used for constructing a reverse index according to the class position information and the occupancy of each course on each class position;
the exchange list acquisition unit is used for acquiring course information and course position information of a target course to be adjusted, and N course positions with the highest target course occupancy degree are obtained from the reverse index according to the course information and the course position information;
the iteration calculation unit is used for selecting a change course from the N courses, repeatedly acquiring course information and course information of the change course, and obtaining N courses with highest course occupancy of the change course from the reverse index according to the course information and the course information;
and the path construction unit is used for constructing M paths with the shortest exchange paths according to the target courses, the exchange course positions and N course positions with the highest course occupancy of the exchange course positions.
10. A computer storage medium, characterized in that the computer storage medium has stored therein a computer program which, when executed, implements the method according to any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311410473.4A CN117132092A (en) | 2023-10-27 | 2023-10-27 | Automatic course adjustment method and device and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311410473.4A CN117132092A (en) | 2023-10-27 | 2023-10-27 | Automatic course adjustment method and device and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117132092A true CN117132092A (en) | 2023-11-28 |
Family
ID=88861401
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311410473.4A Pending CN117132092A (en) | 2023-10-27 | 2023-10-27 | Automatic course adjustment method and device and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117132092A (en) |
Citations (6)
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 |
CN109902891A (en) * | 2017-12-07 | 2019-06-18 | 英业达科技有限公司 | The school timetable of immediate feedback adjusts system and method |
CN109993423A (en) * | 2019-03-22 | 2019-07-09 | 深圳市倍思教育科技有限公司 | Cource arrangement method, device, computer equipment and storage medium |
CN112258031A (en) * | 2020-10-21 | 2021-01-22 | 杭州布谷蓝途科技有限公司 | Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
CN112256188A (en) * | 2020-10-21 | 2021-01-22 | 杭州布谷蓝途科技有限公司 | Course arrangement scheme generation method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
CN113918643A (en) * | 2020-10-21 | 2022-01-11 | 杭州布谷蓝途科技有限公司 | Visual course arrangement adjustment indication method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
-
2023
- 2023-10-27 CN CN202311410473.4A patent/CN117132092A/en active Pending
Patent Citations (6)
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 |
CN109902891A (en) * | 2017-12-07 | 2019-06-18 | 英业达科技有限公司 | The school timetable of immediate feedback adjusts system and method |
CN109993423A (en) * | 2019-03-22 | 2019-07-09 | 深圳市倍思教育科技有限公司 | Cource arrangement method, device, computer equipment and storage medium |
CN112258031A (en) * | 2020-10-21 | 2021-01-22 | 杭州布谷蓝途科技有限公司 | Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
CN112256188A (en) * | 2020-10-21 | 2021-01-22 | 杭州布谷蓝途科技有限公司 | Course arrangement scheme generation method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
CN113918643A (en) * | 2020-10-21 | 2022-01-11 | 杭州布谷蓝途科技有限公司 | Visual course arrangement adjustment indication method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Dolphin | Numerical methods of star formation history measurement and applications to seven dwarf spheroidals | |
US20030065544A1 (en) | Method and system for performing dynamic scheduling | |
Müller et al. | Comprehensive approach to student sectioning | |
CN110503269B (en) | Class-dividing and class-arranging method and device under class-walking teaching | |
CN107451150B (en) | Geographic data presentation method and device | |
Kammer et al. | Glyphboard: Visual exploration of high-dimensional data combining glyphs with dimensionality reduction | |
CN108846782A (en) | Schedule list generation method and device, storage medium and electronic equipment | |
CN108681550A (en) | Page furbishing method, the control method of device and page furbishing, device | |
Navabi-Shirazi et al. | Multicriteria course mode selection and classroom assignment under sudden space scarcity | |
US11023962B2 (en) | Searching available rental vehicles based on adjustable parameters | |
CN117132092A (en) | Automatic course adjustment method and device and computer storage medium | |
CN112258031A (en) | Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method | |
US20170124673A1 (en) | System and Method of Scheduling Classes for a Timely Matriculation | |
Fontanelli et al. | Population patterns in World’s administrative units | |
CN111091343B (en) | Teaching resource detection method and computer storage medium | |
CN112434090B (en) | Student-side intelligent course selection method based on matching screening and three-dimensional histogram | |
US7930649B2 (en) | Method and system for sharing and managing context information | |
CN108257058B (en) | Hierarchical management and control platform suitable for education system student mobile terminal | |
CN113918643A (en) | Visual course arrangement adjustment indication method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method | |
CN113393205B (en) | Automatic course arrangement method, device, equipment and storage medium | |
Schöttler et al. | Constraint-Based Breakpoints for Responsive Visualization Design and Development | |
Chan et al. | Co-evolutionary algorithm approach to a university timetable system | |
WO2011071895A2 (en) | Thin analytics for enterprise mobile users | |
CN116719597B (en) | Self-adaptive view rendering method and creation method based on grid layout | |
Williams et al. | The atlas of canada web mapping: the user counts |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20231128 |
|
RJ01 | Rejection of invention patent application after publication |