Adaptive data communication method according to data size

The invention relates to an asynchronous data communication method in a client-server system based on JavaScript, in particular to a self-adaptive data communication method for setting a proper communication method according to the size of data, which comprises the following steps of: receiving a da...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LIM DAE-KEUN, YUN JUNG-MO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to an asynchronous data communication method in a client-server system based on JavaScript, in particular to a self-adaptive data communication method for setting a proper communication method according to the size of data, which comprises the following steps of: receiving a data request from a client; determining a data communication method according to the size of the requested data; informing the client of the determined communication method; and transmitting the data to the client through the determined communication method. According to the present invention, only required data can be received, and a suitable communication method can be automatically selected according to the size of the data, thereby minimizing network overhead. 本发明涉及一种基于JavaScript的客户端-服务器系统中异步数据通信方法,本发明的根据数据大小来设置适当的通信方法的自适应数据通信方法,包括以下步骤:接收来自客户端的数据请求;根据所述请求的数据的大小来确定数据通信方法;将确定的通信方法告知所述客户端;以及将所述数据通过所述确定的通信方法传输到所述客户端。根据本发明,可以仅接收所需的数据,并且可根据数据大小自动选择适合的通信方法,从而使网络开销最小化。