Student behavior management method and system based on big data
By introducing collaborative course selection keys and a dual time-limited control mechanism into the course selection system, the system achieves precise pre-locking and automatic release of course slots, solving the problem of low success rate of collaborative course selection and improving the resource utilization and user experience of the course selection system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HEBEI NORTH UNIV
- Filing Date
- 2026-04-30
- Publication Date
- 2026-07-14
Smart Images

Figure CN122390930A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to data processing technology, and more particularly to a student behavior management method and system based on big data. Background Technology
[0002] Currently, course selection is a crucial component of student behavior management in higher education institutions and other educational organizations. With the development of educational informatization, online course selection systems have become commonplace. However, in practical applications, students often have a need for collaborative course selection, such as wanting to choose the same course with roommates or friends.
[0003] Most existing course selection systems only support individual course selection and lack effective collaboration mechanisms. In terms of reserving collaborative slots, they often adopt a simple fixed reservation method, which can easily lead to slots being occupied for a long time due to the collaborating party's failure to confirm in time. This reduces the utilization rate of course resources and further affects the efficiency of the course selection system and the course selection experience. Summary of the Invention
[0004] In view of the above problems, the present invention is proposed to provide a student behavior management method and system based on big data that overcomes or at least partially solves the above problems.
[0005] According to one aspect of the present invention, a student behavior management method based on big data is provided, comprising the following steps: In response to the collaborative course selection request initiated by the first student terminal based on the target course, a collaborative course selection key bound to the target course and the first student terminal is generated, and one available spot for the target course is pre-locked. The collaborative course selection key is sent to the first student's terminal, and a countdown for the corresponding first preset time period is started; If the second student terminal accesses the course selection page of the target course based on the collaborative course selection key within the first preset time period, then the countdown for the corresponding second preset time period is started. If the second student confirms the selection of the target course within the second preset time limit, the pre-locked optional slots will be allocated to the second student; otherwise, the pre-locked optional slots will be released.
[0006] Optionally, in the method according to the present invention, the step of responding to a collaborative course selection request initiated by the first student terminal based on the target course, generating a collaborative course selection key bound to the target course and the first student terminal, and pre-locking an optional spot for the target course includes: Receive a collaborative course selection request triggered by the first student terminal on the course selection page of the target course, and generate an encrypted string containing the initiating student identifier corresponding to the first student terminal, the course identifier corresponding to the target course, and a first preset time limit as the collaborative course selection key; Determine the number of available slots for the target course in the course database, decrement the number of available slots by one, and pre-lock one available slot for the target course.
[0007] Optionally, in the method according to the invention, the reverse step of releasing the pre-locked optional slots includes: If the collaborative course selection key is not accessed by the second student within the first preset time limit, the binding between the collaborative course selection key and the target course is released. Increment the number of available slots for the target course by one, and release the pre-locked available slots. or, If the collaborative course selection key is accessed by the second student terminal within the first preset time period and the second student terminal fails to confirm the selection of the target course within the second preset time period, the binding between the collaborative course selection key and the target course is released. Increment the number of available slots for the target course by one, and release the pre-locked available slots.
[0008] Optionally, in the method according to the present invention, the step of responding to the collaborative course selection request initiated by the first student based on the target course further includes: Receive collaborative course selection plans submitted from multiple first-student terminals; Based on the parsing results of the collaborative course selection plan table, a collaborative course selection request is triggered for each first student based on the target course.
[0009] Optionally, in the method according to the present invention, triggering a collaborative course selection request initiated by each first student based on the target course according to the parsing result of the collaborative course selection planning table includes: The collaborative course selection plan table is parsed to obtain the list of courses to be coordinated corresponding to the first student and the list of collaborative students corresponding to each course in the list of courses to be coordinated. In response to any course selection being identical to the target course, each collaborative task is generated based on the target course and each collaborative student identifier in the collaborative student list corresponding to that course selection. The collaborative task includes the initiating student identifier, the course identifier corresponding to the target course, and the collaborative student identifier. Each collaborative task triggers a collaborative course selection request initiated by the first student based on the target course.
[0010] Optionally, in the method according to the invention, the method further includes: The system receives collaborative course selection plans submitted by multiple first student terminals, establishes a collaborative association relationship between the initiating student identifier corresponding to each student terminal and each collaborative student identifier included in the collaborative student list of the target course based on the submitted collaborative course selection plan, and obtains each collaborative relationship group. Conflict checks are performed on all collaborative relationship groups. Based on the check results, the conflict types are determined, and corresponding preset resolution strategies are matched according to the conflict types.
[0011] Optionally, in the method according to the present invention, conflict verification is performed on all the cooperative relationship groups, and the conflict type is determined based on the verification results, including: Based on any collaborative relationship group, the initiating student identifier and the collaborative student identifier corresponding to the collaborative relationship group are compared in the collaborative student list of the target course in their respective collaborative course selection planning table; When the list of collaborating students for the corresponding target course is different based on the comparison results, the conflict type is determined to be a two-way matching conflict. And / or, Based on each collaborative relationship group, a collaborative relationship graph is constructed with student identifiers as nodes and collaborative associations as edges. Based on the collaborative relationship graph, a directed circular closed structure is determined, and the type of conflict is determined to be many-to-many relationship conflict.
[0012] Optionally, in the method according to the present invention, the construction of a collaborative relationship graph with student identifiers as nodes and collaborative associations as edges, and the determination of the existence of a directed closed loop structure based on the collaborative relationship graph, and the determination of the conflict type as a many-to-many relationship conflict, includes: Construct a collaborative node with the initiating student identifier as the initiating node and the collaborating student identifier as the collaborating node, and generate a collaborative association edge that connects the initiating node and the collaborating node based on the collaborative association relationship to obtain the collaborative association segment; All collaborative association segments corresponding to different collaborative relationship groups are combined, and the response is based on the obtained collaborative relationship graph to determine that each collaborative association segment presents a directed loop closed structure, and the conflict type is determined to be many-to-many relationship conflict.
[0013] Optionally, in the method according to the present invention, the matching of corresponding preset resolution strategies according to the type of conflict includes: The response conflict type is a two-way matching conflict. The submission timestamps of the different collaborative course selection planning tables corresponding to the initiating student ID and the collaborating student ID of the collaborative relationship group with this two-way matching conflict are determined. Based on the submission timestamp, the earliest collaborative course selection plan table is determined as the baseline plan table, and the latest collaborative course selection plan table is updated to be the same as the baseline plan table. And / or, If the conflict type is a many-to-many relationship conflict, a conflict resolution confirmation instruction is sent to all student terminals with such a conflict, so that all student terminals update the corresponding collaborative course selection plan table according to the conflict resolution confirmation instruction.
[0014] According to another aspect of the present invention, a student behavior management system based on big data is provided, comprising: The request acquisition module is used to respond to the collaborative course selection request initiated by the first student terminal based on the target course, generate a collaborative course selection key bound to the target course and the first student terminal, and pre-lock one optional spot for the target course; The key sending module is used to send the collaborative course selection key to the first student terminal and start a countdown for the corresponding first preset time period; The confirmation receiving module is used to respond when the second student terminal accesses the course selection page of the target course based on the collaborative course selection key within the first preset time period, and then starts the countdown for the corresponding second preset time period; The quota execution module is used to respond to the second student's confirmation of course selection for the target course within a second preset time period. If the second student completes the confirmation within the second preset time period, the pre-locked optional quota will be allocated to the second student. Otherwise, the pre-locked optional quota will be released.
[0015] According to the solution of the present invention, by introducing a dual time-limited control mechanism of collaborative course selection key and first and second preset time limits, the precise pre-locking and automatic release of selectable slots during the collaborative course selection process are realized, effectively solving the problems of low success rate of collaborative course selection and invalid occupation of slot resources in the prior art; wherein, the first preset time limit restricts the validity period of the collaborative course selection key, and the second preset time limit restricts the window period of the confirmation operation. The dual guarantee mechanism greatly improves the efficiency of slot resource circulation and significantly enhances the intelligence level and user experience of the student behavior management system. Attached Figure Description
[0016] Figure 1 A flowchart of a big data-based student behavior management method according to an embodiment of the present invention is shown; Figure 2 A schematic diagram of a directional annular closed structure according to an embodiment of the present invention is shown; Figure 3 A block diagram of a big data-based student behavior management system according to another embodiment of the present invention is shown. Detailed Implementation
[0017] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0018] To address the problems existing in the aforementioned background technology, the inventors proposed the solution of this invention. One embodiment of this invention provides a student behavior management method based on big data, which can be executed on a computing device.
[0019] Figure 1 A flowchart of a big data-based student behavior management method according to an embodiment of the present invention is shown, the method being adapted to be executed in a computing device.
[0020] like Figure 1 As shown, the student behavior management method based on big data proposed in this embodiment begins with step S102, which includes the following: In response to the collaborative course selection request initiated by the first student terminal based on the target course, a collaborative course selection key bound to the target course and the first student terminal is generated, and one available spot for the target course is pre-locked.
[0021] For example, in this embodiment, the first student terminal is the terminal device used by the student who initiates the collaborative course selection request, such as a smartphone, tablet, or other terminal, and the target course is the course that the student wants to invite other students to take together. When the first student initiates a collaborative course selection request based on the target course, the server generates a collaborative course selection key. This collaborative course selection key is bound to the first student who initiated the collaborative course selection request and the target course. This ensures that the collaborative course selection key is only used by the first student to invite others to select the target course, reducing the risk of being impersonated or forged, and ensuring the security of subsequent collaborative course selection. Next, the server will pre-lock one of the available spots for the target course. Pre-locking means that the available spot is temporarily not visible or selectable by other students, so as to reserve the available spot for other students invited by the first student to take the target course, thus avoiding a situation where there is a conflict of spots.
[0022] Furthermore, the aforementioned "responding to the collaborative course selection request initiated by the first student based on the target course, generating a collaborative course selection key bound to the target course and the first student, and pre-locking one available spot for the target course" also includes the following steps: Receive a collaborative course selection request triggered by the first student terminal on the course selection page of the target course, and generate an encrypted string containing the initiating student identifier corresponding to the first student terminal, the course identifier corresponding to the target course, and a first preset time limit as the collaborative course selection key; Determine the number of available slots for the target course in the course database, decrement the number of available slots by one, and pre-lock one available slot for the target course.
[0023] For example, in this embodiment, the initiating student identifier is used to identify the identity of the student who initiated the collaborative course selection, such as the student's student ID and name, and the course identifier is used to identify the selected course, such as the course code; The server receives the collaborative course selection request triggered by the first student on the course selection page of the target course, and then generates an encrypted string containing the initiating student identifier corresponding to the first student, the course identifier of the target course, and a first preset time limit as the collaborative course selection key. The security of the collaborative course selection key can be ensured based on the encrypted string, thus guaranteeing the course selection effect of collaborative course selection. Next, the server will query the course database to see the number of available spots for the target course. If the number of available spots is greater than 0, the server will decrement the number of available spots by one and pre-lock one available spot for the target course. If the number of available slots is 0, it means that there are not enough available slots for the target course, and collaborative course selection is not possible.
[0024] Step S104 includes the following: The collaborative course selection key is sent to the first student's terminal, and a countdown for the corresponding first preset time period is started.
[0025] For example, in this embodiment, the server will send the collaborative course selection key to the first student's end, and the first student's end can share the collaborative course selection key with the second student's end that they want to invite to take the target course together through communication channels such as social software; At the same time, the server will start a countdown for the first preset validity period, which refers to the longest period of time during which the collaborative course selection key is allowed to remain valid. For example, the first preset validity period can be set to 24 hours. This embodiment prevents the pre-locked available slots from being occupied for a long time by starting a countdown for the first preset time limit, thus ensuring a certain degree of fairness for other students. In other words, the collaborative course selection key will automatically expire after the first preset time limit, which can also prevent potential security risks caused by the long-term validity of the collaborative course selection key.
[0026] Step S106 includes the following: If the second student accesses the course selection page of the target course based on the collaborative course selection key within the first preset time period, then the countdown for the corresponding second preset time period will be started.
[0027] For example, in this embodiment, the second student terminal is the terminal used by the student invited to participate in collaborative course selection. When the second student terminal accesses the course selection page of the target course through the collaborative course selection key within the first preset time limit, the server will immediately start the countdown of the second preset time limit. The second preset time limit refers to the longest time period during which the course selection confirmation operation is allowed from the moment the second student accesses the course selection page. For example, the second preset time limit can be set to 10 minutes to prevent the waste of resources caused by the pre-locked available places not being confirmed for a long time. The second preset time limit set in this embodiment, together with the aforementioned first preset time limit, can prevent the second student from accessing the course selection page at the last moment of the first preset time limit, resulting in insufficient time to complete the confirmation operation, or from accessing the course selection page and not confirming for a long time, thus invalidating and locking the available places. Therefore, setting the first preset time limit and the second preset time limit can take into account both the flexibility of inviting collaborative course selection and the liquidity of places.
[0028] Step S108 includes the following: If the second student confirms the selection of the target course within the second preset time limit, the pre-locked optional slots will be allocated to the second student; otherwise, the pre-locked optional slots will be released.
[0029] For example, in this embodiment, if the second student completes the course selection confirmation within the second preset time period, such as by clicking the course selection confirmation button on the second student's end, the server will allocate the previously pre-locked available slots to the second student's end. If the second student fails to confirm course selection within the second preset time limit (e.g., operation timeout or abandonment of course selection), or if the second student fails to access the course selection page within the first preset time limit, the server will release the pre-locked available slots, restoring them to an available state for other students to confirm course selection, thereby improving the utilization rate of available slots and avoiding slots being idle due to collaboration failure.
[0030] Furthermore, the aforementioned "conversely, releasing the pre-locked optional slots" also includes the following steps: If the collaborative course selection key is not accessed by the second student within the first preset time limit, the binding between the collaborative course selection key and the target course is released. Increment the number of available slots for the target course by one, and release the pre-locked available slots. or, If the collaborative course selection key is accessed by the second student terminal within the first preset time period and the second student terminal fails to confirm the selection of the target course within the second preset time period, the binding between the collaborative course selection key and the target course is released. Increment the number of available slots for the target course by one, and release the pre-locked available slots.
[0031] For example, in this embodiment, if the collaborative course selection key is not accessed by the second student terminal within the first preset time limit, the server will first unbind the collaborative course selection key from the target course, then increment the number of available slots for the target course, and finally release the pre-locked available slots so that other students can select the target course based on the available slots. If the collaborative course selection key is accessed by the second student within the first preset time limit, but the final course selection confirmation operation is not completed within the second preset time limit due to network delay, hesitation in operation, or unexpected exit, the server will first unbind the collaborative course selection key from the target course, then increment the number of selectable slots for the target course by one, and finally release the pre-locked selectable slots. The server releases available slots based on two different course selection scenarios, which can promptly avoid the invalid occupation of course slots and improve the success rate of other students' course selection.
[0032] Furthermore, the aforementioned "responding to the collaborative course selection request initiated by the first student based on the target course" previously included the following steps: Receive collaborative course selection plans submitted from multiple first-student terminals; Based on the parsing results of the collaborative course selection plan table, a collaborative course selection request is triggered for each first student based on the target course.
[0033] For example, in this embodiment, since multiple students may want to collaboratively select the same target course, the first student can submit a collaborative course selection plan form according to the collaborative course selection requirements, so that the server can perform batch collaborative course selection operations based on multiple collaborative course selection plan forms, which can reduce the number of manual operation steps for students and reduce the probability of misoperation. The server parses the collaborative course selection plans submitted by multiple first-student clients and triggers a collaborative course selection request based on the target course for each first-student client according to the parsing results, so as to improve course selection efficiency.
[0034] Furthermore, the aforementioned "triggering a collaborative course selection request initiated by each first student based on the target course according to the parsing results of the collaborative course selection planning table" also includes the following steps: The collaborative course selection plan table is parsed to obtain the list of courses to be coordinated corresponding to the first student and the list of collaborative students corresponding to each course in the list of courses to be coordinated. In response to any course selection being identical to the target course, each collaborative task is generated based on the target course and each collaborative student identifier in the collaborative student list corresponding to that course selection. The collaborative task includes the initiating student identifier, the course identifier corresponding to the target course, and the collaborative student identifier. Each collaborative task triggers a collaborative course selection request initiated by the first student based on the target course.
[0035] For example, in this embodiment, after receiving the collaborative course selection plan table, the server will parse the collaborative course selection plan table to obtain the list of courses to be coordinated corresponding to the first student and the list of collaborative students corresponding to each course in the list of courses to be coordinated. The list of courses to be coordinated contains the courses that the first student wants to select, and each course corresponds to a collaborative student identifier in the collaborative student list. The collaborative student identifier corresponds to the student identifier of the classmate that the first student wants to invite to participate in collaborative course selection. Next, the server will take each course in the list of courses to be selected as the target course and perform specific collaborative course selection operations. First, for each target course, the server will obtain the corresponding list of collaborative students and generate a corresponding collaborative task for each collaborative student identifier in the collaborative student list. Each collaborative task contains the initiating student identifier, the course identifier of the corresponding target course, and the collaborative student identifier. For example, if student A, student B, and student C agree to jointly select the target course CS11, the server will generate two collaborative tasks: one is: student A as the initiator, course CS11, and student B as the collaborator; the other is: student A as the initiator, course CS11, and student C as the collaborator. Finally, the server will trigger a collaborative course selection request initiated by the first student client based on the target course for each collaborative task. In other words, a first student client can simultaneously agree to select the same course with multiple second student clients, which has certain practical applications.
[0036] Furthermore, the above method also includes the following steps: The system receives collaborative course selection plans submitted by multiple first student terminals, establishes a collaborative association relationship between the initiating student identifier corresponding to each student terminal and each collaborative student identifier included in the collaborative student list of the target course based on the submitted collaborative course selection plan, and obtains each collaborative relationship group. Conflict checks are performed on all collaborative relationship groups. Based on the check results, the conflict types are determined, and corresponding preset resolution strategies are matched according to the conflict types.
[0037] For example, in this embodiment, after the server receives collaborative course selection planning forms submitted by multiple first student terminals, it will first establish a collaborative association relationship between the initiating student identifier corresponding to each student terminal and each collaborative student identifier included in the collaborative student list of the target course corresponding to the submitted collaborative course selection planning form, thereby obtaining each collaborative relationship group. For example, if the collaborative course selection plan table submitted by the first student, A, includes collaborative student identifiers B and C in the collaborative student list, then the server will establish a collaborative association relationship between A, B, and C, resulting in a collaborative relationship group containing A, B, and C. Finally, the server will perform conflict verification on all collaborative relationship groups. Conflict verification means that the server will traverse all collaborative relationship groups to find out if there are any conflicts, and match the corresponding preset resolution strategies according to different conflict types to ensure the final collaborative course selection effect.
[0038] Furthermore, the aforementioned "performing conflict checks on all the collaborative relationship groups and determining the conflict type based on the check results" also includes the following steps: Based on any collaborative relationship group, the initiating student identifier and the collaborative student identifier corresponding to the collaborative relationship group are compared in the collaborative student list of the target course in their respective collaborative course selection planning table; When the list of collaborating students for the corresponding target course is different based on the comparison results, the conflict type is determined to be a two-way matching conflict. And / or, Based on each collaborative relationship group, a collaborative relationship graph is constructed with student identifiers as nodes and collaborative associations as edges. Based on the collaborative relationship graph, a directed circular closed structure is determined, and the type of conflict is determined to be many-to-many relationship conflict.
[0039] For example, in this embodiment, the server will compare the initiating student ID and the cooperating student ID in the list of cooperating students for the target course in their respective collaborative course selection planning table for each collaborative relationship group; If the comparison results indicate that the collaborative student lists for the corresponding target courses are different, it means that the mutual selection relationship between the two parties for that target course does not match. The server will first determine that the conflict type is a two-way matching conflict. Taking student A and student B as an example, if the collaborative course selection plan submitted by student A contains the collaborative student ID B in the collaborative student list for the target course Advanced Mathematics, the server will determine the collaborative course selection plan submitted by student B. If it is confirmed that the collaborative student list for Advanced Mathematics does not contain the collaborative student ID A, the server will determine the conflict type as a bidirectional matching conflict. The server will also construct a collaboration graph for each collaboration relationship group, with student identifiers as nodes and collaboration relationships as edges. When a directed closed loop structure is determined based on the collaboration relationship graph, the conflict type is determined to be a many-to-many relationship conflict. This embodiment can identify different conflict types for different situations, which facilitates the matching of corresponding preset resolution strategies based on the conflict type, thereby improving the success rate of collaborative course selection.
[0040] Furthermore, the aforementioned "constructing a collaborative relationship graph with student identifiers as nodes and collaborative associations as edges, and responding to the determination of the existence of a directed closed loop structure based on the collaborative relationship graph, and determining the conflict type as a many-to-many relationship conflict" also includes the following steps: Construct a collaborative node with the initiating student identifier as the initiating node and the collaborating student identifier as the collaborating node, and generate a collaborative association edge that connects the initiating node and the collaborating node based on the collaborative association relationship to obtain the collaborative association segment; All collaborative association segments corresponding to different collaborative relationship groups are combined, and the response is based on the obtained collaborative relationship graph to determine that each collaborative association segment presents a directed loop closed structure, and the conflict type is determined to be many-to-many relationship conflict.
[0041] For example, in this embodiment, the server will construct an initiating student identifier as the initiating node and a collaborating student identifier as the collaborating node, then make a directed connection between the initiating node and the collaborating node that have a collaborative relationship, and determine the resulting collaborative relationship edge as the collaborative relationship segment. Collaborative association refers to the association between the initiating node and collaborating nodes that want to conduct collaborative course selection, such as... Figure 2 As shown, the two dashed-bordered circles, the two solid-bordered circles, and the two hollow circles represent the nodes corresponding to each student identifier with a collaborative relationship. The initiating node and the collaborating nodes with a collaborative relationship are all connected by a collaborative relationship segment, such as... Figure 2 The directed line segment shown; Then, the server will combine all the collaborative association segments corresponding to different collaborative relationship groups to obtain a collaborative relationship graph. If it is determined in the collaborative relationship graph that each collaborative association segment presents a directed loop-like closed structure, such as... Figure 2 The triangle shown indicates that a closed loop has occurred in the collaborative course selection process for multiple students, making it impossible to properly allocate collaborative course selection tasks. In this case, the server will determine that the conflict type is a many-to-many relationship conflict.
[0042] Furthermore, the aforementioned "matching of corresponding preset resolution strategies according to the type of conflict" also includes the following steps: The response conflict type is a two-way matching conflict. The submission timestamps of the different collaborative course selection planning tables corresponding to the initiating student ID and the collaborating student ID of the collaborative relationship group with this two-way matching conflict are determined. Based on the submission timestamp, the earliest collaborative course selection plan table is determined as the baseline plan table, and the latest collaborative course selection plan table is updated to be the same as the baseline plan table. And / or, If the conflict type is a many-to-many relationship conflict, a conflict resolution confirmation instruction is sent to all student terminals with such a conflict, so that all student terminals update the corresponding collaborative course selection plan table according to the conflict resolution confirmation instruction.
[0043] For example, in this embodiment, when the conflict type is a two-way matching conflict, it means that a student who agreed to select the target course together may have filled in the form incorrectly. If it is not handled, it will directly lead to the failure of collaborative course selection and affect the course selection experience. Therefore, the server will determine the submission timestamps of the different collaborative course selection planning forms of the initiating student ID and the collaborating student ID corresponding to the collaborative relationship group with the two-way matching conflict, that is, the submission time of the student's collaborative course selection planning form. The server will determine the earliest collaborative course selection plan table as the baseline plan table based on the submission timestamp, and update the latest collaborative course selection plan table to be the same as the baseline plan table, so as to eliminate conflicts and improve the efficiency of conflict handling. When the conflict type is a many-to-many relationship conflict, the server will send a conflict resolution confirmation instruction to all student terminals with such a many-to-many relationship conflict, so that all student terminals can update the corresponding collaborative course selection plan table according to the conflict resolution confirmation instruction, which can respect students' right to choose autonomously to the greatest extent and ensure the rationality of the collaborative course selection results. This embodiment can adopt differentiated processing methods for different types of conflicts, which can ensure processing efficiency and respect students' autonomy to the greatest extent.
[0044] To clearly illustrate the above-mentioned technical solutions involved in this embodiment, the following description will be provided in conjunction with actual application scenarios: Regarding the elective course "Table Tennis," student A submits a collaborative course selection plan at 9:00 AM. The collaborative student list for this course includes student B and student C, meaning A intends to reserve seats for B and C, hoping they will enroll in the course together. Student B submits a plan for the same course at 9:05 AM, with student A listed as the collaborative student, meaning B intends to reserve seats for A, but does not include student C. At this point, the server can detect a bidirectional matching conflict and perform the following operations: Obtain the submission timestamps of the planning forms from student client A and student client B, and confirm that A's submission time was earlier; Lock the collaboration relationship pairs corresponding to student A, that is, student A→student B, student A→student C. Then, based on the collaboration list of student A, automatically modify the planning table of student B, update the collaboration student list of B to student A and student C, that is, add student C, and simultaneously cancel other irrelevant collaboration tasks of B, so as to ensure that the collaboration lists of A and B are completely consistent in the end, so as to resolve the bidirectional matching conflict. For the elective course "Badminton", student A's collaboration list is student B, student B's collaboration list is student C, and student C's collaboration list is student A, forming a directed closed loop structure. In this case, the server cannot automatically determine the execution order of the collaboration tasks, thus determining it as a many-to-many relationship conflict, and performing the following operations: The server pushes a conflict alert to the student terminals of student A, student B, and student C, informing them of the many-to-many relationship conflict. After consultation among the three individuals, it was decided to retain only the collaborative relationships between student A and student B, and between student B and student A, while removing the association with student C. A confirmation command was then submitted. At this point, the server could update the three individuals' planning tables according to the command, canceling the collaborative task corresponding to student C, thereby resolving the many-to-many relationship conflict.
[0045] According to the solution of the present invention, by introducing a dual time-limited control mechanism of collaborative course selection key and first and second preset time limits, the precise pre-locking and automatic release of selectable slots during the collaborative course selection process are realized, effectively solving the problems of low success rate of collaborative course selection and invalid occupation of slot resources in the prior art; wherein, the first preset time limit restricts the validity period of the collaborative course selection key, and the second preset time limit restricts the window period of the confirmation operation. The dual guarantee mechanism greatly improves the efficiency of slot resource circulation and significantly enhances the intelligence level and user experience of the student behavior management system.
[0046] Another embodiment of the present invention provides a student behavior management system based on big data. Figure 3 Its corresponding system block diagram includes: The request acquisition module is used to respond to the collaborative course selection request initiated by the first student terminal based on the target course, generate a collaborative course selection key bound to the target course and the first student terminal, and pre-lock one optional spot for the target course; The key sending module is used to send the collaborative course selection key to the first student terminal and start a countdown for the corresponding first preset time period; The confirmation receiving module is used to respond when the second student terminal accesses the course selection page of the target course based on the collaborative course selection key within the first preset time period, and then starts the countdown for the corresponding second preset time period; The quota execution module is used to respond to the second student's confirmation of course selection for the target course within a second preset time period. If the second student completes the confirmation within the second preset time period, the pre-locked optional quota will be allocated to the second student. Otherwise, the pre-locked optional quota will be released.
[0047] In the specification provided herein, the algorithms and displays are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with the examples of this invention. The required structure for constructing such systems is apparent from the above description. Furthermore, this invention is not directed to any particular programming language. It should be understood that the contents of the invention described herein can be implemented using various programming languages, and the above description of specific languages is for the purpose of disclosing preferred embodiments of the invention.
[0048] Numerous specific details are set forth in the specification provided herein. However, it will be understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this specification.
[0049] Similarly, it should be understood that, in order to streamline this disclosure and aid in understanding one or more of the various aspects of the invention, in the description of exemplary embodiments of the invention above, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof.
[0050] Those skilled in the art will understand that modules, units, or components of the devices disclosed in the examples herein can be arranged in the devices described in this embodiment, or alternatively, can be located in one or more devices different from the devices in this example. The modules in the foregoing examples can be combined into a single module or, in addition, can be divided into multiple sub-modules.
[0051] Those skilled in the art will understand that the modules in the device of the embodiment can be adaptively changed and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiment can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components.
[0052] Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention and form different embodiments.
[0053] Furthermore, some of the embodiments described herein are methods or combinations of method elements that can be implemented by a processor of a computer system or by other means of performing the functions. Therefore, a processor having the necessary instructions for implementing the methods or method elements forms means for implementing the methods or method elements. Furthermore, the elements described herein in the apparatus embodiments are examples of means for implementing the functions performed by elements for the purposes of carrying out the invention.
[0054] As used herein, unless otherwise specified, the use of ordinal numbers such as “first,” “second,” “third,” etc., to describe ordinary objects merely indicates different instances of similar objects and is not intended to imply that the objects being described must have a given order in time, space, ordering, or any other manner.
[0055] Although the invention has been described with respect to a limited number of embodiments, those skilled in the art will understand from the foregoing description that other embodiments are conceivable within the scope of the invention described herein. Furthermore, it should be noted that the language used in this specification has been chosen primarily for readability and edibility purposes, and not for the purpose of explaining or limiting the subject matter of the invention.
Claims
1. A student behavior management method based on big data, characterized in that, include: In response to the collaborative course selection request initiated by the first student terminal based on the target course, a collaborative course selection key bound to the target course and the first student terminal is generated, and one available spot for the target course is pre-locked. The collaborative course selection key is sent to the first student's terminal, and a countdown for the corresponding first preset time period is started; If the second student terminal accesses the course selection page of the target course based on the collaborative course selection key within the first preset time period, then the countdown for the corresponding second preset time period is started. If the second student confirms the selection of the target course within the second preset time limit, the pre-locked optional slots will be allocated to the second student; otherwise, the pre-locked optional slots will be released.
2. The method according to claim 1, characterized in that, The step of responding to a collaborative course selection request initiated by the first student based on the target course, generating a collaborative course selection key bound to the target course and the first student, and pre-locking one available spot for the target course includes: Receive a collaborative course selection request triggered by the first student terminal on the course selection page of the target course, and generate an encrypted string containing the initiating student identifier corresponding to the first student terminal, the course identifier corresponding to the target course, and a first preset time limit as the collaborative course selection key; Determine the number of available slots for the target course in the course database, decrement the number of available slots by one, and pre-lock one available slot for the target course.
3. The method according to claim 1, characterized in that, Conversely, the pre-locked optional slots are released, including: If the collaborative course selection key is not accessed by the second student within the first preset time limit, the binding between the collaborative course selection key and the target course is released. Increment the number of available slots for the target course by one, and release the pre-locked available slots. or, If the collaborative course selection key is accessed by the second student terminal within the first preset time period and the second student terminal fails to confirm the selection of the target course within the second preset time period, the binding between the collaborative course selection key and the target course is released. Increment the number of available slots for the target course by one, and release the pre-locked available slots.
4. The method according to claim 1, characterized in that, The response to the collaborative course selection request initiated by the first student based on the target course also includes: Receive collaborative course selection plans submitted from multiple first-student terminals; Based on the parsing results of the collaborative course selection plan table, a collaborative course selection request is triggered for each first student based on the target course.
5. The method according to claim 4, characterized in that, The step of triggering a collaborative course selection request based on the target course initiated by each first student based on the parsing result of the collaborative course selection planning table includes: The collaborative course selection plan table is parsed to obtain the list of courses to be coordinated corresponding to the first student and the list of collaborative students corresponding to each course in the list of courses to be coordinated. In response to any course selection being identical to the target course, each collaborative task is generated based on the target course and each collaborative student identifier in the collaborative student list corresponding to that course selection. The collaborative task includes the initiating student identifier, the course identifier corresponding to the target course, and the collaborative student identifier. Each collaborative task triggers a collaborative course selection request initiated by the first student based on the target course.
6. The method according to claim 5, characterized in that, The method further includes: The system receives collaborative course selection plans submitted by multiple first student terminals, establishes a collaborative association relationship between the initiating student identifier corresponding to each student terminal and each collaborative student identifier included in the collaborative student list of the target course based on the submitted collaborative course selection plan, and obtains each collaborative relationship group. Conflict checks are performed on all collaborative relationship groups. Based on the check results, the conflict types are determined, and corresponding preset resolution strategies are matched according to the conflict types.
7. The method according to claim 6, characterized in that, The process of performing conflict checks on all the collaborative relationship groups and determining the conflict type based on the check results includes: Based on any collaborative relationship group, the initiating student identifier and the collaborative student identifier corresponding to the collaborative relationship group are compared in the collaborative student list of the target course in their respective collaborative course selection planning table; When the list of collaborating students for the corresponding target course is different based on the comparison results, the conflict type is determined to be a two-way matching conflict. And / or, Based on each collaborative relationship group, a collaborative relationship graph is constructed with student identifiers as nodes and collaborative associations as edges. The response is based on the collaborative relationship graph to determine the existence of a directed circular closed structure and to determine the conflict type as many-to-many relationship conflict.
8. The method according to claim 7, characterized in that, The construction of the collaborative relationship graph, with student identifiers as nodes and collaborative associations as edges, and the determination of the existence of a directed closed loop structure based on the collaborative relationship graph, and the identification of the conflict type as a many-to-many relationship conflict, includes: Construct a collaborative node by identifying the initiating student and the collaborating student, and generate collaborative association edges that connect the initiating node and the collaborating node based on the collaborative association relationship, thus obtaining a collaborative association segment; All collaborative association segments corresponding to different collaborative relationship groups are combined, and based on the obtained collaborative relationship graph, it is determined that each collaborative association segment presents a directed loop closed structure, and the conflict type is determined to be many-to-many relationship conflict.
9. The method according to claim 7, characterized in that, The method further includes: The matching of corresponding preset resolution strategies based on the conflict type includes: The response conflict type is a two-way matching conflict. The submission timestamps of the different collaborative course selection planning tables corresponding to the initiating student ID and the collaborating student ID of the collaborative relationship group with this two-way matching conflict are determined. Based on the submission timestamp, the earliest collaborative course selection plan table is determined as the baseline plan table, and the latest collaborative course selection plan table is updated to be the same as the baseline plan table. And / or, If the conflict type is a many-to-many relationship conflict, a conflict resolution confirmation instruction is sent to all student terminals with such a conflict, so that all student terminals update the corresponding collaborative course selection plan table according to the conflict resolution confirmation instruction.
10. A student behavior management system based on big data, characterized in that, include: The request acquisition module is used to respond to the collaborative course selection request initiated by the first student terminal based on the target course, generate a collaborative course selection key bound to the target course and the first student terminal, and pre-lock one optional spot for the target course; The key sending module is used to send the collaborative course selection key to the first student terminal and start a countdown for the corresponding first preset time period; The confirmation receiving module is used to respond when the second student terminal accesses the course selection page of the target course based on the collaborative course selection key within a first preset time period, and then starts the countdown for the corresponding second preset time period; The quota execution module is used to respond to the second student's confirmation of course selection for the target course within a second preset time period. If the second student completes the confirmation within the second preset time period, the pre-locked optional quota will be allocated to the second student. Otherwise, the pre-locked optional quota will be released.