CN112258031A - Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method - Google Patents
Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method Download PDFInfo
- Publication number
- CN112258031A CN112258031A CN202011134638.6A CN202011134638A CN112258031A CN 112258031 A CN112258031 A CN 112258031A CN 202011134638 A CN202011134638 A CN 202011134638A CN 112258031 A CN112258031 A CN 112258031A
- Authority
- CN
- China
- Prior art keywords
- course arrangement
- rearrangement
- course
- unit
- scheme
- 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 99
- 230000008707 rearrangement Effects 0.000 claims abstract description 239
- 238000004590 computer program Methods 0.000 claims description 36
- 230000008859 change Effects 0.000 claims description 17
- 238000001914 filtration Methods 0.000 claims description 17
- 238000010276 construction Methods 0.000 claims description 6
- 230000004048 modification Effects 0.000 claims description 4
- 238000012986 modification Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 claims description 3
- 230000006978 adaptation Effects 0.000 claims 1
- 230000003993 interaction Effects 0.000 abstract description 3
- 238000003491 array Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
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/06313—Resource planning in a project environment
-
- 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)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Educational Administration (AREA)
- Tourism & Hospitality (AREA)
- Economics (AREA)
- Educational Technology (AREA)
- Entrepreneurship & Innovation (AREA)
- General Physics & Mathematics (AREA)
- Marketing (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Primary Health Care (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biodiversity & Conservation Biology (AREA)
- Development Economics (AREA)
- General Health & Medical Sciences (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a course arrangement unit adjusting method and device, and corresponding computer equipment, storage media, a course arrangement system and a course arrangement method, wherein the course arrangement unit adjusting method comprises the following steps: displaying a course arrangement array in a first area, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme; receiving a selection instruction, wherein the selection instruction is used for appointing a unit area to be adjusted in a course arrangement array; displaying marks or prompts corresponding to different rearrangement schemes in a second area, wherein the rearrangement schemes cannot be obtained; receiving a preselection instruction, displaying a rearrangement scheme corresponding to one identifier in the course arrangement array, and displaying the difference between the rearrangement scheme and the preset scheme; and receiving a final selection instruction, and updating the preset scheme according to the rearrangement scheme displayed by the current identifier. The method and the device improve the flexibility of adjusting the execution time in the prior art and further improve the interaction mode.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and a device for adjusting a curriculum arrangement scheme.
Background
Course arrangement is commonly called course arrangement and is widely used in the industries of education, training and the like. Typically, some adjustments to the schedule are required after the initial completion of the lesson planning, or during the course of the schedule execution.
For example, three elements of class, teacher and course form a course arrangement unit, and course arrangement refers to allocating proper execution time to all course arrangement units. The factors during class affect the number of course arrangement units, and factors such as students, places and the like can be converted into the constraint conditions of course arrangement. For example, a playground can only accommodate X classes and one class at the same time point, and a computer classroom can only accommodate Y classes and one class at the same time; certainly, a teaching class conflict table is also constructed according to the reading requirement to serve as a course arrangement constraint condition, namely, the teaching class where each student is located cannot attend the course at the same time point.
The constraints can be divided into hard constraints and soft constraints, and the hard constraints are conditions which cannot be violated, for example, one class can be used for at most one class at one time point, and one teacher can only teach at most one class at one time point. Soft constraints are desirable, such as main class ranking to the morning and sub class ranking to the afternoon.
In the prior art, if one course arrangement unit needs to be replaced, a pairwise interchange mode is mainly adopted, whether the course arrangement unit after the execution time is interchanged violates basic hard constraints is checked, if class conflict or teacher conflict is found, the adjustment target cannot be finished, and a compromise scheme cannot be provided, so that the flexibility is limited, and the actual requirements are difficult to meet.
Disclosure of Invention
In order to improve the flexibility of adjusting the execution time in the prior art, the method for adjusting the course arrangement unit is provided, and the interaction mode is further improved.
The application provides a course arrangement unit adjusting method, which comprises the following steps:
displaying a course arrangement array in a first area, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
receiving a selection instruction, wherein the selection instruction is used for appointing a unit area to be adjusted in a course arrangement array;
displaying identifiers corresponding to different rearrangement schemes in a second area or prompting that the rearrangement schemes cannot be obtained, wherein the rearrangement schemes are rearrangement modes of all course arrangement units in a course arrangement array after course arrangement units corresponding to unit areas to be adjusted serve as course arrangement units to be adjusted and execution time of the course arrangement units to be adjusted is re-designated;
receiving a preselection instruction, displaying a rearrangement scheme corresponding to one identifier in the course arrangement array, and displaying the difference between the rearrangement scheme and the preset scheme;
and receiving a final selection instruction, and updating the preset scheme according to the rearrangement scheme displayed by the current identifier.
The present application further provides a course arrangement unit adjusting device, including:
the system comprises a first module, a second module and a third module, wherein the first module is used for displaying a course arrangement array in a first area, a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
the second module is used for receiving a selection instruction, and the selection instruction is used for appointing a unit area to be adjusted in the course arrangement array;
a third module, configured to display identifiers corresponding to different rearrangement schemes in a second region or prompt that the rearrangement schemes cannot be obtained, where the rearrangement schemes are rearrangement modes of all course arrangement units in a course arrangement array after a course arrangement unit corresponding to a unit area to be adjusted is used as a course arrangement unit to be adjusted and execution time of the course arrangement unit to be adjusted is re-specified;
a fourth module, configured to receive a preselection instruction, display a rearrangement scheme corresponding to one of the identifiers in the course arrangement array, and display a difference between the rearrangement scheme and the preset scheme;
and the fifth module is used for receiving a final selection instruction and updating the preset scheme according to the rearrangement scheme displayed by the current identifier.
The application also provides computer equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the course arrangement unit adjusting method when executing the computer program. Wherein each step corresponds to the relevant content of the first module to the fifth module.
The present application also relates to a computer-readable storage medium having stored thereon a computer program for implementing the steps of the course arrangement unit adjustment method of the present application when executed by a processor. Wherein each step corresponds to the relevant content of the first module to the fifth module.
The application also provides a course arrangement unit adjusting method, which comprises the following steps:
configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
changing the execution time of the appointed course arrangement unit to be adjusted, wherein the changed execution time is used as a second constraint condition for the related elements;
according to the first constraint condition and the second constraint condition, reconfiguring corresponding execution time for each course arrangement unit and generating one or more rearrangement schemes, or sending out a prompt when the rearrangement schemes cannot be obtained;
marking the difference from the preset scheme aiming at the preselected rearrangement scheme;
and updating the preset scheme according to the finally selected rearrangement scheme.
The present application further provides a course arrangement unit adjusting device, including:
the sixth module is used for configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
a seventh module, configured to change an execution time of the designated course scheduling unit to be adjusted, where the changed execution time is used as a second constraint condition for the relevant element;
an eighth module, configured to reconfigure a corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition, and generate one or more rearrangement schemes, or issue a prompt when a rearrangement scheme cannot be obtained;
a ninth module for marking a difference from a preset scheme for a preselected rearrangement scheme;
a tenth module, configured to update the preset scheme according to the finally selected rearrangement scheme.
The application also provides computer equipment which comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the course arrangement unit adjusting method when executing the computer program. Wherein each step corresponds to the related content of the sixth module to the tenth module.
The present application also relates to a computer-readable storage medium having stored thereon a computer program for implementing the steps of the course arrangement unit adjustment method of the present application when executed by a processor. Wherein each step corresponds to the related content of the sixth module to the tenth module.
The application also provides a course arrangement method, which comprises the following steps:
configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
displaying a course arrangement array, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
changing the execution time of the appointed course arrangement unit to be adjusted, taking the changed execution time as a second constraint condition for related elements, reconfiguring corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition, and generating one or more rearrangement schemes, or sending a prompt when the rearrangement schemes cannot be obtained;
displaying a preselected rearrangement scheme on the course arrangement array, and displaying the difference with the preset scheme;
and updating the preset scheme according to the finally selected rearrangement scheme.
The present application further provides a course arrangement device, including:
the system comprises a construction module, a scheduling module and a scheduling module, wherein the construction module is used for configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
the display module is used for displaying a course arrangement array, a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
the rearrangement module is used for changing the execution time of the appointed course arrangement unit to be adjusted, taking the changed execution time as a second constraint condition for related elements, reconfiguring corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition and generating one or more rearrangement schemes, or sending out a prompt when the rearrangement schemes cannot be obtained;
the pre-selection module is used for displaying a pre-selected rearrangement scheme on the course arrangement array and displaying the difference between the pre-selected rearrangement scheme and the preset scheme;
and the final selection module is used for updating the preset scheme according to the final selected rearrangement scheme.
The application also provides computer equipment which comprises a memory and a processor, wherein the memory stores computer programs, and the processor realizes the steps of the course arrangement method when executing the computer programs.
The present application also relates to a computer-readable storage medium having stored thereon a computer program for implementing the steps of the course scheduling method of the present application when executed by a processor.
With regard to the steps in the course arrangement unit adjusting method, course arrangement unit adjusting device, course arrangement method, course arrangement device, computer devices, and computer readable storage medium of the present application, several alternatives are provided below, but not as an additional limitation to the above-mentioned overall scheme, but only as further refinements, additions, or preferences, and each alternative may be combined individually for the above-mentioned overall scheme or may be combined among multiple alternatives without technical or logical contradictions.
Optionally, the course arrangement unit includes a plurality of elements, the course arrangement array is multiple, each course arrangement array uses one of the elements as an index, and each unit area indicates a corresponding course arrangement unit to display one or more elements in the corresponding course arrangement unit.
Optionally, each course unit includes elements of at least one of subject and teacher and class.
Optionally, all classes are used as the same kind of elements, and the number of different classes is used as the number of the same kind of elements;
all subjects are used as elements of the same type, and the number of different subjects is used as the number of the elements of the type;
all teachers are used as the same kind of elements, and the number of different teachers is used as the number of the kind of elements.
Optionally, the designated unit areas to be adjusted are at least two and all correspond to course arrangement units, or at least one unit area to be adjusted is a blank unit area.
Optionally, the selection instruction indicates position coordinates of the corresponding unit area in the first area, or each unit area has a unique tag, and the selection instruction indicates the corresponding unique tag.
Optionally, there is one course arrangement unit to be adjusted, and the specified execution time is directly configured during the course arrangement.
Optionally, the number of the course arrangement units to be adjusted is two, and the execution time is interchanged during rearrangement.
Optionally, the number of the course arrangement units to be adjusted is greater than two, and the execution time of adjustment among all the course arrangement units to be adjusted during rearrangement is adjusted.
Optionally, the course arrangement array is multiple, and the courses are arranged in the first area in sequence by using the classes as indexes, or the teachers as indexes.
Optionally, selectable index marks are displayed in the third area, and the course arrangement array of the first area is changed correspondingly according to the specified index.
Optionally, after the course arrangement unit to be adjusted is selected, the method further includes receiving a rearrangement instruction, and calculating a rearrangement scheme in response to the rearrangement instruction.
Optionally, the manner of receiving the rearrangement instruction is to display a first control in any region, and determine a state change of the first control to receive the rearrangement instruction.
Optionally, the first constraint condition includes a hard constraint condition that is not changeable when the course arrangement unit is rearranged, and a changeable soft constraint condition, and the second constraint condition is used as the hard constraint condition.
Optionally, when a course arrangement unit to be adjusted is specified, a course arrangement unit with which execution time cannot be directly exchanged is obtained by calculation according to the hard constraint condition, and real-time prompt is performed.
Optionally, a hard constraint condition that cannot be satisfied when the rearrangement scheme cannot be obtained is further included.
Optionally, a hard constraint condition that cannot be met by the prompt is displayed in the second area.
Optionally, at least one soft constraint condition is changed when the rearrangement scheme cannot be obtained according to all the constraint conditions, and then the rearrangement of the course arrangement unit is performed until the rearrangement scheme is obtained or the rearrangement scheme cannot be obtained after all the soft constraint conditions are changed, and the process exits.
Optionally, the soft constraint condition is modified in a manner of modification or disuse.
Optionally, the soft constraint conditions are changed one by one according to a preset priority when the soft constraint conditions are changed.
Optionally, the soft constraint randomly changes one or more of them when changed.
Optionally, one or more indicators are configured for the difference between the rearrangement scheme and the preset scheme, and at least one indicator is marked for at least one rearrangement scheme.
Optionally, the rearrangement scheme is multiple, and is displayed in sequence according to one index.
Optionally, the rearrangement schemes are multiple and are respectively identified according to at least one index.
Optionally, one of the indicators is a degree of compliance with the soft constraint condition.
Optionally, the less soft constraints discarded, the higher the compliance.
Optionally, one of the indexes is that in the course arrangement unit with the execution time changed, the number of related elements is the least.
Optionally, one of the indexes is that the number of course arrangement units for changing the execution time is the minimum.
Optionally, one of the indexes is that the number of course arrangement arrays distributed by course arrangement with the execution time changed is the minimum.
Optionally, at least one of the indexes is used as a filtering condition for the rearrangement scheme, and the rearrangement scheme after filtering is obtained according to the specified filtering condition.
Optionally, an alternative rearrangement scheme filtering condition is displayed in the fourth area, and the identification of the rearrangement scheme after filtering is displayed in the second area according to the specified filtering condition.
Optionally, the manner of displaying the difference between the rearrangement scheme and the preset scheme identifies the corresponding unit area in the course arrangement array by using the change of color and/or text.
Optionally, the preselected instruction is a position coordinate in the second area indicating an identity of the respective rearrangement scheme; or each identifier carries a unique label, the preselected instruction being indicative of the corresponding unique label.
Optionally, the manner of receiving the final selection instruction is to display a second control in any area, and determine a state change of the second control to receive the final selection instruction.
According to the method and the device, the adjustment mode of the course arrangement unit is further optimized through reconstruction of the constraint conditions, and in some preferable schemes, the constraint conditions can be dynamically changed as required to ensure that a rearrangement scheme is obtained.
Drawings
FIG. 1 is a diagram of an application environment in an embodiment of a course arrangement unit adjustment method according to the present application;
FIG. 2 is a flowchart illustrating an embodiment of a course arrangement unit adjustment method according to the present application;
FIG. 3 is a schematic diagram of an interactive interface in an embodiment of a course arrangement unit adjustment method according to the present application;
FIG. 4 is a schematic diagram of one of the course arrangement arrays of FIG. 3;
FIG. 5 is a schematic view of another course arrangement array of FIG. 3;
FIG. 6 is a flowchart illustrating an exemplary course arrangement unit adjustment method according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating a course arrangement method according to an embodiment of the present application;
FIG. 8 is a diagram illustrating an internal structure of a terminal as a computer device according to an embodiment of the present application;
fig. 9 is a diagram illustrating an internal structure of a server as a computer device according to an embodiment of the present application.
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 course arrangement unit adjusting method can be independently applied to the terminal and can also be applied to the environment shown in figure 1. In fig. 1, a terminal 1 communicates with a server 2 via a network. The terminal 1 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and the like, and the server 2 may be implemented by an independent server or a server cluster formed by a plurality of servers.
The user can carry out interface interaction through the terminal 1 to convey instructions and display output, and the data storage and operation are mainly carried out in the server 2. If the method is applied to the terminal independently, the links are implemented at the terminal.
Referring to fig. 2, an embodiment of the present application provides a course scheduling unit adjusting method, including:
step S100, displaying a course arrangement array in a first area, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
step S200, receiving a selection instruction, wherein the selection instruction is used for appointing a unit area to be adjusted in a course arrangement array;
step S300, displaying identifiers corresponding to different rearrangement schemes in a second area or prompting that the rearrangement schemes cannot be obtained, wherein the rearrangement schemes are rearrangement modes of all course arrangement units in a course arrangement array after course arrangement units corresponding to unit areas to be adjusted serve as course arrangement units to be adjusted and execution time of the course arrangement units to be adjusted is re-designated;
step S400, receiving a preselection instruction, displaying a rearrangement scheme corresponding to one identifier in a course arrangement array, and displaying the difference between the rearrangement scheme and a preset scheme;
and step S500, receiving a final selection instruction, and updating the preset scheme according to the rearrangement scheme displayed by the current identifier.
It should be understood that, although the steps in the flowchart of fig. 2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order 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 fig. 2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In step S100, regarding the data structure, the course arrangement unit includes a plurality of elements, the course arrangement array is a plurality of, each course arrangement array uses one of the elements as an index, and the way of indicating the corresponding course arrangement unit in each unit area is to display one or more elements in the corresponding course arrangement unit.
Each course unit comprises elements of at least one of subject and teacher and class. If the subjects correspond to the teachers one to one, namely the teachers are determined after the subjects are determined, the elements can be simplified, otherwise the elements generally comprise the subjects, the teachers and the classes.
The display form of the course arrangement array is usually a curriculum schedule, and the curriculum schedule can be presented in various ways, such as a class schedule, a teacher schedule and a grade summary. The course table is characterized in that a plurality of unit areas are distributed in an array mode in each course table, the horizontal and vertical coordinates of each unit area are a certain day and a certain time period respectively, namely corresponding execution time, course arrangement units are displayed in the unit areas, the specific expression forms can be subjects, teacher names, classes and the like, and the information can be expressed in various image-text modes and at least can be identified.
For example, in one embodiment, the class arrangement array is a plurality of classes, each class arrangement array takes a class as an index, the whole display form is a class schedule, the plurality of class arrangement arrays respectively correspond to different classes and are sequentially arranged in the first area, all the classes can be summarized and rearranged to form a class summary, for example, each class in the class summary is taken as a row or a column.
For another example, the plurality of course arrangement arrays are provided, each course arrangement array takes a teacher as an index, the whole presentation form is a teacher schedule, the plurality of course arrangement arrays respectively correspond to different teachers and are sequentially arranged in the first area, and subjects and classes required to give lessons for different time periods by the teacher are displayed in the same schedule.
Since there are various indexing ways for the course arrangement array, in order to facilitate switching, in an embodiment, selectable index marks are displayed in the third area, and the course arrangement array in the first area is changed according to the designated index.
The course arrangement adjustment can be based on a certain array or linkage of a plurality of arrays, when the adjustment occurs, the execution time relates to the change of course arrangement units, all classes serve as the same type of elements, and the number of different classes serves as the number of the type of elements; for example, if the execution time is four shifts in the change course scheduling unit, the number of elements (classes) involved in the current adjustment is four.
Similarly, all subjects are used as elements of the same type, and the number of different subjects is used as the number of the elements of the type; all teachers are used as the same kind of elements, and the number of different teachers is used as the number of the kind of elements.
In step S100, the preset scheme has already allocated execution time to all course arrangement units, the generation of the preset scheme may adopt a conventional technique but is not the key point of the present application, and the preset scheme may be generated in real time at a terminal or a server or retrieved from a pre-store according to actual hardware configuration, and displayed in each unit area according to the execution time, graphics and text of each course arrangement unit, and the like.
The user can browse the course arrangement array in the modes of starting application software or logging in a website and the like at the terminal, and can change the presentation form of the class schedule and the indication mode of the unit area in the same class schedule according to the requirement.
In step S200, the selection instruction may be in the form of a keyboard or mouse input instruction, or a touch screen click, and the unit area to be adjusted is specified in the course arrangement array by the selection instruction.
In one embodiment, the selection instruction indicates the position coordinates of the corresponding unit area in the first area, such as any one or more coordinate points within a given unit area range, or each unit area has a unique tag, and the selection instruction indicates the corresponding unique tag.
The number of the designated unit areas to be adjusted is at least two, wherein in one embodiment, the unit areas to be adjusted are all corresponding to the course arrangement units, for example, a first course arrangement unit and a second course arrangement unit are designated, and the execution time of the first course arrangement unit and the execution time of the second course arrangement unit need to be interchanged in the subsequent course arrangement.
In another embodiment, the unit area to be adjusted is a blank unit area, that is, the time period has no corresponding course arrangement unit, which means that the time period is expected to be assigned to the designated course arrangement unit.
When the number of the unit areas to be adjusted is more (more than two), the execution time of adjustment among all the course arrangement units to be adjusted is adjusted during rearrangement. For example, a first course arrangement unit, a second course arrangement unit, and a third course arrangement unit are designated, and the execution time during the course arrangement is adjusted only among the three units, for example, the execution time of the first course arrangement unit is given to the second course arrangement unit, the execution time of the second course arrangement unit is given to the third course arrangement unit, and the execution time of the third course arrangement unit is given to the first course arrangement unit. How to exchange specifically can be expressed in the selection instruction, that is, the selection instruction further includes the specification of the adjustment mode, and how to exchange the course arrangement units corresponding to the unit areas to be adjusted specifically.
The elements in the course arrangement units such as classes, teachers and courses are limited by constraint conditions, the course arrangement is to distribute all course arrangement units to proper execution time, namely class taking time on the premise of meeting the constraint conditions, the constraint conditions can be divided into hard constraint conditions and soft constraint conditions, the hard constraint conditions are conditions which cannot be violated absolutely, for example, one class can get a class at most at one time point, one teacher can teach one class at most at one time point, the conditions are more limited by objective conditions or logic rules, the soft constraint conditions are mainly expected, for example, a main class is arranged to the morning as far as possible, an assistant class is arranged to the afternoon as far as possible, and the conditions are teaching experiences or conventions.
The preset scheme is generated according to a first constraint condition, wherein the first constraint condition comprises a hard constraint condition which is not changeable during the course arrangement unit rearrangement and a changeable soft constraint condition, the expected execution time of the course arrangement unit to be adjusted is used as a second constraint condition, and the second constraint condition is also used as the hard constraint condition during the rearrangement.
In step S200, as a preferred embodiment, when a certain course arrangement unit to be adjusted is designated, a course arrangement unit with which the execution time cannot be directly exchanged is obtained according to the hard constraint condition, and is prompted in real time.
For example, if the current operation is to click a first course arrangement unit, a course arrangement unit which cannot directly exchange execution time with the first course arrangement unit is calculated in real time according to a hard constraint condition of a preset scheme, for example, a second course arrangement unit is highlighted in a unit area corresponding to the second course arrangement unit to serve as a prompt.
Similarly, the course arrangement unit that can directly exchange the execution time with the first course arrangement unit, for example, the third course arrangement unit, can also be calculated according to the hard constraint condition of the preset scheme, and then the unit area corresponding to the second course arrangement unit is highlighted to serve as the prompt.
In some cases, it is not possible to calculate that both the first constraint (the hard constraint in the rearrangement scheme) and the second constraint (as new hard constraints) are satisfied, and thus, in an embodiment, a hard constraint that cannot be satisfied when the rearrangement scheme cannot be obtained is further included. For example, a hard constraint that cannot be satisfied by the hint may be displayed in the second or other area for reference.
In step S200, the selection instruction may be withdrawn or modified, wherein in an embodiment, after the course arrangement unit to be adjusted is selected, the method further includes receiving a rearrangement instruction, and calculating a rearrangement scheme in response to the rearrangement instruction.
The mode of receiving the rearrangement instruction can display the first control in any area, and the state change of the first control is judged so as to receive the rearrangement instruction. Such as the first control being clicked, etc.
When the course arrangement units to be adjusted are designated, the number limit can be preset, for example, at most 5 can be designated, and after the number exceeds the preset number limit, the designation is invalid and prompted.
In step S300, since the content of the unit area of the course arrangement array needs to be changed to really represent and demonstrate the rearrangement scheme, and there may be a plurality of rearrangement schemes, the identifiers corresponding to different rearrangement schemes are only displayed in the second area, and the course arrangement array displaying the preset scheme before is not directly changed. Of course, if the rearrangement scheme cannot be obtained according to the calculation logic, the reason why the rearrangement scheme cannot be obtained can be prompted according to the requirement.
The rearrangement scheme is a rearrangement mode of all course arrangement units in the course arrangement array after the course arrangement units corresponding to the unit area to be adjusted are used as the course arrangement units to be adjusted and the execution time of the course arrangement units to be adjusted is re-designated. For example, after a first course arrangement unit and a second course arrangement unit are designated, the execution time of the first course arrangement unit and the execution time of the second course arrangement unit are exchanged and locked, and then the execution time is redistributed by other course arrangement units according to other preset constraint conditions and displayed in the corresponding unit area.
All course-ranking units of the present application are generally understood as course-ranking units in all grades involving all classes and teachers, and are not limited to the same class or the same teacher, which also gives greater flexibility to the overall solution.
The identifiers of the different rearrangement schemes can be displayed at different positions of the second region for clicking, and the identifiers of the rearrangement schemes can be in various forms such as figures, texts, animations or combinations thereof, and are not strictly limited.
In a preferred embodiment of the present application, at least one soft constraint condition is changed according to all the constraint conditions when the rearrangement scheme cannot be obtained, and then the rearrangement of the course arrangement unit is performed until the rearrangement scheme is obtained or the rearrangement scheme cannot be obtained after all the soft constraint conditions are changed, and the process exits.
Since the soft constraint conditions are allowed to be changed, the present embodiment adopts a mode of gradually reducing the satisfaction degree of the soft constraint conditions, and when the rearrangement scheme cannot be obtained according to all the constraint conditions, the present embodiment makes the soft constraint conditions dynamic if necessary, which further improves the class dispatching success rate and flexibility.
The soft constraint conditions are changed in a mode of modification or disuse, the priority of a plurality of soft constraint conditions can be preset, and the soft constraint conditions are changed one by one according to the preset priority when being changed. I.e., the weaker the expectation, the higher the priority, and the first to change.
In other embodiments, one or more of the soft constraints are randomly changed when the soft constraints are changed, that is, the soft constraints have no priority difference, one of the soft constraints is randomly changed to test whether the rearrangement scheme can be obtained, if the rearrangement scheme cannot be obtained, the change is continued, and after all the soft constraints are changed, the rearrangement scheme cannot be obtained and the process exits.
In step S300, when the second area displays the identifier of each rearrangement scheme, in a preferred embodiment, one or more indicators are configured for the difference between the rearrangement scheme and the preset scheme, and at least one indicator is marked for at least one rearrangement scheme.
The rearrangement schemes are different from the preset schemes inevitably, and the second area only displays the identifiers of the rearrangement schemes, but does not display the specific contents of the rearrangement schemes, so that intuitive screening or comparison is not convenient.
The indexes and the marking modes are reliably preset, wherein in one embodiment, the rearrangement schemes are multiple and are displayed in an ordered manner according to one index. For example, if one of the indexes is the number of course arrangement units with changed execution time, the identifiers of the respective rearrangement schemes may be displayed in an ordered manner according to the number of course arrangement units with changed execution time.
In another embodiment, the rearrangement schemes are multiple and are respectively identified according to at least one index. For example, if one of the indexes is the number of course arrangement units with changed execution time, the number of course arrangement units with changed execution time may be directly displayed on the identifier of each rearrangement scheme.
Regarding the index, in other embodiments may also be:
the degree of conformity to the soft constraint conditions, that is, the less the number of the discarded soft constraint conditions is, the higher the degree of conformity is;
the number of elements involved in a course arrangement unit for changing the execution time is the smallest, for example, two classes are involved in a course arrangement unit for changing the execution time in the first rearrangement scheme, three classes are involved in a course arrangement unit for changing the execution time in the second rearrangement scheme, and so on;
the number of the course arrangement arrays distributed in the course arrangement for changing the execution time is the least, when the course arrangement arrays are indexed according to the classes, the number of the related classes is considered to be the least, and when the course arrangement arrays are indexed according to the teachers, the number of the related teachers is considered to be the least.
And when filtering is needed, at least one of the indexes is used as a filtering condition for the rearrangement scheme, and the filtered rearrangement scheme is obtained according to the specified filtering condition.
For example, less than 10 classes can be set for a scheduling unit that changes execution time, less than 3 classes can be set for a scheduling unit that changes execution time, and so on.
To facilitate operation, in one embodiment, alternative rearrangement scheme filter conditions are displayed in the fourth region, and an identification of the filtered rearrangement scheme is displayed in the second region according to the specified filter conditions. The rearrangement scheme filtering condition can adopt various modes such as multiple selections, pull-down menus and the like.
In step 400, receiving a preselected instruction, displaying a rearrangement scheme corresponding to one identifier in the course arrangement array, and displaying a difference between the rearrangement scheme and a preset scheme, wherein the preselected instruction is a position coordinate indicating the identifier of the corresponding rearrangement scheme in a second area; or each identifier carries a unique label, and the preselected instructions are indicative of the corresponding unique label.
The specific operation is that the preselection instruction can adopt a screen, mouse click, keyboard input and the like, the difference between the rearrangement scheme and the preset scheme can be utilized, and the corresponding unit area can be identified in the course arrangement array by utilizing the change of color and/or characters. For example, the differentiated cell areas may be highlighted with a special background color, text, or flashing cues.
When a plurality of rearrangement schemes are used, the rearrangement schemes can be switched as required and displayed in the course arrangement array one by one for the user to refer until a certain rearrangement scheme is determined as a final selection.
In step S500, the manner of receiving the selection instruction is to display a second control in any area, and determine a state change of the second control to receive the selection instruction. Other modes capable of inputting instructions can be adopted, and when the preset scheme is updated by the finally selected rearrangement scheme, on one hand, the database is updated, and on the other hand, the unit area highlighted before can be cancelled in the course arrangement array in the first area, so that the overall display style of the course arrangement array is consistent.
Referring to fig. 3, 4 and 5, the first area 10, the second area 20, the third area 30 and the fourth area 40 in the interactive interface may be different areas of the same display device, or may be different display devices.
A plurality of course arrangement arrays, such as a course arrangement array 11, a course arrangement array 12 and the like, are distributed in the first area 10, in order to switch the type of course arrangement array, selectable index marks, such as an index mark 31, an index mark 32 and the like, are displayed in the third area 30, and the type of course arrangement array can be switched to be a class or a teacher.
For example, the class arrangement array type is indexed by class, fig. 4 and fig. 5 schematically illustrate the class arrangement arrays of 101 and 102 classes, wherein the same columns in the class arrangement array are all lessons in a certain day of the week, the same rows are lessons in the same class in each day of the week, the subject types such as Chinese, mathematics and the like are displayed in each unit area, and the teaching teachers such as A, B, C and the like are also displayed at the same time.
Taking the course arrangement array 11 as an example, the designated course arrangement units to be adjusted adopt a highlighted manner with different background colors, for example, the course arrangement units corresponding to the 1 st section of tuesday include the class (101), subject (Chinese), teacher (A), and for example, the course arrangement unit corresponding to the 5 th section of tuesday does not have a teaching task arranged before, so that the elements can be regarded as empty.
After the course arrangement array 11 designates course arrangement units to be adjusted, a plurality of corresponding rearrangement schemes are obtained, the identifiers of the rearrangement schemes are displayed in the second area 20, such as the identifier 21, the identifier 22, and the like, one identifier is clicked each time, the corresponding rearrangement scheme is displayed in the course arrangement array in the first area 10, and when more rearrangement schemes are available, alternative rearrangement scheme filtering conditions, such as the filtering condition 41, the filtering condition 42, and the like, can be displayed in the fourth area 40.
The difference between the rearrangement scheme and the preset scheme is highlighted, for example, if the section 2 of the 102 shift week in the rearrangement scheme is changed compared with the preset scheme, the rearrangement scheme is highlighted, so that the user can compare and select the rearrangement scheme conveniently until the final selected rearrangement scheme is determined.
Referring to fig. 6, an embodiment of the present application further provides a course arrangement unit adjustment method, including:
step S600, configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
step S700, changing the execution time of the appointed course arrangement unit to be adjusted, wherein the changed execution time is used as a second constraint condition for the related elements;
step S800, according to the first constraint condition and the second constraint condition, reconfiguring corresponding execution time for each course arrangement unit and generating one or more rearrangement schemes, or sending out a prompt when the rearrangement schemes cannot be obtained;
step S900, marking the difference from the preset scheme aiming at the preselected rearrangement scheme;
and step S1000, updating the preset scheme according to the finally selected rearrangement scheme.
The step S600 in this embodiment is not limited to the step 500 in the previous embodiments, and is only used as a label for convenience of description. For the description of the related technical features, for example, with respect to the element composition of the course arrangement unit, the meaning of the first constraint and the second constraint, the dynamization of the soft constraint, and the like, reference may be made to the foregoing embodiments, and therefore, repeated details are not described herein.
The course arrangement unit adjusting method of the present embodiment can be implemented in a terminal or a server,
in step S600, the hard constraint in the first constraint, for example, the same teacher cannot give lessons to two classes at the same time, the same class cannot be given lessons by different teachers at the same time, and the like, while the soft constraint is mainly a desire for combined management or special needs, for example, a teacher cannot schedule lessons in monday morning, the same class has language lessons every day, sports lessons are scheduled in afternoon, and the like. All the constraint conditions can be associated to corresponding elements in the course arrangement units, the execution time is configured for each course arrangement unit according to the limitation of the elements to form a preset scheme, and the preset scheme is displayed in a course arrangement array (namely a curriculum schedule) mode when a user uses the preset scheme.
In step S700, for example, a first course unit (execution time of T1 in the preset plan) and a second course unit (execution time of T2 in the preset plan) are designated and the execution times are expected to be interchanged, the first course unit execution time is configured as T2, the second course unit execution time is configured as T1, and the conditions are hard constraints L1.
In step S800, the execution time is reconfigured for all course arrangement units in the whole class, except for the hard constraint L1, the rearrangement process is limited by other constraints, and may obtain one or more rearrangement schemes, or may not obtain a rearrangement scheme, and when a rearrangement scheme cannot be obtained, a prompt may be sent and it is marked which hard constraint is not met.
By combining the above embodiments, when the rearrangement scheme cannot be obtained, the soft constraint condition may be changed, the rearrangement scheme is further obtained by reducing the expected manner, or a prompt is issued when the rearrangement scheme cannot be obtained after all the soft constraint conditions are changed, and which hard constraint condition is not met is marked.
In step S900, for the preselected rearrangement scheme, the difference from the preset scheme is marked, and further, the difference can be displayed in the course arrangement array through the display device in a more intuitive manner; however, when different rearrangement schemes are switched, different arrangement arrays according to differences are correspondingly changed.
In step S1000, after the preset scheme is updated according to the finally selected rearrangement scheme, the preset scheme can be further displayed in the course arrangement array in a more intuitive manner through the display device.
Referring to fig. 7, an embodiment of the present application further provides a course arrangement method, including:
configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
displaying a course arrangement array, wherein a plurality of unit areas are distributed in the course arrangement array by taking the execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
changing the execution time of the appointed course arrangement unit to be adjusted, taking the changed execution time as a second constraint condition for the relevant elements, reconfiguring corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition, and generating one or more rearrangement schemes, or sending a prompt when the rearrangement schemes cannot be obtained;
displaying the preselected rearrangement scheme on the course arrangement array, and displaying the difference with the preset scheme;
and updating the preset scheme according to the finally selected rearrangement scheme.
The course arrangement method can be implemented in a communication system consisting of a terminal and a server, wherein a user directly faces the terminal to operate, and the storage and calculation of related data are implemented in the server. For example, a plurality of course arrangement units are constructed by the server, each course arrangement unit comprises a plurality of elements, corresponding execution time is configured for each course arrangement unit according to a first constraint condition preset for each element to obtain a preset scheme, and the preset scheme can be generated by other equipment and then uploaded to the server.
Responding to a request of a user, displaying a course arrangement array on a terminal, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
a user designates a course arrangement unit to be adjusted through a terminal, a server changes the execution time of the designated course arrangement unit to be adjusted, the changed execution time is used as a second constraint condition for related elements, and according to the first constraint condition and the second constraint condition, corresponding execution time is configured for each course arrangement unit again to generate one or more rearrangement schemes, or a prompt is sent when the rearrangement schemes cannot be obtained;
each rearrangement scheme is displayed on the terminal in an identification mode, when a user preselects the rearrangement scheme on the terminal, the preselect rearrangement scheme is displayed on the course arrangement array, and the difference between the preselect rearrangement scheme and the preset scheme is displayed;
after the user designates the final selected rearrangement scheme at the terminal, the final selected rearrangement scheme is displayed in the course arrangement array and the server responds to the update data.
In the course arrangement method of this embodiment, for example, regarding the element composition of the course arrangement unit, the meaning of the first constraint condition and the second constraint condition, the dynamization of the soft constraint, and the like, the descriptions of the related technical features may refer to the foregoing embodiments related to the course arrangement unit adjustment method, and therefore repeated details are not repeated.
An embodiment of the present application further provides a course arrangement unit adjusting device, including:
the system comprises a first module, a second module and a third module, wherein the first module is used for displaying a course arrangement array in a first area, a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
the second module is used for receiving a selection instruction, and the selection instruction is used for appointing a unit area to be adjusted in the course arrangement array;
a third module, configured to display identifiers corresponding to different rearrangement schemes in the second area or prompt that the rearrangement schemes cannot be obtained, where the rearrangement schemes are rearrangement modes of all course arrangement units in the course arrangement array after the course arrangement units corresponding to the unit area to be adjusted serve as course arrangement units to be adjusted and the execution time of the course arrangement units to be adjusted is re-specified;
the fourth module is used for receiving a preselection instruction, displaying a rearrangement scheme corresponding to one identifier in the course arrangement array, and displaying the difference between the rearrangement scheme and a preset scheme;
and the fifth module is used for receiving a final selection instruction and updating the preset scheme according to the rearrangement scheme displayed by the current identifier.
An embodiment of the present application further provides a course arrangement unit adjusting device, including:
the sixth module is used for configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
a seventh module, configured to change an execution time of the designated course scheduling unit to be adjusted, where the changed execution time is used as a second constraint condition for the relevant element;
an eighth module, configured to reconfigure a corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition, and generate one or more rearrangement schemes, or issue a prompt when a rearrangement scheme cannot be obtained;
a ninth module for marking a difference from a preset scheme for a preselected rearrangement scheme;
and the tenth module is used for updating the preset scheme according to the finally selected rearrangement scheme.
For the specific limitations of the course arrangement unit adjustment device in each embodiment, reference may be made to the above limitations on the course arrangement unit adjustment method, which is not described herein again.
An embodiment of the present application further provides a course arrangement device, including:
the system comprises a construction module, a scheduling module and a scheduling module, wherein the construction module is used for configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
the display module is used for displaying a course arrangement array, a plurality of unit areas are distributed in the course arrangement array by taking the execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
the rearrangement module is used for changing the execution time of the appointed course arrangement unit to be adjusted, taking the changed execution time as a second constraint condition for the related elements, reconfiguring the corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition and generating one or more rearrangement schemes, or sending a prompt when the rearrangement schemes cannot be obtained;
the pre-selection module is used for displaying the pre-selected rearrangement scheme on the course arrangement array and displaying the difference between the pre-selected rearrangement scheme and the preset scheme;
and the final selection module is used for updating the preset scheme according to the final selected rearrangement scheme.
For the specific limitations of the course arrangement device, reference may be made to the above limitations on the course arrangement method and the course arrangement unit adjustment method, which are not described herein again.
The course arrangement unit adjusting device. And the various modules of the course scheduling apparatus can be implemented in whole or in part by software, hardware, and combinations 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.
An embodiment of the present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the step of the course arrangement unit adjustment method according to the present application when executing the computer program. Each step corresponds to the relevant content of the first module to the fifth module, and specifically includes, for example:
step S100, displaying a course arrangement array in a first area, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
step S200, receiving a selection instruction, wherein the selection instruction is used for appointing a unit area to be adjusted in a course arrangement array;
step S300, displaying identifiers corresponding to different rearrangement schemes in a second area or prompting that the rearrangement schemes cannot be obtained, wherein the rearrangement schemes are rearrangement modes of all course arrangement units in a course arrangement array after course arrangement units corresponding to unit areas to be adjusted serve as course arrangement units to be adjusted and execution time of the course arrangement units to be adjusted is re-designated;
step S400, receiving a preselection instruction, displaying a rearrangement scheme corresponding to one identifier in a course arrangement array, and displaying the difference between the rearrangement scheme and a preset scheme;
and step S500, receiving a final selection instruction, and updating the preset scheme according to the rearrangement scheme displayed by the current identifier.
The detailed features and related explanations of each step can be referred to the above definition of the course scheduling unit adjusting method, and are not described herein again.
The computer device may be a terminal, and its internal structure diagram may be as shown in fig. 8. 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 course unit adjustment 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.
An embodiment of the present application further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the step of the course arrangement unit adjustment method according to the present application when executing the computer program. Each step corresponds to the related content of the sixth module to the tenth module, and the method specifically comprises the following steps:
step S600, configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
step S700, changing the execution time of the appointed course arrangement unit to be adjusted, wherein the changed execution time is used as a second constraint condition for the related elements;
step S800, according to the first constraint condition and the second constraint condition, reconfiguring corresponding execution time for each course arrangement unit and generating one or more rearrangement schemes, or sending out a prompt when the rearrangement schemes cannot be obtained;
step S900, marking the difference from the preset scheme aiming at the preselected rearrangement scheme;
and step S1000, updating the preset scheme according to the finally selected rearrangement scheme.
The detailed features and related explanations of each step can be referred to the above definition of the course scheduling unit adjusting method, and are not described herein again.
The computer device of this embodiment may be not only the terminal shown in fig. 8, but also a server shown in fig. 9, and its internal structure includes a processor, a memory, and a network interface 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, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing relevant data. 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 course unit adjustment method.
Those skilled in the art will appreciate that the configurations shown in fig. 8 and 9 are block diagrams of only some of the configurations relevant to the present disclosure, and do not constitute a limitation on the computing devices to which the present disclosure may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The application also provides computer equipment which comprises a memory and a processor, wherein the memory stores computer programs, and the processor realizes the steps of the course arrangement method when executing the computer programs. The computer device of the embodiment may be a communication system composed of the terminal shown in fig. 8 and the server shown in fig. 9, the user directly faces the terminal to operate, and the storage and operation of the related data are implemented in the server. The detailed characteristics and related explanations of each step can refer to the limitations of the course arrangement method and the course arrangement unit adjustment method in the above, and are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the course arrangement unit adjustment method of the present application. Wherein each step corresponds to the relevant content of the first module to the fifth module. The detailed features and related explanations of each step can be referred to the above definition of the course scheduling unit adjusting method, and are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the course arrangement unit adjustment method of the present application. Wherein each step corresponds to the related content of the sixth module to the tenth module. The detailed features and related explanations of each step can be referred to the above definition of the course scheduling unit adjusting method, and are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the course scheduling method of the present application. The detailed characteristics and related explanations of each step can refer to the limitations of the course arrangement method and the course arrangement unit adjustment method in the above, and are not described herein again.
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 related to 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. When technical features in different embodiments are represented in the same drawing, it can be seen that the drawing also discloses a combination of the embodiments concerned.
The above examples 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 (36)
1. The course arrangement unit adjusting method is characterized by comprising the following steps:
displaying a course arrangement array in a first area, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
receiving a selection instruction, wherein the selection instruction is used for appointing a unit area to be adjusted in a course arrangement array;
displaying identifiers corresponding to different rearrangement schemes in a second area or prompting that the rearrangement schemes cannot be obtained, wherein the rearrangement schemes are rearrangement modes of all course arrangement units in a course arrangement array after course arrangement units corresponding to unit areas to be adjusted serve as course arrangement units to be adjusted and execution time of the course arrangement units to be adjusted is re-designated;
receiving a preselection instruction, displaying a rearrangement scheme corresponding to one identifier in the course arrangement array, and displaying the difference between the rearrangement scheme and the preset scheme;
and receiving a final selection instruction, and updating the preset scheme according to the rearrangement scheme displayed by the current identifier.
2. The course arrangement unit adjustment method according to claim 1, wherein the course arrangement unit comprises a plurality of elements, the course arrangement array is a plurality of, each course arrangement array uses one of the elements as an index, and each unit area indicates the corresponding course arrangement unit in a manner of displaying one or more elements in the corresponding course arrangement unit.
3. The course arrangement unit adjustment method according to claim 2, wherein each course arrangement unit comprises elements of a class and at least one of a subject and a teacher.
4. The method of claim 3, wherein the designated unit areas to be adjusted are at least two and all corresponding to course arranging units, or at least one unit area to be adjusted is a blank unit area.
5. The course-ranking unit adjustment method according to claim 1, wherein the selection instruction is to indicate the position coordinates of the corresponding unit area in the first area or each unit area is provided with a unique tag, and the selection instruction is to indicate the corresponding unique tag.
6. The course arrangement unit adjustment method according to claim 1, wherein the number of course arrangement units to be adjusted is one, and the specified execution time is directly configured during the course arrangement; or
Two course arrangement units to be adjusted are provided, and the execution time is exchanged during rearrangement; or
The number of the course arrangement units to be adjusted is larger than two, and the execution time of adjustment among all the course arrangement units to be adjusted is adjusted during rearrangement.
7. The course arrangement unit adjustment method according to claim 1, wherein the course arrangement array is plural, and is sequentially arranged in the first area by using a class as an index, or sequentially arranged in the first area by using a teacher as an index.
8. The course ranking unit adjustment method according to claim 7, wherein selectable index marks are displayed in the third area, and the course ranking array of the first area is changed accordingly according to the designated index.
9. The course arrangement unit adjusting method according to claim 1, wherein after selecting the course arrangement unit to be adjusted, further comprising receiving a rearrangement instruction and calculating a rearrangement scheme in response to the rearrangement instruction.
10. The course arrangement unit adjustment method according to claim 9, wherein the manner of receiving the rearrangement instruction is to display a first control in an arbitrary region, and determine a state change of the first control to receive the rearrangement instruction.
11. The course unit adjustment method according to claim 1, wherein one or more indicators are configured for the difference between the rearrangement scheme and the preset scheme, and at least one indicator is marked for at least one of the rearrangement schemes.
12. The course arrangement unit adjustment method according to claim 11, wherein the rearrangement scheme is plural and is displayed in an order according to one index.
13. The course unit adjustment method according to claim 11, wherein the rearrangement schemes are plural and are respectively identified according to at least one index.
14. The course arrangement unit adjustment method according to claim 11, wherein at least one of the indexes is used as a filtering condition for the rearrangement scheme, and the filtered rearrangement scheme is obtained according to a specified filtering condition.
15. The lesson-ranking unit adjustment method according to claim 11, characterized in that alternative filtering conditions for the rearrangement scheme are displayed in the fourth area, and the filtered identification of the rearrangement scheme is displayed in the second area according to the specified filtering conditions.
16. The course arrangement unit adjustment method according to claim 15, wherein the difference between the rearrangement scheme and the preset scheme is displayed in a manner that a corresponding unit area is identified in the course arrangement array by using a change in color and/or text.
17. The course unit adjustment method according to claim 1, wherein the preselected instruction is a position coordinate indicating an identification of a corresponding rearrangement scheme in the second area; or each identifier carries a unique label, the preselected instruction being indicative of the corresponding unique label.
18. The course scheduling unit adjusting method according to claim 1, wherein the final instruction is received by displaying a second control in any area and determining a state change of the second control to receive the final instruction.
19. The course arrangement unit adjusting method is characterized by comprising the following steps:
configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
changing the execution time of the appointed course arrangement unit to be adjusted, wherein the changed execution time is used as a second constraint condition for the related elements;
according to the first constraint condition and the second constraint condition, reconfiguring corresponding execution time for each course arrangement unit and generating one or more rearrangement schemes, or sending out a prompt when the rearrangement schemes cannot be obtained;
marking the difference from the preset scheme aiming at the preselected rearrangement scheme;
and updating the preset scheme according to the finally selected rearrangement scheme.
20. The course unit adjustment method according to claim 19, wherein said first constraint condition comprises a hard constraint condition that is not changeable at the time of course unit rearrangement and a changeable soft constraint condition, and said second constraint condition is used as a hard constraint condition.
21. The method of claim 20, wherein when a course arrangement unit to be adjusted is designated, a course arrangement unit with which execution time cannot be directly exchanged is calculated according to hard constraints and is prompted in real time.
22. The course arrangement unit adjustment method according to claim 21, further comprising prompting hard constraints that cannot be met when the rearrangement scheme is not available.
23. The method of claim 20, wherein at least one soft constraint condition is modified when the re-arrangement scheme is not available according to all the constraint conditions, and the re-arrangement of the course arrangement unit is performed until the re-arrangement scheme is available or the re-arrangement scheme is not available after all the soft constraint conditions are modified.
24. The course unit adjustment method of claim 23, wherein the soft constraint condition is modified by modification or disuse.
25. The course unit adjustment method according to claim 24, wherein the soft constraints are changed one by one according to a preset priority when changed, or the soft constraints are changed randomly when changed.
26. The course arrangement unit adjustment method according to claim 20, wherein one or more indicators are configured for the difference between the rearrangement scheme and the preset scheme, wherein one indicator is a compliance degree with soft constraints, and the compliance degree is higher the less soft constraints are discarded.
27. Course arrangement unit adjusting device, its characterized in that includes:
the system comprises a first module, a second module and a third module, wherein the first module is used for displaying a course arrangement array in a first area, a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
the second module is used for receiving a selection instruction, and the selection instruction is used for appointing a unit area to be adjusted in the course arrangement array;
a third module, configured to display identifiers corresponding to different rearrangement schemes in a second region or prompt that the rearrangement schemes cannot be obtained, where the rearrangement schemes are rearrangement modes of all course arrangement units in a course arrangement array after a course arrangement unit corresponding to a unit area to be adjusted is used as a course arrangement unit to be adjusted and execution time of the course arrangement unit to be adjusted is re-specified;
a fourth module, configured to receive a preselection instruction, display a rearrangement scheme corresponding to one of the identifiers in the course arrangement array, and display a difference between the rearrangement scheme and the preset scheme;
and the fifth module is used for receiving a final selection instruction and updating the preset scheme according to the rearrangement scheme displayed by the current identifier.
28. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the course unit adjustment method according to any of claims 1-18.
29. 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 course unit adjustment method according to any one of claims 1 to 18.
30. Course arrangement unit adjusting device, its characterized in that includes:
the sixth module is used for configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
a seventh module, configured to change an execution time of the designated course scheduling unit to be adjusted, where the changed execution time is used as a second constraint condition for the relevant element;
an eighth module, configured to reconfigure a corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition, and generate one or more rearrangement schemes, or issue a prompt when a rearrangement scheme cannot be obtained;
a ninth module for marking a difference from a preset scheme for a preselected rearrangement scheme;
a tenth module, configured to update the preset scheme according to the finally selected rearrangement scheme.
31. Computer arrangement comprising a memory and a processor, said memory storing a computer program, characterized in that said processor when executing said computer program realizes the steps of a course-scheduling unit adaptation method according to any of claims 19-26.
32. Computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the course unit adjustment method according to any of claims 19-26.
33. The course arrangement method is characterized by comprising the following steps:
configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
displaying a course arrangement array, wherein a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
changing the execution time of the appointed course arrangement unit to be adjusted, taking the changed execution time as a second constraint condition for related elements, reconfiguring corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition, and generating one or more rearrangement schemes, or sending a prompt when the rearrangement schemes cannot be obtained;
displaying a preselected rearrangement scheme on the course arrangement array, and displaying the difference with the preset scheme;
and updating the preset scheme according to the finally selected rearrangement scheme.
34. A course arrangement device is characterized by comprising:
the system comprises a construction module, a scheduling module and a scheduling module, wherein the construction module is used for configuring corresponding execution time for each course arrangement unit according to a first constraint condition preset for each element in the course arrangement unit to obtain a preset scheme;
the display module is used for displaying a course arrangement array, a plurality of unit areas are distributed in the course arrangement array by taking execution time as a coordinate, and each unit area indicates a corresponding course arrangement unit according to a preset scheme;
the rearrangement module is used for changing the execution time of the appointed course arrangement unit to be adjusted, taking the changed execution time as a second constraint condition for related elements, reconfiguring corresponding execution time for each course arrangement unit according to the first constraint condition and the second constraint condition and generating one or more rearrangement schemes, or sending out a prompt when the rearrangement schemes cannot be obtained;
the pre-selection module is used for displaying a pre-selected rearrangement scheme on the course arrangement array and displaying the difference between the pre-selected rearrangement scheme and the preset scheme;
and the final selection module is used for updating the preset scheme according to the final selected rearrangement scheme.
35. Computer arrangement comprising a memory and a processor, said memory storing a computer program, characterized in that said processor realizes the steps of the course-scheduling method according to claim 33 when executing said computer program.
36. Computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the course scheduling method according to claim 33.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011134638.6A CN112258031A (en) | 2020-10-21 | 2020-10-21 | Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011134638.6A CN112258031A (en) | 2020-10-21 | 2020-10-21 | Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112258031A true CN112258031A (en) | 2021-01-22 |
Family
ID=74264524
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011134638.6A Pending CN112258031A (en) | 2020-10-21 | 2020-10-21 | Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112258031A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113393205A (en) * | 2021-05-28 | 2021-09-14 | 广州木铎信息技术有限公司 | Automatic course arrangement method, device, equipment and storage medium |
CN117132092A (en) * | 2023-10-27 | 2023-11-28 | 深圳市倍思教育科技有限公司 | Automatic course adjustment method and device and computer storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106204378A (en) * | 2016-07-26 | 2016-12-07 | 天闻数媒科技(湖南)有限公司 | The processing method of a kind of lesson data arrangement and system |
CN109615571A (en) * | 2018-12-17 | 2019-04-12 | 北京竞业达数码科技股份有限公司 | A kind of Course Arrangement |
CN109685365A (en) * | 2018-12-21 | 2019-04-26 | 正方软件股份有限公司 | A kind of Course Arrangement, method, apparatus and computer readable storage medium |
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 |
US20190220940A1 (en) * | 2013-05-05 | 2019-07-18 | Alan Weeks | Systems and methods for visual schedule building |
CN110400242A (en) * | 2019-07-25 | 2019-11-01 | 上海商汤智能科技有限公司 | Education course arrangement method and device, system, electronic equipment and storage medium |
-
2020
- 2020-10-21 CN CN202011134638.6A patent/CN112258031A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190220940A1 (en) * | 2013-05-05 | 2019-07-18 | Alan Weeks | Systems and methods for visual schedule building |
CN106204378A (en) * | 2016-07-26 | 2016-12-07 | 天闻数媒科技(湖南)有限公司 | The processing method of a kind of lesson data arrangement and system |
CN109902891A (en) * | 2017-12-07 | 2019-06-18 | 英业达科技有限公司 | The school timetable of immediate feedback adjusts system and method |
CN109615571A (en) * | 2018-12-17 | 2019-04-12 | 北京竞业达数码科技股份有限公司 | A kind of Course Arrangement |
CN109685365A (en) * | 2018-12-21 | 2019-04-26 | 正方软件股份有限公司 | A kind of Course Arrangement, method, apparatus and computer readable storage medium |
CN109993423A (en) * | 2019-03-22 | 2019-07-09 | 深圳市倍思教育科技有限公司 | Cource arrangement method, device, computer equipment and storage medium |
CN110400242A (en) * | 2019-07-25 | 2019-11-01 | 上海商汤智能科技有限公司 | Education course arrangement method and device, system, electronic equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113393205A (en) * | 2021-05-28 | 2021-09-14 | 广州木铎信息技术有限公司 | Automatic course arrangement method, device, equipment and storage medium |
CN113393205B (en) * | 2021-05-28 | 2024-08-27 | 广州木铎信息技术有限公司 | Automatic course arrangement method, device, equipment and storage medium |
CN117132092A (en) * | 2023-10-27 | 2023-11-28 | 深圳市倍思教育科技有限公司 | Automatic course adjustment method and device and computer storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7941326B2 (en) | Interactive patient communication development system for reporting on patient healthcare management | |
CN102081398B (en) | Method and apparatus for modifying process control data | |
CN102831143B (en) | The three-dimensional visualization of status of processes and progress | |
Gotz et al. | Visual cluster analysis in support of clinical decision intelligence | |
US6957187B1 (en) | System for aiding to make medical care schedule, and program storage device readable by the system | |
CN112258031A (en) | Course arrangement unit adjusting method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method | |
US8543439B2 (en) | Methods, systems, and computer-readable media for determining a plurality of turfs from where to reallocate a workforce to a given turf | |
US20200380451A1 (en) | Method and system for scheduling shifts and employee leave management | |
US20120036209A1 (en) | Hierarchical social network system | |
CN108682443A (en) | A kind of capability assessment method and its equipment | |
US20230078010A1 (en) | Systems and methods for learning-based network | |
EP3761288A1 (en) | Print, and production method and production system for touch-and-talk content of print | |
CN112256188B (en) | Course arrangement scheme generation method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method | |
CN113918643A (en) | Visual course arrangement adjustment indication method and device, corresponding computer equipment, storage medium, course arrangement system and course arrangement method | |
JP2003122235A (en) | Electronic learning device | |
JP2004177704A (en) | Learning device | |
CN106548290A (en) | A kind of urban area development decision-making supports system and method | |
US20160232799A1 (en) | Recommendation of an adjustment to a learning plan of an academic course | |
CN112527162A (en) | Schedule plan display method, device, equipment and medium applied to intelligent park | |
KR20070088663A (en) | Medical care supporting system | |
KR20110089709A (en) | Apparatus for scheduling class information for each student and method for the same | |
US20230297929A1 (en) | Talent development information processing apparatus, talent development information processing method, and talent development information processing program | |
JP3333908B2 (en) | Timetable creation support system | |
CN113393205B (en) | Automatic course arrangement method, device, equipment and storage medium | |
JP5049771B2 (en) | Education support system |
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 |