Data processing method and apparatus
Abstract:
Embodiments of this application provide a data processing method and apparatus. The method includes: receiving a first data packet sent by a control end, the first data packet including a first touch event and a first identifier of the first touch event; determining, according to the first touch event and the first identifier of the first touch event, whether a second data packet comprising a second touch event sequentially executed with the first touch event is lost; creating the second touch event corresponding to the second data packet in accordance with a determination that a second data packet has been lost; and processing the second touch event that has been created, so that a controlled end performs an application operation in accordance with a touch operation to which the second touch event belongs. In this way, control exceptions caused by packet losses are reduced.
Public/Granted literature
Information query
Patent Agency Ranking
0/0