CN112790751B - Method, system and storage device for judging and training attention degree of children based on real-time heart rate - Google Patents

Method, system and storage device for judging and training attention degree of children based on real-time heart rate Download PDF

Info

Publication number
CN112790751B
CN112790751B CN202011587530.2A CN202011587530A CN112790751B CN 112790751 B CN112790751 B CN 112790751B CN 202011587530 A CN202011587530 A CN 202011587530A CN 112790751 B CN112790751 B CN 112790751B
Authority
CN
China
Prior art keywords
heart rate
calculation result
array
rate data
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011587530.2A
Other languages
Chinese (zh)
Other versions
CN112790751A (en
Inventor
邓兰勤
刘秋荣
韩文辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Zhongkodot Health Technology Co ltd
Original Assignee
Fujian Zhongkodot Health Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujian Zhongkodot Health Technology Co ltd filed Critical Fujian Zhongkodot Health Technology Co ltd
Priority to CN202011587530.2A priority Critical patent/CN112790751B/en
Publication of CN112790751A publication Critical patent/CN112790751A/en
Application granted granted Critical
Publication of CN112790751B publication Critical patent/CN112790751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/16Devices for psychotechnics; Testing reaction times ; Devices for evaluating the psychological state

Abstract

The invention relates to the technical field of data processing, in particular to a method, a system and a storage device for judging and training the attention degree of children based on real-time heart rate. The method for judging and training the attention degree of the children based on the real-time heart rate comprises the following steps: responding to a target picture playing execution instruction, and acquiring heart rate data of the testee; preprocessing the collected heart rate data; pushing the preprocessed heart rate data into the first array and the second array simultaneously; respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result; and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets the preset condition, if so, judging to be qualified, and if not, judging to be unqualified. Through the calculation method, the result for judging whether the concentration is qualified is more accurate.

Description

Method, system and storage device for judging and training attention degree of children based on real-time heart rate
Technical Field
The invention relates to the technical field of data processing, in particular to a method, a system and a storage device for judging and training the attention degree of children based on real-time heart rate.
Background
With the improvement of the Chinese social level, parents are concerned about the education of the growth process of children, wherein the concentration training of the children is always a concern of the parents. The patent application No. 201810120876.8 discloses a bi-directional attention training system and method based on neuro-cognitive resource coordination, which can synchronously display the current situation seen by the experiencer with a display device, and simultaneously, a heart rate signal acquisition device is used for acquiring the heart rate physiological indexes of the experiencer to judge the attention of the children, wherein how to process the heart rate value makes the obtained result more accurately used for judging the attention degree become the problem which needs to be solved urgently.
Disclosure of Invention
Therefore, a method for judging and training the attention degree of the child based on the real-time heart rate is needed to be provided, so that the problem of how to train the attention degree through the heart rate value is solved. The specific technical scheme is as follows:
a method for judging and training the attention degree of children based on real-time heart rate comprises the following steps:
responding to a target picture playing execution instruction, and acquiring heart rate data of the testee through heart rate acquisition equipment;
preprocessing the acquired heart rate data by adopting a first preset rule;
pushing the preprocessed heart rate data into the first array and the second array simultaneously;
respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous special attention is qualified, and if not, judging that the instantaneous special attention is unqualified.
Further, the "calculating the heart rate data in the first array and the heart rate data in the second array respectively by using a second preset rule to obtain a first calculation result and a second calculation result", specifically includes the steps of:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of obtaining a third calculation result from the first calculation result and the second calculation result by using a third preset rule, and judging whether the third calculation result meets a preset condition includes the steps of:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
Further, the method also comprises the following steps:
acquiring heart rate data of a testee in the whole process of watching a preset video within a preset time period;
and processing the heart rate data of the whole process according to a fourth preset rule to obtain a standard reference value.
Further, the method also comprises the following steps:
and if the instantaneous concentration is judged to be unqualified, sending a corresponding prompt for reminding the testee.
Further, the "preprocessing the acquired heart rate data by using a first preset rule" specifically includes the steps of: and filtering the pre-set number data of the collected heart rate data.
For solving above-mentioned technical problem, still provide a system based on real-time rhythm of the heart judgement and training children are special attention degree, concrete technical scheme is as follows:
the utility model provides a system for judge and train children's special attention degree based on real-time heart rate, includes: the heart rate acquisition module is in communication connection with the heart rate calculation module;
the heart rate acquisition module is used for: responding to a target picture playing execution instruction, collecting heart rate data of a testee and sending the heart rate data to a heart rate calculation module;
the heart rate calculation module is to: preprocessing the acquired heart rate data by adopting a first preset rule;
pushing the preprocessed heart rate data into the first array and the second array simultaneously;
respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instant special attention is qualified, and if not, judging that the instant special attention is unqualified.
Further, the heart rate calculation module is further configured to:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of obtaining a third calculation result from the first calculation result and the second calculation result by using a third preset rule, and judging whether the third calculation result meets a preset condition includes the steps of:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
Further, the heart rate acquisition module is further configured to: acquiring the heart rate data of the whole process of watching a preset video by a testee within a preset time period, and sending the heart rate data of the whole process to a heart rate calculation module;
the heart rate calculation module is further to: and processing the heart rate data of the whole process according to a fourth preset rule to obtain a standard reference value.
In order to solve the technical problem, the storage device is further provided, and the specific technical scheme is as follows:
a storage device having stored therein a set of instructions for performing:
responding to a target picture playing execution instruction, and acquiring heart rate data of the testee, which is acquired by heart rate acquisition equipment;
preprocessing the acquired heart rate data by adopting a first preset rule;
pushing the preprocessed heart rate data into the first array and the second array simultaneously;
respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instant special attention is qualified, and if not, judging that the instant special attention is unqualified.
Further, the set of instructions is further for performing: the method comprises the following steps of calculating heart rate data in a first array and heart rate data in a second array respectively by adopting a second preset rule to obtain a first calculation result and a second calculation result, and specifically comprises the following steps:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of obtaining a third calculation result from the first calculation result and the second calculation result by using a third preset rule, and judging whether the third calculation result meets a preset condition includes the steps of:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
The invention has the beneficial effects that: acquiring heart rate data of a testee by responding to a target picture playing execution instruction and heart rate acquisition equipment; preprocessing the acquired heart rate data by adopting a first preset rule; pushing the preprocessed heart rate data into the first array and the second array simultaneously; respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result; and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous special attention is qualified, and if not, judging that the instantaneous special attention is unqualified. By the calculation method, the result for judging whether the instantaneous concentration is qualified or not can be more accurate.
Drawings
FIG. 1 is a flow chart of a method for determining and training a level of attention of a child based on real-time heart rate, in accordance with an embodiment;
FIG. 2 is a block diagram of a system for determining and training a level of attention of a child based on real-time heart rate, in accordance with an exemplary embodiment;
FIG. 3 is a block diagram of a memory device according to an embodiment;
FIG. 4 is a graph of data from a reference example at 5 years of age according to an embodiment.
Description of reference numerals:
200. a system for judging and training the attention degree of children based on real-time heart rate,
201. a heart rate acquisition module for acquiring the heart rate,
202. a heart rate calculation module for calculating the heart rate of the patient,
300. a storage device.
Detailed Description
To explain technical contents, structural features, and objects and effects of the technical solutions in detail, the following detailed description is given with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, in this embodiment, a method for determining and training attention level of a child based on real-time heart rate can be applied to a system for determining and training attention level of a child based on real-time heart rate, and the system for determining and training attention level of a child based on real-time heart rate includes: heart rate collection module and heart rate calculation module, in this embodiment, heart rate collection module is by upper and lower two parts be the finger clip form, the testee only need with the forefinger put into the finger clip can.
The actual application scene is that the testee puts fingers into the heart rate acquisition module before watching a target picture in front of the display. The specific implementation mode is as follows:
step S101: and responding to the target picture playing execution instruction, and acquiring the heart rate data of the testee through the heart rate acquisition equipment. The method specifically comprises the following steps: when the target picture starts to be played, the heart rate acquisition equipment starts to acquire the heart rate data of the testee.
Step S102: and preprocessing the acquired heart rate data by adopting a first preset rule. In order to make the calculation more accurate, the method specifically comprises the following steps: and filtering the pre-set number data of the collected heart rate data. Specifically, the judgment of the front 10 heart rates behind the heart rate acquisition equipment on the belt is not made.
When the 11 th heart rate is acquired, step S103 is executed: and pushing the preprocessed heart rate data into the first array and the second array simultaneously. The method specifically comprises the following steps: and simultaneously pushing the acquired heart rate into two arrays, wherein the names of the arrays are hrFiveArray and hrTelenAlrray, the maximum length of the array hrFiveArray is limited to be 5, the maximum degree of the array hrTelnAlrray is limited to be 10, namely, a stack array is adopted, and when the array is full, the earliest data is pushed out.
Step S104: and respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result.
Step S105: and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule. The method specifically comprises the following steps:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of obtaining a third calculation result from the first calculation result and the second calculation result by using a third preset rule, and judging whether the third calculation result meets a preset condition includes the steps of:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
Step S106: is the third calculation result meets the preset condition?
If the preset condition is met, executing step S107: and judging that the instantaneous concentration is qualified.
If the preset condition is not met, executing step S108: and judging that the instantaneous concentration is unqualified. And if the instantaneous concentration is judged to be unqualified, sending a corresponding prompt for reminding the testee. Specifically, the device can be used for sounding to remind the testee.
The method specifically comprises the following steps:
in order to make calculation accurate, the former 10 heart rates after the device is taken are not subjected to calculation judgment, when the 11 th heart rate is obtained, the difference value hrFiveMinus between the minimum value minHrFiveArra and the maximum value maxHrFiveArra of the heart rates in the plurality of groups of hrFiveArra and the difference hrTelnMinus between the minimum value minHrTernAlrray and the maximum value maxHrTernAlrray of the heart rates in the plurality of groups of hrTeleArrray are respectively calculated. When hrFiveMinus is less than hrTelMinus, and hrFiveMinus is less than 20, the system outputs a positive state of 1, otherwise the system outputs a negative state of 0.
The calculation formula is as follows:
Figure GDA0002978682990000061
Figure GDA0002978682990000071
the forward state 1 indicates that the state of the subject at a certain time is good, i.e., the instantaneous concentration is qualified. A negative state 0 indicates that the state of the subject at a certain time is not good, i.e., the instantaneous concentration is not good.
Acquiring heart rate data of a testee by responding to a target picture playing execution instruction and heart rate acquisition equipment; preprocessing the acquired heart rate data by adopting a first preset rule; pushing the preprocessed heart rate data into the first array and the second array simultaneously; respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result; and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous special attention is qualified, and if not, judging that the instantaneous special attention is unqualified. By the calculation method, the result for judging whether the instantaneous concentration is qualified or not can be more accurate.
In order to obtain the continuous state, namely the continuous concentration state, of the testee within a certain period of time, the method further comprises the following steps: acquiring heart rate data of a testee in the whole process of watching a preset video within a preset time period; and processing the heart rate data of the whole process according to a fourth preset rule to obtain a standard reference value. The method specifically comprises the following steps: specific scenes are designed, and tests are performed according to different age groups.
The scene design is as follows: the testees are divided into 10 groups according to different age groups (4-12 years old), each group of testers is 500, each group of testers is provided with heart rate detection equipment, and the following 3 groups of operations are carried out: a first group: view a piece of animation of everything growing (this action may be replaced), second set: repeating the played numbers following the audio playing equipment; third group: drawing; each group has a duration of 10 minutes, during which 10 minutes the heart rate and the corresponding state (positive: 1 or negative: 0) of each subject are collected.
The collected data is subjected to summary statistics according to the forward state in a continuous state statistical manner, such as a string of data 1111101111111001101 of continuous states, so that the group of data can be counted as 1 group of 5 continuous forward states, which is denoted as f 5; the consecutive 7 forward states are 1 group, denoted as f 7; the 2 consecutive forward states are 1 group, denoted f 2; the consecutive 1 forward states are 1 group, denoted f 1.
According to the above rule, all group data is d ═ f 1: f, counting the number m of groups of continuous states of each group of age groups, wherein the maximum continuous value is x, the minimum continuous value is y, the average value is a ═ average (d), the group distance is g, the standard deviation is s ═ STDEVP (d), and calculating the positive-power distribution point value n ═ NORMDIST (f) of each group according to a calculation formulanA, s, false) corresponding to a value of v ═ n ═ g ×, m; histogram point value z ═ FREQUENCY (d, f)x:fy) And the histogram point value of the upper group is l, and the histogram value is r ═ l-z, so that a group of positive distribution and direct access map data are obtained respectively.
For the example of a 5 year old reference, the data obtained is referred to in FIG. 4.
From fig. 4 it can be seen that the standard reference value for the 5 year old age group is 5. According to the category, standard reference values of different age groups and continuous forward states can be obtained. For example, a standard reference value for a 5 year old sequential state is 5 sequential positive states; the standard reference value for a 7 year old continuous state is 6 continuous positive states.
According to the standard reference value of each age bracket, a plurality of training scenes can be designed according to actual needs to train the testee, and the real-time heart rate on the screen is compared with the standard reference value, so that the testee can adjust the state to achieve the continuous concentration degree.
Referring to fig. 2 and 4, in the present embodiment, a system 200 for determining and training attention level of a child based on real-time heart rate is implemented as follows:
a system 200 for determining and training a child's level of concentration based on a real-time heart rate, comprising: the heart rate acquisition module 201 is in communication connection with the heart rate calculation module 202, and the heart rate acquisition module 201 is in communication connection with the heart rate calculation module 202;
the heart rate acquisition module 201 is configured to: and responding to the target picture playing execution instruction, collecting the heart rate data of the testee and sending the heart rate data to the heart rate calculation module 202. The method specifically comprises the following steps: when the target picture starts to be played, the heart rate acquisition equipment starts to acquire the heart rate data of the testee.
The heart rate calculation module 202 is configured to: and preprocessing the collected heart rate data by adopting a first preset rule. In order to make the calculation more accurate, the method specifically comprises the following steps: and filtering out the pre-set number data of the collected heart rate data. Specifically, the judgment of the front 10 heart rates behind the heart rate acquisition equipment on the belt is not made.
When the 11 th heart rate is acquired, pushing the preprocessed heart rate data into the first array and the second array at the same time. The method specifically comprises the following steps: the acquired heart rate is pushed into two arrays simultaneously, the names of the arrays are hrFiveArray and hrTexAlrray, the maximum length of the array hrFiveArray is limited to 5, the maximum degree of the array hrTexAlrray is limited to 10, namely a stack array is adopted, each time one data is pushed, when the array is full, the earliest data is pushed out.
Respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous special attention is qualified, and if not, judging that the instantaneous special attention is unqualified.
Further, the heart rate calculation module 202 is further configured to:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of obtaining a third calculation result from the first calculation result and the second calculation result by using a third preset rule, and judging whether the third calculation result meets a preset condition or not, specifically comprises the following steps:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
The method specifically comprises the following steps:
in order to make calculation accurate, the former 10 heart rates after the device is worn are not calculated and judged, and when the 11 th heart rate is obtained, the difference value hrFiveMinus of the minimum value minHrFiveArra and the maximum value maxHrFiveArra of the heart rates in the array of hrFiveArra and the difference hrTenMinus of the minimum value minHrTenAlrray and the maximum value maxHrTernAlrray of the heart rates in the array of hrTenAlrray are calculated respectively. When hrFiveMinus is less than hrTelMinus, and hrFiveMinus is less than 20, the system outputs a positive state of 1, otherwise the system outputs a negative state of 0.
The calculation formula is as follows:
Figure GDA0002978682990000091
Figure GDA0002978682990000101
the forward state 1 indicates that the state of the subject at a certain time is good. A negative state 0 indicates that the state of the subject at a certain time is not good.
The heart rate acquisition module 201 is configured to: responding to a target picture playing execution instruction, collecting heart rate data of a testee and sending the heart rate data to a heart rate calculation module 202; the heart rate calculation module 202 is configured to: preprocessing the acquired heart rate data by adopting a first preset rule; pushing the preprocessed heart rate data into the first array and the second array simultaneously; respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result; and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instant special attention is qualified, and if not, judging that the instant special attention is unqualified. Through the system, the result of judging whether the concentration is qualified is more accurate.
Further, in order to obtain a continuous state, i.e. a continuous concentration state, of the testee for a certain period of time, the heart rate acquisition module 201 is further configured to: acquiring the heart rate data of the whole process of watching a preset video by a testee within a preset time period, and sending the heart rate data of the whole process to the heart rate calculation module 202;
the heart rate calculation module 202 is further configured to: and processing the heart rate data of the whole process according to a fourth preset rule to obtain a standard reference value.
The method specifically comprises the following steps: specific scenes are designed, and tests are performed according to different age groups.
The scene design is as follows: the testees are divided into 10 groups according to different age groups (4-12 years old), each group of testers is 500, each group of testers is provided with heart rate detection equipment, and the following 3 groups of operations are carried out: a first group: view a piece of animation of everything growing (this action may be replaced), second group: repeating the played numbers following the audio playing equipment; third group: drawing; each group had a duration of 10 minutes, during which 10 minutes the heart rate and corresponding state (positive: 1 or negative: 0) of each subject were collected.
The collected data is subjected to summary statistics according to the forward state in a continuous state statistical manner, such as a string of data 1111101111111001101 of continuous states, so that the group of data can be counted as 1 group of 5 continuous forward states, which is denoted as f 5; the consecutive 7 forward states are 1 group, denoted as f 7; the 2 consecutive forward states are 1 group, denoted f 2; the consecutive 1 forward states are 1 group, denoted f 1.
According to the above rule, all group data is d ═ f 1: f, counting the number m of groups of continuous states of each group of age groups, wherein the maximum continuous value is x, the minimum continuous value is y, the average value is a ═ average (d), the group distance is g, the standard deviation is s ═ STDEVP (d), and calculating the positive-power distribution point value n ═ NORMDIST (f) of each group according to a calculation formulanA, s, false) corresponding to a value of v ═ n ═ g ×, m; histogram point value z ═ FREQUENCY (d, f)x:fy) And the histogram point value of the upper group is l, and the histogram value is r ═ l-z, so that a group of positive distribution and direct access map data are obtained respectively.
For the example of a 5 year old reference, the data obtained is referred to in FIG. 4.
From fig. 4 it can be seen that the standard reference value for the 5 year old age group is 5. According to the category, standard reference values of different age groups and continuous forward states can be obtained. For example, a standard reference value for a 5 year old sequential state is 5 sequential positive states; the standard reference value for a 7 year old continuous state is 6 continuous positive states.
According to the standard reference value of each age bracket, a plurality of training scenes can be designed according to actual needs to train the testee, and the real-time heart rate on the screen is compared with the standard reference value, so that the testee can adjust the state to achieve the continuous concentration degree.
Referring to fig. 3 and 4, in the present embodiment, a storage device 300 includes, but is not limited to: personal computers, servers, general purpose computers, special purpose computers, network devices, embedded devices, programmable devices, and the like. The specific implementation mode is as follows:
a storage device 300 having stored therein a set of instructions for performing:
responding to a target picture playing execution instruction, and acquiring heart rate data of the testee, which is acquired by heart rate acquisition equipment;
preprocessing the acquired heart rate data by adopting a first preset rule;
pushing the preprocessed heart rate data into the first array and the second array simultaneously;
respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous special attention is qualified, and if not, judging that the instantaneous special attention is unqualified. The method specifically comprises the following steps:
when the target picture starts to be played, the heart rate acquisition equipment starts to acquire the heart rate data of the testee. And filtering out the pre-set number data of the collected heart rate data. Specifically, the judgment of the front 10 heart rates behind the heart rate acquisition equipment on the belt is not made.
When the 11 th heart rate is acquired, the acquired heart rate is pushed into two arrays simultaneously, the arrays are named as hrFiveArray and hrTexraray, the maximum length of the array hrFiveArray is limited to be 5, the maximum degree of the array hrTexraray is limited to be 10, namely a stack array is adopted, and when the array is full, the earliest data is pushed out every time one data is pushed.
Further, the set of instructions is further operable to perform: the method comprises the following steps of calculating heart rate data in a first array and heart rate data in a second array respectively by adopting a second preset rule to obtain a first calculation result and a second calculation result, and specifically comprises the following steps:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of obtaining a third calculation result from the first calculation result and the second calculation result by using a third preset rule, and judging whether the third calculation result meets a preset condition or not, specifically comprises the following steps:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
Is the third calculation result meets a preset condition?
And if the instantaneous concentration is qualified, judging that the instantaneous concentration is qualified.
If the instant special attention force does not meet the preset conditions, the instant special attention force is judged to be unqualified. And if the instantaneous concentration is judged to be unqualified, sending a corresponding prompt for reminding the testee. Specifically, the device can be used for sounding to remind the testee.
The method specifically comprises the following steps:
in order to make calculation accurate, the former 10 heart rates after the device is taken are not subjected to calculation judgment, when the 11 th heart rate is obtained, the difference value hrFiveMinus between the minimum value minHrFiveArra and the maximum value maxHrFiveArra of the heart rates in the plurality of groups of hrFiveArra and the difference hrTelnMinus between the minimum value minHrTernAlrray and the maximum value maxHrTernAlrray of the heart rates in the plurality of groups of hrTeleArrray are respectively calculated. When hrFiveMinus is less than hrTelMinus, and hrFiveMinus is less than 20, the system outputs a positive state of 1, otherwise the system outputs a negative state of 0.
The calculation formula is as follows:
Figure GDA0002978682990000131
the forward state 1 indicates that the state of the subject at a certain time is good, i.e., the instantaneous concentration is qualified. And a negative state 0 indicates that the state of the tested person at a certain moment is not good, and the tested person is instantly concentrated on the condition of being qualified and unqualified.
Execution by the instruction set of the storage device 300: responding to a target picture playing execution instruction, and acquiring heart rate data of the testee through heart rate acquisition equipment; preprocessing the acquired heart rate data by adopting a first preset rule; pushing the preprocessed heart rate data into a first array and a second array at the same time; respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result; and obtaining a third calculation result from the first calculation result and the second calculation result by adopting a third preset rule, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous special attention is qualified, and if not, judging that the instantaneous special attention is unqualified. By the calculation method, the result for judging whether the instantaneous concentration is qualified or not can be more accurate.
In order to obtain the continuous state, namely the continuous concentration state, of the testee within a certain period of time, the method further comprises the following steps: acquiring heart rate data of a testee in the whole process of watching a preset video within a preset time period; and processing the heart rate data of the whole process according to a fourth preset rule to obtain a standard reference value. The method specifically comprises the following steps: specific scenes are designed, and tests are performed according to different age groups.
The scene design is as follows: the testees are divided into 10 groups according to different age groups (4-12 years old), each group of testers is 500, each group of testers is provided with heart rate detection equipment, and the following 3 groups of operations are carried out: a first group: view a piece of animation of everything growing (this action may be replaced), second group: repeating the played numbers following the audio playing equipment; third group: drawing; each group had a duration of 10 minutes, during which 10 minutes the heart rate and corresponding state (positive: 1 or negative: 0) of each subject were collected.
The collected data is subjected to summary statistics according to the forward state in a continuous state statistical manner, such as a string of data 1111101111111001101 of continuous states, so that the group of data can be counted as 1 group of 5 continuous forward states, which is denoted as f 5; the consecutive 7 forward states are 1 group, denoted as f 7; the 2 consecutive forward states are 1 group, denoted f 2; the consecutive 1 forward states are 1 group, denoted f 1.
According to the above rule, all group data is d ═ f 1: fn, counting the number m of each group of continuous states in each age group, the maximum continuous value is x, the minimum continuous value is y, the average value is a ═ average (d), the group distance is g, the standard deviation is s ═ STDEVP (d), and calculating the distribution of positive-phase and negative-phase distributions of each group according to a calculation formulaPoint value n is NORMDIST (f)nA, s, false) corresponding to a value of v ═ n ═ g ×, m; histogram point value z ═ FREQUENCY (d, f)x:fy) And the histogram point value of the upper group is l, and the histogram value is r ═ l-z, so that a group of positive distribution and direct access map data are obtained respectively.
For the example of a 5 year old reference, the data obtained is referred to in FIG. 4.
From fig. 4 it can be seen that the standard reference value for the 5 year old age group is 5. According to the category, standard reference values of different age groups and continuous forward states can be obtained. For example, a standard reference value for a 5 year old sequential state is 5 sequential positive states; the standard reference value for a 7 year old continuous state is 6 continuous positive states.
According to the standard reference value of each age bracket, a plurality of training scenes can be designed according to actual needs to train the testee, and the real-time heart rate on the screen is compared with the standard reference value, so that the testee can adjust the state to achieve the continuous concentration degree.
It should be noted that, although the above embodiments have been described herein, the invention is not limited thereto. Therefore, based on the innovative concepts of the present invention, the technical solutions of the present invention can be directly or indirectly applied to other related technical fields by making changes and modifications to the embodiments described herein, or by using equivalent structures or equivalent processes performed in the content of the present specification and the attached drawings, which are included in the scope of the present invention.

Claims (7)

1. A method for judging and training the attention degree of children based on real-time heart rate is characterized by comprising the following steps:
responding to a target picture playing execution instruction, and acquiring heart rate data of the testee through heart rate acquisition equipment;
preprocessing the acquired heart rate data by adopting a first preset rule;
pushing the preprocessed heart rate data into the first array and the second array simultaneously;
respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
calculating the first calculation result and the second calculation result by adopting a third preset rule to obtain a third calculation result, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous concentration is qualified, and if not, judging that the instantaneous concentration is unqualified; the method comprises the following steps of calculating heart rate data in a first array and heart rate data in a second array respectively by adopting a second preset rule to obtain a first calculation result and a second calculation result, and specifically comprises the following steps:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the method comprises the following steps of calculating the first calculation result and the second calculation result by adopting a third preset rule to obtain a third calculation result, and judging whether the third calculation result meets a preset condition, and specifically comprises the following steps:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
2. The method for determining and training the attention level of a child based on real-time heart rate as claimed in claim 1, further comprising the steps of:
acquiring heart rate data of a testee in the whole process of watching a preset video within a preset time period;
and processing the heart rate data of the whole process according to a fourth preset rule to obtain a standard reference value.
3. The method for determining and training the attention level of a child based on real-time heart rate as claimed in claim 1, further comprising the steps of:
and if the instantaneous concentration is judged to be unqualified, sending a corresponding prompt for reminding the testee.
4. The method for judging and training the attention degree of the child based on the real-time heart rate according to claim 1, wherein the step of preprocessing the acquired heart rate data by using a first preset rule further comprises the steps of: and filtering the pre-set number data of the collected heart rate data.
5. The utility model provides a system for judge and train children's special attention degree based on real-time heart rate which characterized in that includes: the heart rate acquisition module is in communication connection with the heart rate calculation module;
the heart rate acquisition module is used for: responding to a target picture playing execution instruction, collecting heart rate data of a testee and sending the heart rate data to a heart rate calculation module;
the heart rate calculation module is to: preprocessing the acquired heart rate data by adopting a first preset rule;
pushing the preprocessed heart rate data into the first array and the second array simultaneously;
respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
calculating the first calculation result and the second calculation result by adopting a third preset rule to obtain a third calculation result, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous concentration is qualified, and if not, judging that the instantaneous concentration is unqualified; the heart rate calculation module is further to:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of calculating the first calculation result and the second calculation result by using a third preset rule to obtain a third calculation result and judging whether the third calculation result meets a preset condition includes the steps of:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
6. The system for determining and training concentration level of children based on real-time heart rate as claimed in claim 5,
the heart rate acquisition module is further configured to: acquiring the heart rate data of the whole process of watching a preset video by a testee within a preset time period, and sending the heart rate data of the whole process to a heart rate calculation module;
the heart rate calculation module is further to: and processing the heart rate data of the whole process according to a fourth preset rule to obtain a standard reference value.
7. A storage device having a set of instructions stored therein, the set of instructions being operable to perform:
responding to a target picture playing execution instruction, and acquiring heart rate data of the testee, which is acquired by heart rate acquisition equipment;
preprocessing the acquired heart rate data by adopting a first preset rule;
pushing the preprocessed heart rate data into the first array and the second array simultaneously;
respectively calculating the heart rate data in the first array and the heart rate data in the second array by adopting a second preset rule to obtain a first calculation result and a second calculation result;
calculating the first calculation result and the second calculation result by adopting a third preset rule to obtain a third calculation result, judging whether the third calculation result meets a preset condition, if so, judging that the instantaneous concentration is qualified, and if not, judging that the instantaneous concentration is unqualified; the set of instructions is further for performing: the method comprises the following steps of calculating heart rate data in a first array and heart rate data in a second array respectively by adopting a second preset rule to obtain a first calculation result and a second calculation result, and specifically comprises the following steps:
calculating the minimum value and the maximum value of the heart rate data in the first array and the difference value between the maximum value and the minimum value;
calculating the minimum value and the maximum value of the heart rate data in the second array and the difference value between the maximum value and the minimum value;
the step of calculating the first calculation result and the second calculation result by using a third preset rule to obtain a third calculation result and judging whether the third calculation result meets a preset condition includes the steps of:
and judging whether the difference value of the first array is smaller than that of the second array or not, and judging whether the difference value of the first array is smaller than a preset value or not.
CN202011587530.2A 2020-12-29 2020-12-29 Method, system and storage device for judging and training attention degree of children based on real-time heart rate Active CN112790751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011587530.2A CN112790751B (en) 2020-12-29 2020-12-29 Method, system and storage device for judging and training attention degree of children based on real-time heart rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011587530.2A CN112790751B (en) 2020-12-29 2020-12-29 Method, system and storage device for judging and training attention degree of children based on real-time heart rate

Publications (2)

Publication Number Publication Date
CN112790751A CN112790751A (en) 2021-05-14
CN112790751B true CN112790751B (en) 2022-06-21

Family

ID=75806061

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011587530.2A Active CN112790751B (en) 2020-12-29 2020-12-29 Method, system and storage device for judging and training attention degree of children based on real-time heart rate

Country Status (1)

Country Link
CN (1) CN112790751B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110464369A (en) * 2019-08-29 2019-11-19 安徽澄小光智能科技有限公司 A kind of state of mind based on human body physical sign numerical value judges algorithm

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010140241A1 (en) * 2009-06-04 2010-12-09 富士通株式会社 Awaking degree judgment device, method for judging degree of awaking and awaking degree judgment program
JP6846642B2 (en) * 2017-04-24 2021-03-24 パナソニックIpマネジメント株式会社 Intellectual productivity evaluation device and intellectual productivity evaluation method
CN108114449A (en) * 2018-02-07 2018-06-05 福建中科多特教育投资有限公司 A kind of children's concentration training system and method based on neuro-cognitive resource coordination
WO2019212953A1 (en) * 2018-04-30 2019-11-07 Pulson, Inc. Systems and methods for coordinating musculoskeletal and cardiovascular or cerebrovascular hemodynamics
CN211561501U (en) * 2019-11-27 2020-09-25 天津市天中依脉科技开发有限公司 Be absorbed in power lifting means suitable for human body

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110464369A (en) * 2019-08-29 2019-11-19 安徽澄小光智能科技有限公司 A kind of state of mind based on human body physical sign numerical value judges algorithm

Also Published As

Publication number Publication date
CN112790751A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN104197952B (en) A kind of user's walking step-recording method, device and mobile terminal
CN113440789B (en) Intelligent counting method and system for multi-person rope skipping test
CN105595990A (en) Intelligent terminal device for evaluating and distinguishing quality of electrocardiosignal
CN106653001A (en) Baby crying identifying method and system
CN105588577A (en) Detection method and detection apparatus for abnormal step counting in exercise monitoring device
CN105852797A (en) Stereoscopic display visual fatigue detection system based on electrocardiosignals
CN112288698A (en) Big data-based rice planting rice growth monitoring, analyzing and managing system
CN107137093A (en) A kind of continuous blood sugar monitoring device for including abnormal plasma glucose probability alarm
CN110897425A (en) Child sitting posture detection cushion, device interacting with cushion and sitting posture monitoring method
CN105726013A (en) Electrocardiogram monitoring system with electrocardiosignal quality discrimination function
CN107590358A (en) Exercise guidance method and apparatus
CN106333643B (en) User health monitoring method, monitoring device and monitoring terminal
CN112790751B (en) Method, system and storage device for judging and training attention degree of children based on real-time heart rate
CN105726023A (en) Electroencephalogram signal quality real-time judging system
CN100365644C (en) Identification and authenticaton method
CN114100103B (en) Rope skipping counting detection system and method based on key point identification
CN106821349A (en) For the event generation method and device of wearable custodial care facility
CN105825225A (en) Method for making electroencephalogram target judgment with assistance of machine vision
CN113076347A (en) Push program screening system and method based on emotion on mobile terminal
CN107067152A (en) A kind of fatigue recovery Index Monitoring device and method analyzed based on HRV
CN116311433A (en) Middle-distance running test method, device, equipment and medium based on vision technology
CN108079521A (en) A kind of running test method and system
CN110464369A (en) A kind of state of mind based on human body physical sign numerical value judges algorithm
CN106375796A (en) Audience rating statistical method and system
CN110168315B (en) Foot step counting method, device and equipment based on acceleration information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant