A method and system for controlling multimedia teaching information equipment
By dividing the data sequence into a reference sequence in the multimedia teaching equipment, and filling in the missing data points based on the accuracy and change characteristics of the reference sequence, the problem of inaccurate user positioning is solved, and the success rate of controlling the multimedia equipment and the quality of teaching are improved.
Patent Information
- Application Number
- CN202410229914.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-02-29
AI Technical Summary
In multimedia teaching equipment, due to the movement of handheld devices, user positioning is inaccurate. In the existing technology, the prediction and filling errors of missing data points in the data sequence are large, which reduces the accuracy of user positioning.
By dividing the data sequence into reference sequences, the reference accuracy is obtained based on the change trend and amplitude of each reference sequence, the filling ratio of the target reference sequence is determined, and the interval range of the missing data points is obtained based on the change trend of the target data points, and then Make accurate predictions on populated data.
The error between the filled data and the real data is reduced, the accuracy of user positioning is improved, and the success rate of multimedia device recognition and manipulation of user location is enhanced.
Smart Images

Figure CN118093566B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things device control, and in particular to a method and system for controlling multimedia teaching information equipment. Background Art
[0002] Multimedia information-based teaching equipment is often used in teaching to display teaching materials. Users need to use handheld devices to control the display content in the multimedia devices. However, in some large classrooms, since handheld devices often move with users and the movement process is relatively random, users often cannot control the multimedia devices using handheld devices. Therefore, it is necessary to locate the user and dynamically adjust the visual focus of the multimedia device according to the user's position to improve the user's control success rate. The existing RIS-assisted wireless positioning technology can be used to achieve user positioning.
[0003] In the process of user positioning, the base station needs to analyze the data sequence containing the received radio frequency signal strength transmitted by the user to determine the user's position. However, due to the presence of obstructions in the space and the change of the user's position, some data points in the transmitted data sequence are missing, which reduces the accuracy of user positioning. Therefore, it is necessary to predict and fill the missing data points. The data filling method commonly used in the prior art is curve fitting smoothing, which fits a curve according to the known data points in the data sequence, and determines the filling data of the missing data points on the curve. However, due to the presence of obstructions in the space, some radio frequency signals are abnormally attenuated during the propagation process. There are abnormal data points in the data sequence, and an accurate fitting curve cannot be obtained, resulting in a large error between the filled data and the real data, thereby reducing the accuracy of user positioning. Summary of the invention
[0004] In order to solve the technical problem that when predicting and filling missing data points in a data sequence, accurate filling data and filled data sequence cannot be obtained, thereby causing inaccurate positioning of the user by the multimedia teaching device, the purpose of the present invention is to provide a method and system for controlling multimedia teaching information equipment, and the technical scheme adopted is as follows:
[0005] The present invention proposes a method for controlling multimedia teaching information equipment, the method comprising:
[0006] Receive a time-series data sequence returned by a user, and obtain all missing data points in the data sequence, where the missing data points divide the data sequence into at least two reference sequences;
[0007] The reference accuracy of each reference sequence is obtained according to the change trend and change amplitude of the data points in each reference sequence;
[0008] The two reference sequences adjacent to the missing data point are the target reference sequences of the missing data point; according to the reference accuracy difference between the two target reference sequences, the filling ratio of each target reference sequence of the missing data point is obtained, and the filling ratios of the two target reference sequences are negatively correlated with each other; the data points with the consistent change trend and the largest number of consecutive data points in each target reference sequence are used as the target data points on the target reference sequence; according to the filling ratio of each target reference sequence and the change trend of the target data point, the interval range corresponding to the missing data point is obtained; and the filling data of each missing data point is obtained according to the two interval ranges of the missing data point;
[0009] The user is positioned according to the filled data sequence, and the visual focus of the multimedia device is adjusted to be in the direction of the user.
[0010] Further, obtaining the reference accuracy of each reference sequence according to the change trend and change amplitude of the data points in each reference sequence includes:
[0011] The change trend consistency parameter of each reference sequence is obtained according to the sign of the difference between adjacent data points in each reference sequence;
[0012] Obtaining the variation amplitude parameter of each reference series according to the difference between each data point and the overall data value in each reference series;
[0013] The product of the variation trend consistency parameter and the variation amplitude parameter is used as the reference accuracy of each reference sequence.
[0014] Furthermore, the method for obtaining the change trend consistency parameter of each reference sequence includes:
[0015] Obtaining a binary sequence corresponding to each reference sequence according to the sign of the difference between adjacent data points in each reference sequence; the binary sequence is a binary sequence, the first mark value in the binary sequence indicates that the change trends of adjacent data points are the same, and the second mark value in the binary sequence indicates that the change trends of adjacent data points are different;
[0016] The maximum length of the run of the first marker value in the binary sequence is used as the change trend consistency parameter of each reference sequence.
[0017] Furthermore, the method for obtaining the binary sequence corresponding to each reference sequence includes:
[0018] Starting from the data point corresponding to the earliest timestamp in the reference sequence, three adjacent and continuous data points are selected in sequence;
[0019] The difference between the first two adjacent data points of the three data points is mapped by a sign function to obtain a first sign value; the difference between the second two adjacent data points of the three data points is mapped by a sign function to obtain a second sign value; the result of a logical operation between the first sign value and the second sign value is used as a mark value in the binary sequence; the next three consecutive data points are continuously selected in chronological order to obtain all the mark values of the binary sequence in the same way;
[0020] All the label values are arranged in the order of acquisition to obtain a binary sequence corresponding to each reference sequence.
[0021] Furthermore, the method for obtaining the variation amplitude parameter of each reference sequence includes:
[0022] Obtaining the mean and standard deviation of all data points in each reference sequence; using the mean as the overall data value of each reference sequence;
[0023] Taking the difference between each data point in the reference sequence and the overall data value as the deviation parameter of each data point;
[0024] The fourth power of the ratio of the deviation parameter to the standard deviation is used as the standard deviation parameter of each data point;
[0025] The average of the standard deviation parameters of all data points in each reference sequence is taken as the variation amplitude parameter of each reference sequence.
[0026] Further, obtaining the filling ratio of each target reference sequence of missing data points according to the reference accuracy difference between the two target reference sequences includes:
[0027] Among the two target reference sequences of missing data points, the target reference sequence corresponding to the maximum reference accuracy is used as the primary reference sequence of the missing data points, and the other target reference sequence is used as the secondary reference sequence of the missing data points;
[0028] The difference between the reference accuracy of the primary reference sequence and the reference accuracy of the secondary reference sequence is mapped by a sigmoid function to obtain a filling ratio of the primary reference sequence;
[0029] The difference between the constant 1 and the filling ratio of the primary reference sequence is taken as the filling ratio of the secondary reference sequence.
[0030] Furthermore, the method for obtaining the interval range of the missing data points includes:
[0031] In the target reference sequence, the data points adjacent to the missing data points are used as reference data points for the missing data points;
[0032] In the target reference sequence, the average value of the difference between all adjacent data points in the target data point is used as the adjustment value, and three times the standard deviation of the target data point is used as the deviation value; the difference between the adjustment value and the deviation value is used as the initial adjustment lower limit, and the sum of the adjustment value and the deviation value is used as the initial adjustment upper limit;
[0033] The product value of the initial adjustment lower limit and the filling ratio of the target reference sequence is used as the final adjustment lower limit, and the product value of the initial adjustment upper limit and the filling ratio of the target reference sequence is used as the final adjustment upper limit;
[0034] The sum of the reference data point and the final adjusted lower limit is used as the filling lower limit of the missing data point, and the sum of the reference data point and the final adjusted upper limit is used as the filling upper limit of the missing data point;
[0035] The filling lower limit is used as the left endpoint of the interval range, and the filling upper limit is used as the right endpoint of the interval range to obtain the interval range of the missing data points on the corresponding target reference sequence.
[0036] Further, obtaining filling data for each missing data point according to the two interval ranges of the missing data point includes:
[0037] The intersection of the two interval ranges of the missing data point is used as the final interval range of the missing data point;
[0038] If the final interval range is not an empty set, the center value of the final interval range is used as the filling data of the missing data points; if the final interval range is an empty set, the center value of the interval range of the missing data points on the target reference sequence corresponding to the maximum reference accuracy value is used as the filling data of the missing data points.
[0039] The method also proposes a multimedia teaching information equipment control system, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements any one of the steps of the multimedia teaching information equipment control method.
[0040] The present invention has the following beneficial effects:
[0041] The present invention uses the partial data sequence segmented from the missing data point as the reference sequence for predicting and filling the missing data point. Taking into account that the degree of consistency of the change trends of data points in different reference sequences is different, and the degree of abnormality of data points in different reference sequences is different, resulting in different reference sequences having different reference values for predicting and filling the missing data points, the reference accuracy of each reference sequence can be obtained according to the change trend and change amplitude of the data points in each reference sequence, so as to facilitate the subsequent determination of the filling ratio of the target reference sequence according to the reference accuracy; considering that a certain missing data point is between two reference sequences, and the two reference sequences adjacent to the missing data point have different reference values for filling the missing data point, the two reference sequences adjacent to the missing data point are taken as the target reference sequences of the missing data point, and based on the reference accuracy, the filling ratio of the target reference sequence is determined. According to the difference in reference accuracy between the two target reference sequences, the filling ratio of each target reference sequence of missing data points is obtained, so as to facilitate the subsequent acquisition of the appropriate interval range of the missing data points on the target reference sequence according to the filling ratio; since the target data points are data points with consistent change trends in the target reference sequence, the characteristics of the change trend of the target data points reflect the overall characteristics of the change trend of the data points in the target reference sequence, so the interval range of the corresponding missing data points can be obtained according to the filling ratio of each target reference sequence and the change trend of the target data points. In order to obtain more accurate filling data for the missing data points, the filling data of each missing data point is obtained according to the two interval ranges of the missing data points on the two target reference sequences, which reduces the error between the filling data and the real data, and facilitates the subsequent more accurate positioning of the user. The present invention obtains multiple reference sequences by segmenting the data sequence through the missing data points, predicts and fills the missing data points according to the change trend of the data points in the reference sequence adjacent to the missing data points, reduces the error between the filling data and the real data, and thus improves the accuracy of the subsequent positioning of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A flowchart of a method for controlling multimedia teaching information equipment provided by an embodiment of the present invention;
[0044] Figure 2 A schematic diagram of an implementation scenario provided for an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a multimedia teaching information equipment control method and system proposed by the present invention, its specific implementation method, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0046] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0047] The following is a detailed description of a multimedia teaching information equipment control method and system provided by the present invention in conjunction with the accompanying drawings.
[0048] See also Figure 1 , which shows a flow chart of a multimedia teaching information equipment control method provided by an embodiment of the present invention, the method comprising:
[0049] Step S1: Receive the data sequence sent back by the user and obtain all missing data points in the data sequence.
[0050] The embodiment of the present invention realizes the positioning of the user through the existing RIS-assisted wireless positioning technology, please refer to Figure 2 , Figure 2 A schematic diagram of a scenario provided by an embodiment of the present invention, the base station transmits signals to the user and the RIS unit at a certain time interval, the RIS unit reflects the signal transmitted by the base station, and the user receives the direct signal transmitted by the base station and the reflected signal reflected by the RIS unit during movement, and respectively records the signal strength and timestamp of the two received signals, forming two time-ordered data sequences. Considering the limited computing power of the user's handheld control device, it is necessary to transmit these two data sequences back to the base station, and the base station realizes the positioning of the user by analyzing these two data sequences. It should be noted that RIS-assisted wireless positioning technology is a technical means well known to those skilled in the art, and will not be repeated here.
[0051] In the process of users transmitting data sequences back to the base station, due to the presence of obstructions in the space, data points in the transmitted data sequence may be missing. When using RIS-assisted wireless positioning technology to locate the user, the timing of each data point in the data sequence needs to be strictly aligned, and missing data points will form a deformed position, which will introduce judgment errors to the RIS-assisted wireless positioning technology and reduce the accuracy of user positioning. Therefore, it is necessary to screen out the missing data points in the data sequence and predict and fill the missing data points. In one embodiment of the present invention, there are timestamps for the data points in the data sequence transmitted back by the user, and the earliest and latest timestamps of the two data sequences are used as the head and tail standards of the data sequence. The base station analyzes the data sequence according to the time interval of sending the signal and the timestamp in the data point, and obtains the positions of all missing data points in the data sequence. It should be noted that the timestamp comparison method is a technical means well known to those skilled in the art and will not be described in detail here.
[0052] Step S2: Obtain the reference accuracy of each reference sequence according to the change trend and change amplitude of the data points in each reference sequence.
[0053] In the embodiment of the present invention, missing data points in the data sequence are predicted and filled based on known data points in the reference sequence, and different reference sequences have different reference values when predicting and filling missing data points. The more known data points in the reference sequence, and the more data points with consistent change trends of known data points close to the missing data points, the smaller the error between the filling data predicted for the missing data points and the real data; and the data points in the reference sequence represent the strength of the signal received by the user. The signal will lose a part of its energy during the propagation process, resulting in the signal strength received by the user being lower than the original signal strength sent by the base station. When there are influencing factors such as obstructions in the space, the signal strength will be attenuated more during the propagation process, resulting in inconsistent change amplitudes between data points in the reference sequence, thereby reducing the reference value of the reference sequence for the missing data points. Therefore, the reference accuracy of each reference sequence can be obtained according to the change trend and change amplitude of the data points in each reference sequence. The reference accuracy of the reference sequence reflects the reference value of predicting and filling missing data points. The greater the reference accuracy of the reference sequence, the greater the reference value of the reference sequence for the missing data points, and the more accurate the filling data predicted for the missing data points according to the reference sequence.
[0054] Preferably, in one embodiment of the present invention, the method for obtaining the reference accuracy of each reference sequence specifically includes:
[0055] The change trend consistency parameter of each reference sequence is obtained according to the sign of the difference between adjacent data points in each reference sequence. The sign of the difference between adjacent data points can reflect the increase or decrease of the data points. If the signs of the differences between two pairs of consecutive adjacent data points are the same, it means that the change trends of these data points are the same, that is, the same increase or decrease; the change amplitude parameter of each reference sequence is obtained according to the difference between each data point and the overall data value in each reference sequence. The difference between the data point and the overall data value reflects the degree to which the data point deviates from the overall data value. The greater the difference, the greater the change amplitude of the data point relative to the overall data value; the product of the change trend consistency parameter and the change amplitude parameter is used as the reference accuracy of each reference sequence. The specific expression is:
[0056] B=α×β
[0057] Among them, B represents the reference accuracy of each reference sequence; α represents the consistency parameter of the change trend of each reference sequence; β represents the change amplitude parameter of each reference sequence.
[0058] In the process of obtaining the change trend consistency parameter of each reference sequence, the larger the change trend consistency parameter α is, the more consistent the change trend of the data points in the reference sequence is and the larger the number of data points with consistent change trends is, which means that the reference value of predicting and filling missing data points through the reference sequence is greater, and the reference accuracy B of the reference sequence is greater; since the signal strength will attenuate during the propagation process, the larger the change amplitude parameter β is, the smaller the signal strength attenuation is, the higher the signal strength received by the user is, and the lower the abnormality of the data points in the reference sequence is, which means that the reference value of predicting and filling missing data points through the reference sequence is greater, and the reference accuracy B of the reference sequence is greater. Considering that both the change trend consistency parameter α and the change amplitude parameter β can reflect the reference accuracy B of the reference sequence, in one embodiment of the present invention, the product of the change trend consistency parameter α and the change amplitude parameter β is used as the reference accuracy B of the reference sequence.
[0059] Preferably, in one embodiment of the present invention, the method for obtaining the change trend consistency parameter of each reference sequence specifically includes:
[0060] The binary sequence corresponding to each reference sequence is obtained according to the sign of the difference between adjacent data points in each reference sequence; the binary sequence is a binary sequence, the first mark value in the binary sequence indicates that the change trend of adjacent data points is the same, and the second mark value in the binary sequence indicates that the change trend of adjacent data points is different; the maximum length of the run of the first mark value in the binary sequence is used as the change trend consistency parameter of each reference sequence. The specific expression is:
[0061] α=L max(S)
[0062] Among them, α represents the consistency parameter of the change trend of each reference sequence; S represents the binary sequence corresponding to each reference sequence; L max () represents a function of the maximum length of the run of the first mark value in a binary sequence. In one embodiment of the present invention, the first mark value is the binary number 1.
[0063] In the process of obtaining the change trend consistency parameter of each reference sequence, the first mark value in the binary sequence corresponding to each reference sequence indicates that the change trend of adjacent data points is the same. The longer the run length of the first mark value in the binary sequence S is, the more adjacent continuous data points with the same change trend are. In turn, the more consistent the change trend of the data points in the reference sequence is, the greater the corresponding reference accuracy is. Therefore, in one embodiment of the present invention, L is used. max () function, taking the maximum length of the run of the first marked value in the binary sequence S as the consistency parameter of the change trend of the reference sequence.
[0064] Preferably, in an embodiment of the present invention, a method for obtaining a binary sequence corresponding to each reference sequence specifically includes:
[0065] Starting from the data point corresponding to the earliest timestamp in the reference sequence, three adjacent and continuous data points are selected in sequence; the difference between the first two adjacent data points among the three data points is mapped by a symbol function to obtain a first symbol value; the difference between the last two adjacent data points among the three data points is mapped by a symbol function to obtain a second symbol value; the result of the logical operation of the first symbol value and the second symbol value is used as a mark value in the binary sequence; the next three consecutive data points are selected in chronological order, and all the mark values of the binary sequence are obtained in the same way; all the mark values are arranged in the order of acquisition to obtain the binary sequence corresponding to each reference sequence. The specific expression is:
[0066] S={s i |s i =O[sign(P i -P′ i ),sign(P′ i -P″ i )],i=1,2,3…k}
[0067] Among them, S represents the binary sequence corresponding to each reference sequence; s i represents the value of the tag obtained for the i-th time in the binary sequence, where the tag value is a binary number 0 or 1; P i represents the data point corresponding to the earliest timestamp among the three adjacent and continuous data points of the ith order; P′ irepresents the data point in the middle of the three adjacent and continuous data points of the ith order; P″ i represents the data point corresponding to the latest timestamp among the three adjacent and continuous data points of the ith order; k represents the number of labeled values in the binary sequence; sign() is the sign function; O() represents the logical operation function, O[sign(P i -P′ i ),sign(P′ i -P″ i )] is sign(P i -P′ i ) and sign(P′ i -P″ i In one embodiment of the present invention, the logical operation function uses the XOR operation.
[0068] In the process of obtaining the binary sequence corresponding to each reference sequence, P i -P′ i Represents the difference between the first two data points in time sequence among three adjacent and continuous data points, P′ i -P″ i It represents the difference between the last two data points in the time sequence of three adjacent and continuous data points. After the mapping of the sign function, the positive and negative signs of the two differences can be obtained, where sign(P i -P′ i ) represents the first symbol value, sign(P′ i -P″ i ) represents the second symbol value. If the symbols are the same, it means that the change trends of the three adjacent and continuous data points are consistent. If the symbols are different, it means that the change trends of the three adjacent and continuous data points are inconsistent. Therefore, in one embodiment of the present invention, whether the symbols are the same is reflected by the same OR operation. If the first symbol value and the second symbol value are obtained by the same OR operation, the mark value s i If the value of the marker s is 1, it means that the trend of the three data points is the same. i If it is a binary number 0, it means that the change trends of these three data points are different. In the obtained binary sequence, if there are two consecutive 1s, it means that there are four adjacent and consecutive data points in the reference sequence with the same change trend. If there are three consecutive 1s, it means that there are five adjacent and consecutive data points in the reference sequence with the same change trend, and so on.
[0069] It should be noted that, in another embodiment of the present invention, the logical operation function may also use an XOR operation to determine whether the symbols are the same. In this case, the first mark value should be a binary number 0, that is, when the mark value in the binary sequence is a binary number 0, it indicates that there are three adjacent and continuous data points in the reference sequence with the same change trend.
[0070] Preferably, in one embodiment of the present invention, the method for obtaining the variation amplitude parameter of each reference sequence specifically includes:
[0071] Get the mean and standard deviation of all data points in each reference sequence; take the mean as the overall data value of each reference sequence; take the difference between each data point in the reference sequence and the overall data value as the deviation parameter of each data point; take the fourth power of the ratio of the deviation parameter to the standard deviation as the standard deviation parameter of each data point; take the average value of the standard deviation parameters of all data points in each reference sequence as the variation amplitude parameter of each reference sequence. The specific expression is:
[0072]
[0073] Among them, β represents the variation parameter corresponding to each reference sequence; P j represents the jth data point in the reference sequence; represents the mean of all data points in the reference sequence, that is, the overall data value; ε represents the standard deviation of all data points in the reference sequence; n represents the number of data points in the reference sequence.
[0074] In the process of obtaining the variation amplitude parameters corresponding to each reference sequence, It represents the difference between the data in the reference sequence and the overall data value, that is, the deviation parameter of each data point. The larger the value, the greater the data point P j Deviation from the overall data value The greater the degree of attenuation, the lower the signal strength attenuation during the propagation process. Considering that different reference sequences have different standard deviations, the standard deviation ε is used to standardize the deviation parameter, and the fourth power of the ratio of the deviation parameter to the standard deviation is used as the standard deviation parameter of each data point. The larger the standard deviation parameter, the greater the variation of the data point. Considering the different number of data points in each reference sequence, the average value of the standard deviation parameters of all data points in each reference sequence is taken as the variation parameter β of each reference sequence. It can reflect the overall change amplitude of the reference sequence. The larger the value, the more extreme values deviating from the mean exist in the reference sequence, which further indicates that the attenuation of the signal strength received by the user is smaller, and the degree of abnormality of the reference sequence is lower.
[0075] The reference accuracy obtained based on the changing trend and amplitude of the reference sequence can accurately reflect the reference value of the reference sequence when filling missing data points, which is convenient for improving the accuracy of the filling ratio of the reference sequence obtained subsequently based on the reference accuracy.
[0076] Step S3: The two reference sequences adjacent to the missing data points are the target reference sequences for the missing data points; based on the reference accuracy difference between the two target reference sequences, the filling ratio of each target reference sequence for the missing data points is obtained, and the filling ratios of the two target reference sequences are negatively correlated with each other; the data points with the consistent change trend and the largest number of consecutive data points in each target reference sequence are used as the target data points on the target reference sequence; the interval range corresponding to the missing data points is obtained according to the filling ratio of each target reference sequence and the change trend of the target data points; and the filling data of each missing data point is obtained according to the two interval ranges of the missing data points.
[0077] Since the missing data points in the data sequence are all located between the two reference sequences, and the two reference sequences adjacent to the missing data points have a stronger reference for predicting and filling the missing data points, the two reference sequences adjacent to the missing data points are used as the target reference sequences for the missing data points; the reference accuracy of the two target reference sequences for the missing data points is different, so the filling ratio of each target reference sequence for the missing data points can be obtained according to the reference accuracy difference between the two target reference sequences. The greater the difference in reference accuracy, the greater the difference in filling ratio, which facilitates the subsequent acquisition of the appropriate interval range of the missing data points on the target reference sequence according to the filling ratio; since there are data points with consistent and continuous change trends in the target reference sequence, the characteristics of the change trend of such data points reflect the target reference sequence. Considering the characteristics of the overall change trend of the sequence, the data points with the consistent change trend and the largest number of consecutive data points in each target reference sequence are taken as the target data points on the target reference sequence, and the filling data of the missing data points are predicted according to the change trend of the target data points, so as to reduce the error between the filling data and the real data; through the filling ratio and target data points obtained on the target reference sequence, the interval range of the corresponding missing data points can be obtained according to the filling ratio of each target reference sequence and the change trend of the target data points. The interval range represents the value range of the missing data points obtained through the target reference sequence. The missing data points have an interval range in the two target reference sequences, so the interval range of the missing data points can be further refined according to these two interval ranges and the filling data of the missing data points can be determined.
[0078] Preferably, in one embodiment of the present invention, a method for obtaining the filling ratio of each target reference sequence with missing data points specifically includes:
[0079] In the two target reference sequences with missing data points, the target reference sequence corresponding to the maximum reference accuracy is used as the primary reference sequence of the missing data points, and the other target reference sequence is used as the secondary reference sequence of the missing data points; the difference between the reference accuracy of the primary reference sequence and the reference accuracy of the secondary reference sequence is mapped by the sigmoid function to obtain the filling ratio of the primary reference sequence; the difference between the constant 1 and the filling ratio of the primary reference sequence is used as the filling ratio of the secondary reference sequence. The specific expression is:
[0080] K = sigmoid(BB′)
[0081] K′=1-K
[0082] Among them, K represents the filling ratio of the primary reference sequence; K′ represents the filling ratio of the secondary reference sequence; B represents the reference accuracy of the primary reference sequence; B′ represents the reference accuracy of the secondary reference sequence; and the sigmoid() function is a common S-type function.
[0083] In the process of obtaining the filling ratio of each target reference sequence, since the target reference sequence corresponding to the maximum reference accuracy has a greater reference value for the missing data points, the target reference sequence corresponding to the maximum reference accuracy is used as the primary reference sequence, and the other is the secondary reference sequence. The filling ratio of the primary reference sequence is obtained according to the difference in reference accuracy between the primary and secondary reference sequences. BB′ represents the difference in reference accuracy between the primary and secondary reference sequences. Since the reference accuracy B of the primary reference sequence is always greater than or equal to the reference accuracy B′ of the secondary reference sequence, BB′ is always greater than or equal to 0. When BB′ is greater than 0, the filling ratio of the primary reference sequence is The filling ratio K should be greater than the filling ratio K′ of the primary reference sequence. When BB′ is equal to 0, the filling ratio K of the primary reference sequence should be equal to the filling ratio K′ of the primary reference sequence. The larger BB′ is, the greater the difference in reference value of the two target reference sequences for missing data points. This means that the larger the filling ratio of the primary reference sequence, the smaller the filling ratio of the corresponding secondary reference sequence. Therefore, in one embodiment of the present invention, the sigmoid() function is selected as the mapping function of BB′, and sigmoid(BB′) is used as the filling ratio K of the primary reference sequence, and 1-K is used as the filling ratio K′ of the secondary reference sequence.
[0084] After obtaining the filling ratio of the target reference sequence according to the reference accuracy, the size of the interval range of missing data points on a target reference sequence can be adjusted according to the filling ratio corresponding to the target reference sequence, thereby obtaining a more appropriate interval range of missing data points on the target reference sequence.
[0085] Preferably, in one embodiment of the present invention, the method for obtaining the interval range of missing data points specifically includes:
[0086] In the target reference sequence, the data points adjacent to the missing data points are used as the reference data points of the missing data points; in the target reference sequence, the average of the differences between all adjacent data points in the target data points is used as the adjustment value, and the three times standard deviation of the target data points is used as the deviation value; the difference between the adjustment value and the deviation value is used as the initial adjustment lower limit, and the sum of the adjustment value and the deviation value is used as the initial adjustment upper limit; the product value of the initial adjustment lower limit and the filling ratio of the target reference sequence is used as the final adjustment lower limit, and the product value of the initial adjustment upper limit and the filling ratio of the target reference sequence is used as the final adjustment upper limit; the sum of the reference data point and the final adjustment lower limit is used as the filling lower limit of the missing data point, and the sum of the reference data point and the final adjustment upper limit is used as the filling upper limit of the missing data point; the filling lower limit is used as the left endpoint of the interval range, and the filling upper limit is used as the right endpoint of the interval range to obtain the interval range of the missing data points in the corresponding target reference sequence. The specific expression is:
[0087] r=[(P+(μ-3σ)×K), (P+(μ+3σ)×K)]
[0088] Among them, r represents an interval range of missing data points on the target reference sequence; P represents the reference data point of the missing data point on the target reference sequence; K represents the filling ratio corresponding to the target reference sequence; μ represents the average value of the difference between all adjacent data points of the target data point in the target reference sequence, that is, the adjustment value; σ represents the standard deviation of all target data points in the target reference sequence, and 3σ represents the deviation value.
[0089] In the process of obtaining the interval range of missing data points, P represents the reference data point of the missing data point on the target reference sequence, and is also the known data point adjacent to the missing data point in the target reference sequence. Because the reference data point is closest to the missing data point, the interval range of the missing data point on the target reference sequence is determined based on the reference data point P; the adjustment value μ is the change value of the missing data point relative to the reference data point P. The larger the adjustment value μ, the greater the change value of the missing data point relative to the reference data point P. μ-3σ is used as the initial adjustment lower limit, and μ+3σ is used as the initial adjustment upper limit, so as to obtain the value range of the adjustment value of the missing data point. The method of obtaining a value range by adding and subtracting three times the standard deviation from the mean is a common method. Then, the filling ratio corresponding to the target reference sequence is multiplied by the initial adjustment lower limit μ-3σ and the initial adjustment upper limit μ+3σ respectively, so as to appropriately enlarge the range between the initial adjustment lower limit and the initial adjustment upper limit. The larger the filling ratio corresponding to the target reference sequence, the greater the degree of enlargement of the range between the initial adjustment lower limit and the initial adjustment upper limit, and thus the larger the interval range of the missing data points on the target reference sequence. After the filling ratio is enlarged, P+(μ-3σ)×K is used as the left endpoint of the interval range, and P+(μ+3σ)×K is used as the right endpoint of the interval range.
[0090] The interval range of the corresponding missing data points is obtained through the filling ratio of each target reference sequence and the changing trend of the target data points, so that the missing data points have an interval range on the two target reference sequences. Then, in the subsequent process, the interval range of the missing data points can be further refined according to these two interval ranges to determine the filling data of the missing data points.
[0091] Preferably, in one embodiment of the present invention, the method for obtaining filling data of missing data points specifically includes:
[0092] The intersection of the two interval ranges of the missing data point is taken as the final interval range of the missing data point; if the final interval range is not an empty set, the central value of the final interval range is taken as the filling data of the missing data point, because the determined final interval range is an accurate and reference-oriented small range, so taking the center point as the reference data can reduce the error between the filling data and the real data; if the final interval range is an empty set, the central value of the interval range of the missing data point on the target reference sequence corresponding to the maximum reference accuracy is taken as the filling data of the missing data point.
[0093] The filling data of missing data points is obtained according to the changing trend of target data points in the target reference sequence, and different filling ratios are assigned considering that different target reference sequences have different reference values for predicting and filling missing data points, so that the error between the filling data and the real data is smaller, thereby improving the accuracy of subsequent base station positioning of users according to the filled data sequence.
[0094] Step S4: Position the user according to the filled data sequence, and adjust the visual focus of the multimedia device to the direction of the user.
[0095] After the base station fills the missing data points in the two data sequences sent back by the user, the filled data is closer to the real data, which improves the accuracy of user positioning. Therefore, the base station can directly locate the user based on the two filled data sequences using RIS-assisted wireless positioning technology. It should be noted that RIS-assisted wireless positioning technology is a technical means well known to those skilled in the art and will not be described in detail here.
[0096] After the base station obtains the user's accurate location, it can control the visual focus of the multimedia display device to the direction of the user, thereby increasing the user's success rate in controlling the multimedia device and improving the user's operating experience and teaching quality.
[0097] An embodiment of the present invention provides a multimedia teaching information equipment control system, which includes a memory, a processor and a computer program, wherein the memory is used to store the corresponding computer program, and the processor is used to run the corresponding computer program. When the computer program runs in the processor, it can implement the method described in steps S1 to S4.
[0098] In summary, the embodiment of the present invention first obtains all the missing data points in the data sequence, and uses the partial data sequence segmented from the missing data points as the reference sequence, obtains the reference accuracy of the reference sequence according to the change trend and change amplitude of the data points in the reference sequence, uses the two reference sequences adjacent to the missing data points as the target reference sequences of the missing data points, and obtains the filling ratio of each target reference sequence according to the reference accuracy difference between the two target reference sequences, obtains two interval ranges of the missing data points according to the filling ratio of each target reference sequence and the change trend of the target data points, determines the filling data of the missing data points according to the two interval ranges, and locates the user according to the filled data sequence. The embodiment of the present invention predicts and fills the missing data points according to the change trend of the target data points in the target reference sequence, and assigns different filling ratios to the target reference sequence, thereby reducing the error between the filled data and the real data, locates the user according to the filled data sequence, and improves the accuracy of user positioning.
[0099] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0100] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A method for controlling multimedia teaching information equipment, characterized in that: The method comprises: Receive a time-series data sequence returned by a user, and obtain all missing data points in the data sequence, where the missing data points divide the data sequence into at least two reference sequences; The reference accuracy of each reference sequence is obtained according to the change trend and change amplitude of the data points in each reference sequence; The two reference sequences adjacent to the missing data point are the target reference sequences of the missing data point; according to the reference accuracy difference between the two target reference sequences, the filling ratio of each target reference sequence of the missing data point is obtained, and the filling ratios of the two target reference sequences are negatively correlated with each other; the data points with the consistent change trend and the largest number of consecutive data points in each target reference sequence are used as the target data points on the target reference sequence; according to the filling ratio of each target reference sequence and the change trend of the target data point, the interval range corresponding to the missing data point is obtained; and the filling data of each missing data point is obtained according to the two interval ranges of the missing data point; Positioning the user according to the filled data sequence, and adjusting the visual focus of the multimedia device toward the direction of the user; The step of obtaining the reference accuracy of each reference sequence according to the change trend and change amplitude of the data points in each reference sequence comprises: The change trend consistency parameter of each reference sequence is obtained according to the sign of the difference between adjacent data points in each reference sequence; Obtaining the variation amplitude parameter of each reference series according to the difference between each data point and the overall data value in each reference series; The product of the change trend consistency parameter and the change amplitude parameter is used as the reference accuracy of each reference sequence; The method for obtaining the change trend consistency parameter of each reference sequence includes: Obtaining a binary sequence corresponding to each reference sequence according to the sign of the difference between adjacent data points in each reference sequence; the binary sequence is a binary sequence, the first mark value in the binary sequence indicates that the change trends of adjacent data points are the same, and the second mark value in the binary sequence indicates that the change trends of adjacent data points are different; The maximum length of the run of the first marker value in the binary sequence is used as a change trend consistency parameter of each reference sequence; The method for obtaining the binary sequence corresponding to each reference sequence includes: Starting from the data point corresponding to the earliest timestamp in the reference sequence, three adjacent and continuous data points are selected in sequence; The difference between the first two adjacent data points of the three data points is mapped by a sign function to obtain a first sign value; the difference between the second two adjacent data points of the three data points is mapped by a sign function to obtain a second sign value; the result of a logical operation between the first sign value and the second sign value is used as a mark value in the binary sequence; the next three consecutive data points are continuously selected in chronological order to obtain all the mark values of the binary sequence in the same way; Arranging all the label values in the order of acquisition to obtain a binary sequence corresponding to each reference sequence; The method for obtaining the variation amplitude parameter of each reference sequence includes: Obtaining the mean and standard deviation of all data points in each reference sequence; using the mean as the overall data value of each reference sequence; Taking the difference between each data point in the reference sequence and the overall data value as the deviation parameter of each data point; The fourth power of the ratio of the deviation parameter to the standard deviation is used as the standard deviation parameter of each data point; The average value of the standard deviation parameters of all data points in each reference sequence is taken as the variation amplitude parameter of each reference sequence; Positioning the user according to the filled data sequence includes: RIS-assisted wireless positioning technology is used to analyze the filled data sequence and locate the user.
2. A multimedia teaching information equipment control method according to claim 1, characterized in that: The step of obtaining the filling ratio of each target reference sequence with missing data points according to the reference accuracy difference between the two target reference sequences comprises: Among the two target reference sequences of missing data points, the target reference sequence corresponding to the maximum reference accuracy is used as the primary reference sequence of the missing data points, and the other target reference sequence is used as the secondary reference sequence of the missing data points; The difference between the reference accuracy of the primary reference sequence and the reference accuracy of the secondary reference sequence is mapped by a sigmoid function to obtain a filling ratio of the primary reference sequence; The difference between the constant 1 and the filling ratio of the primary reference sequence is taken as the filling ratio of the secondary reference sequence.
3. A method for controlling multimedia teaching information equipment according to claim 1, characterized in that: The method for obtaining the interval range of the missing data points includes: In the target reference sequence, the data points adjacent to the missing data points are used as reference data points for the missing data points; In the target reference sequence, the average value of the difference between all adjacent data points in the target data point is used as the adjustment value, and three times the standard deviation of the target data point is used as the deviation value; the difference between the adjustment value and the deviation value is used as the initial adjustment lower limit, and the sum of the adjustment value and the deviation value is used as the initial adjustment upper limit; The product value of the initial adjustment lower limit and the filling ratio of the target reference sequence is used as the final adjustment lower limit, and the product value of the initial adjustment upper limit and the filling ratio of the target reference sequence is used as the final adjustment upper limit; The sum of the reference data point and the final adjusted lower limit is used as the filling lower limit of the missing data point, and the sum of the reference data point and the final adjusted upper limit is used as the filling upper limit of the missing data point; The filling lower limit is used as the left endpoint of the interval range, and the filling upper limit is used as the right endpoint of the interval range to obtain the interval range of the missing data points on the corresponding target reference sequence.
4. A method for controlling multimedia teaching information equipment according to claim 1, characterized in that: The obtaining of filling data for each missing data point according to the two interval ranges of the missing data point comprises: The intersection of the two interval ranges of the missing data point is used as the final interval range of the missing data point; If the final interval range is not an empty set, the center value of the final interval range is used as the filling data of the missing data points; if the final interval range is an empty set, the center value of the interval range of the missing data points on the target reference sequence corresponding to the maximum reference accuracy value is used as the filling data of the missing data points.
5. A multimedia teaching information equipment control system, characterized in that: The system comprises: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 4 when executing the computer program.
