Method for perceiving and recognizing navigation scenes of intelligent terminals

Through multi-classification SVM-HMM model and deep learning network, combined with navigation scene connectivity and behavioral characteristics, it solves the positioning problem of navigation scene perception technology in complex scenes, achieves high-precision navigation scene recognition and error reduction, and enhances Correctness of navigation scene recognition.

CN114998731BActive Publication Date: 2024-10-18WUHAN UNIV

Patent Information

Application Number
CN202210601762.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-30
Publication Date
2024-10-18
Estimated Expiration
2042-05-30

AI Technical Summary

Technical Problem

Existing navigation scene perception and recognition technology is difficult to provide high-precision positioning in complex scenes, especially in indoor and underground scenes, and the scene granularity is not enough to effectively cover the fuzzy areas of navigation scene switching, and the observation environment is not fully considered The connection with the carrier behavior leads to large errors in navigation scene recognition.

Method used

A multi-classification SVM-HMM model is used combined with a deep learning network to construct a navigation scene connectivity model by extracting observation environment and behavioral characteristic information. The SVM model is used to initially identify the scene, combined with the HMM model for smoothing, and a combined scene probability vector is constructed, and through LSTM The model extracts behavioral time domain and frequency domain characteristics to achieve accurate identification of navigation scenes.

Benefits of technology

It improves the utilization rate of smartphone sensors, reduces misrecognition of navigation scene switching, achieves accurate recognition of behavioral sensors, enhances the accuracy of navigation scene recognition, and can provide high-precision positioning services in indoor and outdoor underground scenes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114998731B_ABST
    Figure CN114998731B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for perceiving and identifying navigation scenes of intelligent terminals, including: constructing an SVM-HMM model taking into account the connectivity of navigation scenes based on multiple mobile phone sensor observation data, which can effectively reduce the recognition error of navigation scene switching and maximize sensor utilization; constructing an LSTM model taking into account the information of previous and next time steps to achieve rapid recognition of pedestrian behavior; combining behavior information with sensor observation characteristics to achieve a combination of multi-sensor scene recognition results; and constructing an HMM using the connection between environment and behavior to achieve smoothing of scene prediction results. The present invention can obtain more accurate real-time indoor, outdoor and underground navigation scene recognition results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of navigation scene recognition, and in particular relates to a method for sensing and recognizing navigation scenes of an intelligent terminal. Background Art

[0002] The Global Navigation Satellite System (GNSS) can already meet the positioning needs of open scenes, but it has inherent limitations and vulnerabilities, that is, it cannot provide high-precision positioning services in complex scenes with signal denial such as physical shielding and electromagnetic interference. As a terminal navigation enhancement technology, navigation scene perception effectively extracts the feature fingerprints of multiple PNT (Positioning, Navigation and Time) sensors, builds a highly reliable navigation scene perception model, and further realizes the adaptive configuration of navigation terminals in various complex scenes. It can be used to solve the problem of continuous and available high-precision positioning in complex scenes.

[0003] At present, navigation scene perception and recognition technology has become the focus of attention in the navigation field. As a mobile terminal, smartphones have a rich set of multi-PNT sensors and can provide very rich PNT information. In indoor scenes, GNSS is basically blocked and cannot provide positioning services. Other navigation sources must be selected to continue to improve positioning services. In addition, for smart terminals, if GNSS is still maintained, a lot of power consumption is required. Therefore, accurate identification of the navigation scene in which the mobile phone is located enables the terminal to complete the corresponding terminal sensor reconstruction according to different scenes, adjust the optimal positioning strategy, and achieve scene-adaptive seamless navigation positioning.

[0004] The general method of navigation scene perception is to first extract navigation scene feature fingerprints with differences and distinguishability through statistical methods such as time domain, frequency domain and geometry, and then use machine learning or deep learning methods to learn and predict the extracted navigation scene features. As a popular advanced learning method, machine (deep) learning models can effectively establish explicit mappings between various navigation scene feature information and corresponding navigation scene categories. In addition, thanks to the rapid development of GPU (Graphics Processing Unit) processors, deep learning has a powerful ability to process large amounts of data and learn complex models. At present, deep learning has been widely used in various navigation scene perception methods.

[0005] The current navigation scene perception and recognition algorithms mainly have the following problems:

[0006] 1) Current research basically focuses on indoor and outdoor scenes, and the present invention extends it to underground scenes; in addition, most of the research scenes are not granular enough, especially rarely covering the fuzzy area of ​​navigation scene switching;

[0007] 2) The behavior characteristics of smart terminals include time domain characteristics and frequency domain characteristics. The observation environments have scene connectivity in physical space, so there are also connectivity constraints in the previous and next time steps;

[0008] 3) Both the observation environment and the carrier behavior are important factors in the navigation scene, and the existing algorithms do not adequately consider the relationship between the two. In view of the above problems, it is urgent to develop a method for intelligent terminal navigation scene perception and recognition that can reduce the error of navigation scene recognition. Summary of the invention

[0009] The purpose of the present invention is to provide a method for sensing and identifying navigation scenes in a smart terminal in order to address the deficiencies in the prior art, thereby improving the utilization rate of sensors in smart phone terminals and reducing the errors in navigation scene recognition.

[0010] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0011] A method for sensing and identifying navigation scenes of an intelligent terminal comprises the following steps:

[0012] Step 1: extract the observation environment feature fingerprint from the observation value of the smart terminal sensor, build an SVM model based on each sensor according to the extracted observation environment feature fingerprint and preliminarily output the scene recognition result, then build an HMM model according to the scene recognition result, smooth the HMM model, and obtain multiple SVM-HMM scene prediction results;

[0013] Step 2: extracting behavior feature fingerprints from the observation values ​​of the behavior sensor of the smart terminal, processing the extracted behavior feature fingerprints to obtain time series of multiple behavior observation values ​​and time-frequency images of behavior features, extracting feature information from the obtained time series and time-frequency images respectively, and connecting the obtained feature information to obtain combined feature information, and inputting the combined feature information into the deep learning network to obtain the behavior category probability result;

[0014] Step 3: According to the probability results of each behavior category obtained in step 2, firstly determine the combination coefficients of various sensors using the behavior probability, and then combine the multiple SVM-HMM scene prediction results output in step 1 to obtain a combined scene probability vector;

[0015] Step 4, using the combined scene probability vector output from step 3 and the behavior category probability result from step 2 to construct the observation probability matrix of the HMM model, and complete the smoothing of the navigation scene recognition result.

[0016] Furthermore, in step 1, an SVM model is constructed for each sensor, and the prediction result of a single SVM model is expressed as:

[0017]

[0018] In the above formula, x represents the input navigation scene feature data, x j ,y j They correspond to the input data and labels of the samples, α ij and b are the SVM parameters to be determined, respectively, and φ is the nonlinear kernel function;

[0019] According to the output results of the SVM model, the distance to the separation plane is further normalized to the probability of each scene category:

[0020]

[0021] In the above formula, A and B are the parameters to be determined. Since this formula is valid for all samples x, the parameters to be determined can be solved by the least squares method to obtain the probability of each scene category.

[0022] Furthermore, step 1 also includes:

[0023] The HMM model of scene connectivity is constructed based on the probability of scene categories identified by the SVM model and the scene categories. The navigation scene connectivity relationship in the HMM model is represented by setting the state probability transfer matrix. The state probability transfer matrix is ​​as follows:

[0024]

[0025] In the above formula, the matrix element x ij The meaning is scene x j Switch to scene x i The probability that x ij When the corresponding probability is 0, even if a scene misidentification occurs in the current epoch, the misidentification result is filtered out through the state probability transfer matrix;

[0026] Based on the Viterbi algorithm, the HMM model is trained and multiple groups of SVM-HMM outputs and smoothed scene category probability vector results are obtained:

[0027]

[0028] In the above formula, n represents the number of sensors, m represents the number of scene categories, Represents the scene probability vector prediction result of sensor i.

[0029] Furthermore, step 2 specifically includes:

[0030] Extracting the time series of behavior observation values ​​through a sliding window, extracting behavior frequency domain feature fingerprint information through methods including but not limited to discrete Fourier transform and wavelet transform, then extracting the time series features through a convolutional neural network (CNN) to obtain a time domain feature map of the behavior, and extracting the frequency domain feature fingerprint information to obtain a feature map, then performing a Flatten operation (flattening multidimensional vector data into a one-dimensional vector) on the feature map and connecting it with the time domain feature map to obtain feature information that combines both the time domain and the frequency domain;

[0031] The obtained feature information is input into the LSTM model to obtain the LSTM hidden layer information, and then the fully connected layer and softmax layer are added to realize the mapping of the LSTM hidden layer information to the scene category, so as to obtain the behavior category probability result.

[0032] Furthermore, in step 3, for a certain sensor s i For each behavior category, a combination coefficient is determined For each scene category x j , the scene probability vector prediction result after multi-sensor SVM-HMM combination is obtained as follows:

[0033]

[0034] Indicates sensor i For scene category x j The scene probability vector prediction result.

[0035] Furthermore, step 4 specifically includes:

[0036] Step 4.1, construct the observation probability matrix of the HMM model according to the scene probability vector output from step 3 and the behavior category probability result from step 2, and start epoch-by-epoch scene state smoothing;

[0037] Step 4.2: For each epoch, first correct the state probability transfer matrix according to the behavior probability, and then complete the scene state transfer and behavior observation prediction;

[0038] Step 4.3, repeat step 4.2 until the observation probability matrix of the HMM model converges.

[0039] Furthermore, indoor, outdoor and underground scenes are subdivided into five categories: outdoor, semi-outdoor, indoor, semi-outdoor underground and underground.

[0040] Compared with the prior art, the present invention has the following beneficial effects:

[0041] 1) A multi-classification SVM-HMM model that takes into account the connectivity of navigation scenarios is adopted to improve the utilization rate of smartphone sensors and effectively reduce the misidentification of navigation scenario switching;

[0042] 2) Designed a deep learning network including convolutional layers, LSTM, and fully connected layers to extract time domain and frequency features of behavioral sensors, and built an "end-to-end" neural network model to achieve accurate behavior recognition;

[0043] 3) Use behavioral information to determine the combination coefficients of the multi-sensor SVM-HMM to achieve the optimal information combination of various sensors; use the scene correlation between the observed environment and the carrier behavior to construct the HMM to achieve smooth prediction results and effectively improve the recognition accuracy of the navigation scene. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 The overall structure diagram of the method for sensing and identifying navigation scenes of a smart terminal in an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of navigation scene connection in an embodiment of the present invention;

[0046] Figure 3 : is a HMM structure diagram in an embodiment of the present invention;

[0047] Figure 4 It is a flow chart of the multi-sensor SVM-HMM observation environment detection algorithm in an embodiment of the present invention;

[0048] Figure 5 LSTM network structure diagram in an embodiment of the present invention;

[0049] Figure 6 It is a structural diagram of a carrier behavior deep learning network model in an embodiment of the present invention;

[0050] Figure 7 is a flow chart of a carrier behavior detection algorithm in an embodiment of the present invention;

[0051] Figure 8 This is a flow chart of a multi-sensor SVM-HMM observation environment probability combination algorithm in an embodiment of the present invention;

[0052] Fig. 9 Flow chart of the HMM smoothing algorithm combining environment and behavior in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0055] The present invention will be further described below in conjunction with specific embodiments, but the present invention is not limited thereto.

[0056] like Figure 1 As shown, an embodiment of the present invention provides a method for sensing and identifying navigation scenes of an intelligent terminal, comprising the following steps:

[0057] 1. Multi-classification SVM-HMM observation environment detection method considering the connectivity of navigation scenes

[0058] In this embodiment, a mobile phone is used as an intelligent terminal for explanation, but it is of course not limited to mobile phones. At present, the built-in environmental sensors of mobile phones mainly include GNSS, light, pressure, magnetic field strength, Wi-Fi and Bluetooth. Although there are a variety of sensors that can be used for navigation scene classification, studies have shown that the above sensors have limitations. For example, the classification performance of GNSS is very good, but the energy consumption is high; the Wi-Fi and Bluetooth signals in indoor and outdoor scenes vary greatly, but due to the limitations of wireless signal propagation, when the carrier and the Wi-Fi signal source move relative to each other, the Wi-Fi and Bluetooth signals fluctuate greatly, and the method is not stable; the pressure sensor has similar problems, but the reason is more because of the movement of the carrier in the vertical direction, such as going up and down stairs; the problem with the light sensor is that other influencing factors such as occlusion, artificial / natural light sources, time, etc. need to be considered. Despite the various problems, the above sensors do have sensor feature information that can be used for scene differentiation. Therefore, this embodiment constructs a multi-sensor navigation scene recognition model, which specifically includes:

[0059] First, the observation environment feature fingerprint is extracted from the observation value of the smart terminal sensor. According to the extracted observation environment feature fingerprint, an SVM model is constructed for each sensor. SVM is a classification model that constructs the maximum margin separation hyperplane based on the sample feature vector. The prediction result of a single SVM model can be expressed as follows:

[0060]

[0061] In the above formula, x represents the input navigation scene feature data, x j andj are the input data and labels of the samples, α ij and b are the parameters to be determined for SVM, and φ is a nonlinear kernel function. The output of SVM essentially describes the distance from the sample point to the separation hyperplane, so the following formula can further reduce the distance to the separation plane to the probability of each scene category:

[0062]

[0063] In the above formula, A and B are the parameters to be determined. Since the formula is valid for all samples x, the parameters to be determined can be solved by the least squares method to obtain the probability of each scene category.

[0064] For indoor, outdoor and underground scenes, in this embodiment, the indoor, outdoor and underground scenes are subdivided into five categories: outdoor, semi-outdoor, indoor, semi-outdoor underground and underground. Figure 2 As shown in the figure, it can be found that there is no connectivity between indoor and semi-indoor and outdoor and semi-underground and underground. On the other hand, from the perspective of GNSS signal characteristics, the meaning of scene connectivity is that these two types of scenes are similar in feature domains. If no means are used to distinguish them, it is easy to cause scene misclassification. Therefore, this embodiment further constructs the following based on SVM classification: Figure 3 The HMM model based on scene categories is shown in Figure 1. The statistical basis of HMM is the first-order Markov chain, which is based on the condition that the scene of a certain epoch depends only on the scene of the previous epoch. HMM contains observation information chain and state information chain. The state information of each epoch is transmitted on the state chain through the state probability transfer matrix, and the observation can only be given by the state at the same time. Here, the observation information and state information correspond to the scene category probability and scene category respectively, and the corresponding mapping is the argmax function.

[0065] In HMM, based on Figure 2 The navigation scene connection relationship diagram can be set as follows. For different data sets, the specific transfer probability will fluctuate due to the different data proportions of various scene categories in the sample. In theory, it is necessary to collect an absolute amount of data to count the probability of switching between different scenes to determine the state probability transfer matrix. The constructed state probability transfer matrix is ​​as follows:

[0066]

[0067] In the above formula, the matrix element x ij The meaning is scene x j Switch to scene x i The probability of

[0068] In this embodiment, the state probability transfer matrix is ​​simply determined based on empirical knowledge as follows:

[0069]

[0070] In the above formula, when the matrix element x ij When the corresponding probability is 0, even if a scene misrecognition occurs in the current epoch, the erroneous recognition result can be filtered out through the state probability transfer matrix.

[0071] In HMM, the Markov chain completes the learning and training of the model based on the Viterbi algorithm. The algorithm mainly uses the Expectation Maximum (EM) algorithm to gradually find the maximum likelihood estimate of the unobservable parameters. The method structure diagram is shown in Figure 3 As shown in the figure, the specific approach is to find the maximum probability observation state O controlled by the hidden state chain S. The calculation method is to iteratively optimize the HMM parameters through the expected maximum of each epoch. Finally, multiple groups of SVM-HMM outputs and smoothed scene category probability vector results can be obtained:

[0072]

[0073] In the above formula, n represents the number of sensors and m represents the number of scene categories; Represents the scene probability vector prediction result of sensor i.

[0074] The specific method flow chart is as follows Figure 4 As shown, the steps are as follows:

[0075] Step 1.1, extracting the observation environment feature fingerprint from the mobile phone sensor observation value, including GNSS feature fingerprint, Wi-Fi feature fingerprint, pressure feature fingerprint, illumination feature fingerprint, etc.;

[0076] Step 1.2, based on each type of environmental feature fingerprint, the sensor constructs SVM and outputs the probability of each scene category;

[0077] Step 1.3, construct an HMM model of scene connectivity to smooth the scene prediction results to obtain multiple SVM-HMM scene probability results.

[0078] 2. Pedestrian Behavior Recognition Method Based on Deep Learning Network Model

[0079] The behavioral sensors of smartphone terminals include acceleration, angular velocity, and gravity acceleration. The sampling frequency of the observation values ​​of general mobile phone sensors is 50Hz, which is much higher than the sampling frequency of environmental sensors. Therefore, it is necessary to first extract the time series of behavioral observation values ​​through a sliding window. In addition to the differences in time domain statistical characteristics, the differences between different behavior categories are also caused by the differences in the main frequencies of different human behaviors. Therefore, frequency domain feature fingerprint information can be extracted through frequency domain feature extraction methods such as discrete Fourier transform and wavelet transform.

[0080] The ultimate goal of deep learning networks is to build an "end-to-end" neural network model, so as to directly establish a mapping model from raw observation data to navigation scene categories. Convolutional Neural Network (CNN), as a neural network model widely used for image feature learning, can learn feature information from raw images through convolution operations, and is very suitable for the extraction of abstract features. On the one hand, the application of CNN is generally in the field of images, that is, two-dimensional CNN, but one-dimensional CNN can also be used to extract features from time series; on the other hand, the time-frequency signal graph of the behavior can be obtained through the sliding window method and the Fourier transform method used above. The time-frequency graph describes the characteristics of the frequency and amplitude of the signal changing over time. For video images, two-dimensional CNN can be used to extract features from the frequency domain image to obtain a feature map. After the feature map is Flattened (the multi-dimensional vector data is "flattened" into a one-dimensional vector), it can be connected with the time domain feature map to obtain feature information that combines both the time domain and the frequency domain.

[0081] Convolution operation can realize the extraction of abstract features, while LSTM model can learn the connection between behavioral feature information between epochs (also called time steps). In terms of behavioral problems, the present invention chooses to use LSTM model instead of HMM model. The reason is that although the behavioral sensor observation values ​​are connected in time steps, the feature data in sliding windows corresponds to scene categories, and there is no connection between scene categories. Therefore, it is necessary to use LSTM model with stronger learning ability. The structure of LSTM model is as follows: Figure 5 As shown in the figure, its structure mainly includes forget gate, update gate and output gate. The LSTM model is different from the HMM model in that it selectively transmits hidden layer information over a considerable time step through memory cells. The main calculation formula of the LSTM model is as follows:

[0082] First, the update scale factor i is calculated in the update gate and the forget gate respectively. t and the forgetting scale factor f t :

[0083] i t =σ(W i ·[h t-1,x t ]+b i );

[0084] f t =σ(W f ·[h t-1 ,x t ]+b f );

[0085] In the above formula, W i , W f They correspond to the weight matrices of the update gate and the forget gate, respectively, i and b f They correspond to the bias matrices respectively; h t-1 It represents the hidden layer state at the previous moment, x t represents the input data at the current moment, and σ represents a nonlinear mapping that converts the linear relationship into a nonlinear problem. Then, the memory cell state is updated. First, the update information of the memory cell at the current moment is calculated. Then according to the memory cell state C at the previous moment t-1 , and update the scaling factor i t and the forgetting scale factor f t To get the current state of the memory cell C t , as follows:

[0086]

[0087]

[0088] In the above formula, W C , b C They correspond to the updated weights and biases of the memory cells respectively, and the others are the same as the previous formula; finally, the result of the output gate is calculated and the hidden layer state is updated:

[0089] o t =σ(W o ·[h t-1 ,x t ]+b o )

[0090] h i =o t *tanh(C t )

[0091] In the above formula, W o , b o are the weights and biases of memory cell updates, and the others are the same as above. From the above formulas, we can see that LSTM is also a similar "hidden state propagation chain", in which the C tIt is equivalent to a proportional factor that includes historical state information and current state information, which determines the degree to which the hidden state is forgotten; Figure 5 middle, y t is the output of the neural network, which corresponds to the probability of classification in this method.

[0092] After LSTM, the present invention continues to add a fully connected layer (linear) and a softmax layer to realize the mapping of LSTM hidden layer information to scene categories. At this point, the complete deep learning network structure is as follows: Figure 6 As shown. In the learning and training of the model, it is also necessary to adjust hyperparameters such as learning rate and weight decay, and select different loss functions and optimizers for optimization.

[0093] The specific method flow chart is as follows Figure 7 As shown, the steps are as follows:

[0094] Step 2.1, extracting a behavior sensor observation value sequence from the original mobile phone behavior sensor observation value by a sliding window method;

[0095] Step 2.2, obtaining the time-frequency image of the behavior sensor through discrete Fourier transform;

[0096] In step 2.3, the time series and time-frequency image data of the behavior sensor observations are input into the deep learning network to obtain the behavior category probability results.

[0097] 3. Adaptive combination of multiple SVM-HMM results

[0098] This section determines the combination coefficient of SVM-HMM based on the behavior probability output of step 2. As mentioned above, the confidence level of each sensor recognition result under different behaviors is different. Therefore, the core of this section is to analyze the signal quality of different sensors and different behaviors. i For each behavior category, there is a combination coefficient to be determined. Specifically, since the influence of the observation environment or carrier behavior on the sensor is known, in the training and learning stage, a combination coefficient with empirical properties can be determined by analyzing the classification performance of each sensor. Therefore, for each scene category, the scene probability vector prediction result after multi-sensor SVM-HMM combination can be obtained as follows:

[0099]

[0100] In the formula, Indicates sensor i For scene category x j The scene probability vector prediction result.

[0101] The specific method flow chart is as follows Figure 8 The experimental steps are as follows

[0102] Step 3.1, determine the combination coefficient of each sensor according to the probability of each behavior;

[0103] Step 3.2, calculate the combined SVM-HMM scene prediction probability based on the scene probability vector output by the multi-sensor SVM-HMM calculated above and the combination coefficient in step 3.1.

[0104] 4. HMM smoothing of environment and behavior association

[0105] HMM describes the maximum likelihood inference problem of the implicit state chain under the explicit observation state chain. This connotation also applies to the environment and behavior. For example, if a person is going up and down the stairs, then he is most likely indoors or semi-underground; if he is running, he is more likely to be outdoors, less likely to be semi-indoor and outdoor, semi-underground, and even less likely to be indoors or underground; by recursion, we can get the behavior probability corresponding to various scenarios. In this problem, the behavior is used as observation and the environment is used as state to form the observation probability matrix of the HMM model. First, in this example, assume that the HMM observation probability matrix mapped from the navigation scene to the behavior is as follows:

[0106]

[0107] This matrix describes the probability of navigation scenario categories corresponding to various behaviors. It is worth noting that unless the sample is large enough, the elements of the above observation probability matrix are affected by the proportion of various types of data in the sample; another way to construct the matrix is ​​to determine it according to the proportion of various types of behavior data in various scenarios in the sample. The calculation formula for each element of the matrix is ​​as follows (under the condition of a large enough sample, these two construction methods should be equivalent):

[0108]

[0109] In the above formula, p ij Indicates that the scene state is Context i The corresponding behavior is Activity j P(Context i ,Activity j ) indicates Context i and Activity j The joint probability, P(Context i ) indicates Context i The probability of

[0110] For each epoch state probability transfer matrix, since the state of the carrier of the stationary behavior remains unchanged, the following epoch-by-epoch state probability transfer correction can be constructed:

[0111] X t =P standing ·I+(1-P standing )·X t-1 ;

[0112] In the above formula, I represents the unit matrix, X t represents the state probability transfer matrix of the current epoch, X t-1 represents the state probability transfer matrix of the previous epoch, P standing represents the probability that the carrier is stationary.

[0113] The specific method flow chart is as follows Fig. 9 As shown, the experimental steps are as follows:

[0114] Step 4.1, determine the observation probability matrix of the HMM model based on the sample set, and start epoch-by-epoch scene state smoothing;

[0115] Step 4.2: For each epoch, first correct the state probability transfer matrix according to the behavior probability, and then complete the scene state transfer and behavior observation prediction;

[0116] Step 4.3, repeat step 4.2 until the observation probability matrix of the HMM model converges.

[0117] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of the specification of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for sensing and identifying navigation scenes of an intelligent terminal, characterized in that: The steps include: Step 1: extract the observation environment feature fingerprint from the observation value of the smart terminal sensor, build an SVM model based on each sensor according to the extracted observation environment feature fingerprint and preliminarily output the scene recognition result, then build an HMM model according to the scene recognition result, smooth the HMM model, and obtain multiple SVM-HMM scene prediction results; Step 2: extracting behavior feature fingerprints from the observation values ​​of the behavior sensor of the smart terminal, processing the extracted behavior feature fingerprints to obtain time series of multiple behavior observation values ​​and time-frequency images of behavior features, extracting feature information from the obtained time series and time-frequency images respectively, and connecting the obtained feature information to obtain combined feature information, and inputting the combined feature information into the deep learning network to obtain the behavior category probability result; Step 3: According to the probability results of each behavior category obtained in step 2, firstly determine the combination coefficients of various sensors using the behavior probability, and then combine the multiple SVM-HMM scene prediction results output in step 1 to obtain a combined scene probability vector; Step 4, using the combined scene probability vector output from step 3 and the behavior category probability result from step 2 to construct the observation probability matrix of the HMM model, and complete the smoothing of the navigation scene recognition result.

2. The method for intelligent terminal navigation scene perception and recognition according to claim 1, characterized in that: In step 1, an SVM model is constructed for each sensor, and the prediction result of a single SVM model is expressed as: In the above formula, x represents the input navigation scene feature data, x j ,y j They correspond to the input data and labels of the samples, α ij and b are the SVM parameters to be determined, respectively, and φ is the nonlinear kernel function; According to the output results of the SVM model, the distance to the separation plane is further normalized to the probability of each scene category: In the above formula, A and B are the parameters to be determined. Since this formula is valid for all samples x, the parameters to be determined can be solved by the least squares method to obtain the probability of each scene category.

3. The method for intelligent terminal navigation scene perception and recognition according to claim 1, characterized in that: Step 1 also includes: The HMM model of scene connectivity is constructed based on the probability of scene categories identified by the SVM model and the scene categories. The navigation scene connectivity relationship in the HMM model is represented by setting the state probability transfer matrix. The state probability transfer matrix is ​​as follows: In the above formula, the matrix element x ij The meaning is scene x j Switch to scene x i The probability that x ij When the corresponding probability is 0, even if a scene misidentification occurs in the current epoch, the misidentification result is filtered out through the state probability transfer matrix; Based on the Viterbi algorithm, the HMM model is trained and multiple groups of SVM-HMM outputs and smoothed scene category probability vector results are obtained: In the above formula, n represents the number of sensors, m represents the number of scene categories, Represents the scene probability vector prediction result of sensor i.

4. The method for intelligent terminal navigation scene perception and recognition according to claim 1, characterized in that: Step 2 specifically includes: Extracting the time series of behavior observation values ​​through a sliding window, extracting behavior frequency domain feature fingerprint information through methods including but not limited to discrete Fourier transform and wavelet transform, then extracting the time series features through a convolutional neural network (CNN) to obtain a time domain feature map of the behavior, and extracting the frequency domain feature fingerprint information to obtain a feature map, then performing a Flatten operation on the feature map and connecting it with the time domain feature map to obtain feature information that combines both the time domain and the frequency domain; The obtained feature information is input into the LSTM model to obtain the LSTM hidden layer information, and then the fully connected layer and softmax layer are added to realize the mapping of the LSTM hidden layer information to the scene category, so as to obtain the behavior category probability result.

5. The method for intelligent terminal navigation scene perception and recognition according to claim 1, characterized in that: In step 3, for a certain sensor s i For each behavior category, a combination coefficient is determined For each scene category x j , the scene probability vector prediction result after multi-sensor SVM-HMM combination is obtained as follows: In the formula, Indicates sensor i For scene category x j The scene probability vector prediction result.

6. The method for intelligent terminal navigation scene perception and recognition according to claim 1, characterized in that: Step 4 specifically includes: Step 4.1, construct the observation probability matrix of the HMM model according to the scene probability vector output from step 3 and the behavior category probability result from step 2, and start epoch-by-epoch scene state smoothing; Step 4.2: For each epoch, first correct the state probability transfer matrix according to the behavior probability, and then complete the scene state transfer and behavior observation prediction; Step 4.3, repeat step 4.2 until the observation probability matrix of the HMM model converges.

7. The method for intelligent terminal navigation scene perception and recognition according to claim 1, characterized in that: Indoor, outdoor and underground scenes are subdivided into five categories: outdoor, semi-outdoor, indoor, semi-outdoor underground and underground.

Citation Information

Patent Citations

  • Behavior perception system and method thereof

    CN106960473A

  • Small sample remote sensing image scene classification method based on embedded smooth graph neural network

    CN114067160A

Cited By

  • Educational administration data dynamic classification processing method and device and storage medium

    CN122633926A