Method and device for merging network requests, and electronic equipment
Embodiments of the invention disclose a method and device for merging network requests, and electronic equipment, relate to the technical field of network communications, and are capable of improvingnetwork request speed. The method comprises the following steps: determining whether a batch mode is...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Embodiments of the invention disclose a method and device for merging network requests, and electronic equipment, relate to the technical field of network communications, and are capable of improvingnetwork request speed. The method comprises the following steps: determining whether a batch mode is enabled; if the batch mode is enabled, placing the network requests into a first queue; determiningwhether a preset batch condition is met; and if the preset batch condition is met, merging the network requests in the first queue. The invention is applicable to terminal equipment.
本发明的实施例公开种网络请求的合并处理方法、装置及电子设备,涉及网络通信技术领域,能够提高网络请求速度。所述方法包括:判断是否开启了批处理模式;若开启了批处理模式,则将网络请求放入第队列;判断是否满足预设批处理条件;若满足预设批处理条件,则将第队列中的网络请求进行合并处理。本发明适用于终端设备。 |
---|