摘要 |
Method and apparatus for data transmission based on sliding detection are disclosed. The method includes: when it is detected that a TimeLine scrolls on a screen of a user device, recording, by a message client, application a Message Cell visible on the screen; and determining, by the message client application, whether the Message Cell is still visible on the screen after a predefined time interval; if the Message Cell is still visible, downloading, by the message client, data corresponding to the Message Cell from a message server. An apparatus for data transmission based on slide detection includes a detecting module, a recording module, a determining module and a downloading module. Thus, downloading is avoided for the data corresponding to Message Cells that enters into then slides out of the screen quickly. Network data traffic of users is reduced and user's experience is improved. |