The invention discloses an index statistics method,
system and device for a sliding window based on a
big data processing framework and a storage medium. The index statistics method comprises the following steps: storing a plurality of parameters by using a state object in a mapWithstate operator, wherein the parameters comprise a time
linked list, a minimum value of the time
linked list, a maximum value of the time
linked list and an index statistics value; enabling a
big data processing framework to receive data, wherein each piece of data comprises to-be-counted index fields and corresponding timestamps, and a time chain table is used for storing the timestamps of the data according to a
time sequence; taking the received latest data as the current data; and updating the time linked
list, the minimum value, the maximum value and the index statistical value according to the
timestamp of the current data, the to-be-counted index field of the current data and a preset time window value, wherein the index statistical value is obtained through
multiplexing calculation. The calculated statistical value is reused, so that the calculation amount is reduced, the calculation speed is increased, the
delay is reduced, and the statistical requirement of the service can be responded more quickly.