This disclosure relates to a method, apparatus, device, and medium for
processing data stream requests. The method provided in the embodiments of this disclosure determines the
data source based on the refresh type in the
data stream request and pulls a candidate set from the
data source. This achieves filtering of the
data source through the refresh type, thereby ensuring that the
data content in the candidate set pulled each time is different. At the same time, based on the state transition conditions satisfied by the key information of the candidate set, the refresh type is switched, so that when the
server receives the next
data stream request sent by the
client, it pulls the candidate set again according to the refresh type after the switch. This does not take up too much browsing time for the operator and can ensure that the operator can effectively learn from the pushed
data content, thus improving the operator's browsing experience.