Web page state updating method and device based on distributed instant push
The invention belongs to the technical field of big data, and provides a Web page state updating method and device based on distributed instant push, and the method comprises the steps: receiving a long connection request sent by a client Web page; in response to the long connection request, randoml...
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: | The invention belongs to the technical field of big data, and provides a Web page state updating method and device based on distributed instant push, and the method comprises the steps: receiving a long connection request sent by a client Web page; in response to the long connection request, randomly sending the long connection request to a plurality of servers to establish a plurality of long connections; respectively establishing a first mapping between the server address and the client number and a second mapping between the client number and the long connection number according to the long connection; and when the server performs synchronous or asynchronous data updating, pushing the updated data of the server to the Web page of the client according to the first mapping and the second mapping. The invention overcomes the defects and deficiencies of the Web page state updating method in the prior art, and provides a real-time, reliable and high-availability complex Web page state updating method.
本发明属于大数据技 |
---|