The application discloses a
wireless smoke sensing device battery power prediction method and
system based on
deep learning, belongs to the technical field of
time series prediction, extracts the
smoke concentration detection value, the daily fire
alarm message reporting frequency and the total number of fire
alarm message reporting since the installation of the device from each device as three features related to the battery power of the
smoke sensing device, combines the
air temperature, the
wind speed, the
humidity and the local features of the device itself on the same day to arrange the features into
time series, divides the
time series into time series with days as the unit by using a sliding window, adds a plurality of buffer vectors at the beginning of the time series, inputs the buffer vectors into an improved self-
attention model, introduces a self-attention mechanism using the buffer vectors, and outputs the prediction result of the battery power. The improved self-attention
algorithm is used to make the output weight more balanced, improve the accuracy of the battery power prediction, and can also predict the battery power in real time, update the model regularly, and improve the stability and timeliness of the model.