Automatic control method and system for intelligent school badge
By combining the school curriculum schedule and historical school badge position data, analyzing the school badge position control coordinate system and obtaining real-time school badge movement coefficients, the problem of poor monitoring accuracy in the existing technology is solved, and a highly targeted intelligent school badge control is achieved, and the focus is improved. accuracy of sexual assessment.
Patent Information
- Application Number
- CN202411545259.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2024-11-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing intelligent school badge self-control method relies on single swing amplitude data for concentration monitoring, lacks targetedness, and fails to monitor in combination with students' behavioral habits and physiological data, resulting in poor monitoring accuracy.
By obtaining the school course schedule, dividing the school emblem control cycle, analyzing the school emblem position data of the historical cycle, defining the school emblem position control coordinate system, obtaining real-time school emblem movement coefficients, and comparing them with the historical coefficients, performing real-time control of the smart school emblem to evaluate The focus of the target object.
Improve the accuracy and pertinence of concentration monitoring to ensure the real-time concentration assessment and control of students by the smart school badge.
Smart Images

Figure CN119033366A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of Internet of Things and relates to sensor technology, in particular to an automatic control method and system for an intelligent school badge. Background Art
[0002] The existing intelligent school badge automatic control method has the following defects when performing automatic control: 1. Usually, the concentration of students is monitored by obtaining single swing amplitude data from a gyroscope, which results in poor accuracy. 2. When monitoring concentration, the monitoring cannot be combined with the students’ own behavioral habits and physiological data, which makes the monitoring process lack of specificity.
[0003] To this end, we propose an automatic control method and system for an intelligent school badge. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention aims to provide an automatic control method and system for an intelligent school badge. The present invention is based on obtaining a school course timetable, dividing a plurality of school badge control cycles according to the school course timetable, and randomly selecting a school badge control sample cycle. The school badge control cycle of the target control object before the school badge control sample cycle is taken as a historical school badge control cycle. By performing school badge position analysis on a plurality of historical school badge control cycles, a school badge position control coordinate system is obtained, and the school badge control sample cycle and the school badge position control coordinate system are defined as coordinate system data. The school badge control sample cycle is divided into a plurality of position monitoring periods, and the position monitoring period corresponding to the current moment is marked as a real-time position monitoring period. The school badge movement coefficient of each position monitoring period is obtained through the school badge position control coordinate system to obtain multiple school badge movement coefficients, and the school badge movement coefficient corresponding to the real-time position monitoring period is named the real-time school badge movement coefficient, and the multiple school badge movement coefficients and the real-time school badge movement coefficient are defined as school badge position movement data, and the first school badge movement coefficient threshold and the second school badge movement coefficient threshold are respectively obtained, and the real-time school badge movement coefficient is numerically compared with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and the intelligent school badge is controlled in real time according to the numerical comparison result, and the focus of the target control object in the school badge control sample period is evaluated according to the school badge automatic control data and the school badge position movement data; In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: An automatic control method of an intelligent school badge comprises the following specific steps: An automatic control method of an intelligent school badge, characterized in that it comprises: Step S1: obtaining a school course timetable, dividing a plurality of school badge control periods according to the school course timetable, and randomly selecting a school badge control sample period, taking the school badge control period of the target control object before the school badge control sample period as a historical school badge control period, and obtaining a school badge position control coordinate system by performing school badge position analysis on a plurality of historical school badge control periods, and defining the school badge control sample period and the school badge position control coordinate system as coordinate system data; Step S2: Divide the school badge control sample period into multiple position monitoring periods, mark the position monitoring period corresponding to the current moment as the real-time position monitoring period, obtain the school badge movement coefficient of each position monitoring period through the school badge position control coordinate system, obtain multiple school badge movement coefficients, and name the school badge movement coefficient corresponding to the real-time position monitoring period as the real-time school badge movement coefficient, and define the multiple school badge movement coefficients and the real-time school badge movement coefficient as school badge position movement data; Step S3: respectively obtaining a first school badge movement coefficient threshold and a second school badge movement coefficient threshold, and numerically comparing the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and performing real-time control of the intelligent school badge according to the numerical comparison result; Step S4: Conduct a concentration assessment on the target control object in the school badge control sample period according to the school badge automatic control data and the school badge position movement data.
[0005] Furthermore, the step S1 further includes the following specific steps: Step S11: Obtain the school course timetable, take the course start time point corresponding to each course in the school course timetable as the cycle start time point, take the course end time point corresponding to each course as the cycle end time point, take the period from the cycle start time point to the cycle end time point as a school badge control cycle, and obtain multiple school badge control cycles, and in each school badge monitoring cycle, the smart school badge automatically turns on at the cycle start time point, and the smart school badge automatically turns off at the cycle end time point; Step S12: randomly selecting a school badge control period from among multiple school badge control periods as a school badge control sample period, and randomly selecting a student from among the students wearing the smart school badge within the school badge control sample period as a target control object; Step S13: establishing a position monitoring coordinate system corresponding to the target control object in the calibration control sample period; Step S14: defining the calibration badge control sample period and the calibration badge position control coordinate system as coordinate system data.
[0006] Furthermore, the step S13 further includes the following specific steps: Step S131: obtaining multiple school badge control periods before the start time point of the school badge control sample period as historical school badge control periods, obtaining multiple historical school badge control periods, and randomly selecting a historical school badge control period from the multiple historical school badge control periods as a characteristic school badge control period; Step S132: Analyze the position of the school badge for the characteristic school badge control period to obtain the school badge activity center point corresponding to the characteristic school badge control period; Step S133: taking the center point of the school emblem movement as the coordinate origin, naming the horizontal plane where the coordinate origin is located as the first school emblem movement plane, and naming the vertical plane where the coordinate origin is located as the second school emblem movement plane; Step S134: In the first school badge movable plane, draw an arbitrary straight line through the coordinate origin to obtain the coordinate X-axis. In the first school badge movable plane, draw a straight line perpendicular to the coordinate X-axis to obtain the coordinate Z-axis. In the second school badge movable plane, draw a straight line perpendicular to the coordinate X-axis to obtain the coordinate Y-axis. The spatial coordinate system composed of the coordinate X-axis, coordinate Y-axis, coordinate Z-axis and the coordinate origin is named the school badge position control coordinate system.
[0007] Furthermore, the step S132 further includes the following specific steps: Step S1321: within the characteristic school badge control period, mark a number of position time points, and obtain the school badge position point corresponding to each position time point of the smart school badge through the position sensor to obtain multiple school badge position points; Step S1322: marking the closed space where the multiple school emblem positions are located as a first characteristic three-dimensional space, and dividing the first characteristic three-dimensional space into a plurality of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic space; Step S1323: Count the number of school emblem position points contained in each rectangular three-dimensional subspace to obtain multiple school emblem position point number values; Step S1324: compare the values of the number of school emblem position points, mark the rectangular three-dimensional subspace corresponding to the school emblem position point value with the largest value as the first central three-dimensional subspace, and connect any two spatial diagonals in the first central three-dimensional subspace to obtain a first spatial diagonal and a second spatial diagonal; Step S1325: marking the intersection of the first spatial diagonal line and the second spatial diagonal line as the periodic school badge activity center point corresponding to the characteristic school badge control period; Step S1326: acquiring the periodic school badge activity center points corresponding to the historical school badge control periods respectively, to obtain a plurality of periodic school badge activity center points; Step S1327: marking the enclosed space where the center points of the school emblem activities of multiple periods are located as the second characteristic three-dimensional space, and dividing the second characteristic three-dimensional space into a plurality of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic space; Step S1328: Count the number of periodic school emblem activity center points contained in each rectangular three-dimensional subspace to obtain multiple periodic school emblem activity center point numbers; Step S1329: Compare the numerical values of the periodic school emblem activity center points, mark the rectangular three-dimensional subspace corresponding to the numerical value of the periodic school emblem activity center points as the second central three-dimensional subspace, arbitrarily connect two spatial diagonals in the second central three-dimensional subspace to obtain the third spatial diagonal and the fourth spatial diagonal, and mark the intersection of the third spatial diagonal and the fourth spatial diagonal as the school emblem activity center point.
[0008] Furthermore, the step S2 further includes the following specific steps: Step S21: Acquire coordinate system data, and acquire the school badge control sample period and the school badge position control coordinate system according to the coordinate system data; Step S22: within the badge control sample period, the time value corresponding to the current moment is used as the time period end time value, the time value corresponding to the characteristic control duration before the time period end time value is marked as the time period start time value, and the time period between the time period start time value and the time period end time value is marked as the position monitoring time period, and multiple position monitoring time periods are obtained as the time value corresponding to the current moment changes; Step S23: Among the multiple position monitoring periods, mark the current position monitoring period as the real-time position monitoring period, perform position monitoring on the smart school badge in the real-time position monitoring period, and obtain the school badge movement coefficient corresponding to the real-time position monitoring period; Step S24: The combination point displacement stability coefficient, the combination point displacement cumulative value and the combination point average displacement are calculated to obtain the school badge movement coefficient corresponding to the real-time position monitoring period, and the school badge movement coefficient is named as the real-time school badge movement coefficient; The specific formula for calculating the school badge movement coefficient is as follows: ; Among them, Xhy is the school badge movement coefficient, Ljy is the cumulative value of the combined point displacement, Wyp is the average displacement of the combined point, and Wwx is the combined point displacement stability coefficient; Step S25: acquiring the school badge movement coefficients corresponding to the position monitoring time periods respectively to obtain a plurality of school badge movement coefficients; Step S26: define multiple school badge movement coefficients and real-time school badge movement coefficients as school badge position movement data.
[0009] Furthermore, the step S23 further includes the following specific steps: Step S231: Mark c location monitoring time points with the same time interval in the real-time location monitoring period, and mark two consecutive location monitoring time points as a monitoring time combination point, to obtain the first monitoring time combination point to the c / 2th monitoring time combination point; Step S232: obtaining the displacement value of the smart school badge at the first monitoring time combination point according to the school badge position control coordinate system, and obtaining the first combination point displacement; Step S233: respectively acquiring displacement values corresponding to the second monitoring time combination point to the c / 2th monitoring time combination point, and obtaining the displacement from the second combination point to the c / 2th combination point; Step S234: summing the displacements from the first combination point to the c / 2th combination point to obtain a cumulative value of the combination point displacements; Step S235: Calculate the average displacement of the first combination point to the c / 2th combination point to obtain the average displacement of the combination points; Step S236: Displace the first combination point to the c / 2 combination point to obtain the combination point displacement stability coefficient by calculation; The displacement stability coefficient of the combined point is calculated, and the specific formula is as follows: ; Among them, Wwx is the displacement stability coefficient of the combination point, Wy1 to Wy(c / 2) are the displacements from the first combination point to the c / 2 combination point, Wyp is the average displacement of the combination point, and c / 2 is the quantity value corresponding to the combination point; The step S232 further includes the following specific steps: Step S2321: compare the values of the two position monitoring time points in the first monitoring time combination point, name the position monitoring time point with the smaller time value as the first position monitoring time point, and name the position monitoring time point with the larger time value as the second position monitoring time point; Step S2322: respectively obtaining the three-dimensional coordinates of the smart school badge at the first position monitoring time point and the second position monitoring time point in the school badge position control coordinate system to obtain the first position three-dimensional coordinates and the second position three-dimensional coordinates; Step S2323: obtaining a first combination point displacement by calculating the three-dimensional coordinates of the first position and the three-dimensional coordinates of the second position; The displacement of the first combination point is calculated, and the specific formula is as follows: ; Among them, Zwy1 is the displacement of the first combination point, (X1, Y1, Z1) is the three-dimensional coordinate of the first position, and (X2, Y2, Z2) is the three-dimensional coordinate of the second position.
[0010] Furthermore, the step S3 further includes the following specific steps: Step S31: obtaining the school badge position movement data, and obtaining the real-time school badge movement coefficient according to the school badge position movement data; Step S32: obtaining a first school badge movement coefficient threshold and a second school badge movement coefficient threshold; Step S33: numerically comparing the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and automatically controlling the smart school badge according to the numerical comparison results; Step S34: defining a plurality of reference sample time periods, a first school badge movement coefficient threshold, and a second school badge movement coefficient threshold as school badge automatic control data; The step S33 further includes the following specific steps: Step S331: when the real-time school badge movement coefficient is greater than or equal to the first school badge movement coefficient threshold and less than or equal to the second school badge movement coefficient threshold, the intelligent school badge is controlled to perform normal control on the target control object; Step S332: When the real-time school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, the smart school badge is controlled to turn on the vibration mode to remind the target control object to focus.
[0011] Furthermore, the step S32 further includes the following specific steps: Step S321: obtaining a time period when the target control object is in a focused state, selecting multiple reference sample time periods within this time period, and the time length of each reference sample time period is a characteristic control time length; Step S322: acquiring the school badge movement coefficient corresponding to each reference sample time period respectively, to obtain a plurality of sample school badge movement coefficients; Step S323: Calculate the average of multiple sample badge moving coefficients to obtain the sample badge moving average coefficient; Step S324: Calculate the variance of multiple sample badge movement coefficients to obtain the variance of the sample badge movement coefficients; Step S325: Calculate the sample badge moving average coefficient and the sample badge moving coefficient variance to obtain a first badge moving coefficient threshold; The first school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx1 is the threshold value of the first school badge moving coefficient, Yxp is the moving average coefficient of the sample school badge, and Yfc is the variance of the sample school badge moving coefficient; Step S326: Calculate the sample badge moving average coefficient and the sample badge moving coefficient variance to obtain a second badge moving coefficient threshold; The second school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx2 is the second badge moving coefficient threshold, Yxp is the sample badge moving average coefficient, and Yfc is the sample badge moving coefficient variance.
[0012] Furthermore, the step S4 further includes the following specific steps: Step S41: obtaining school badge position movement data, and obtaining school badge movement coefficients corresponding to a plurality of position monitoring periods respectively according to the school badge position movement data, to obtain a plurality of school badge movement coefficients; Step S42: obtaining school badge automatic control data, and obtaining a first school badge movement coefficient threshold, a second school badge movement coefficient threshold, and a plurality of reference sample time periods according to the school badge automatic control data; Step S43: numerically comparing each school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and dividing the position monitoring period corresponding to the school badge movement coefficient into a first type of monitoring period and a second type of monitoring period according to the numerical comparison result; The step S43 further includes the following specific steps: Step S431: when the school badge movement coefficient is greater than or equal to the first school badge movement coefficient threshold and less than or equal to the second school badge movement coefficient threshold, marking the position monitoring period corresponding to the school badge movement coefficient as a first type monitoring period; Step S432: when the school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, marking the position monitoring period corresponding to the school badge movement coefficient as a second type monitoring period; Step S44: Count the quantity values corresponding to the position monitoring periods within the badge control sample period to obtain the total number of position monitoring periods, count the quantity values corresponding to the first type of monitoring periods to obtain the quantity values of the regular monitoring periods, calculate the ratio of the quantity values of the regular monitoring periods to the total number of position monitoring periods, and obtain the quantity ratio of the regular monitoring periods; Step S45: randomly selecting a plurality of heart rate monitoring time points in a plurality of second type monitoring time periods, respectively obtaining the heart rate value of the target control object corresponding to each heart rate monitoring time point, obtaining a plurality of monitored heart rate values, and averaging the obtained plurality of monitored heart rate values to obtain a first average heart rate value; Step S46: acquiring the time period average heart rate of the target control object in multiple reference sample time periods to obtain multiple time period average heart rates, and averaging the obtained multiple time period average heart rates to obtain a second average heart rate value; Step S47: evaluating the state concentration of the target control object in the badge control sample period according to the first average heart rate value, the second average heart rate value and the number of regular monitoring time periods; The step S47 further includes the following specific steps: Step S471: when the first average heart rate value and the second average heart rate value are equal, obtaining a conventional monitoring period quantity ratio threshold, and numerically comparing the conventional monitoring period quantity ratio with the conventional monitoring period quantity ratio threshold; Step S472: when the regular monitoring period number ratio is greater than the regular monitoring period number ratio threshold, the target control object in the badge control sample period is evaluated to be in a focused state; Step S473: when the regular monitoring period number ratio is less than the regular monitoring period number ratio threshold, the target control object in the badge control sample period is evaluated to be in a non-focused state; Step S474: when the first average heart rate value and the second average heart rate value are not equal, the period state evaluation coefficient corresponding to the badge control sample period is obtained by calculating the ratio of the number of regular monitoring periods, the first average heart rate value and the second average heart rate value; Calculate the periodic state evaluation coefficient. The specific formula configuration is as follows: ; Wherein, Ztp is the cycle state evaluation coefficient, Cgs is the number ratio of regular monitoring periods, Xlp1 is the first average heart rate value, and Xlp2 is the second average heart rate value; Step S475: respectively obtaining the conventional monitoring period number ratio threshold and the average heart rate reference deviation value, calculating the ratio of the average heart rate reference deviation value to the conventional monitoring period number ratio threshold, and obtaining the cycle state evaluation coefficient threshold; Step S476: when the cycle state evaluation coefficient is less than the cycle state evaluation coefficient threshold, the target control object in the school badge control sample period is evaluated to be in a focused state; Step S477: When the cycle state evaluation coefficient is greater than or equal to the cycle state evaluation coefficient threshold, the target control object in the badge control sample period is evaluated to be in a non-focused state.
[0013] An automatic control system for an intelligent school badge, the specific working process of each module is as follows: Coordinate system module: used to obtain the school badge control sample period and school badge position control coordinate system, and obtain coordinate system data; Position data module: used to obtain multiple school badge movement coefficients and real-time school badge movement coefficients by analyzing coordinate system data, and obtain school badge position movement data; School badge control module: used to obtain the first school badge movement coefficient threshold and the second school badge movement coefficient threshold respectively, and compare the real-time school badge movement coefficients numerically, and control the intelligent school badge in real time according to the numerical comparison results; Result feedback module: used to evaluate the concentration of the target control object in the school badge control sample cycle based on the school badge automatic control data and the school badge position movement data.
[0014] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are: 1. The present invention obtains the real-time badge movement coefficient through the badge position control coordinate system to perform real-time focused monitoring of the target control object, which can ensure the accuracy of the monitoring process; 2. The present invention analyzes the behavioral habits of the target control object to obtain the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and numerically compares the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and performs real-time control of the intelligent school badge based on the numerical comparison results, which can effectively ensure the targeted nature of the intelligent school badge control process. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0016] Figure 1 It is a diagram of the implementation steps of the present invention; Figure 2 is the overall system block diagram of the present invention; Figure 3 This is a schematic diagram of the first central three-dimensional subspace in the present invention. DETAILED DESCRIPTION
[0017] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0018] Embodiment 1 See also Figure 1 The present invention provides a technical solution: an automatic control method of an intelligent school badge, comprising the following specific steps: Step S1: The school badge controls the sample period and the school badge position controls the coordinate system to obtain the coordinate system data; Step S11: Obtain the school course timetable, take the course start time point corresponding to each course in the school course timetable as the cycle start time point, take the course end time point corresponding to each course as the cycle end time point, take the period from the cycle start time point to the cycle end time point as a school badge control cycle, and obtain multiple school badge control cycles, and in each school badge monitoring cycle, the smart school badge automatically turns on at the cycle start time point, and the smart school badge automatically turns off at the cycle end time point; Step S12: randomly selecting a school badge control period from among multiple school badge control periods as a school badge control sample period, and randomly selecting a student from among the students wearing the smart school badge within the school badge control sample period as a target control object; Step S13: establishing a position monitoring coordinate system corresponding to the target control object in the calibration control sample period; The step S13 further includes the following specific steps: Step S131: obtaining multiple school badge control periods before the start time point of the school badge control sample period as historical school badge control periods, obtaining multiple historical school badge control periods, and randomly selecting a historical school badge control period from the multiple historical school badge control periods as a characteristic school badge control period; Step S132: Analyze the position of the school badge for the characteristic school badge control period to obtain the school badge activity center point corresponding to the characteristic school badge control period; The step S132 further includes the following specific steps: Step S1321: within the characteristic school badge control period, mark a number of position time points, and obtain the school badge position point corresponding to each position time point of the smart school badge through the position sensor to obtain multiple school badge position points; Step S1322: marking the closed space where the multiple school emblem positions are located as a first characteristic three-dimensional space, and dividing the first characteristic three-dimensional space into a plurality of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic space; Step S1323: Count the number of school emblem position points contained in each rectangular three-dimensional subspace to obtain multiple school emblem position point number values; Step S1324: compare the values of the number of school emblem position points, mark the rectangular three-dimensional subspace corresponding to the school emblem position point value with the largest value as the first central three-dimensional subspace, and connect any two spatial diagonals in the first central three-dimensional subspace to obtain a first spatial diagonal and a second spatial diagonal; Step S1325: marking the intersection of the first spatial diagonal line and the second spatial diagonal line as the periodic school badge activity center point corresponding to the characteristic school badge control period; Step S1326: acquiring the periodic school badge activity center points corresponding to the historical school badge control periods respectively, to obtain a plurality of periodic school badge activity center points; Step S1327: marking the enclosed space where the center points of the school emblem activities of multiple periods are located as the second characteristic three-dimensional space, and dividing the second characteristic three-dimensional space into a plurality of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic space; Step S1328: Count the number of periodic school emblem activity center points contained in each rectangular three-dimensional subspace to obtain multiple periodic school emblem activity center point numbers; Step S1329: compare the numerical values of the center points of the periodic school emblem activities, mark the rectangular three-dimensional subspace corresponding to the maximum numerical value of the center points of the periodic school emblem activities as the second center three-dimensional subspace, arbitrarily connect two spatial diagonals in the second center three-dimensional subspace to obtain the third spatial diagonal and the fourth spatial diagonal, and mark the intersection of the third spatial diagonal and the fourth spatial diagonal as the center point of the school emblem activities; Step S133: taking the center point of the school emblem movement as the coordinate origin, naming the horizontal plane where the coordinate origin is located as the first school emblem movement plane, and naming the vertical plane where the coordinate origin is located as the second school emblem movement plane; Step S134: In the first school badge activity plane, draw a straight line through the coordinate origin to obtain the coordinate X axis; in the first school badge activity plane, draw a straight line perpendicular to the coordinate X axis to obtain the coordinate Z axis; in the second school badge activity plane, draw a straight line perpendicular to the coordinate X axis to obtain the coordinate Y axis; the spatial coordinate system composed of the coordinate X axis, the coordinate Y axis, the coordinate Z axis and the coordinate origin is named the school badge position control coordinate system; Step S14: defining the school badge control sample period and the school badge position control coordinate system as coordinate system data; Step S2: monitoring the position of the smart school badge in the school badge control sample period through the school badge position control coordinate system to obtain school badge position movement data; Step S21: Acquire coordinate system data, and acquire the school badge control sample period and the school badge position control coordinate system according to the coordinate system data; Step S22: within the badge control sample period, the time value corresponding to the current moment is used as the time period end time value, the time value corresponding to the characteristic control duration before the time period end time value is marked as the time period start time value, and the time period between the time period start time value and the time period end time value is marked as the position monitoring time period, and multiple position monitoring time periods are obtained as the time value corresponding to the current moment changes; Step S23: Among the multiple position monitoring periods, mark the current position monitoring period as the real-time position monitoring period, perform position monitoring on the smart school badge in the real-time position monitoring period, and obtain the school badge movement coefficient corresponding to the real-time position monitoring period; The step S23 further includes the following specific steps: Step S231: Mark c location monitoring time points with the same time interval in the real-time location monitoring period, and mark two consecutive location monitoring time points as a monitoring time combination point, to obtain the first monitoring time combination point to the c / 2th monitoring time combination point; Step S232: obtaining the displacement value of the smart school badge at the first monitoring time combination point according to the school badge position control coordinate system, and obtaining the first combination point displacement; The step S232 further includes the following specific steps: Step S2321: compare the values of the two position monitoring time points in the first monitoring time combination point, name the position monitoring time point with the smaller time value as the first position monitoring time point, and name the position monitoring time point with the larger time value as the second position monitoring time point; Step S2322: respectively obtaining the three-dimensional coordinates of the smart school badge at the first position monitoring time point and the second position monitoring time point in the school badge position control coordinate system to obtain the first position three-dimensional coordinates and the second position three-dimensional coordinates; Step S2323: obtaining a first combination point displacement by calculating the three-dimensional coordinates of the first position and the three-dimensional coordinates of the second position; The displacement of the first combination point is calculated, and the specific formula is as follows: ; Among them, Zwy1 is the displacement of the first combined point, (X1, Y1, Z1) is the three-dimensional coordinate of the first position, and (X2, Y2, Z2) is the three-dimensional coordinate of the second position; Step S233: respectively acquiring displacement values corresponding to the second monitoring time combination point to the c / 2th monitoring time combination point, and obtaining the displacement from the second combination point to the c / 2th combination point; Step S234: summing the displacements from the first combination point to the c / 2th combination point to obtain a cumulative value of the combination point displacements; Step S235: Calculate the average displacement of the first combination point to the c / 2th combination point to obtain the average displacement of the combination points; Step S236: Displace the first combination point to the c / 2 combination point to obtain the combination point displacement stability coefficient by calculation; The displacement stability coefficient of the combined point is calculated, and the specific formula is as follows: ; Among them, Wwx is the displacement stability coefficient of the combination point, Wy1 to Wy(c / 2) are the displacements from the first combination point to the c / 2 combination point, Wyp is the average displacement of the combination point, and c / 2 is the quantity value corresponding to the combination point; Step S24: The combination point displacement stability coefficient, the combination point displacement cumulative value and the combination point average displacement are calculated to obtain the school badge movement coefficient corresponding to the real-time position monitoring period, and the school badge movement coefficient is named as the real-time school badge movement coefficient; The specific formula for calculating the school badge movement coefficient is as follows: ; Among them, Xhy is the school badge movement coefficient, Ljy is the cumulative value of the combined point displacement, Wyp is the average displacement of the combined point, and Wwx is the combined point displacement stability coefficient; Step S25: acquiring the school badge movement coefficients corresponding to the position monitoring time periods respectively to obtain a plurality of school badge movement coefficients; Step S26: defining a plurality of school badge movement coefficients and a real-time school badge movement coefficient as school badge position movement data; Step S3: respectively obtaining a first school badge movement coefficient threshold and a second school badge movement coefficient threshold, and numerically comparing the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and performing real-time control of the intelligent school badge according to the numerical comparison result; Step S31: obtaining the school badge position movement data, and obtaining the real-time school badge movement coefficient according to the school badge position movement data; Step S32: obtaining a first school badge movement coefficient threshold and a second school badge movement coefficient threshold; The step S32 further includes the following specific steps: Step S321: obtaining a time period when the target control object is in a focused state, selecting multiple reference sample time periods within this time period, and the time length of each reference sample time period is a characteristic control time length; Step S322: acquiring the school badge movement coefficient corresponding to each reference sample time period respectively, to obtain a plurality of sample school badge movement coefficients; Step S323: Calculate the average of multiple sample badge moving coefficients to obtain the sample badge moving average coefficient; Step S324: Calculate the variance of multiple sample badge movement coefficients to obtain the variance of the sample badge movement coefficients; Step S325: Calculate the sample badge moving average coefficient and the sample badge moving coefficient variance to obtain a first badge moving coefficient threshold; The first school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx1 is the threshold value of the first school badge moving coefficient, Yxp is the moving average coefficient of the sample school badge, and Yfc is the variance of the sample school badge moving coefficient; Step S326: Calculate the sample badge moving average coefficient and the sample badge moving coefficient variance to obtain a second badge moving coefficient threshold; The second school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx2 is the second school badge moving coefficient threshold, Yxp is the sample school badge moving average coefficient, and Yfc is the sample school badge moving coefficient variance; Step S33: numerically comparing the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and automatically controlling the smart school badge according to the numerical comparison results; The step S33 further includes the following specific steps: Step S331: when the real-time school badge movement coefficient is greater than or equal to the first school badge movement coefficient threshold and less than or equal to the second school badge movement coefficient threshold, the intelligent school badge is controlled to perform normal control on the target control object; Step S332: when the real-time school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, the smart school badge is controlled to start the vibration mode to remind the target control object to focus; Step S34: defining a plurality of reference sample time periods, a first school badge movement coefficient threshold, and a second school badge movement coefficient threshold as school badge automatic control data; Step S4: evaluating the concentration of the target control object within the school badge control sample period according to the school badge automatic control data and the school badge position movement data; Step S41: obtaining school badge position movement data, and obtaining school badge movement coefficients corresponding to a plurality of position monitoring periods respectively according to the school badge position movement data, to obtain a plurality of school badge movement coefficients; Step S42: obtaining school badge automatic control data, and obtaining a first school badge movement coefficient threshold, a second school badge movement coefficient threshold, and a plurality of reference sample time periods according to the school badge automatic control data; Step S43: numerically comparing each school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and dividing the position monitoring period corresponding to the school badge movement coefficient into a first type of monitoring period and a second type of monitoring period according to the numerical comparison result; The step S43 further includes the following specific steps: Step S431: when the school badge movement coefficient is greater than or equal to the first school badge movement coefficient threshold and less than or equal to the second school badge movement coefficient threshold, marking the position monitoring period corresponding to the school badge movement coefficient as a first type monitoring period; Step S432: when the school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, marking the position monitoring period corresponding to the school badge movement coefficient as a second type monitoring period; Step S44: Count the quantity values corresponding to the position monitoring periods within the badge control sample period to obtain the total number of position monitoring periods, count the quantity values corresponding to the first type of monitoring periods to obtain the quantity values of the regular monitoring periods, calculate the ratio of the quantity values of the regular monitoring periods to the total number of position monitoring periods, and obtain the quantity ratio of the regular monitoring periods; Step S45: randomly selecting a plurality of heart rate monitoring time points in a plurality of second type monitoring time periods, respectively obtaining the heart rate value of the target control object corresponding to each heart rate monitoring time point, obtaining a plurality of monitored heart rate values, and averaging the obtained plurality of monitored heart rate values to obtain a first average heart rate value; Step S46: acquiring the time period average heart rate of the target control object in multiple reference sample time periods to obtain multiple time period average heart rates, and averaging the obtained multiple time period average heart rates to obtain a second average heart rate value; Step S47: evaluating the state concentration of the target control object in the badge control sample period according to the first average heart rate value, the second average heart rate value and the number of regular monitoring time periods; The step S47 further includes the following specific steps: Step S471: when the first average heart rate value and the second average heart rate value are equal, obtaining a conventional monitoring period quantity ratio threshold, and numerically comparing the conventional monitoring period quantity ratio with the conventional monitoring period quantity ratio threshold; Step S472: when the regular monitoring period number ratio is greater than the regular monitoring period number ratio threshold, the target control object in the badge control sample period is evaluated to be in a focused state; Step S473: when the regular monitoring period number ratio is less than the regular monitoring period number ratio threshold, the target control object in the badge control sample period is evaluated to be in a non-focused state; Step S474: when the first average heart rate value and the second average heart rate value are not equal, the period state evaluation coefficient corresponding to the badge control sample period is obtained by calculating the ratio of the number of regular monitoring periods, the first average heart rate value and the second average heart rate value; Calculate the periodic state evaluation coefficient. The specific formula configuration is as follows: ; Wherein, Ztp is the cycle state evaluation coefficient, Cgs is the number ratio of regular monitoring periods, Xlp1 is the first average heart rate value, and Xlp2 is the second average heart rate value; Step S475: respectively obtaining the conventional monitoring period number ratio threshold and the average heart rate reference deviation value, calculating the ratio of the average heart rate reference deviation value to the conventional monitoring period number ratio threshold, and obtaining the cycle state evaluation coefficient threshold; Step S476: when the cycle state evaluation coefficient is less than the cycle state evaluation coefficient threshold, the target control object in the school badge control sample period is evaluated to be in a focused state; Step S477: when the cycle state evaluation coefficient is greater than or equal to the cycle state evaluation coefficient threshold, the target control object in the badge control sample period is evaluated to be in a non-focused state; In this application, if corresponding calculation formulas appear, the above calculation formulas are all dimensionless and take their numerical calculations. The weight coefficients, proportional coefficients and other coefficients in the formulas are set to a result value obtained by quantifying each parameter. The size of the weight coefficient and the proportional coefficient can be determined as long as it does not affect the proportional relationship between the parameter and the result value.
[0019] Embodiment 2 See also Figure 2 , based on another concept of the same invention, an automatic control system of an intelligent school badge is now proposed, including a coordinate system module, a position data module, a school badge control module, a result feedback module and a server, wherein the position data module, the school badge control module and the result feedback module are respectively connected to the server, and the server controls the position data module, the physiological data module, the school badge control module and the result feedback module respectively; The coordinate system module obtains the school course timetable, divides the school course timetable into multiple school badge control periods, and randomly selects a school badge control sample period, and takes the school badge control period of the target control object before the school badge control sample period as the historical school badge control period, and obtains the school badge position control coordinate system by analyzing the school badge positions of multiple historical school badge control periods, and defines the school badge control sample period and the school badge position control coordinate system as coordinate system data; Obtain the school course schedule, take the course start time point corresponding to each course in the school course schedule as the cycle start time point, take the course end time point corresponding to each course as the cycle end time point, take the period from the cycle start time point to the cycle end time point as a school badge control cycle, and obtain multiple school badge control cycles, and in each school badge monitoring cycle, the smart school badge automatically turns on at the cycle start time point, and the smart school badge automatically turns off at the cycle end time point; It should be noted here that: The smart school badge involved here also supports manual power on and off operation. When the smart school badge is in the power-on state, long press the WAKEUP button for three seconds to turn off the smart school badge. When the smart school badge is in the power-off state, long press the WAKEUP button for three seconds to turn on the smart school badge. Among multiple school badge control cycles, a school badge control cycle is randomly selected as a school badge control sample cycle, and a student wearing a smart school badge during the school badge control sample cycle is randomly selected as a target control object; Establish a position monitoring coordinate system for the target control object corresponding to the calibration control sample period; The details are as follows: Acquire multiple school badge control cycles before the start time point of the school badge control sample cycle as historical school badge control cycles, obtain multiple historical school badge control cycles, and randomly select a historical school badge control cycle from the multiple historical school badge control cycles as a characteristic school badge control cycle; Conduct school badge position analysis on the characteristic school badge control cycle to obtain the school badge activity center point corresponding to the characteristic school badge control cycle; The details are as follows: In the characteristic badge control cycle, several position time points are marked, and the badge position point corresponding to each position time point of the smart badge is obtained through the position sensor to obtain multiple badge position points; It should be noted here that: The position sensor involved here is a position sensor built into the smart school badge; The closed space where the multiple school emblem positions are located is marked as a first characteristic three-dimensional space, and the first characteristic three-dimensional space is divided into a plurality of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic spaces; It should be noted here that: In this application, the characteristic space volume is specifically five square centimeters, and the confined space involved here is specifically the classroom where the target control object is located. In this application, the automatic control of the smart school badge when the target control object is in an outdoor environment is not considered; Counting the number of school emblem position points contained in each rectangular three-dimensional subspace to obtain multiple school emblem position point number values; See also Figure 3 , compare the numerical values of the school badge position points, mark the rectangular three-dimensional subspace corresponding to the school badge position point value with the largest numerical value as the first central three-dimensional subspace, and connect any two spatial diagonals in the first central three-dimensional subspace to obtain the first spatial diagonal and the second spatial diagonal; It should be noted here that: In the present application, if there are multiple values of the school badge position points with the largest numerical value, then any rectangular three-dimensional subspace corresponding to the school badge position point value with the largest numerical value may be selected and marked as the first central three-dimensional subspace; Mark the intersection of the first spatial diagonal and the second spatial diagonal as the central point of the periodic school badge activity corresponding to the characteristic school badge control period; Repeat the process of obtaining the periodic school badge activity center point corresponding to the characteristic school badge control period, respectively obtain the periodic school badge activity center points corresponding to the historical school badge control period, and obtain multiple periodic school badge activity center points; The closed space where the center points of the school emblem activities in multiple periods are located is marked as the second characteristic three-dimensional space, and the second characteristic three-dimensional space is divided into a number of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic space; Count the number of periodic school emblem activity center points contained in each rectangular three-dimensional subspace to obtain multiple periodic school emblem activity center point number values; Compare the numerical values of the center points of the periodic school emblem activities, mark the rectangular three-dimensional subspace corresponding to the maximum numerical value of the center points of the periodic school emblem activities as the second center three-dimensional subspace, arbitrarily connect two spatial diagonals in the second center three-dimensional subspace to obtain the third spatial diagonal and the fourth spatial diagonal, and mark the intersection of the third spatial diagonal and the fourth spatial diagonal as the center point of the school emblem activities; The center point of the school emblem activity is taken as the coordinate origin, the horizontal plane where the coordinate origin is located is named the first school emblem activity plane, and the vertical plane where the coordinate origin is located is named the second school emblem activity plane; In the first school badge activity plane, draw a straight line through the coordinate origin to obtain the coordinate X axis. In the first school badge activity plane, draw a straight line perpendicular to the coordinate X axis to obtain the coordinate Z axis. In the second school badge activity plane, draw a straight line perpendicular to the coordinate X axis to obtain the coordinate Y axis. The spatial coordinate system composed of the coordinate X axis, the coordinate Y axis, the coordinate Z axis and the coordinate origin is named the school badge position control coordinate system. The badge control sample period and badge position control coordinate system are defined as coordinate system data; The coordinate system module acquires the coordinate system data and transmits it to the position data module; The position data module monitors the position of the intelligent school badge in the school badge control sample period through the school badge position control coordinate system to obtain the school badge position movement data; Acquire coordinate system data, and acquire the school badge control sample period and school badge position control coordinate system according to the coordinate system data; In the badge control sample period, the time value corresponding to the current moment is used as the time value of the period end time, the time value corresponding to the characteristic control duration before the period end time value is marked as the period start time value, and the period between the period start time value and the period end time value is marked as the position monitoring period. As the time value corresponding to the current moment changes, multiple position monitoring periods are obtained; It should be noted here that: There are multiple location monitoring periods involved here, and the location data within the location monitoring period is used as the location data at each time point within the location monitoring period; For example: Assuming that the characteristic control duration is set to five minutes, if the time value corresponding to the current moment is 9:20, there is a location monitoring period whose corresponding time end time value is 9:20, and the time start time value corresponding to this location monitoring period is 9:15. As the time value corresponding to the current moment changes, 9:20 is also the time start time value of the next location monitoring period, and 9:15 is also the time end time value of the previous location monitoring period. And during the location monitoring period from 9:15 to 9:20, the location data corresponding to each time point is the same as the location data during this location monitoring period; In specific implementation, the specific duration corresponding to the characteristic control duration can be specifically set according to actual conditions; Among the multiple position monitoring periods, the current position monitoring period is marked as the real-time position monitoring period, and the position of the smart school badge in the real-time position monitoring period is monitored to obtain the school badge movement coefficient corresponding to the real-time position monitoring period; The details are as follows: Mark c location monitoring time points with the same time interval in the real-time location monitoring period, and mark two consecutive location monitoring time points as a monitoring time combination point, to obtain the first monitoring time combination point to the c / 2th monitoring time combination point; It should be noted here that: The c involved here is the quantity value corresponding to the position monitoring time point, and c is an even integer greater than 0; Obtain the displacement value of the intelligent school badge at the first monitoring time combination point according to the school badge position control coordinate system, and obtain the first combination point displacement; The details are as follows: Compare the values of the two position monitoring time points in the first monitoring time combination point, name the position monitoring time point with the smaller time value as the first position monitoring time point, and name the position monitoring time point with the larger time value as the second position monitoring time point; Respectively obtain the three-dimensional indexes of the smart school badge at the first position monitoring time point and the second position monitoring time point in the school badge position control coordinate system to obtain the three-dimensional coordinates of the first position and the three-dimensional coordinates of the second position; The first position three-dimensional coordinates and the second position three-dimensional coordinates are calculated to obtain the first combination point displacement; The displacement of the first combination point is calculated, and the specific formula is as follows: ; Among them, Zwy1 is the displacement of the first combined point, (X1, Y1, Z1) is the three-dimensional coordinate of the first position, and (X2, Y2, Z2) is the three-dimensional coordinate of the second position; The displacement values corresponding to the second monitoring time combination point to the c / 2th monitoring time combination point are respectively obtained to obtain the displacement from the second combination point to the c / 2th combination point; Sum the displacements of the first combination point to the c / 2th combination point to obtain the cumulative displacement value of the combination point; Calculate the average displacement of the first combination point to the c / 2 combination point to obtain the average displacement of the combination points; The displacement of the first combination point to the displacement of the c / 2 combination point is calculated to obtain the combination point displacement stability coefficient; The displacement stability coefficient of the combined point is calculated, and the specific formula is as follows: ; Among them, Wwx is the displacement stability coefficient of the combination point, Wy1 to Wy(c / 2) are the displacements from the first combination point to the c / 2 combination point, Wyp is the average displacement of the combination point, and c / 2 is the quantity value corresponding to the combination point; The combination point displacement stability coefficient, the combination point displacement cumulative value and the combination point average displacement are calculated to obtain the school badge movement coefficient corresponding to the real-time position monitoring period, and it is named the real-time school badge movement coefficient; The specific formula for calculating the school badge movement coefficient is as follows: ; Among them, Xhy is the school badge movement coefficient, Ljy is the cumulative value of the combined point displacement, Wyp is the average displacement of the combined point, and Wwx is the combined point displacement stability coefficient; The school badge movement coefficients corresponding to the position monitoring periods are respectively obtained to obtain a plurality of school badge movement coefficients; A plurality of school badge movement coefficients and a real-time school badge movement coefficient are defined as school badge position movement data; The position data module acquires the school badge position movement data and transmits it to the school badge control module and the result feedback module; The school badge control module obtains the first school badge movement coefficient threshold and the second school badge movement coefficient threshold respectively, and compares the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and performs real-time control of the intelligent school badge according to the comparison result; Obtain the school badge position movement data, and obtain the real-time school badge movement coefficient according to the school badge position movement data; Obtain a first school badge movement coefficient threshold and a second school badge movement coefficient threshold; The details are as follows: Obtain a time period when the target control object is in a focused state, select multiple benchmark sample time periods within this time period, and the length of each benchmark sample time period is the characteristic control time length; It should be noted here that: The time period during which the target control object is in a focused state is specifically the historical period during which the smart school badge determines that the target control object is in a focused state. The scenarios corresponding to the focused state include but are not limited to exams, homework spot checks, and answering questions in class; The school badge movement coefficient corresponding to each benchmark sample time period is obtained respectively to obtain a plurality of sample school badge movement coefficients; Calculate the average of multiple sample badge moving coefficients to obtain the sample badge moving average coefficient; Calculate the variance of multiple sample badge moving coefficients to obtain the variance of sample badge moving coefficients; The sample badge moving average coefficient and the sample badge moving coefficient variance are calculated to obtain the first badge moving coefficient threshold; The first school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx1 is the threshold value of the first school badge moving coefficient, Yxp is the moving average coefficient of the sample school badge, and Yfc is the variance of the sample school badge moving coefficient; The sample badge moving average coefficient and the sample badge moving coefficient variance are calculated to obtain the second badge moving coefficient threshold; The second school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx2 is the second school badge moving coefficient threshold, Yxp is the sample school badge moving average coefficient, and Yfc is the sample school badge moving coefficient variance; The real-time school badge movement coefficient is numerically compared with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and the intelligent school badge is automatically controlled according to the numerical comparison results; The details are as follows: When the real-time badge movement coefficient is greater than or equal to the first badge movement coefficient threshold and less than or equal to the second badge movement coefficient threshold, the intelligent badge is controlled to perform normal control on the target control object; When the real-time school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, the smart school badge is controlled to turn on the vibration mode to remind the target control object to focus; defining a plurality of reference sample time periods, a first school badge movement coefficient threshold, and a second school badge movement coefficient threshold as school badge automatic control data; The school badge control module acquires the school badge automatic control data and transmits it to the result feedback module; The result feedback module evaluates the concentration of the target control object within the badge control sample period based on the badge automatic control data and badge position movement data; Obtaining school badge position movement data, and obtaining school badge movement coefficients corresponding to a plurality of position monitoring periods respectively according to the school badge position movement data, to obtain a plurality of school badge movement coefficients; Obtaining school badge automatic control data, and obtaining a first school badge movement coefficient threshold, a second school badge movement coefficient threshold, and a plurality of benchmark sample time periods according to the school badge automatic control data; Compare each school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and divide the position monitoring period corresponding to the school badge movement coefficient into a first type of monitoring period and a second type of monitoring period according to the comparison result; The numerical comparison process is as follows: When the school badge movement coefficient is greater than or equal to the first school badge movement coefficient threshold and less than or equal to the second school badge movement coefficient threshold, the position monitoring period corresponding to the school badge movement coefficient is marked as a first type of monitoring period; When the school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, the position monitoring period corresponding to the school badge movement coefficient is marked as a second type of monitoring period; Count the quantity values corresponding to the position monitoring periods within the badge control sample period to obtain the total number of position monitoring periods, count the quantity values corresponding to the first type of monitoring periods to obtain the quantity values of the regular monitoring periods, calculate the ratio of the quantity values of the regular monitoring periods to the total number of position monitoring periods, and obtain the quantity ratio of the regular monitoring periods; Randomly selecting multiple heart rate monitoring time points in a plurality of second type monitoring time periods, respectively obtaining the heart rate value of the target control object corresponding to each heart rate monitoring time point, obtaining multiple monitored heart rate values, and averaging the obtained multiple monitored heart rate values to obtain a first average heart rate value; The average heart rate of the target control object in multiple reference sample time periods is obtained to obtain multiple average heart rates, and the average of the obtained multiple average heart rates is calculated to obtain a second average heart rate value; According to the first average heart rate value, the second average heart rate value and the number of regular monitoring periods, the state concentration of the target control object in the school badge control sample period is evaluated; The details are as follows: When the first average heart rate value and the second average heart rate value are equal, performing a concentration assessment on the target control subject; The details are as follows: Obtain a conventional monitoring period quantity ratio threshold, and compare the conventional monitoring period quantity ratio with the conventional monitoring period quantity ratio threshold; It should be noted here that: The threshold value of the number of regular monitoring periods involved here is the minimum number of regular monitoring periods corresponding to the target control object in the focused state within the school badge control sample period; When the ratio of the number of regular monitoring periods is greater than the threshold of the ratio of the number of regular monitoring periods, the target control object in the badge control sample period is evaluated to be in a focused state; When the ratio of the number of regular monitoring periods is less than the threshold of the ratio of the number of regular monitoring periods, the target control object in the badge control sample period is evaluated as being in a non-focused state; When the first average heart rate value and the second average heart rate value are not equal, performing a concentration assessment on the target control subject; The details are as follows: The period state evaluation coefficient corresponding to the school badge control sample period is obtained by calculating the ratio of the number of regular monitoring periods, the first average heart rate value and the second average heart rate value; Calculate the periodic state evaluation coefficient. The specific formula configuration is as follows: ; Wherein, Ztp is the cycle state evaluation coefficient, Cgs is the number ratio of regular monitoring periods, Xlp1 is the first average heart rate value, and Xlp2 is the second average heart rate value; The conventional monitoring period number ratio threshold and the average heart rate reference deviation value are respectively obtained, and the ratio of the average heart rate reference deviation value to the conventional monitoring period number ratio threshold is calculated to obtain the period state evaluation coefficient threshold; It should be noted here that: The average heart rate baseline deviation value involved here is the minimum average heart rate deviation value corresponding to the target control object in the state of concentration; When the cycle state evaluation coefficient is less than the cycle state evaluation coefficient threshold, the target control object in the school badge control sample cycle is evaluated to be in a focused state; When the cycle state evaluation coefficient is greater than or equal to the cycle state evaluation coefficient threshold, the target control object in the school badge control sample cycle is evaluated to be in a non-focused state; It should be noted here that: In this application, one school badge control sample period corresponds to one class in the school curriculum timetable, and the concentration status assessment of the school badge control sample period is actually the concentration status assessment of the target control object in the classroom.
[0020] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. An automatic control method for an intelligent school badge, characterized in that: include: Step S1: obtaining a school course timetable, dividing a plurality of school badge control periods according to the school course timetable, and randomly selecting a school badge control sample period, taking the school badge control period of the target control object before the school badge control sample period as a historical school badge control period, and obtaining a school badge position control coordinate system by performing school badge position analysis on a plurality of historical school badge control periods, and defining the school badge control sample period and the school badge position control coordinate system as coordinate system data; Step S2: Divide the school badge control sample period into multiple position monitoring periods, mark the position monitoring period corresponding to the current moment as the real-time position monitoring period, obtain the school badge movement coefficient of each position monitoring period through the school badge position control coordinate system, obtain multiple school badge movement coefficients, and name the school badge movement coefficient corresponding to the real-time position monitoring period as the real-time school badge movement coefficient, and define the multiple school badge movement coefficients and the real-time school badge movement coefficient as school badge position movement data; Step S3: respectively obtaining a first school badge movement coefficient threshold and a second school badge movement coefficient threshold, and numerically comparing the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and controlling the smart school badge in real time according to the numerical comparison result; Step S4: Conduct a concentration assessment on the target control object in the school badge control sample period according to the school badge automatic control data and the school badge position movement data.
2. The automatic control method of the intelligent school badge according to claim 1 is characterized in that: The step S1 further includes the following specific steps: Step S11: Obtain the school course schedule, take the course start time point corresponding to each course in the school course schedule as the cycle start time point, take the course end time point corresponding to each course as the cycle end time point, take the period from the cycle start time point to the cycle end time point as a school badge control cycle, obtain multiple school badge control cycles, and in each school badge monitoring cycle, control the smart school badge to automatically turn on at the cycle start time point, and control the smart school badge to automatically turn off at the cycle end time point; Step S12: randomly selecting a school badge control period from among multiple school badge control periods as a school badge control sample period, and randomly selecting a student from among the students wearing the smart school badge within the school badge control sample period as a target control object; Step S13: Establishing a position monitoring coordinate system; Step S14: defining the calibration badge control sample period and the calibration badge position control coordinate system as coordinate system data.
3. The automatic control method of the intelligent school badge according to claim 2 is characterized in that: The step S13 further includes the following specific steps: Step S131: obtaining multiple school badge control periods before the start time point of the school badge control sample period as historical school badge control periods, obtaining multiple historical school badge control periods, and randomly selecting a historical school badge control period from the multiple historical school badge control periods as a characteristic school badge control period; Step S132: Analyze the position of the school badge for the characteristic school badge control period to obtain the school badge activity center point corresponding to the characteristic school badge control period; Step S133: taking the center point of the school emblem movement as the coordinate origin, naming the horizontal plane where the coordinate origin is located as the first school emblem movement plane, and naming the vertical plane where the coordinate origin is located as the second school emblem movement plane; Step S134: In the first school badge movable plane, draw an arbitrary straight line through the coordinate origin to obtain the coordinate X-axis. In the first school badge movable plane, draw a straight line perpendicular to the coordinate X-axis to obtain the coordinate Z-axis. In the second school badge movable plane, draw a straight line perpendicular to the coordinate X-axis to obtain the coordinate Y-axis. The spatial coordinate system composed of the coordinate X-axis, coordinate Y-axis, coordinate Z-axis and the coordinate origin is named the school badge position control coordinate system.
4. The automatic control method of the intelligent school badge according to claim 3 is characterized in that: The step S132 further includes the following specific steps: Step S1321: within the characteristic school badge control period, mark a number of position time points, obtain the school badge position point corresponding to each position time point of the smart school badge, and obtain a plurality of school badge position points; Step S1322: marking the closed space where the multiple school emblem positions are located as a first characteristic three-dimensional space, and dividing the first characteristic three-dimensional space into a plurality of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic space; Step S1323: Count the number of school emblem position points contained in each rectangular three-dimensional subspace to obtain multiple school emblem position point number values; Step S1324: compare the values of the number of school emblem position points, mark the rectangular three-dimensional subspace corresponding to the school emblem position point value with the largest value as the first central three-dimensional subspace, and connect any two spatial diagonals in the first central three-dimensional subspace to obtain a first spatial diagonal and a second spatial diagonal; Step S1325: marking the intersection of the first spatial diagonal line and the second spatial diagonal line as the periodic school badge activity center point corresponding to the characteristic school badge control period; Step S1326: acquiring the periodic school badge activity center points corresponding to the historical school badge control periods respectively, to obtain a plurality of periodic school badge activity center points; Step S1327: marking the enclosed space where the center points of the school emblem activities of multiple periods are located as the second characteristic three-dimensional space, and dividing the second characteristic three-dimensional space into a plurality of rectangular three-dimensional subspaces whose volumes are the volumes of the characteristic space; Step S1328: Count the number of periodic school emblem activity center points contained in each rectangular three-dimensional subspace to obtain multiple periodic school emblem activity center point numbers; Step S1329: Compare the numerical values of the periodic school emblem activity center points, mark the rectangular three-dimensional subspace corresponding to the numerical value of the periodic school emblem activity center points as the second central three-dimensional subspace, arbitrarily connect two spatial diagonals in the second central three-dimensional subspace to obtain the third spatial diagonal and the fourth spatial diagonal, and mark the intersection of the third spatial diagonal and the fourth spatial diagonal as the school emblem activity center point.
5. The automatic control method of the intelligent school badge according to claim 1 is characterized in that: The step S2 further includes the following specific steps: Step S21: Acquire coordinate system data, and acquire the school badge control sample period and the school badge position control coordinate system according to the coordinate system data; Step S22: within the badge control sample period, the time value corresponding to the current moment is used as the time period end time value, the time value corresponding to the characteristic control duration before the time period end time value is marked as the time period start time value, and the time period between the time period start time value and the time period end time value is marked as the position monitoring time period, and multiple position monitoring time periods are obtained as the time value corresponding to the current moment changes; Step S23: Among the multiple position monitoring periods, mark the current position monitoring period as the real-time position monitoring period, perform position monitoring on the smart school badge in the real-time position monitoring period, and obtain the school badge movement coefficient corresponding to the real-time position monitoring period; Step S24: The combination point displacement stability coefficient, the combination point displacement cumulative value and the combination point average displacement are calculated to obtain the school badge movement coefficient corresponding to the real-time position monitoring period, and the school badge movement coefficient is named as the real-time school badge movement coefficient; The specific formula for calculating the school emblem movement coefficient is as follows: ; Among them, Xhy is the school badge movement coefficient, Ljy is the cumulative value of the combined point displacement, Wyp is the average displacement of the combined point, and Wwx is the combined point displacement stability coefficient; Step S25: acquiring the school badge movement coefficients corresponding to the position monitoring time periods respectively to obtain a plurality of school badge movement coefficients; Step S26: define multiple school badge movement coefficients and real-time school badge movement coefficients as school badge position movement data.
6. The automatic control method of the intelligent school badge according to claim 5 is characterized in that: The step S23 further includes the following specific steps: Step S231: Mark c location monitoring time points with the same time interval in the real-time location monitoring period, and mark two consecutive location monitoring time points as a monitoring time combination point, to obtain the first monitoring time combination point to the c / 2th monitoring time combination point; Step S232: obtaining the displacement value of the smart school badge at the first monitoring time combination point according to the school badge position control coordinate system, and obtaining the first combination point displacement; Step S233: respectively acquiring displacement values corresponding to the second monitoring time combination point to the c / 2th monitoring time combination point, and obtaining the displacement from the second combination point to the c / 2th combination point; Step S234: summing the displacements from the first combination point to the c / 2th combination point to obtain a cumulative value of the combination point displacements; Step S235: Calculate the average displacement of the first combination point to the c / 2th combination point to obtain the average displacement of the combination points; Step S236: Displace the first combination point to the c / 2 combination point to obtain the combination point displacement stability coefficient by calculation; The displacement stability coefficient of the combined point is calculated, and the specific formula is as follows: ; Among them, Wwx is the displacement stability coefficient of the combination point, Wy1 to Wy(c / 2) are the displacements from the first combination point to the c / 2 combination point, Wyp is the average displacement of the combination point, and c / 2 is the quantity value corresponding to the combination point; The step S232 further includes the following specific steps: Step S2321: compare the values of the two position monitoring time points in the first monitoring time combination point, name the position monitoring time point with the smaller time value as the first position monitoring time point, and name the position monitoring time point with the larger time value as the second position monitoring time point; Step S2322: respectively obtaining the three-dimensional coordinates of the smart school badge at the first position monitoring time point and the second position monitoring time point in the school badge position control coordinate system to obtain the first position three-dimensional coordinates and the second position three-dimensional coordinates; Step S2323: obtaining a first combination point displacement by calculating the three-dimensional coordinates of the first position and the three-dimensional coordinates of the second position; The displacement of the first combination point is calculated, and the specific formula is as follows: ; Among them, Zwy1 is the displacement of the first combination point, (X1, Y1, Z1) is the three-dimensional coordinate of the first position, and (X2, Y2, Z2) is the three-dimensional coordinate of the second position.
7. The automatic control method of a smart school badge according to claim 1, characterized in that: The step S3 further includes the following specific steps: Step S31: obtaining the school badge position movement data, and obtaining the real-time school badge movement coefficient according to the school badge position movement data; Step S32: obtaining a first school badge movement coefficient threshold and a second school badge movement coefficient threshold; Step S33: numerically comparing the real-time school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and automatically controlling the intelligent school badge according to the numerical comparison results; Step S34: defining a plurality of reference sample time periods, a first school badge movement coefficient threshold, and a second school badge movement coefficient threshold as school badge automatic control data; The step S33 further includes the following specific steps: Step S331: when the real-time school badge movement coefficient is greater than or equal to the first school badge movement coefficient threshold and less than or equal to the second school badge movement coefficient threshold, the intelligent school badge is controlled to perform normal control on the target control object; Step S332: When the real-time school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, the smart school badge is controlled to turn on the vibration mode to remind the target control object to focus.
8. The automatic control method of the intelligent school badge according to claim 7 is characterized in that: The step S32 further includes the following specific steps: Step S321: obtaining a time period when the target control object is in a focused state, selecting multiple reference sample time periods within this time period, and the time length of each reference sample time period is a characteristic control time length; Step S322: acquiring the school badge movement coefficient corresponding to each reference sample time period respectively, to obtain a plurality of sample school badge movement coefficients; Step S323: Calculate the average of multiple sample badge moving coefficients to obtain the sample badge moving average coefficient; Step S324: Calculate the variance of multiple sample badge movement coefficients to obtain the variance of the sample badge movement coefficients; Step S325: Calculate the sample badge moving average coefficient and the sample badge moving coefficient variance to obtain a first badge moving coefficient threshold; The first school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx1 is the threshold value of the first school badge moving coefficient, Yxp is the moving average coefficient of the sample school badge, and Yfc is the variance of the sample school badge moving coefficient; Step S326: Calculate the sample badge moving average coefficient and the sample badge moving coefficient variance to obtain a second badge moving coefficient threshold; The second school badge movement coefficient threshold is calculated as follows: ; Among them, Hxx2 is the second badge moving coefficient threshold, Yxp is the sample badge moving average coefficient, and Yfc is the sample badge moving coefficient variance.
9. The automatic control method of a smart school badge according to claim 1, characterized in that: The step S4 further includes the following specific steps: Step S41: obtaining school badge position movement data, and obtaining school badge movement coefficients corresponding to a plurality of position monitoring periods respectively according to the school badge position movement data, to obtain a plurality of school badge movement coefficients; Step S42: obtaining school badge automatic control data, and obtaining a first school badge movement coefficient threshold, a second school badge movement coefficient threshold, and a plurality of reference sample time periods according to the school badge automatic control data; Step S43: numerically comparing each school badge movement coefficient with the first school badge movement coefficient threshold and the second school badge movement coefficient threshold, and dividing the position monitoring period corresponding to the school badge movement coefficient into a first type of monitoring period and a second type of monitoring period according to the numerical comparison result; The step S43 further includes the following specific steps: Step S431: when the school badge movement coefficient is greater than or equal to the first school badge movement coefficient threshold and less than or equal to the second school badge movement coefficient threshold, marking the position monitoring period corresponding to the school badge movement coefficient as a first type monitoring period; Step S432: when the school badge movement coefficient is less than the first school badge movement coefficient threshold or greater than the second school badge movement coefficient threshold, marking the position monitoring period corresponding to the school badge movement coefficient as a second type monitoring period; Step S44: Count the quantity values corresponding to the position monitoring periods within the badge control sample period to obtain the total number of position monitoring periods, count the quantity values corresponding to the first type of monitoring periods to obtain the quantity values of the regular monitoring periods, calculate the ratio of the quantity values of the regular monitoring periods to the total number of position monitoring periods, and obtain the quantity ratio of the regular monitoring periods; Step S45: randomly selecting a plurality of heart rate monitoring time points in a plurality of second type monitoring time periods, respectively obtaining the heart rate value of the target control object corresponding to each heart rate monitoring time point, obtaining a plurality of monitored heart rate values, and averaging the obtained plurality of monitored heart rate values to obtain a first average heart rate value; Step S46: acquiring the time period average heart rate of the target control object in multiple reference sample time periods to obtain multiple time period average heart rates, and averaging the obtained multiple time period average heart rates to obtain a second average heart rate value; Step S47: evaluating the state concentration of the target control object in the badge control sample period according to the first average heart rate value, the second average heart rate value and the number of regular monitoring time periods; The step S47 further includes the following specific steps: Step S471: when the first average heart rate value and the second average heart rate value are equal, obtaining a conventional monitoring period quantity ratio threshold, and numerically comparing the conventional monitoring period quantity ratio with the conventional monitoring period quantity ratio threshold; Step S472: when the regular monitoring period number ratio is greater than the regular monitoring period number ratio threshold, the target control object in the badge control sample period is evaluated to be in a focused state; Step S473: when the regular monitoring period number ratio is less than the regular monitoring period number ratio threshold, the target control object in the badge control sample period is evaluated to be in a non-focused state; Step S474: when the first average heart rate value and the second average heart rate value are not equal, the period state evaluation coefficient corresponding to the badge control sample period is obtained by calculating the number ratio of the regular monitoring time periods, the first average heart rate value and the second average heart rate value; Calculate the periodic state evaluation coefficient. The specific formula configuration is as follows: ; Wherein, Ztp is the cycle state evaluation coefficient, Cgs is the number ratio of regular monitoring periods, Xlp1 is the first average heart rate value, and Xlp2 is the second average heart rate value; Step S475: respectively obtaining the conventional monitoring period number ratio threshold and the average heart rate reference deviation value, calculating the ratio of the average heart rate reference deviation value to the conventional monitoring period number ratio threshold, and obtaining the cycle state evaluation coefficient threshold; Step S476: when the cycle state evaluation coefficient is less than the cycle state evaluation coefficient threshold, the target control object in the school badge control sample period is evaluated to be in a focused state; Step S477: When the cycle state evaluation coefficient is greater than or equal to the cycle state evaluation coefficient threshold, the target control object in the badge control sample period is evaluated to be in a non-focused state.
10. An automatic control system for a smart school badge, applicable to an automatic control method for a smart school badge as claimed in any one of claims 1 to 9, characterized in that: The specific working process of each module of the automatic control system is as follows: Coordinate system module: used to obtain the school badge control sample period and school badge position control coordinate system, and obtain coordinate system data; Position data module: used to obtain multiple school badge movement coefficients and real-time school badge movement coefficients by analyzing coordinate system data, and obtain school badge position movement data; School badge control module: used to obtain the first school badge movement coefficient threshold and the second school badge movement coefficient threshold respectively, and compare the real-time school badge movement coefficients numerically, and control the intelligent school badge in real time according to the numerical comparison results; Result feedback module: used to evaluate the concentration of the target control object in the school badge control sample cycle based on the school badge automatic control data and the school badge position movement data.
