首页> 外国专利> Method for divisionally transmitting and processing data between client and server in JavaScript language based asynchronous communication environment

Method for divisionally transmitting and processing data between client and server in JavaScript language based asynchronous communication environment

机译:基于JavaScript语言的异步通信环境中客户端与服务器之间数据的分工传输方法

摘要

The present invention relates to a method and a system for divisionally transmitting and processing of massive data between a client and a server in a JavaScript language-based asynchronous communication environment, and a client executing the same. According to the present invention, the method comprises the following steps of: a) a server dividing data into constant units and transmitting the divided data to a buffer memory of a client; b) the client transmitting a reception response to the server when a reception event representing that the divided data is received in the client occurs; c) the server receiving the reception response restarting data division transfer to the client; d) generating a timer in the client when the reception event occurs first; and e) the client processing the data received in the buffer memory every time interval set in the timer. According to the present invention, in data transmission and processing between the service and the client in the JavaScript based asynchronous communication environment, blocking effect of making the server waited without transmitting next data after transmission of the data is minimized. Moreover, in a large-size data transmission and processing process between the server and the client, since the number of data processing is reduced, the performance of the client is enhanced.
机译:本发明涉及一种用于在基于JavaScript语言的异步通信环境中在客户端和服务器之间分段传输和处理海量数据的方法和系统,以及执行该方法和系统的客户端。根据本发明,该方法包括以下步骤:a)服务器将数据分割成恒定的单元,并将分割后的数据发送到客户端的缓冲存储器; b)当发生表示在客户端接收到分割数据的接收事件时,客户端向服务器发送接收响应; c)接收到接收响应的服务器重启数据分割传输给客户端; d)当接收事件最先发生时,在客户端产生一个定时器; e)客户端在定时器设置的每个时间间隔内处理缓冲存储器中接收到的数据。根据本发明,在基于JavaScript的异步通信环境中服务与客户端之间的数据传输和处理中,使得在数据传输之后使服务器等待而不传输下一数据的阻塞效果被最小化。此外,在服务器与客户端之间的大型数据传输和处理过程中,由于减少了数据处理的次数,因此提高了客户端的性能。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号