Detailed Description
The invention is further described with reference to the following examples.
Referring to fig. 1, the intelligent digital race track system of the embodiment includes a plurality of intelligent race track display modules, a power module, a mobile user terminal and an intelligent race track control terminal, wherein the intelligent race track display modules are continuously arranged along a surface, a road surface or a curb of a race track and used for displaying images or characters, adjacent intelligent race track display modules are connected through a power line, the power module is used for supplying power to the intelligent race track display modules, the mobile user terminal is worn on a user and includes a parameter setting unit, a data acquisition unit and a danger early warning unit, the parameter setting unit is used for the user to set race track parameters, the set race track parameters include a path and a speed of images or characters sequentially displayed on the intelligent race track display module, a shape and a character content of the images and the characters displayed on the intelligent race track display module, The intelligent runway comprises an intelligent runway display module, a data acquisition unit, a data processing unit and a state evaluation unit, wherein the image or the text is displayed on the intelligent runway display module at the beginning time and the display stopping time, the data acquisition unit is used for acquiring physiological parameter data of a user, the set running leading parameter and the acquired physiological parameter data are transmitted to an intelligent runway control end, the intelligent runway control end comprises an intelligent runway controller, a data processing unit and a state evaluation unit, the intelligent runway controller controls the image or the text to be sequentially displayed on the intelligent runway display module according to the running leading parameter set by the user, the data processing unit is used for processing the received physiological parameter data, the state evaluation unit is used for evaluating the body state of the user according to the processed physiological parameter data, and when the body state of the user is evaluated to be dangerous, an early warning signal is sent to a mobile user end, and carrying out early warning by a danger early warning unit of the mobile user side.
Preferably, the physiological parameters include heart rate, respiratory rate and body temperature.
Preferably, the intelligent runway display module is a full-color LED matrix.
In the preferred embodiment, the intelligent runway control terminal controls the speed of the dynamic display of the running image or characters on the intelligent runway display module in the running process according to the running leading parameters set by the user, so that a more scientific and intuitive exercise tool is provided for runners, the runners are helped to complete the exercise plan more scientifically and easily, and the interactivity and interestingness are enhanced; in addition, a state evaluation unit is added, the current body state of the user is evaluated according to the acquired physiological parameter data, and early warning is timely carried out when the body state of the user is judged to be dangerous, so that the safety of the user in the running process is ensured.
Preferably, the data processing unit is configured to perform filtering processing on the acquired physiological parameter data, and set fi(t) data of physiological parameter i acquired at time t, and a window sequence F with a length of (2m +1) is seti(t) and Fi(t)={fi(t-m),fi(t-m+1),…,fi(t-1),fi(t),fi(t+1),…,fi(t+m-1),fi(t + m) }, wherein fi(t-m)、fi(t-m +1) data representing the physiological parameter i acquired at the time (t-m) and (t-m +1), respectively, fi(t-1) and fi(t +1) data representing the physiological parameter i acquired at the time of (t-1) and (t +1), respectively, fi(t + m-1) and fi(t + m) represents the data of the physiological parameter i collected at the time of (t + m-1) and (t + m), respectively, and a difference sequence delta F is seti(t)={|fi(t-m+1)-fi(t-m)|,…,|fi(t)-fi(t-1)|,|fi(t+1)-fi(t)|,…,|fi(t+m)-fi(t+m-1)|}={Δfi(j) J ═ t-m +1, t-m +2, …, t + m }, for window sequence Fi(t) counting the data, defining a statistical coefficient thetai(t), and θiThe expression of (t) is:
in the formula,. DELTA.f
i(j) Representing a sequence of differences Δ F
i(j) Of (d) is the j-th difference, Δ d
i(t) is a coefficient of difference measure, and Δ d
i(t)=Δf
i(max)-Δf
i(min), wherein,. DELTA.f
i(max) denotes a sequence of differences Δ F
iMaximum value of (t), Δ f
i(min) represents the sequence of differences Δ F
i(t) minimum value, k is a given number of intervals, and
is a value function; when in use
When it is, then
When in use
When it is, then
e is the number of valid intervals, let e's initial value be 1, and increase by step 1, when theta
i(t) first satisfaction
Then, taking e at this time as the final effective interval number, and recording as e', selecting window sequence F
i(t) is satisfied
Data f of
i(j) Make up set F'
i(t) wherein f
i(j) And f
i(j-1) are window sequences F
i(t) th and (j-1) th data of the physiological parameter i;
according to set F'i(t) determining a first detection threshold H1(t) and a second detection threshold H2(t), then H1(t) and H2The expression of (t) is:
in the formula,
denotes a set F'
iMean of the data in (t), f
i(k) Denotes a set F'
i(t) kth data of physiological parameter i, N (F'
i(t)) represents a set F'
i(t) number of data;
when f is
i(t)<H
1(t) or f
i(t)>H
2(t) determining the data f
i(t) is noise data, order
When f is
i(t) satisfies H
1(t)≤f
i(t)≤H
2(t) if f is judged
i(t) is valid data, let f'
i(t)=f
i(t)。
The preferred embodiment is used for processing the acquired physiological parameter data, detecting the physiological parameter data by adopting a moving window mode, simultaneously including the physiological parameter data before the current moment and the physiological parameter data acquired after the current moment in the window sequence, screening the physiological parameter data in the window sequence to construct a difference sequence so as to avoid the influence of noise data acquired after the current moment in the window sequence on the processing of the physiological parameter data at the current moment, constructing k intervals according to the obtained difference measurement coefficients, reflecting the difference condition between adjacent data in the window sequence by the constructed k intervals, counting the data in the intervals, selecting the data in the interval with smaller difference to participate in the detection of the physiological parameter data at the current moment, and effectively screening the noise data in the window sequence, the influence of noise data acquired after the current moment in the window sequence on the physiological parameter data at the current moment is avoided; the first detection threshold and the second detection threshold constructed according to the selected physiological parameter data accord with the change rule of the physiological parameters, noise data can be effectively detected, and meanwhile the phenomenon that the fluctuation of the physiological parameter data caused by the movement of a user is mistaken for noise is avoided.
Preferably, the state evaluation unit is configured to evaluate the body state of the user at the current time according to the processed physiological parameter data, and includes an offline classification unit and an online evaluation unit, where the offline classification unit is configured to classify the collected historical physiological parameter data, and the online evaluation unit is configured to evaluate the body state of the user according to the collected physiological parameter data.
Preferably, the historical physiological parameter data includes labeled physiological parameter data and unlabeled physiological parameter data, the label includes a health label and a risk label, the offline classification unit is configured to classify the historical physiological parameter data, H represents the historical physiological parameter data set, and H ═ H {, where H represents the historical physiological parameter data set
1,H
2,H
3In which H
1Historical physiological parameter data set, H, representing labeled and labeled health
2Historical physiological parameter data set, H, representing labeled and dangerous
3Representing a non-labeled historical physiological parameter data set, let H (i) represent a set H
3And h (i) ═ h (h) for the ith data point in (1)
x(i) X is 1,2, … n, where h is
x(i) The data points h (i) represent the values of the physiological parameters x corresponding to the data points h, n represents the types of the acquired physiological parameters; is provided with L
iA reference data set representing data points h (i), and L
i(j) h (i) -h (j) r (i), j 1,2, … n (i), where r (i) is a given reference threshold, and
h (L) is a data point directly adjacent to the data point h (i), L (i) represents a data point directly adjacent to the data point h (i), and h (j) represents the reference data set L
iWherein (j) th data point, n (i) represents the reference data set L
iIn (1)Counting the number of data points; for reference data set L
iDetecting when the reference data set L is detected
iWhen at least one data point with a label exists, predicting the label of the data point h (i), defining the label prediction function corresponding to the data point h (i) as P (i), wherein the expression of P (i) is as follows:
in the formula, eta (H (j), H
1) Is a value function, and
ρ(h(j),H
2) Is a value function, and
eta (i) is a value function eta (H (j), H
1) Corresponding correction coefficient rho (i) is a value function rho (H (j), H
2) Corresponding correction coefficients, and the expressions of η (i) and ρ (i) are:
wherein L isj(j ═ 1,2, …, n (i)) represents a reference data set of data points h (j ═ 1,2, …, n (i)), and h (j ═ 1,2, …, n (i)) represents a reference data set LiThe j-th data point in (a), n (j) represents the reference data set LjH (L) represents a reference data set LjThe ith data point in (1);
when the label prediction function P (i) > 1, the label of the data point H (i) is judged to be healthy, when the label prediction function P (i) < 1, the label of the data point H (i) is judged to be dangerous, when the label prediction function P (i) < 1, the data point H (i) is marked as quadratic prediction data, and when the set H is the set H3After the label prediction of all the data points is finished, carrying out label prediction on the marked secondary prediction data by adopting the method again;
after all data points in the set H have labels, the data points in the set H having health labels are classified into class C according to the labels of the data points1Classifying data points in set H having danger labels into class C2。
The preferred embodiment is used for classifying the collected historical physiological parameter data and taking the final classification result as a reference value of the state evaluation unit; the historical physiological parameter data adopted by the preferred embodiment comprises a small amount of labeled physiological parameter data and a large amount of unlabeled physiological parameter data, when the historical physiological parameter data are classified, the labels of the unlabeled physiological parameter data are predicted according to the labeled physiological parameter data, and finally the classification of the historical physiological parameter data is completed according to the labels of the physiological parameter data; when the label of the non-label physiological parameter data is predicted, a data point which is closer to the data to be predicted is selected to construct a reference data set of the data to be predicted, and the label of the data to be predicted is predicted according to the labeled data in the reference data set, so that the label of the data to be predicted can be effectively predicted; defining a tag prediction function, wherein a value function in the tag prediction function can effectively count tagged data in a reference data set, and data points which are closer to the data to be predicted reflect the attributes of the data to be predicted to a great extent, so that the value function in the tag prediction function can effectively predict tags of the data to be predicted through counting tags of adjacent data points; correction coefficients are introduced into the label prediction function aiming at the value functions, the label prediction function can effectively predict labels of edge data between a healthy class and a dangerous class by the aid of the correction coefficients, when data to be predicted are located at the edge between the healthy class and the dangerous class, misjudgment is easily caused by label prediction only through counting labeled data in a reference data set of the data to be predicted, and the correction coefficients can effectively avoid detection errors caused by the fact that the data to be predicted are located at the edge by counting labeled data in a slightly far range, so that accuracy of classification results is improved, and accuracy of body state evaluation results of users is further improved.
Preferably, let f '(t) denote the physiological parameter data point at time t after processing, and f' (t) { f } { (t) }i' (t), i ═ 1,2, … n }, where fi' (t) represents the value of the physiological parameter i at the time t after processing, n represents the type of the acquired physiological parameter, and the physical state of the user at the current time is evaluated, specifically:
v. the
1Class C representing classification of offline classification units
1Is like the center of (1), and
wherein,
represents class C
1Class center of middle physiological parameter i, let B
1Represents class C
1A set of edge data points in (c), and
wherein,
represents a set B
1X-th data of middle physiological parameter i, m
1Represents a set B
1Number of data points in, let B
2Represents class C
2A set of edge data points in (c), and
wherein,
represents a set B
2X-th data of middle physiological parameter i, m
2Represents a set B
2The number of data points in (1), defining a first evaluation coefficient G
1(t) and a second evaluation coefficient G
2(t), and G
1(t) and G
2The expressions of (t) are respectively:
in the formula,
represents a set B
1Middle distance data f
i' (t) the nearest edge data point,
represents a set B
2Middle distance data f
i' (t) the nearest edge data point,
as a comparison function when
When it is, then
Otherwise
As a function of value when
When it is, then
Otherwise
Using a first evaluation coefficient G1(t) evaluating the physical state of the user at the current moment, when the first evaluation coefficient G is larger than the first evaluation coefficient1(t)≤dmin(B1,v1) If so, judging that the body state of the user at the current moment is healthy; when the first evaluation coefficient G1(t)>dmax(B1,v1) If so, judging that the physical state of the user at the current moment is dangerous; when d ismin(B1,v1)<G1(t)≤dmax(B1,v1) Then continue to use the second evaluation coefficient G2(t) evaluating the physical state of the user at the current moment, when G2When (t) is 1, the body state of the user at the current moment is judged to be healthy, and when G is used2When (t) is 0, the physical state of the user at the current moment is judged to be dangerous, wherein dmin(B1,v1) And dmax(B1,v1) Respectively represent a set B1From the edge data point to the class center v1A minimum distance value and a maximum distance value.
The preferred embodiment compares the processed physiological parameter data with class centers of classes classified according to the offline classification result, thereby determining the physical health status of the user, and defining a first evaluation coefficient, which can effectively detect that the physical status of the user at the current time is in a relatively healthy or relatively dangerous status by comparing the processed physiological parameter data with the class center of the health class, and further, the preferred embodiment defines a second evaluation coefficient, the second evaluation coefficient is obtained by comparing the processed physiological parameter data with the marginal data points of the health class and the marginal data points of the risk class, therefore, when the physical state of the user is at a critical value of health and danger, the physical state of the user at the current moment can still be effectively detected, and the accuracy of the detection result is greatly improved.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the protection scope of the present invention, although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.