CPC G06F 9/451 (2018.02) [G06F 3/0486 (2013.01); G06F 3/0488 (2013.01); H04L 51/08 (2013.01); H04L 51/52 (2022.05)] | 19 Claims |
1. A data transmission method, performed by a terminal, the method comprising:
displaying a target message in a session interface, the target message comprising a data resource;
outputting a resource transmission interface in response to a trigger operation on the target message, the resource transmission interface comprising an object display region and an icon display region; and the object display region comprising an object identifier of at least one transmission object, and the icon display region comprising a message icon corresponding to the target message, the transmission object being an object capable of receiving the data resource corresponding to the target message;
moving the message icon from the icon display region to the object display region according to a moving operation on the message icon, wherein the moving operation includes an operation of continuously pressing and dragging the message icon;
in response to the message icon being moved to the object display region, playing a transmission indication animation in the object display region according to a pressing duration for which the message icon is pressed in the object display region, the transmission indication animation indicating a remaining duration to wait until a transmission of the data resource corresponding to the target message; and
transmitting, after finishing playing the transmission indication animation, the data resource corresponding to the target message to a target transmission object of the at least one transmission object in the object display region, the target transmission object being determined according to a position of an end point of a movement track of the message icon corresponding to the moving operation.
|