Course arrangement method, apparatus and device, medium and product
By obtaining the class schedule data set, grouping and using the class schedule algorithm to generate class schedules, the existing class schedule methods are solved, and the results of simplifying the process and improving efficiency are achieved.
Patent Information
- Application Number
- CN202411789286.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-14
AI Technical Summary
The existing class schedule method has the problem of complex and low efficiency in class schedule, which is difficult to meet the changing environment of modern banking business and the personalized needs of employees.
By obtaining the class schedule data set, grouping it according to employee information, and using the pre-configured class schedule algorithm to generate the target class schedule, and finally push the class schedule to the display device for display.
The course scheduling process is simplified, the efficiency of course scheduling work is improved, and the course scheduling operation based on multiple factors is realized. It can be dynamically adjusted to adapt to the actual work conditions of employees.
Smart Images

Figure CN119624718A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data, and in particular to a course scheduling method, device, equipment, medium and product. Background Art
[0002] As banking business continues to develop, the work scope of bank employees is becoming more extensive and complex. They are not only responsible for daily financial services, but also need to participate in various trainings, meetings and activities. The reasonable planning of their work arrangements and training time has become a key issue.
[0003] The traditional course scheduling model mainly relies on manual operation. Specifically, the training course arrangement for bank employees is usually completed manually. First of all, the accuracy of course scheduling is poor, because the manual course scheduling method is easily interfered by human factors, resulting in deviations in the course scheduling results. Secondly, the course scheduling is not reasonable enough. The nature of bank employees' work is special. When faced with emergencies such as temporary overtime and business trips, it has a significant impact on the course scheduling system, which in turn causes unreasonable course scheduling. Furthermore, the efficiency is extremely low. The manual course scheduling model is difficult to cope with large-scale course scheduling tasks and cannot meet the needs of business growth. Finally, there is a lack of flexibility. The existing system is difficult to dynamically adjust according to the actual working conditions of employees, cannot meet the personalized needs of employees, and is difficult to adapt to the changing environment of modern banking business.
[0004] In summary, the existing scheduling methods have the problems of complicated scheduling process and low efficiency of scheduling work. Summary of the invention
[0005] The present invention provides a class scheduling method, device, equipment, medium and product, which can solve the problems of complex class scheduling process and low efficiency of class scheduling in existing class scheduling methods.
[0006] In a first aspect, an embodiment of the present invention provides a method for scheduling classes, the method comprising:
[0007] Obtaining a class scheduling data set, and grouping each employee according to the employee information in the class scheduling data set to obtain employee groups;
[0008] Using a pre-configured class scheduling algorithm, based on the class scheduling data set and the grouping results of each employee, a target class schedule is generated;
[0009] Push the target timetable to the display device for display.
[0010] In a second aspect, an embodiment of the present invention provides a course scheduling device, the device comprising:
[0011] A data acquisition module is used to acquire a class scheduling data set, and group each employee according to the employee information in the class scheduling data set to obtain each employee group;
[0012] A class schedule generating module, used for generating a target class schedule based on the class schedule data set and the grouping results of each employee using a pre-configured class schedule algorithm;
[0013] The display module is used to push the target course schedule to the display device for display.
[0014] In a third aspect, an embodiment of the present invention provides an electronic device, the electronic device comprising:
[0015] at least one processor; and
[0016] a memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a class scheduling method described in any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a class scheduling method described in any embodiment of the present invention when executed.
[0019] In a fifth aspect, an embodiment of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements a class scheduling method described in any embodiment of the present invention.
[0020] The technical solution of the embodiment of the present invention obtains a class scheduling data set, and groups each employee according to the employee information in the class scheduling data set to obtain each employee group, and then uses a pre-configured class scheduling algorithm to generate a target class schedule based on the class scheduling data set and the grouping results of each employee, and finally pushes the target class schedule to a display device for display, thereby solving the problems of complex class scheduling process and low efficiency of class scheduling in existing class scheduling methods, realizing class scheduling operations based on multiple factors, simplifying the class scheduling process, and improving the efficiency of class scheduling.
[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 is a flow chart of a class scheduling method provided according to Embodiment 1 of the present invention;
[0024] Figure 2 is a flow chart of a class scheduling method provided according to Embodiment 2 of the present invention;
[0025] Figure 3 is a structural schematic diagram of a course scheduling device provided according to Embodiment 3 of the present invention;
[0026] Figure 4 It is a structural schematic diagram of an electronic device for implementing a class scheduling method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, any variation of the terms "including" and "having" is intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Embodiment 1
[0030] Figure 1This is a flow chart of a class scheduling method provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where class scheduling operations are performed to obtain a class timetable. The method can be executed by a class scheduling device. The class scheduling device can be implemented in the form of hardware and / or software. The class scheduling device can be configured in a terminal or server with a class scheduling function.
[0031] like Figure 1 As shown, the method includes:
[0032] S110, obtaining a class scheduling data set, and grouping each employee according to the employee information in the class scheduling data set to obtain employee groups.
[0033] Among them, the course scheduling data set includes: at least one employee information, at least one teacher information, a time arrangement plan for each classroom and a course schedule; further, the employee information includes: employee personal information and employee training direction, the teacher information includes: teacher personal information, teacher free time period and a teaching course plan matching the teacher, and the course schedule includes a course scheduling plan matching each employee training direction.
[0034] Among them, the employee information is various information about non-teaching personnel who participate in course-related activities. This may include but is not limited to administrative staff, counselors, etc. For example, the name, age, contact information of the administrative staff, and the specific work area they are responsible for in the course arrangement; further, the teaching teacher information refers to a series of detailed information about the teachers who are responsible for teaching. For example, a mathematics teacher's name, age, teaching experience, his / her free time period for teaching, and the specific mathematics courses he / she plans to teach this semester; further, the classroom schedule is a plan for the use of each classroom in different time periods. For example, a classroom is used for English courses from 8 to 10 am on Monday, and for mathematics courses from 10 to 12 pm; further, the course schedule is an overall planning arrangement for all courses to be carried out, covering the types of courses, time, teaching objects, class hours, etc. For example, the advanced mathematics course schedule for freshmen this semester includes weekly class times and other content.
[0035] Specifically, each employee is grouped according to the employee information in the class scheduling data set, including: traversing the employee training directions in each employee information, aggregating employees with the same employee training direction to obtain each training group; dividing each training group according to a preset average classroom capacity to obtain each employee group, and the employee group includes employee information of at least one employee.
[0036] In this embodiment, for example, a comprehensive and detailed class scheduling data set is first obtained, which includes at least one employee information, at least one teacher information, the time schedule of each classroom, and the course schedule. Among them, the employee information includes the employee's personal information, such as name, age, contact information, etc., and the employee training direction, such as whether it focuses on management training or technical training. The teacher information includes the teacher's personal information, such as academic qualifications, teaching experience, etc., the teacher's free time period, that is, the specific time interval that the teacher can use for teaching, and the teaching course plan that matches the teacher, such as the specific courses that a teacher plans to teach this semester and the course schedule.
[0037] Specifically, when grouping employees according to the employee information in the class scheduling dataset, it is necessary to traverse the employee training directions in the employee information and aggregate employees with the same training direction to obtain training groups. For example, all employees whose training direction is marketing are grouped together. Then, the training groups are divided according to the pre-set average classroom capacity, and finally the employee groups are obtained, and each employee group contains the employee information of at least one employee.
[0038] It should be noted that, in this embodiment, the employee information may include multiple employee training directions. For example, the training directions of student A include: advanced mathematics, linear algebra, and complex functions. When grouping, student A will be assigned to three groups at the same time, namely, the advanced mathematics group, the linear algebra group, and the complex function group. The employee information between the groups does not conflict with each other and can exist at the same time.
[0039] S120 , using a pre-configured class scheduling algorithm, based on the class scheduling data set and the grouping results of each employee, to generate a target class schedule.
[0040] S130: Push the target timetable to a display device for display.
[0041] Optionally, after the target class schedule is pushed to the display device for display, the method further includes: in response to a modification operation of the class scheduling data set, returning to execute the operation of obtaining the class scheduling data set, and grouping each employee according to the employee information in the class scheduling data set.
[0042] The target timetable is a course schedule that is finalized after a series of processing and arrangements and meets specific needs and conditions. For example, a school formulates a detailed weekly timetable for a certain grade, which includes information such as course name, lecturer, class time and classroom; further, the display device is an electronic device used to display visual information. Common display devices include computer monitors, tablet screens, smartphone screens, electronic whiteboards, etc. For example, a multimedia electronic whiteboard in a school classroom is used to display course schedules to students.
[0043] For example, after the target class schedule is pushed to the display device for display, if there is a modification operation on the class schedule data set, such as a teacher takes leave and the class schedule needs to be adjusted, or a new teaching venue needs to be re-planned for classroom use, then the system will immediately respond to this operation, return to execute the operation of obtaining the class schedule data set, and group each employee according to the employee information in the class schedule data set to ensure that the class schedule can be updated and optimized in a timely manner, and always remain accurate and reasonable.
[0044] The technical solution of the embodiment of the present invention obtains a class scheduling data set, and groups each employee according to the employee information in the class scheduling data set to obtain each employee group, and then uses a pre-configured class scheduling algorithm to generate a target class schedule based on the class scheduling data set and the grouping results of each employee, and finally pushes the target class schedule to a display device for display, thereby realizing class scheduling operations based on multiple factors, simplifying the class scheduling process, and improving the efficiency of class scheduling work.
[0045] Embodiment 2
[0046] Figure 2 A flowchart of a class scheduling method provided in Embodiment 2 of the present invention is provided. This embodiment is refined based on the above-mentioned embodiment. In this embodiment, specifically, a method of using a pre-configured class scheduling algorithm to generate a target class schedule based on the class scheduling data set and the grouping results of each employee is refined.
[0047] like Figure 2 As shown, the method includes:
[0048] S210, obtaining a class scheduling data set, and grouping each employee according to the employee information in the class scheduling data set to obtain employee groups.
[0049] S220: Select any group from among the employee groups as a target group, and obtain a target training direction matching the target group based on information of each employee in the target group.
[0050] Specifically, among the many divided employee groups, we randomly select one group as the target group for our focus and processing. For example, in a vocational and technical school, students are divided into auto repair professional employee group, cooking professional employee group and computer professional employee group according to their majors. At this time, the cooking professional employee group is selected as the target group; it is easy to understand that since the employees are grouped according to the consistency of the training direction, all employees in the same group have the same training direction. At this time, after confirming the target group, you only need to confirm the common training direction in the employee information of all employees in the target group as the target training direction of the target group. Correspondingly, when the target group is the cooking professional employee group, the target training direction is the cooking direction.
[0051] S230, traversing the course schedule to obtain a target plan that matches the target training direction.
[0052] Specifically, the course schedule is pre-configured with course arrangements that match the training directions of each employee. Based on the above steps, the course schedule is traversed to find a course plan that matches the cooking direction, such as the course time, teaching objects, and class requirements of the cooking direction.
[0053] S240: Determine the classrooms and teachers that match the target grouping based on the target plan, information about each teacher, and the time schedule of each classroom.
[0054] Among them, based on the target plan and the information of each teaching teacher, determining the teaching teachers matching the target group includes: searching for teaching teacher information whose teacher personal information matches the employee training direction of the target group in each teaching teacher information as each first-level teacher information; based on each professor course plan in the each first-level teacher information, screening the first-level teacher information whose number of courses is within a preset number range as the second-level teacher information; according to each professor course plan in each second-level teacher information and the target plan, screening and obtaining the third-level teacher information matching the target plan; according to each professor course plan in each third-level teacher information, statistically obtaining the total number of class hours matching each third-level teacher information, and setting the third-level teacher information with the smallest total number of class hours as the target teacher information; extracting the teacher personal information in the target teacher information to obtain the teaching teachers matching the target plan.
[0055] In a specific implementation scenario of this embodiment, based on the determined target plan, comprehensive information about each teacher, and detailed time schedule for each classroom, the classrooms and teachers that match the target grouping are determined.
[0056] Exemplarily, the process of determining the teaching teachers that match the target grouping based on the target plan and the information of each teaching teacher is as follows: First, carefully search among the numerous teaching teacher information to find the teaching teacher information whose personal information matches the employee training direction of the target grouping, and use these as the first-level teacher information. For example, if the target grouping is to improve software development skills, then find the teacher information with software development teaching experience and relevant professional background as the first-level teacher information. Then, based on the course plans of each professor in the above-mentioned first-level teacher information, screen out the first-level teacher information whose number of courses is within the preset number range, and set it as the second-level teacher information. For example, if the preset number range is 3-5 classes, then the teacher information whose number of courses is within this range becomes the second-level teacher information. Then, further screening is performed based on the course plans of each professor in each second-level teacher information and the target plan to find the third-level teacher information that matches the target plan. For example, if the target plan is that the course is held on Monday afternoon, then only the second-level teacher information whose teaching course plan includes free time on Monday afternoon can become the third-level teacher information. After that, according to the course plans of each professor in each third-level teacher information, the total number of class hours corresponding to each third-level teacher information is statistically obtained, and the third-level teacher information with the smallest total number of class hours is set as the target teacher information. For example, there are three third-level teachers, and their total number of class hours is 100 hours, 80 hours and 60 hours respectively, then the information of the teacher with a total number of class hours of 60 hours is determined as the target teacher information. Finally, the teacher personal information in the target teacher information is extracted to obtain the teaching teacher matching the target plan.
[0057] S250: Associating the target group, target plan, classroom and teacher to generate an initial timetable for the target group.
[0058] S260: Perform a rationality check on the initial timetable. If the check passes, determine it as the target timetable for the target group, and update the time arrangement plan for each classroom and the information of each teacher according to the target timetable.
[0059] Specifically, according to the determined target timetable, the time arrangement plan of each classroom and the information of each teaching teacher are updated in a timely and accurate manner. For example, in a university, the newly formulated target timetable shows that a physics class taught by Teacher Wang is scheduled in Classroom 101, Building A of the teaching building on Tuesday morning. Then, according to this new arrangement, it is necessary to update the relevant information of the original Classroom 101, Building A and the online teacher, and change the idle status of Classroom 101, Building A on Tuesday morning to a non-idle status. At the same time, modify Teacher Wang’s teaching task, and arrange the idle time on Tuesday morning in his teaching course plan as non-idle time, so as to avoid repeated scheduling operations for classrooms or teaching teachers in subsequent scheduling plans.
[0060] S270 , returning to execute the operation of selecting any one of the employee groups as the target group until there is no employee group that is not set as the target group.
[0061] S280: Push the target timetable to a display device for display.
[0062] The technical solution of the embodiment of the present invention obtains a class scheduling data set, and groups each employee according to the employee information in the class scheduling data set to obtain each employee group, then selects any group in each employee group as a target group, and obtains a target training direction matching the target group according to the employee information in the target group, then traverses the course schedule to obtain a target plan matching the target training direction, and determines the teaching classroom and teaching teacher matching the target group based on the target plan, the information of each teaching teacher and the time arrangement plan of each classroom, and then the target group, target plan , teaching classrooms and teaching teachers, generate an initial timetable for the target group, and perform a rationality check on the initial timetable. If the check passes, it will be determined as the target timetable for the target group, and the time arrangement plan of each classroom and the information of each teaching teacher will be updated according to the target timetable. Then, the operation of selecting any one of the employee groups as the target group will be returned to execute until there is no employee group that is not set as the target group. Finally, the target timetable will be pushed to the display device for display, thereby realizing the scheduling operation based on multiple factors, simplifying the scheduling process, and improving the efficiency of scheduling.
[0063] Embodiment 3
[0064] Figure 3 This is a structural diagram of a class scheduling device provided in Example 3 of the present invention.
[0065] like Figure 3 As shown, the device comprises:
[0066] The data acquisition module 310 is used to acquire a class scheduling data set, and group each employee according to the employee information in the class scheduling data set to obtain each employee group;
[0067] A class schedule generating module 320, configured to generate a target class schedule based on the class schedule data set and the grouping results of each employee using a pre-configured class schedule algorithm;
[0068] The display module 330 is used to push the target course schedule to a display device for display.
[0069] The technical solution of the embodiment of the present invention obtains a class scheduling data set, and groups each employee according to the employee information in the class scheduling data set to obtain each employee group, and then uses a pre-configured class scheduling algorithm to generate a target class schedule based on the class scheduling data set and the grouping results of each employee, and finally pushes the target class schedule to a display device for display, thereby realizing class scheduling operations based on multiple factors, simplifying the class scheduling process, and improving the efficiency of class scheduling work.
[0070] Based on the above embodiment, the data acquisition module 310 includes:
[0071] A grouping unit, used to traverse the employee training directions in each employee information, aggregate employees with the same employee training direction, and obtain training groups;
[0072] The segmentation unit is used to segment each training group according to a preset average classroom capacity to obtain each employee group, wherein the employee group includes employee information of at least one employee.
[0073] Based on the above embodiment, the course schedule generating module 320 includes:
[0074] A target group determination unit, used for selecting any group among the employee groups as a target group;
[0075] A training direction determination unit, configured to obtain a target training direction matching the target group according to information of each employee in the target group;
[0076] A schedule traversal unit, used to traverse the course schedule to obtain a target plan that matches the target training direction;
[0077] A teaching determination unit, used for determining a teaching classroom and a teaching teacher matching the target grouping based on the target plan, information of each teaching teacher and a time arrangement plan of each classroom;
[0078] An associating unit, used for associating the target group, the target plan, the teaching classroom and the teaching teacher to generate an initial timetable for the target group;
[0079] A rationality checking unit is used to check the rationality of the initial timetable. If the check passes, it is determined as the target timetable of the target group, and the time arrangement plan of each classroom and the information of each teacher are updated according to the target timetable;
[0080] The return execution unit is used to return to execute the operation of selecting any one of the employee groups as the target group until there is no employee group that is not set as the target group.
[0081] Based on the above embodiment, the teaching determination unit includes:
[0082] A first-level information confirmation unit, used to search for teacher information whose teacher personal information matches the employee training direction of the target group in each teaching teacher information as each first-level teacher information;
[0083] A secondary information confirmation unit, configured to select the primary teacher information whose number of courses is within a preset range as the secondary teacher information based on the teaching course plans of each of the primary teacher information;
[0084] A third-level information confirmation unit is used to screen and obtain third-level teacher information matching the target plan according to each teaching course plan in each second-level teacher information and the target plan;
[0085] The total number of class hours statistics unit is used to obtain the total number of class hours that match each third-level teacher information according to each teaching course plan in each third-level teacher information, and set the third-level teacher information with the smallest total number of class hours as the target teacher information;
[0086] The personal information extraction unit is used to extract the teacher's personal information in the target teacher information to obtain a teaching teacher who matches the target plan.
[0087] Based on the above embodiment, the display module 330 is also used to: after pushing the target class schedule to the display device for display, in response to the modification operation of the class scheduling data set, return to execute the operation of obtaining the class scheduling data set, and group each employee according to the employee information in the class scheduling data set.
[0088] A class scheduling device provided in an embodiment of the present invention can execute a class scheduling method provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0089] Embodiment 4
[0090] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0091] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0092] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0093] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for scheduling classes.
[0094] Accordingly, the method comprises:
[0095] Obtaining a class scheduling data set, and grouping each employee according to the employee information in the class scheduling data set to obtain employee groups;
[0096] Using a pre-configured class scheduling algorithm, based on the class scheduling data set and the grouping results of each employee, a target class schedule is generated;
[0097] Push the target timetable to the display device for display.
[0098] In some embodiments, a class scheduling method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of a class scheduling method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a class scheduling method in any other appropriate manner (e.g., by means of firmware).
[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0100] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0101] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0102] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0103] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0104] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
Claims
1. A method for scheduling classes, characterized in that: include: Obtaining a class scheduling data set, and grouping each employee according to the employee information in the class scheduling data set to obtain employee groups; Using a pre-configured class scheduling algorithm, based on the class scheduling data set and the grouping results of each employee, a target class schedule is generated; Push the target timetable to the display device for display.
2. The method according to claim 1, characterized in that: The class scheduling data set includes: at least one employee information, at least one teacher information, a time arrangement plan for each classroom, and a course schedule. Among them, the employee information includes: employee personal information and employee training direction, the teacher information includes: teacher personal information, teacher free time period and teaching course plan matching the teacher, and the course schedule includes course arrangement plans matching each employee training direction respectively.
3. The method according to claim 1, characterized in that Grouping each employee according to the employee information in the class scheduling dataset includes: Traverse the employee training directions in each employee information, aggregate employees with the same employee training direction, and obtain training groups; Each training group is divided according to a preset average classroom capacity to obtain each employee group, wherein the employee group includes employee information of at least one employee.
4. The method according to claim 1, characterized in that: Using a pre-configured class scheduling algorithm, based on the class scheduling dataset and the grouping results of each employee, a target class schedule is generated, including: Select any group among the employee groups as the target group; According to the information of each employee in the target group, obtaining the target training direction matching the target group; Traversing the course schedule to obtain a target plan that matches the target training direction; Determine the classrooms and teachers that match the target grouping based on the target plan, information about each teacher, and the time schedule of each classroom; Associating the target group, target plan, classroom and teacher to generate an initial timetable for the target group; Performing a rationality check on the initial schedule, and if the check passes, determining it as the target schedule for the target group, and updating the time arrangement plan for each classroom and the information of each teacher according to the target schedule; The operation of selecting any one of the employee groups as the target group is returned until there is no employee group that is not set as the target group.
5. The method according to claim 4, characterized in that Determining a teacher matching the target group based on the target plan and information about each teacher includes: Searching for teacher information whose teacher personal information matches the employee training direction of the target group in each teaching teacher information as each first-level teacher information; Based on the course plans of each professor in each first-level teacher information, first-level teacher information with a course quantity within a preset quantity range is selected as second-level teacher information; According to each teaching course plan in each secondary teacher information and the target plan, filter and obtain the third-level teacher information matching the target plan; According to each professor's course plan in each third-level teacher information, the total number of class hours that match each third-level teacher information is obtained by counting, and the third-level teacher information with the smallest total number of class hours is set as the target teacher information; The teacher's personal information in the target teacher information is extracted to obtain a teaching teacher who matches the target plan.
6. The method according to claim 1, characterized in that After the target timetable is pushed to the display device for display, it also includes: In response to the modification operation of the class scheduling data set, the operation of obtaining the class scheduling data set and grouping each employee according to the employee information in the class scheduling data set is returned.
7. A class scheduling device, characterized in that: include: A data acquisition module is used to acquire a class scheduling data set, and group each employee according to the employee information in the class scheduling data set to obtain each employee group; A class schedule generating module, used for generating a target class schedule based on the class schedule data set and the grouping results of each employee using a pre-configured class schedule algorithm; The display module is used to push the target course schedule to the display device for display.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute a class scheduling method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a class scheduling method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements a class scheduling method according to any one of claims 1 to 6.