Attendance early warning method, system and equipment based on personnel flow analysis
Through the attendance early warning method based on personnel flow analysis, historical teaching data is used to match suitable teachers, which solves the problem of student teaching arrangements when teachers fail to attend, and improves teaching efficiency and teaching effects.
Patent Information
- Application Number
- CN202410876891.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-20
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In school education institutions, when teachers are not present, how to quickly and effectively assign appropriate teachers to students temporarily to ensure the optimization of teaching efficiency and teaching effects.
Through the attendance early warning method based on personnel flow analysis, early warning information is generated and candidate teachers are screened from absentee teachers, historical teaching data is used to match target teachers, ensuring that students are temporarily assigned to teachers who match the teaching characteristics, and the early warning is cleared after successful matching information.
It not only realizes teacher attendance early warning management, but also improves teaching efficiency and ensures the quality of students' teaching and the smoothness of teaching.
Smart Images

Figure CN118674591A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer software technology, and in particular to an attendance warning method, system and device based on personnel flow analysis. Background Art
[0002] In schools and educational institutions, some security management tools, such as access control systems, are used to control and monitor the entry and exit of teachers and students. This allows real-time monitoring of the flow of teachers and students in and out of the school, that is, the attendance data of teachers and students.
[0003] When the attendance data shows that the teacher's attendance has triggered an early warning condition, for example, the teacher who was originally responsible for teaching the students in the class has not arrived, a temporary adjustment of educational resources is required. In this case, how to match the most suitable teachers for the students who are present to teach them, optimize the teaching effect, and improve teaching efficiency is a problem that needs to be solved.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] In response to the problems in the prior art, the purpose of this application is to provide an attendance warning method, system and equipment based on personnel flow analysis. When it is found that the teacher's attendance has triggered the warning condition according to the attendance data, other suitable teachers are temporarily assigned to the students, and the previous warning information is cleared after matching the suitable teacher, thereby improving teaching efficiency while achieving good warning management.
[0006] In a first aspect, an embodiment of the present application provides an attendance warning method based on personnel flow analysis, the method comprising the following steps:
[0007] Determine a first student set consisting of students in at least one class and an original teacher corresponding to the first student set;
[0008] When it is determined that the original teacher is not present, a warning message is generated, and students who are present are selected from the first student set as target students, and a plurality of candidate teachers are determined from the teachers who are present; the candidate teachers teach the same first course as the original teacher;
[0009] Acquire the history teaching data of the first course taught by the candidate teacher; the history teaching data includes history teaching students and history course data of the history teaching students in the first course taught by the candidate teacher;
[0010] According to the history course data, determining a second set of students associated with the candidate teacher from the history teaching students; the second set of students corresponds to the candidate teacher one by one;
[0011] Extracting first labels for the target students and extracting second labels for the students in the second student set respectively; and constructing a first label set based on the first labels and a second label set based on the second labels;
[0012] Calculating a degree of match between the first tag set and the second tag set;
[0013] According to the matching degree, a target teacher is determined from the multiple candidate teachers, the target student is associated with the target teacher, and the warning information is cleared.
[0014] In a possible implementation of the first aspect, determining, according to the history course data, a second set of students associated with the candidate teacher from among the history teaching students includes:
[0015] Determining, based on the history course data, a third set of students who have a preference for the candidate teacher from among the history professor's students;
[0016] According to all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses, multiple students are selected from the third student set to form a second student set.
[0017] In a possible implementation of the first aspect, determining, based on the history course data, a third set of students who prefer the candidate teacher from among the history teaching students includes:
[0018] The students of the history teaching whose history course data is greater than a first preset threshold are formed into a third student set.
[0019] In a possible implementation of the first aspect, selecting multiple students from the third student set to form a second student set according to all second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses includes:
[0020] Calculate the course participation similarity between each student in the third student set and the remaining students according to all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses;
[0021] According to the course participation similarity, multiple students are selected from the third student set to form a second student set.
[0022] In a possible implementation of the first aspect, calculating the course participation similarity between each student in the third student set and the remaining students based on all second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses, includes:
[0023] According to all the second courses that each student in the third student set has historically attended, taking the same second course attended by each student in the third student set and the rest of the students as the target course;
[0024] Determine, according to the second course data of each student in all the second courses, the third course data corresponding to each student in the third student set and the remaining students in the target course;
[0025] The number of target courses whose third course data is less than a second preset threshold is determined, and the number is used as the course participation similarity between each student in the third student set and the remaining students.
[0026] In a possible implementation of the first aspect, the second courses have multiple types; and calculating the course participation similarity between each student in the third student set and the remaining students based on all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses includes:
[0027] According to all the second courses that each student in the third student set has ever attended and the second course data of each student in all the second courses, a student course matrix is formed; the value of each item in the student course matrix is the second course data of the student in the second course;
[0028] The course participation similarity between each student in the third student set and the remaining students is calculated according to the student course matrix.
[0029] In a possible implementation manner of the first aspect, calculating the course participation similarity between each student in the third student set and the remaining students according to the student course matrix includes:
[0030] According to the student-course matrix, an intermediate matrix is calculated; each item in the intermediate matrix is the sum of the products of the second course data of the second courses of the student i and the student j, and i and j are integers greater than or equal to 1 and less than or equal to the number of students in the third student set;
[0031] Calculate the similarity matrix between each student in the third student set and the remaining students according to the intermediate matrix;
[0032] The course participation similarity between students in the third student set is calculated according to the similarity matrix.
[0033] In a possible implementation manner of the first aspect, calculating the course participation similarity between students in the third student set according to the similarity matrix includes:
[0034] Adding the item values of the first diagonal of the similarity matrix to obtain a first intermediate value;
[0035] Adding the item values of the second diagonal of the similarity matrix to obtain a second intermediate value; the similarity matrix is symmetric about the second diagonal;
[0036] The ratio of the first intermediate value to the second intermediate value is used as the course participation similarity between the two students associated with the similarity matrix.
[0037] In a second aspect, an embodiment of the present application provides an attendance warning system based on personnel flow analysis, which is used to implement the above-mentioned attendance warning method based on personnel flow analysis, and the system includes:
[0038] An early warning object determination module determines a first student set consisting of students in at least one class and an original teacher corresponding to the first student set;
[0039] an attendance warning trigger module, which generates warning information when it is determined that the original teacher is not present, and selects students who are present from the first student set as target students, and determines a plurality of candidate teachers from the teachers who are present; the candidate teachers teach the same first course as the original teacher;
[0040] A history teaching data acquisition module is used to acquire history teaching data of the candidate teacher teaching the first course; the history teaching data includes history teaching students and history course data of the history teaching students in the first course taught by the candidate teacher;
[0041] A second student set determination module, which determines, according to the history course data, a second student set associated with the candidate teacher from among the history professor's students; the second student set corresponds to the candidate teacher one-to-one;
[0042] A label extraction and label set construction module extracts a first label for the target student and a second label for the students in the second student set; and constructs a first label set based on the first label and a second label set based on the second label;
[0043] A matching degree determination module, which calculates the matching degree between the first tag set and the second tag set;
[0044] The warning re-determination module determines a target teacher from the multiple candidate teachers according to the matching degree, associates the target student with the target teacher, and clears the warning information.
[0045] In a third aspect, the embodiment of the present application provides an attendance warning device based on personnel flow analysis, including:
[0046] processor;
[0047] a memory in which an executable program of the processor is stored;
[0048] Wherein, the processor is configured to execute the steps of any one of the above-mentioned attendance warning methods based on personnel flow analysis by executing the executable program.
[0049] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a program, which, when executed by a processor, implements the steps of any one of the above-mentioned attendance warning methods based on personnel flow analysis.
[0050] Compared with the prior art, the embodiments of the present application have the following advantages and outstanding effects:
[0051] The attendance warning method, system and device based on personnel flow analysis provided in the embodiments of the present application generate warning information when it is found that the teacher's attendance has triggered a warning condition based on the attendance data, and match the currently attended backup teachers with the attended students based on the historical teaching situation of the currently attended backup teachers, temporarily assign other suitable teachers to the students, and clear the previous warning information after matching the attended students with suitable teachers, thereby improving teaching efficiency while realizing teacher attendance warning management. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings.
[0053] Figure 1 A schematic diagram of an attendance warning method based on personnel flow analysis disclosed in an embodiment of the present application;
[0054] Figure 2 A schematic diagram of an attendance warning method based on personnel flow analysis disclosed in another embodiment of the present application;
[0055] Figure 3 A flowchart is shown of selecting multiple students from the third student set to form a second student set based on all second courses that each student in the third student set has historically attended and the second course data of each student in all second courses according to an embodiment of the present invention;
[0056] Figure 4 A flowchart is shown of selecting multiple students from the third student set to form a second student set based on all second courses that each student in the third student set has historically attended and the second course data of each student in all second courses according to another embodiment of the present invention;
[0057] Figure 5 A schematic diagram of a student course matrix according to an embodiment of the present application is shown;
[0058] Figure 6 A schematic diagram of an intermediate matrix according to an embodiment of the present application is shown;
[0059] Figure 7 A schematic diagram of a similarity matrix according to an embodiment of the present application is shown;
[0060] Figure 8 A schematic diagram of the structure of an attendance warning system based on personnel flow analysis disclosed in an embodiment of the present application;
[0061] Fig. 9 This is a structural schematic diagram of an attendance warning device based on personnel flow analysis disclosed in one embodiment of the present application. DETAILED DESCRIPTION
[0062] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in the present application. The present application can also be implemented or applied through other different specific implementation methods, and the details in the present application can also be modified or changed in various ways according to different viewpoints and application systems without departing from the spirit of the present application. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0063] The following is a detailed description of the embodiments of the present application with reference to the accompanying drawings so that those skilled in the art can easily implement the present application. The present application can be embodied in a variety of different forms and is not limited to the embodiments described herein.
[0064] In the representations of the present application, the representations with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials or characteristics represented in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the represented specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples represented in the present application and the features of the different embodiments or examples, unless they contradict each other.
[0065] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the representation of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0066] In order to clearly describe the present application, components irrelevant to the description are omitted, and the same reference symbols are given to the same or similar components throughout the specification.
[0067] Throughout the specification, when a device is said to be "connected" to another device, this includes not only the case of "direct connection" but also the case of "indirect connection" by placing other elements therebetween. In addition, when a device is said to "include" a certain component, unless otherwise stated, it does not exclude other components, but means that other components may be included.
[0068] When a device is said to be "on" another device, it may be directly on the other device, but there may also be other devices between it. In contrast, when a device is said to be "directly" on another device, there are no other devices between it.
[0069] Although the terms first, second, etc. are used to represent various elements in some examples, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, the first interface and the second interface, etc. are represented. Moreover, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising" and "including" indicate the existence of features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Only when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way, will there be an exception to this definition.
[0070] The technical terms used herein are only used to refer to specific embodiments and are not intended to limit the present application. The singular form used herein also includes the plural form unless the sentence clearly indicates the contrary meaning. The meaning of "including" used in the specification is to specify specific characteristics, regions, integers, steps, operations, elements and / or components, and does not exclude the existence or addition of other characteristics, regions, integers, steps, operations, elements and / or components.
[0071] Although not defined differently, all terms, including technical and scientific terms used herein, have the same meaning as those generally understood by those skilled in the art to which this application belongs. Terms defined in commonly used dictionaries are additionally interpreted as having meanings consistent with the relevant technical literature and the contents of the current disclosure, and unless defined, shall not be overly interpreted as ideal or very formal meanings.
[0072] Example embodiments will now be described more fully in conjunction with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein. Instead, these embodiments are provided so that this application will be comprehensive and complete and fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their repeated description will be omitted.
[0073] like Figure 1 As shown, an embodiment of the present application discloses an attendance warning method based on personnel flow analysis, the method comprising the following steps:
[0074] S110, determining a first student set consisting of students in at least one class and an original teacher corresponding to the first student set. In this embodiment, the first student set is a set consisting of students in a class, and the original teacher is a teacher who teaches a course in the class.
[0075] In other embodiments, the first student set may also be a set consisting of students from multiple classes, which is not limited in the present application.
[0076] S120, when it is determined that the original teacher is not present, a warning message is generated, and students present are selected from the first student set as target students, and a plurality of candidate teachers are determined from the present teachers. The candidate teachers teach the same first course as the original teacher.
[0077] The target students are all the students who are present in the first student set. The alternative teachers and the original teachers are teachers who teach the same course. The alternative teachers may be all the present teachers or some of the present teachers. In the present embodiment, when the absence of the original teacher is detected through the attendance data corresponding to the original teacher, an early warning message is generated. In other embodiments, the early warning message may also be generated when the absence of the original teacher is detected through the attendance data corresponding to the original teacher and the leave information associated with the original teacher is not found. The leave information is used to indicate that the original teacher has taken leave. The early warning message is used to remind the original teacher that he is absent on that day.
[0078] S130, obtaining history teaching data of the first course taught by the candidate teacher. The history teaching data includes history teaching students and history course data of the history teaching students in the first course taught by the candidate teacher. The history teaching students are the students when the candidate teacher teaches the first course.
[0079] In this embodiment, the above-mentioned historical course data may include one or more of the following course data: students' evaluation of the candidate teacher; the degree of improvement of students' grades in the teaching subject of the candidate teacher; the frequency of students' participation in the course of the candidate teacher. Among them, the student's evaluation of the candidate teacher is, for example, the student's rating of the candidate teacher. Through the student's rating of the candidate teacher, it is possible to determine the students who are adapted to the teaching characteristics, i.e., the teaching style, of the candidate teacher, or the students who subjectively like the course of the candidate teacher. The degree of improvement of students' grades in the teaching subject of the candidate teacher can determine the students whose grades have been significantly improved objectively through the course of the candidate teacher. The frequency of students' participation in the course of the candidate teacher can determine the students who are willing to participate in the course of the candidate teacher.
[0080] The above is only a schematic description of the history course data provided by this application. This application can use any of the above course data as the history course data, or a combination of the above course data as the history course data, and this application is not limited to this. Other course data as examples of history course data are also within the scope of protection of this application and will not be described in detail here.
[0081] In other embodiments, the historical course data may also include the percentage of students' attention concentration in the candidate teacher's course. The percentage of students' attention concentration in the candidate teacher's course may objectively determine the number of students attracted by the candidate teacher during the course teaching process.
[0082] The above-mentioned concentration ratio can be used to determine the time when the students' eyes are wandering, the time when they yawn, etc. based on facial recognition of the students during the course, so as to determine the proportion of students' distraction through these times, and then obtain the concentration ratio of the students in the course of the alternative teacher through this ratio.
[0083] S140, according to the history course data, determine a second student set associated with the candidate teacher from the history teaching students. The second student set corresponds to the candidate teachers one by one. That is, each candidate teacher corresponds to a second student set. The history course data of the students in the second student set can represent the teaching characteristics of the corresponding candidate teacher.
[0084] In specific implementation, this step can be to form a second student set for students whose history course data is greater than the corresponding preset threshold. As an example and not a limitation, for example, the history course data includes three types of data, namely: students' scores for candidate teachers; the improvement in students' grades in the subjects taught by the candidate teacher; and the frequency of students' participation in the courses of the candidate teacher. Then, students whose scores for candidate teachers are greater than the preset score threshold, whose grades have improved more than the corresponding preset amplitude threshold, and whose frequency of participating in the courses of the candidate teacher is greater than the corresponding preset frequency threshold are added to the second student set.
[0085] In other embodiments, a number of students may be randomly selected from students whose frequency of participating in the candidate teacher's course is greater than the corresponding preset frequency threshold to form the second student set, so as to characterize the teaching characteristics of the corresponding candidate teacher.
[0086] In other embodiments, this step may also be: the above historical course data includes students' evaluations of candidate teachers, and then keywords are extracted from each student's evaluation, and the top M keywords with the most occurrences are found, where M is a positive integer. For example, the top M keywords include "teacher's standard Mandarin", and then students whose evaluations include the top M keywords such as "standard Mandarin" are found, and a second student set is formed based on these students. This is because it shows that the evaluations given by these students to the candidate teachers are relatively objective and accurate, so the teaching characteristics of the corresponding candidate teachers can be characterized, that is, the course data of these students are used to represent the teaching style of the candidate teachers.
[0087] S150, extracting the first label for the target student and the second label for the students in the second student set. And constructing the first label set based on the first label, and constructing the second label set based on the second label. The first label set corresponds to the target student, and the second label set corresponds to the second student set. Since each candidate teacher corresponds to a second student set, it means that each candidate teacher corresponds to a second label set.
[0088] Specifically, the first label set and the second label set are obtained by combining the labels of the corresponding students. The labels of students can be, for example, pre-annotated manually, or feature extracted by machine learning algorithms from various aspects of student data including course evaluation data, attendance data of each course, and preference information reserved by students on the interactive page. As an example and not a limitation, the labels of the above-mentioned students can be, for example, "prefer humorous teachers", "prefer standard Mandarin teachers", and "prefer teachers with a large amount of homework assignments". This application is not limited to this, and all kinds of ways to implement student labels are within the scope of protection of this application. In addition, the second label set of students corresponding to the above-mentioned second student set can represent the characteristics of students who are suitable for participating in the course of the candidate teacher. For example, if the second label set associated with a candidate teacher includes two labels: "prefer standard Mandarin teachers" and "prefer teachers with a large amount of homework assignments", then if the label extracted from other students is "prefer teachers with a small amount of homework assignments", it means that the student is not suitable for participating in the course of the candidate teacher, and the student and the candidate teacher cannot be matched.
[0089] S160: Calculate the matching degree between the first tag set and the second tag set.
[0090] Specifically, since one candidate teacher corresponds to one second label set, one candidate teacher corresponds to one matching value. In this embodiment, the matching degree is the number of identical labels between the second label set and the first label set. In other embodiments, the matching degree may also be the ratio between the number of identical labels and the number of labels in the second label set. This application does not limit this.
[0091] S170, determining a target teacher from a plurality of candidate teachers according to the matching degree, associating the target student with the target teacher, and clearing the above-mentioned warning information.
[0092] Specifically, in this embodiment, the candidate teacher with the highest matching degree is used as the target teacher. The target teacher is used as the teacher who teaches the first course of the target student. Moreover, the target teacher determined based on the label matching result is also the teacher who can meet the course teaching preferences of all target students to the greatest extent among all the teachers in attendance.
[0093] In this embodiment, if the target teacher is not matched, the above warning information is retained and sent to relevant school administrators for reference. For example, the school administrators can designate other teachers as target teachers based on the warning information.
[0094] The attendance warning method, system and device based on personnel flow analysis provided in the embodiments of the present application generate warning information when it is found that the teacher's attendance has triggered a warning condition based on the attendance data, and match the currently attended backup teachers with the attended students based on the historical teaching situation of the currently attended backup teachers, temporarily assign other suitable teachers to the students, and clear the previous warning information after matching the attended students with suitable teachers, thereby improving teaching efficiency while realizing teacher attendance warning management.
[0095] In some optional embodiments, the above step S120 is replaced by the step:
[0096] When the attendance number of students in the first student set triggers the first warning condition, and it is determined that the original teacher is not present, a warning message is generated, and the students present are selected from the first student set as target students, and multiple candidate teachers are determined from the teachers present. The first warning condition is that the attendance number of students in the first student set is less than the corresponding preset number threshold.
[0097] This allows subsequent actions to be triggered only when the number of students in attendance is small, that is, matching them with target teachers. This can avoid the situation where if there are too many students and the teaching preferences of all students cannot be met, the situation may not result in the inability to match a suitable target teacher.
[0098] In some optional embodiments, such as Figure 2 As shown, the above step S140 includes:
[0099] S1401, determining a third set of students who prefer alternative teachers from history professor students based on history course data.
[0100] S1402: According to all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses, multiple students are selected from the third student set to form a second student set.
[0101] In this embodiment, in the above step S1401, students whose history course data is greater than a first preset threshold among the history teaching students are formed into a third student set.
[0102] Specifically, when the historical course data is a student's evaluation (rating) of a candidate teacher, step S111 may determine the students who, among the students participating in the candidate teacher's course, have rated the candidate teacher greater than 4 points (for example, a full score of 5 points), as students who prefer the candidate teacher. The present application is not limited to this, and when the full score is 5 points, the first scheduled course data may also be set to 4.5 points, 4.7 points, etc. Furthermore, for the case where the full score is 10 points, 100 points, or other scores, the present application may also set the first preset threshold value at a specific ratio.
[0103] In a possible implementation, in the above step S1402, the first N courses with the largest number of identical courses among all the second courses that each student has ever attended can be used as target courses, and then a second student set is formed based on the students who have attended the target courses. The second courses have multiple types. The target course is part of the multiple second courses. Wherein N is a positive integer.
[0104] In this embodiment, the students who prefer the alternative teacher are screened according to the number of the same courses they have participated in to form a second student set, so that the student labels corresponding to the formed second student set can represent students who are suitable for participating in the courses of the alternative teacher, thereby making the selected second student set that can characterize the teaching characteristics of the alternative teacher more accurate.
[0105] In other embodiments, the second data set may also be formed based on students who have attended the target course and whose corresponding course data difference is less than a preset threshold.
[0106] In another embodiment of the present application, another attendance warning method based on personnel flow analysis is disclosed. Figure 2 Based on the corresponding embodiment, step S1402 includes:
[0107] The course participation similarity between each student in the third student set and the remaining students is calculated based on all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses.
[0108] According to the course participation similarity, multiple students are selected from the third student set to form a second student set.
[0109] In a possible implementation, the course participation similarity is the number of identical courses in all second courses that each student has participated in. The first P students with the largest course participation similarity are added to the second student set, where P is a positive integer.
[0110] This embodiment determines the second student set by calculating the course participation similarity, so that the student labels corresponding to the formed second student set can represent students who are suitable for participating in the course of the candidate teacher, thereby making the selected second student set that can characterize the teaching characteristics of the candidate teacher more accurate.
[0111] In another embodiment of the present application, another attendance warning method based on personnel flow analysis is disclosed. Figure 3 As shown in the above Figure 2 Based on the corresponding embodiment, step S1402 includes:
[0112] S14021, based on all the second courses that each student in the third student set has historically attended, the same second course that each student in the third student set and the rest of the students have attended is taken as a target course.
[0113] S14022, determining the third course data corresponding to each student in the third student set and the remaining students in the target course based on the second course data of each student in all the second courses.
[0114] S14023, determining the number of target courses whose third course data corresponding to each student and the remaining students in the target course is less than a second preset threshold, and using the number as the course participation similarity between each student in the third student set and the remaining students.
[0115] S14024, selecting multiple students from the third student set based on the course participation similarity to form a second student set.
[0116] This embodiment determines the second student set by calculating the course participation similarity, so that the student labels corresponding to the formed second student set can represent students who are suitable for participating in the course of the candidate teacher, thereby making the selected second student set that can characterize the teaching characteristics of the candidate teacher more accurate.
[0117] In some optional embodiments, in the above step S14024, the first W students with the greatest course participation similarity in the third student set may be added to the second student set, where W is a positive integer.
[0118] Alternatively, the above step S14024 includes the steps of:
[0119] For each student in the third student set, determine the number of students whose course participation similarity between the student and other students in the third student set is greater than a corresponding preset threshold.
[0120] The method further comprises determining whether the number of students determined is greater than a predetermined number threshold. If so, the student is added to the second student set. If not, the next student in the third student set is obtained, and the above steps are performed again.
[0121] In this way, the number of students in the second student set can be controlled by setting the above-mentioned preset threshold and predetermined number threshold, so that the above-mentioned preset threshold and predetermined number threshold can be adjusted according to different situations, so as to facilitate the subsequent steps to obtain an accurate second label set.
[0122] In another embodiment of the present application, another attendance warning method based on personnel flow analysis is disclosed. Figure 4 As shown in the above Figure 2 Based on the corresponding embodiment, step S1402 includes:
[0123] S14025: Based on all the second courses that each student in the third student set has ever attended and the second course data of each student in all the second courses, a student course matrix is formed. The value of each item in the student course matrix is the second course data of the student in the second course.
[0124] S14026, calculate an intermediate matrix based on the student course matrix. Each item in the intermediate matrix is the sum of the products of the second course data of the second courses of student i and student j, where i and j are integers greater than or equal to 1 and less than or equal to the number of students in the third student set.
[0125] S14027, based on the intermediate matrix, calculate the similarity matrix between each student in the third student set and the remaining students.
[0126] S14028, calculating the course participation similarity between students in the third student set according to the similarity matrix.
[0127] S14029, selecting multiple students from the third student set based on the course participation similarity to form a second student set.
[0128] Specifically, see Figures 5 to 7 . Figure 5 A schematic diagram of a student course matrix according to an embodiment of the present application is shown. Figure 6 A schematic diagram of an intermediate matrix according to an embodiment of the present application is shown. Figure 7 A schematic diagram of a similarity matrix according to an embodiment of the present application is shown.
[0129] In this embodiment, the matrix item S in the i-th row and j-th column of the intermediate matrix ij for Where n is the number of items in the second course, T ik represents the second course data of student i for course k, T jk represents the second course data of student j for course k, where i, j, k, and n are all integers greater than or equal to 1. For example, in the first row and second column of the intermediate matrix S 12=2*8+1*4+0*0+0*0 (i.e., the product of the first row and the first column and the second row and the first column in the student-course matrix, the product of the first row and the second column and the second row and the second column in the student-course matrix, the product of the first row and the third column and the second row and the third column in the student-course matrix, and the product of the first row and the fourth column and the second row and the fourth column in the student-course matrix.) When the matrix columns of the student-course matrix identify different students and the matrix rows of the student-course matrix identify different courses, the value of the first row and the second column in the intermediate matrix is the sum of the product of the first row and the first column and the first row and the second column in the student-course matrix, the product of the second row and the first column and the second row and the second column in the student-course matrix, the product of the third row and the first column and the third row and the second column in the student-course matrix, and the product of the fourth row and the first column and the fourth row and the second column in the student-course matrix.
[0130] Furthermore, in the intermediate matrix, a similarity matrix is formed based on a student i and another student j. Figure 7 As shown, the similarity matrix is a 2*2 matrix, and the value of each item in the similarity matrix is calculated based on the value of the corresponding item of the intermediate matrix.
[0131] The course participation similarity Sim between student i and another student j will be described in conjunction with the specific implementation of step S14028.
[0132] In this embodiment, the above step S14028 includes:
[0133] The first intermediate value is obtained by adding the values of the entries on the first diagonal of the similarity matrix.
[0134] The second intermediate value is obtained by adding the item values of the second diagonal of the similarity matrix. The similarity matrix is symmetric about the second diagonal.
[0135] The ratio of the first intermediate value to the second intermediate value is taken as the course participation similarity between the two students associated with the similarity matrix.
[0136] Specifically, the course participation similarity Sim between student i and another student j is obtained by adding the item values on the first diagonal of the similarity matrix to obtain a first intermediate value and adding the item values on the second diagonal to obtain a second intermediate value. The item values on the first diagonal include item S ij And Item S ji , the items on the second diagonal include the item S ii and S jj For example, the course participation similarity Sim between the student i and another student j is calculated according to the following formula: Sim = (S ij +S ji ) / (S ii +S jj ).
[0137] Taking student 1 as an example, we can extract the required items from the middle matrix according to the above formula to obtain Figure 7 sub-matrix of .
[0138] Sim(student 1, student 2) = (20 + 20) / (5 + 80) = 0.47;
[0139] Sim(student 1, student 3) = (4 + 4) / (5 + 5) = 0.8;
[0140] Sim(student 1, student 4) = (5 + 5) / (5 + 5) = 1;
[0141] In this way, the course participation similarity calculation between students can be realized. The above is only a schematic description of the specific implementation method of the course participation similarity calculation in this application, and this application is not limited to this. Through the above-mentioned embodiment, since each student generally does not participate in exactly the same second course, each student has a default situation in the course data of different second courses. The course participation similarity between students is calculated by the above-mentioned matrix method, which can be well applied to the situation where some data is defaulted. When the data is defaulted, the corresponding second course data can be set to 0.
[0142] This embodiment determines the second student set by calculating the course participation similarity, so that the student labels corresponding to the formed second student set can represent students who are suitable for participating in the course of the candidate teacher, thereby making the selected second student set that can characterize the teaching characteristics of the candidate teacher more accurate.
[0143] On the other hand, this embodiment uses a student course matrix and a similarity matrix to calculate the course participation similarity between students. The matrix calculation system consumes less energy and has higher calculation efficiency, which helps to improve the system's real-time matching efficiency between students and teachers after triggering an early warning based on the original teacher attendance data.
[0144] It should be noted that all the above embodiments disclosed in this application can be freely combined, and the technical solutions obtained after the combination are also within the protection scope of this application.
[0145] like Figure 8 As shown, an embodiment of the present application further discloses an attendance warning system 8 based on personnel flow analysis, the system comprising:
[0146] The warning object determination module 81 determines a first student set consisting of students in at least one class and an original teacher corresponding to the first student set.
[0147] The attendance warning trigger module 82 generates warning information when it is determined that the original teacher is not present, and selects students who are present from the first student set as target students, and determines multiple candidate teachers from the teachers who are present. The candidate teachers teach the same first course as the original teacher.
[0148] The history teaching data acquisition module 83 acquires the history teaching data of the first course taught by the candidate teacher. The history teaching data includes the history course data of the history teaching students and the history course data of the history teaching students when the candidate teacher teaches the course.
[0149] The second student set determination module 84 determines the second student set associated with the candidate teacher from the history professor's students according to the history course data. The second student set corresponds to the candidate teacher one by one.
[0150] The label extraction and label set construction module 85 extracts the first label for the target student and the second label for the students in the second student set, and constructs a first label set based on the first label and a second label set based on the second label.
[0151] The matching degree determination module 86 obtains the matching degree between the first tag set and the second tag set.
[0152] The warning re-determination module 87 determines the target teacher from multiple candidate teachers according to the matching degree, associates the target student with the target teacher, and clears the warning information.
[0153] It can be understood that the attendance warning system based on personnel flow analysis of the present application also includes other existing functional modules that support the operation of the attendance warning system based on personnel flow analysis. Figure 8 The attendance warning system based on personnel flow analysis shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0154] The attendance warning system based on personnel flow analysis in this embodiment is used to implement the above-mentioned attendance warning method based on personnel flow analysis. Therefore, the specific implementation steps of the attendance warning system based on personnel flow analysis can refer to the above-mentioned description of the attendance warning method based on personnel flow analysis, which will not be repeated here.
[0155] An embodiment of the present application also discloses an attendance warning device based on personnel flow analysis, including a processor and a memory, wherein the memory stores an executable program of the above-mentioned processor; the processor is configured to execute the steps in the above-mentioned attendance warning method based on personnel flow analysis by executing the executable program. Fig. 9 This is a schematic diagram of the structure of the attendance warning device based on personnel flow analysis disclosed in this application. Fig. 9 The electronic device 600 according to this embodiment of the present application is described. Fig. 9 The electronic device 600 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0156] like Fig. 9 As shown, the electronic device 600 is in the form of a general computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 connecting different platform components (including the storage unit 620 and the processing unit 610), a display unit 640, etc.
[0157] The storage unit stores program codes, which can be executed by the processing unit 610, so that the processing unit 610 executes the steps of various exemplary embodiments of the present application described in the above-mentioned attendance warning method based on personnel flow analysis. For example, the processing unit 610 can execute the following steps: Figure 1 Follow the steps shown in .
[0158] The storage unit 620 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 6201 and / or a cache memory unit 6202 , and may further include a read-only memory unit (ROM) 6203 .
[0159] The storage unit 620 may also include a program / utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0160] Bus 630 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0161] The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 600, and / or communicate with any device that enables the electronic device 600 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 650. Furthermore, the electronic device 600 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via a bus 630. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, etc.
[0162] The present application also discloses a computer-readable storage medium for storing a program, which implements the steps in the attendance warning method based on personnel flow analysis when the program is executed. In some possible implementations, various aspects of the present application can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps described in the attendance warning method based on personnel flow analysis in the present specification according to various exemplary implementations of the present application.
[0163] As shown above, when the program of the computer-readable storage medium of this embodiment is executed, when it is found that the teacher's attendance has triggered a warning condition based on the attendance data, a warning message is generated, and based on the historical teaching situation of the currently attended candidate teachers, a match is made between the attended candidate teachers and the attended students, and other suitable teachers are temporarily assigned to the students. After matching the attended students with suitable teachers, the previous warning message is cleared, thereby improving teaching efficiency while realizing teacher attendance warning management.
[0164] An embodiment of the present application discloses a computer-readable storage medium. The storage medium is a program product that implements the above method, which can be a portable compact disk read-only memory (CD-ROM) and includes program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present application is not limited to this. In this document, a readable storage medium can be any tangible medium that contains or stores a program, which can be used by or in combination with an instruction execution system, device or device.
[0165] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable 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 above.
[0166] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0167] Program code for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0168] The attendance warning method, system and device based on personnel flow analysis provided in the embodiments of the present application generate warning information when it is found that the teacher's attendance has triggered a warning condition based on the attendance data, and match the currently attended backup teachers with the attended students based on the historical teaching situation of the currently attended backup teachers, temporarily assign other suitable teachers to the students, and clear the previous warning information after matching the attended students with suitable teachers, thereby improving teaching efficiency while realizing teacher attendance warning management.
[0169] The above content is a further detailed description of the present application in combination with specific preferred implementation methods, and it cannot be determined that the specific implementation of the present application is limited to these descriptions. For ordinary technicians in the technical field to which the present application belongs, several simple deductions or substitutions can be made without departing from the concept of the present application, which should be deemed to fall within the scope of protection of the present application.
Claims
1. An attendance warning method based on personnel flow analysis, It is characterized in that The following steps are involved: Determine a first student set consisting of students in at least one class and an original teacher corresponding to the first student set; When it is determined that the original teacher is not present, a warning message is generated, and students who are present are selected from the first student set as target students, and a plurality of candidate teachers are determined from the teachers who are present; the candidate teachers teach the same first course as the original teacher; Acquire the history teaching data of the first course taught by the candidate teacher; the history teaching data includes history teaching students and history course data of the history teaching students in the first course taught by the candidate teacher; According to the history course data, determining a second set of students associated with the candidate teacher from the history teaching students; the second set of students corresponds to the candidate teacher one by one; Extracting first labels for the target students and extracting second labels for the students in the second student set respectively; and constructing a first label set based on the first labels and a second label set based on the second labels; Calculating a degree of match between the first tag set and the second tag set; According to the matching degree, a target teacher is determined from the multiple candidate teachers, the target student is associated with the target teacher, and the warning information is cleared.
2. The attendance warning method according to claim 1, It is characterized in that The step of determining, based on the history course data, a second set of students associated with the candidate teacher from the history professor's students comprises: Determining, based on the history course data, a third set of students who have a preference for the candidate teacher from among the history professor's students; According to all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses, multiple students are selected from the third student set to form a second student set.
3. The attendance warning method according to claim 2, It is characterized in that The step of determining, based on the history course data, a third set of students who have a preference for the candidate teacher from among the history professor students comprises: The students of the history teaching whose history course data is greater than a first preset threshold are formed into a third student set.
4. The attendance warning method according to claim 2, It is characterized in that The selecting a plurality of students from the third student set according to all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses to form a second student set includes: Calculate the course participation similarity between each student in the third student set and the remaining students according to all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses; According to the course participation similarity, multiple students are selected from the third student set to form a second student set.
5. The attendance warning method according to claim 4, It is characterized in that The calculating the course participation similarity between each student in the third student set and the remaining students according to all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses comprises: According to all the second courses that each student in the third student set has historically attended, taking the same second course attended by each student in the third student set and the rest of the students as the target course; Determine, according to the second course data of each student in all the second courses, the third course data corresponding to each student in the third student set and the remaining students in the target course; The number of target courses whose third course data is less than a second preset threshold is determined, and the number is used as the course participation similarity between each student in the third student set and the remaining students.
6. The attendance warning method according to claim 4, It is characterized in that The second courses have multiple types; the calculating the course participation similarity between each student in the third student set and the remaining students based on all the second courses that each student in the third student set has historically attended and the second course data of each student in all the second courses includes: According to all the second courses that each student in the third student set has ever attended and the second course data of each student in all the second courses, a student course matrix is formed; the value of each item in the student course matrix is the second course data of the student in the second course; The course participation similarity between each student in the third student set and the remaining students is calculated according to the student course matrix.
7. The attendance warning method according to claim 6, It is characterized in that The step of calculating the course participation similarity between each student in the third student set and the remaining students according to the student course matrix includes: According to the student-course matrix, an intermediate matrix is calculated; each item in the intermediate matrix is the sum of the products of the second course data of the second courses of the student i and the student j, and i and j are integers greater than or equal to 1 and less than or equal to the number of students in the third student set; Calculate the similarity matrix between each student in the third student set and the remaining students according to the intermediate matrix; The course participation similarity between students in the third student set is calculated according to the similarity matrix.
8. The attendance warning method according to claim 7, It is characterized in that Calculating the course participation similarity between students in the third student set according to the similarity matrix includes: Adding the item values of the first diagonal of the similarity matrix to obtain a first intermediate value; Adding the item values of the second diagonal of the similarity matrix to obtain a second intermediate value; the similarity matrix is symmetric about the second diagonal; The ratio of the first intermediate value to the second intermediate value is used as the course participation similarity between the two students associated with the similarity matrix.
9. An attendance warning system based on personnel flow analysis, used to implement the attendance warning method as claimed in claim 1, It is characterized in that The system comprises: An early warning object determination module determines a first student set consisting of students in at least one class and an original teacher corresponding to the first student set; an attendance warning trigger module, which generates warning information when it is determined that the original teacher is not present, and selects students who are present from the first student set as target students, and determines a plurality of candidate teachers from the teachers who are present; the candidate teachers teach the same first course as the original teacher; A history teaching data acquisition module is used to acquire history teaching data of the candidate teacher teaching the first course; the history teaching data includes history teaching students and history course data of the history teaching students in the first course taught by the candidate teacher; A second student set determination module, which determines, according to the history course data, a second student set associated with the candidate teacher from among the history professor's students; the second student set corresponds to the candidate teacher one-to-one; A label extraction and label set construction module extracts a first label for the target student and a second label for the students in the second student set; and constructs a first label set based on the first label and a second label set based on the second label; A matching degree determination module, which calculates the matching degree between the first tag set and the second tag set; The warning re-determination module determines a target teacher from the multiple candidate teachers according to the matching degree, associates the target student with the target teacher, and clears the warning information.
10. An attendance warning device based on personnel flow analysis, It is characterized in that include: processor; a memory in which an executable program of the processor is stored; Wherein, the processor is configured to execute the steps of the attendance warning method based on personnel flow analysis as described in any one of claims 1 to 8 by executing the executable program.
Citation Information
Patent Citations
Course recommendation method and system
CN106875309A
Famous teacher high-quality course recommendation resource application method and system for middle and primary school education
CN109933730A
A hierarchical course arrangement method and system and a teaching management method and system with a teaching calendar as a core
CN109978505A
Teacher allocation method, system and device for online education and storage medium
CN110197294A
Teacher-asset matching method and system for big data online education platform
CN112132480A
