WO2022042183A1 - 数据传输方法、装置、终端及存储介质 - Google Patents

数据传输方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2022042183A1
WO2022042183A1 PCT/CN2021/108878 CN2021108878W WO2022042183A1 WO 2022042183 A1 WO2022042183 A1 WO 2022042183A1 CN 2021108878 W CN2021108878 W CN 2021108878W WO 2022042183 A1 WO2022042183 A1 WO 2022042183A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
target
icon
display area
transmission
Prior art date
Application number
PCT/CN2021/108878
Other languages
English (en)
French (fr)
Inventor
伍芷滢
孙雪君
陈锦辉
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to EP21860023.7A priority Critical patent/EP4099662A4/en
Publication of WO2022042183A1 publication Critical patent/WO2022042183A1/zh
Priority to US17/964,393 priority patent/US11928485B2/en
Priority to US18/390,068 priority patent/US20240202013A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]

Definitions

  • the present application relates to the field of Internet technologies, in particular to the field of communication technologies, and in particular, to a data transmission method, a data transmission device, a terminal, and a computer storage medium.
  • social clients have been widely recognized for their advantages of convenient communication; at present, most social clients support cross-end transmission of data resources.
  • user A wants to use the social client in the target terminal to transmit the data resource of a message in the target session to other terminals (such as another terminal of user A or the terminal of user B)
  • the user needs to A first performs a trigger operation on the message to trigger the social client to output a menu option including a forwarding component; then clicks the forwarding component to trigger the social client to output the object selection interface, and execute object selection and forwarding confirmation in the object selection interface
  • the data resources of the message can be transmitted to other terminals.
  • An embodiment of the present application provides a data transmission method, which is executed by a terminal, and the method includes:
  • the target message including a data resource
  • a resource transmission interface is output;
  • the resource transmission interface includes an object display area and an icon display area;
  • the object display area includes an object identifier of at least one transmission object, and the icon display area Including a message icon corresponding to the target message; wherein, the transmission object is an object that can receive the data resource corresponding to the target message;
  • the data resource corresponding to the target message is transmitted to the target transmission object in the object display area, where the target transmission object is based on the movement track of the message icon
  • the position of the end point is determined from at least one transmission object in the object display area.
  • An embodiment of the present application provides a data transmission device, and the device includes:
  • a display unit for displaying a target message in the conversation interface, the target message including a data resource
  • the display unit is configured to output a resource transmission interface in response to a triggering operation on the target message;
  • the resource transmission interface includes an object display area and an icon display area;
  • the object display area includes at least one object for transmitting objects
  • the icon display area includes a message icon corresponding to the target message; wherein, the transmission object is an object that can receive the data resource corresponding to the target message;
  • the display unit is further configured to move the message icon from the icon display area to the object display area according to the moving operation for the message icon;
  • a processing unit configured to transmit the data resource corresponding to the target message to the target transmission object in the object display area in response to the message icon being moved to the object display area, the target transmission object is based on the The position of the end point of the movement track of the message icon is determined from at least one transmission object in the object display area.
  • An embodiment of the present application provides a terminal, where the terminal includes an input device and an output device, and the terminal further includes:
  • a processor adapted to implement one or more instructions
  • a computer storage medium where one or more instructions are stored in the computer storage medium, and the one or more instructions are suitable for being loaded by the processor and executing the steps of the data transmission method described in the embodiments of the present application.
  • the embodiments of the present application provide a computer storage medium, where the computer storage medium stores one or more instructions, and the one or more instructions are suitable for being loaded by a processor and executing the data transmission method described in the embodiments of the present application A step of.
  • FIG. 1 is a system architecture diagram of a communication session system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment of the present application.
  • 3a is a schematic diagram of a positional relationship between a resource transmission interface and a session interface provided by an embodiment of the present application
  • 3b is a schematic diagram of the arrangement of an object display area and an icon display area in a resource transmission interface provided by an embodiment of the present application;
  • 3c is a schematic diagram of the arrangement of another object display area and an icon display area in a resource transmission interface provided by an embodiment of the present application;
  • FIG. 3d is a corresponding relationship diagram between an icon style of a message icon and a message parameter provided by an embodiment of the present application;
  • 3e is a schematic output diagram of a resource transmission interface provided by an embodiment of the present application.
  • 3f is a schematic output diagram of another resource transmission interface provided by an embodiment of the present application.
  • 3g is a schematic output diagram of another resource transmission interface provided by an embodiment of the present application.
  • FIG. 3h is an output schematic diagram of another resource transmission interface provided by an embodiment of the present application.
  • 3i is a schematic diagram of movement of a message icon provided by an embodiment of the present application.
  • 3j is a schematic diagram of a quick movement button provided by an embodiment of the present application.
  • 3k is a schematic diagram of movement of another message icon provided by an embodiment of the present application.
  • FIG. 31 is a schematic diagram of a movement track of a message icon provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a data transmission method provided by another embodiment of the present application.
  • 5a is a schematic diagram of displaying a first prompt in an image display area provided by an embodiment of the present application.
  • 5b is a schematic diagram of returning from a resource transmission interface to a session interface provided by an embodiment of the present application.
  • 5c is a schematic diagram of highlighting a sub-region where a message icon is located, provided by an embodiment of the present application.
  • 5d is another schematic diagram of highlighting the sub-region where the message icon is located, provided by an embodiment of the present application.
  • 5e is a schematic diagram of state switching of a session identifier of another session provided by an embodiment of the present application.
  • 5f is a schematic diagram of playing a transmission indication animation provided by an embodiment of the present application.
  • 5g is a schematic diagram of playing another transmission indication animation provided by an embodiment of the present application.
  • 5h is a schematic diagram of playing another transmission indication animation provided by an embodiment of the present application.
  • 5i is a schematic diagram of playing a resource transmission animation provided by an embodiment of the present application.
  • 5j is a schematic diagram of playback of another resource transmission animation provided by an embodiment of the present application.
  • 5k is a schematic diagram of playback of another resource transmission animation provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a data transmission method provided by another embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a data transmission apparatus provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a terminal provided by an embodiment of the present application.
  • a communication session system is involved; the so-called communication session may also be referred to as a session, which refers to a dialogue in which at least two users exchange and transmit information through a certain behavior or medium.
  • the communication session system may include: at least two terminals 11 and a server 12; any communication method between any terminal 11 and the media server 12 may be implemented, for example, based on the 3rd Generation Partnership Project (3rd Generation Partnership Project) Generation Partnership Project, 3GPP), Long Term Evolution (Long Term Evolution, LTE), Worldwide Interoperability for Microwave Access (WiMAX) mobile communications, or based on the TCP/IP Protocol Suite (TCP/IP Protocol Suite, TCP/ IP), user datagram protocol (User Datagram Protocol, UDP) protocol computer network communication, and so on.
  • 3rd Generation Partnership Project 3rd Generation Partnership Project
  • 3GPP 3rd Generation Partnership Project
  • LTE Long Term Evolution
  • WiMAX Worldwide Interoperability for Microwave Access
  • TCP/IP Protocol Suite TCP/IP Protocol Suite, TCP/ IP
  • UDP User Datagram Protocol
  • the terminal 11 refers to any device with communication function and human-computer interaction function, which may specifically include but not limited to: smart TV, smart phone, tablet computer, notebook computer, desktop computer, and so on.
  • a social client can be installed and run in the terminal 11, where the social client refers to an application software (application, APP) that can realize information interaction between users in a communication session through a network; it can specifically include any of the following Types: instant messaging client (such as Tencent QQ client, WeChat client, enterprise WeChat client), and content sharing client (such as Weibo client, blog client), etc.;
  • instant messaging client such as Tencent QQ client, WeChat client, enterprise WeChat client
  • content sharing client such as Weibo client, blog client
  • a terminal service for two or more people to use the network to instantly transmit text, files, voice and other information, as well as audio and video exchanges.
  • the terminal 11 may also run various other clients, such as a video client, a music playing client, a shopping client, and so on.
  • the server 12 refers to a device that can establish a communication session between social clients running in at least two terminals 11, and provide multiple services such as data storage, message push, and resource push for each social client; it may specifically include But not limited to: data server, web server, application server, cloud server, etc. It should be understood that, when the server 12 is physically deployed, the server may be deployed as an independent service device, or the server 12 may be deployed as a cluster device composed of multiple service devices, which is not limited in this embodiment of the present application.
  • the user operation process involved in the related data transmission method is relatively cumbersome, and its resource transmission efficiency is low.
  • the embodiments of the present application provide a data transmission method, device, terminal and medium, which can effectively simplify the user operation process of resource transmission and improve the efficiency of resource transmission.
  • the resource transmission scheme can be executed by a terminal in the above communication session system, or a social client running in a terminal; for ease of explanation, the embodiments of the present application take the terminal executing the resource transmission scheme as an example for description.
  • the principle of the resource transmission scheme is as follows: when user A has a data resource transmission requirement, a trigger operation can be performed on the target message (message corresponding to the data resource to be transmitted) in the session interface displayed in terminal a.
  • terminal a can provide user A with a resource transmission interface including an icon display area and an object display area; and display a message icon corresponding to the target message in the icon display area, and display the information of at least one transmission object in the object display area Object ID.
  • the message icon refers to a movable operation control
  • the transmission object refers to an object that can receive the data resource corresponding to the target message.
  • user A can move the message icon to the object display area to trigger terminal a to determine a target object from at least one transmission object according to the end point of the movement track of the message icon, and transmit the data resource corresponding to the target message to the target object;
  • terminal a can request the server to transmit the data resource corresponding to the target message to the target object.
  • the resource transmission scheme proposed by the embodiments of the present application has the following beneficial effects: by providing a convenient resource transmission interface for the user, the user can realize the one-click transmission of the data resource to be transmitted to the target through the resource transmission interface object, which effectively simplifies the user operation process of resource transmission, thereby improving the efficiency of resource transmission.
  • an embodiment of the present application proposes a data transmission method; the data transmission method may be executed by a target terminal in the above communication system, or by a social client running in the target terminal; for ease of explanation, this application implements The example is described by taking the target terminal executing the data transmission method as an example.
  • the target terminal may be any terminal in the above-mentioned communication system.
  • the data transmission method may include the following steps S201-S204:
  • the session interface may be the interface of the target session, and the target session may be any session including the target user (that is, the user who logs in the social account in the target terminal); that is, the target session may be between the target user and any other user. It can also be a single chat session between the target user and at least two other users.
  • the target message displayed in the session interface of the target session may be sent by the target user, or may be sent by other users in the target session, which is not limited.
  • the target message may include any one of the following: a file message, a text message, a multimedia data message or a link message.
  • the file message refers to a session message generated according to the file information of the file, and the file information here may include but not limited to: file name, file download address, file size (ie, data volume), and so on.
  • a text message refers to a conversation message generated according to text content sent by a user, and the text content may include one or more of characters, symbols, and emoticon images.
  • a multimedia data message refers to a conversation message generated according to the multimedia data sent by the user.
  • the multimedia data can be audio (such as voice), video or image; the image here can be a static image or a dynamic image.
  • Multi-frame static images are switched at a preset frequency to produce images with dynamic effects.
  • a link message refers to a session message generated based on a link sent by a user to share content (such as news, songs, games, etc.) ;
  • the so-called H5 refers to the 5th generation HTML (Hyper Text Markup Language), and the so-called applet refers to the application that can be run without installation.
  • the target message may correspond to a data resource; and the data resource corresponding to the target message may be: file, text content, multimedia data or link.
  • a trigger operation can be performed on the target message; the trigger operation here may include any of the following: click operation, long press operation, voice control operation, and so on.
  • the long-press operation refers to an operation of pressing the target message and the pressing duration is longer than a preset duration; the long-press operation may be input by the target user directly touching the terminal screen of the target terminal with a finger, or the target user may use the target user to directly touch the terminal screen of the target terminal.
  • the long-press operation may be a single-finger long-press operation or a two-finger long-press operation; for ease of explanation, the subsequent trigger operation is a two-finger long-press operation.
  • the long-press operation may be a single-finger long-press operation or a two-finger long-press operation; for ease of explanation, the subsequent trigger operation is a two-finger long-press operation.
  • the target terminal may output the resource transmission interface in response to detecting the triggering operation on the target message.
  • the target terminal if the target terminal detects that the target message is triggered, it can directly switch from the session interface of the target session to the resource transmission interface; in this embodiment, the resource transmission interface can be an opaque user interface.
  • the target terminal if the target terminal detects that the target message is triggered, it can directly display the resource transmission interface above the session interface of the target session; in this embodiment, the resource transmission interface can be a masked interface, so-called.
  • the mask layer refers to a layer of transparent view (the slashed area shown in Figure 3a) located above the resource transmission interface. The transparency of the mask layer can be set according to actual business requirements. For ease of explanation, the following description will be given by taking the resource transmission interface as a masked interface as an example; in specific implementation, the resource transmission interface may include an object display area 30 and an icon display area 31 .
  • the object display area 30 may include an object identifier 33 of at least one transmission object, and the at least one transmission object may include at least one of the following: an associated terminal associated with the target terminal, and at least one other session in which the target user is located.
  • the associated terminal refers to a terminal that is logged into the same social account as the target terminal. For example, let the social account logged in the target terminal be "123456"; if the social account logged in terminal x is "123456", then terminal x is the associated terminal of the target terminal; if the social account logged in terminal x is "635489" , the terminal x is not an associated terminal of the target terminal.
  • the at least one other session in which the target user is located may include any of the following: 1 a communication session preset by the target user. 2 According to the session intimacy between the target user and each communication session including the target user, the target terminal selects the conversation session whose session intimacy is greater than the threshold of intimacy, or selects the session intimacy in descending order of session intimacy. Set the number of call sessions; the session intimacy here can be calculated according to the number or frequency of the target user sending session messages in the communication session. 3. The most recent communication session selected by the target terminal from all the communication sessions to which the target user belongs according to the historical session records of the target user. A communication session for a message receive or send operation.
  • the object identifier 33 of the at least one transmission object may include at least one of the following: a terminal identifier of an associated terminal, and a session identifier of at least one other session.
  • the terminal identifier of the associated terminal may include, but is not limited to: the terminal name of the associated terminal (such as "My Computer"), a device icon (such as a computer icon) used to represent the associated terminal;
  • the session identifiers of other sessions may include but not be Limited to: session name (such as the group name of a group session, the user name of another user other than the target user in a single chat session), session avatar (such as the group avatar in a group session, except the target user in a single chat session) user avatar of a user other than the user), etc.
  • an area may be used to display the terminal identifier of the associated terminal and the session identifiers of other sessions; in this specific implementation, the object display area 30 may be an undivided area.
  • the arrangement of the object display area 30 and the icon display area 31 in the resource transmission interface can be referred to as shown in each figure in FIG. 3b.
  • the terminal identifier of the associated terminal and the session identifiers of other sessions belong to different types of identifiers
  • the terminal identifier of the associated terminal and the session identifiers of other sessions can also be displayed by partition in the object display area 30.
  • the object display area 30 may include at least one of the following sub-areas: a first sub-area 301 and a second sub-area 302 .
  • the object display area 30 includes a first sub-area 301 ; if at least one transmission object includes at least one other session, the object display area 30 includes a second sub-area 302 .
  • the first sub-area 301 is used to display the terminal identifier of the associated terminal, and the second sub-area 302 is used to display the session identifier of at least one other session.
  • the object display area 30 only includes the first sub-area 301 or the second sub-area 302, the first sub-area 301 (or the second sub-area 302) and the icon display area 31 in the resource transmission interface
  • the arrangement is similar to that shown in Figure 3c.
  • the object display area 30 includes both the first sub-area 301 and the second sub-area 302, the arrangement of the first sub-area 301, the second sub-area 302 and the icon display area 31 in the resource transmission interface can be referred to as shown in FIG. 3c; It should be understood that, Figures 3b to 3c only list several arrangements by way of example, and are not exhaustive.
  • the icon display area 31 may include a message icon 34 corresponding to the target message, and the icon style of the message icon 34 may be a system default style set in advance according to business requirements; or, the icon style of the message icon 34 may also be a message according to the target message. parameters are determined. Specifically, the message parameter may at least include: the message type of the target message; the message type of the target message here may be: file type, text type, multimedia data type or link type; in this case, the icon of the message icon 34 The style can then be determined based on the message type. As shown in FIG.
  • the icon style of the message icon 34 may be a document style; if the message type is a text type, the icon style of the message icon 34 may be a chat bubble style; if the message type is multimedia data type, the icon style of the message icon 34 may be a multimedia style; if the message type is a link type, the icon style of the message icon 34 may be a web page icon style.
  • the message parameter may further include the data resource corresponding to the target message; in this case, the icon style of the message icon 34 may be determined according to the message type of the target message and the data resource corresponding to the target message.
  • the data resource corresponding to the target message is a file
  • different file formats correspond to different icon styles; for example, the word file format corresponds to the word icon style, the pdf file format corresponds to the pdf icon style, and the excel file format corresponds to excel Icon styles, etc.
  • the data resource corresponding to the target message is multimedia data
  • different multimedia data can also correspond to different icon styles; for example, video corresponds to video icon style, audio corresponds to music icon style, and image corresponds to image icon style.
  • the display position of the message icon 34 in the icon display area 31 can be preset according to business requirements; or determined in real time according to the input position of the trigger operation for the target message on the terminal screen, which is not limited.
  • taking at least one transmission object including an associated terminal and at least one other session that is, taking the object display area 30 including the first sub-area 301 and the second sub-area 302 as an example: when the target message is a file message, that is, the target message When the message type of the target terminal is a file type, the schematic diagram of the output resource transmission interface of the target terminal can be referred to as shown in FIG. 3e. When the target message is a text message, that is, when the message type of the target message is a text type, the schematic diagram of the output resource transmission interface of the target terminal may be shown in FIG. 3f.
  • the schematic diagram of the output resource transmission interface of the target terminal is shown in FIG. 3g.
  • the schematic diagram of the output resource transmission interface of the target terminal may be shown in FIG. 3h. It should be understood that, FIG. 3e-FIG. 3h are only schematic diagrams representing the resource transmission interface by way of example, and are not limited thereto.
  • the message icon is a movable operation control; therefore, the user can perform a moving operation on the message icon to move the message icon from the icon display area to the object display area.
  • the target user can continuously press and drag the message icon through a finger or an external device (such as a mouse) to realize the movement of the message icon; that is, the moving operation can be continuous pressing and dragging of the message icon operation.
  • the target terminal can drag the message icon along the trajectory of the target user to move the message icon from the icon display area to the object display area. Taking the target user dragging the message icon to the first sub-area in the object display area as an example, a schematic diagram of the movement of the message icon can be shown in Figure 3i.
  • the target terminal may provide the target user with one or more quick movement buttons 35 in the icon display area, and each quick movement button 35 may correspond to a movement direction.
  • the number of the quick movement buttons 35 may be determined according to the number of areas involved in the object display area 30 . If the object display area 30 is an undivided area, the number of quick move buttons 35 may be one; and the movement direction corresponding to the one quick move button 35 is the direction of movement from the icon display area to the object display area.
  • the number of the quick move buttons 35 can be two; wherein, the movement direction corresponding to one quick move button 35 is from the icon display area to the first The moving direction of the sub-area 301, and the moving direction corresponding to another quick move button 35 is the moving direction from the icon display area to the second sub-area 302, as shown in the left figure of FIG. 3j.
  • the number of the quick movement buttons 35 may be determined according to the number of object identifiers included in the object display area 30 .
  • the object display area 30 includes a total of 6 object identifiers, which are the terminal identifiers of one associated terminal, and the session identifiers of five other sessions; then the number of quick move buttons 35 is six, and one quick move button 35 Associated with an object identification; the movement direction corresponding to any quick movement button 35 is the direction of movement from the icon display area to the display position where the object identification associated with this arbitrary quick movement button 35 is located, as shown in the right figure of Figure 3j shown.
  • the target user can select the target quick move button from at least one quick move button through a finger or an external device (such as a mouse), and perform a trigger operation on the target quick move button to realize the movement of the message icon; that is, the move operation can It is the trigger action for the target quick move button.
  • the target terminal can move the message icon from the icon display area to the object display area 30 along the moving direction corresponding to the target quick move button, as shown in FIG. 3k .
  • S204 in response to the message icon being moved to the object display area, transmit the data resource corresponding to the target message to the target transmission object in the object display area, where the target transmission object is the position of the end point according to the movement track of the message icon , determined from at least one transmission object in the object display area.
  • that the message icon is moved to the object display area means: the end point of the movement track of the message icon is located in the object display area; the movement track of the message icon mentioned here can be understood as: the movement track of the reference point of the message icon .
  • the reference point may be any point of the message icon, such as the upper left corner point, the center point, or the lower right corner point of the message icon, etc.; correspondingly, the movement track of the message icon can be referred to as shown in FIG. 31 .
  • FIG. 31 As can be seen from each movement track shown in FIG. 31 , when the end point of the movement track of the message icon is located in the object display area, it may be that the entire message icon is located in the object display area, or a part of the message icon may be located in the object display area. The embodiment does not limit this.
  • the target terminal can transmit the data resource corresponding to the target message to the target transmission object (also referred to as the target object) indicated by the target object identifier.
  • the target object identifier is determined from the object display area according to the position of the end point of the movement track of the message icon. Specifically, if the object display area is an undivided area, the target object identifier may be an object identifier corresponding to the position of the end point of the movement track. For example, if the position of the end point of the movement track is at the display position of the terminal ID in the object display area, the object ID corresponding to the position of the end point of the movement track is the terminal ID, that is, the target object ID is the terminal ID.
  • the object ID corresponding to the position of the end point of the movement track is the session ID x, that is, the target object ID is Session ID x.
  • the target object identifier is the terminal identifier of the associated terminal, that is, the target object is the associated terminal;
  • the target object identifier is a session identifier of a target session in at least one other session, that is, the target object is a target session in at least one other session.
  • the target session satisfies the following conditions: the distance difference between the display position of the session identifier of the target session and the position where the end point of the movement track is located is less than or equal to the distance threshold.
  • the above-mentioned transmission of the data resources corresponding to the target message to the target object is essentially to transmit the target message corresponding to the terminal of each user in the session. data resources.
  • the specific implementation of transmitting the data resource corresponding to the target message to the target object may be as follows: if the data resource corresponding to the target message is text content, multimedia data or a link, the target terminal may send the text content, multimedia data or link to the server.
  • the linked first data transmission request is to request the server to directly deliver the text content, multimedia data or link carried in the first data transmission request to the target object.
  • the target terminal may send a second data transmission request carrying the file information of the file (such as a file identifier and a file download address) to the server, so as to request the server to download the file directly according to the file information.
  • the file may be a local file that has been stored in the local space of the target terminal, or may be a cloud file (that is, a file stored in the server) that has not been downloaded to the local space of the target terminal. Not limited.
  • the resource transmission interface can be directly output; wherein, the object display area in the resource transmission interface includes the object identifier of at least one transmission object, and the icon in the resource transmission interface
  • the display area includes the message icon corresponding to the target message.
  • the embodiment of the present application provides another more specific data transmission method; for ease of explanation, the embodiment of the present application still uses the target terminal to execute the data transmission method, and the moving operation is to continuously press and drag the The operation of the message icon is described as an example.
  • the data transmission method may include the following steps S401-S406:
  • the resource transmission interface includes an object display area and an icon display area; the object display area includes an object identifier of at least one transmission object, and the icon display area includes a corresponding target message message icon.
  • the object identification of at least one transmission object includes the terminal identification of the associated terminal and the session identification of at least one other session as an example for description; that is, the object display area mentioned in the embodiment of the present application includes the first A subregion and a second subregion.
  • steps S401-S403 mentioned in the embodiments of the present application, reference may be made to the relevant descriptions of steps S201-S203 in the above-mentioned embodiments of the application, and details are not repeated here.
  • the target terminal may also display a first prompt in the icon display area; wherein, the first prompt is used to prompt: if the icon displays If the pressing operation on the message icon is canceled in the area, the transmission of the data resource corresponding to the target message is canceled.
  • the first prompt may be "let go here to cancel sending"; then, correspondingly, the schematic diagram of displaying the first prompt 51 in the icon display area can be referred to as shown in Fig. 5a.
  • the resource transmission interface is returned to the conversation interface. For example, after the message icon has been moved a short distance, if the target user lets go, it may be considered that the pressing operation of the message icon in the icon display area has been canceled. At this time, the target terminal can return to the session interface from the resource transmission interface, as shown in FIG. 5b.
  • the target terminal when the message icon is moved to the object display area, can also highlight the sub-area where the message icon is located; by highlighting the sub-area where the message icon is located, The target user can be visually informed that the message icon has been moved to the object display area. Specifically, if the sub-area where the message icon is located is the first sub-area, the schematic diagram of highlighting the first sub-area can be seen in Figure 5c; if the sub-area where the message icon is located is the second sub-area, then Figure 5d shows a schematic diagram of highlighting the second sub-region.
  • the target terminal when the target terminal highlights the sub-area where the message icon is located, it can also synchronously display the sub-area in the second sub-area.
  • the display status of the session identifiers of each other session is updated to a candidate status (gray status as shown in FIG. 5d ).
  • the target user can move the message icon to the display position of the session ID of any other session to realize the selection of the target session; correspondingly, when the message icon is moved to the display position of the session ID of any other session At the location, the target terminal can switch the display state of the session identifier of any other session from the standby state to the selected state.
  • the target terminal can switch the display state of the first session ID from the waiting state (eg gray state) to the selected state (eg white state), such as shown in Figure 5e.
  • the target user controls the message icon to move through a finger or an external device (such as a mouse)
  • the target user can drag the message icon back and forth between the The session identifier is switched and selected, so that the target session (ie, the target transfer object or the target object) is finally selected.
  • the target terminal can continue to draw the moving track of the message icon, and after detecting that the pressing operation of the message icon is cancelled, end the drawing of the moving track; then, according to the end point of the moving track Determine the target audience.
  • the target terminal may further detect Whether the staying time of the message icon in the object display area is greater than the duration threshold (such as 3 seconds); if it is greater than, then execute the step of transmitting the data resource corresponding to the target message to the target object indicated by the target object identifier. That is, in this embodiment, after the target user drags the message icon to the object display area, the target user still needs to continue pressing the message icon, and can trigger the target terminal to transmit data resources only after waiting for the pressing duration to be longer than the duration threshold.
  • the duration threshold such as 3 seconds
  • the target terminal can also play the message in the object display area according to the pressing time of the message icon being pressed in the object display area. Transmit animation.
  • the transmission indication animation is used to indicate the remaining duration of the data resource corresponding to the target message to be transmitted; the total playing duration of the transmission indication animation may be equal to the duration threshold.
  • the transmission indication animation may include at least the following specific implementations:
  • the transmission indication animation may be an animation that counts down in the clock icon; in this specific implementation, the target terminal plays the transmission in the object display area according to the pressing duration of the message icon in the object display area
  • the pointer in the clock icon can be dynamically controlled to rotate according to the change of the pressing duration of the message icon being pressed in the object display area in real time. For example, if the message icon is located in the first sub-area, the schematic diagram of playing the transmission indicating animation can be seen in FIG. 5f.
  • the transmission indication animation can also be a countdown digital change animation; in this specific implementation, the target terminal plays the transmission indication animation in the object display area according to the pressing duration of the message icon in the object display area. , the remaining duration can be calculated according to the pressing duration of the message icon in the object display area in real time; and the remaining duration can be dynamically displayed in the object display area. For example, it is still assumed that the message icon is located in the first sub-area, and the schematic diagram of playing the transmission indicating animation can be referred to as shown in FIG. 5g.
  • the third specific implementation is that the object display area also includes a waiting progress bar, and the waiting progress bar is composed of multiple sub-progress bars; the display state of each sub-progress bar is the first state, and one sub-progress bar corresponds to a duration interval.
  • the transmission indication animation can be an animation that sequentially switches the display state of each sub-progress bar from the first state to the second state; in this specific implementation, the target terminal is pressed according to the duration of the message icon in the object display area.
  • the display state of each sub-progress bar in the waiting progress bar can be sequentially updated from the first state to the second state according to the change of the pressing time of the message icon being pressed in the object display area. condition.
  • the first state and the second state refer to the states of two different display forms (such as shape and color); take the first state as a gray state and the second state as a white state as an example, still set the message icon in the first sub-state In the area, the schematic diagram of playing the transmission indication animation can be seen in FIG. 5h. It should be noted that the embodiments of the present application merely exemplify several product forms for transmitting instruction animations, and are not exhaustive.
  • the step of transmitting the data resource corresponding to the target message to the target object indicated by the target object identifier can be performed.
  • the end of the transmission indicating animation playback means the pointer in the clock icon rotates to zero; if the transmission indicating animation is a countdown animation, the transmission indicating animation playback End means: the remaining duration of the display is zero; if the transmission indication animation is an animation that sequentially switches the display state of each sub-progress bar from the first state to the second state, the transmission indication animation end means: waiting for the progress bar The display state of all sub-progress bars of is the second state.
  • the target terminal can directly perform the step of transmitting the data resource corresponding to the target message to the target object indicated by the target object identifier.
  • the target terminal can output a second prompt in the object display area; the second prompt is used to prompt: cancel the pressing operation on the message icon, so as to realize the corresponding target message. Transmission of data resources.
  • the second prompt may be "let go to send"; then, correspondingly, the schematic diagram of displaying the second prompt 52 in the object display area can be referred to as shown in the last figure of FIG. 5h.
  • the target user can cancel pressing the message icon; correspondingly, if the pressing operation for the message icon is canceled, the target terminal can execute the transmission of the data resource corresponding to the target message to the target object indicated by the target object identifier. A step of.
  • the target terminal can directly return from the resource transmission interface. Go to the session interface and cancel the data resource corresponding to the transmission target message.
  • the resource transmission animation is used to reflect the transmission progress of the data resource corresponding to the target message.
  • the resource transmission animation may include, but is not limited to, an animation that dynamically displays the progress of the transmission, an animation that dynamically displays the remaining duration required for the transmission, and the like.
  • the schematic diagram of playing the resource transmission animation in the object display area can be referred to as shown in Figure 5i, Figure 5j or Figure 5k; it should be understood that Figure 5i, Figure 5j and Figure 5 5k only exemplarily represents the display form (eg, display position, shape, etc.) of the resource transfer animation, and is not limited thereto.
  • the transmission progress of the data resources mentioned in the embodiments of the present application may refer to: the progress of the target terminal transmitting the data resources to the server; it may also refer to the progress of the target terminal transmitting the data resources to the target object through the server , which is not limited in the embodiments of the present application.
  • the transmission progress of the data resource mentioned above may refer to: the transmission progress of the file, or the transmission progress of the file information of the file (such as the file identifier and the file download address). , the embodiments of the present application also do not limit this.
  • the prompt information is used to prompt: the data resource has been successfully transferred to the target object, or the transfer of the data resource to the target object has failed.
  • the schematic diagram of outputting the prompt information 53 in the object display area may be shown in Fig. 5i, Fig. 5j or Fig. 5k.
  • the target terminal can automatically return to the session interface; or after detecting the interface return operation of the target user, return to the session interface.
  • the target terminal may not display the resource transmission animation, but directly output a prompt in the object display area after finishing the transmission of the data resource corresponding to the target message. information.
  • the resource transmission interface may be directly output; wherein, the object display area in the resource transmission interface includes the object identifier of at least one transmission object, and the icon in the resource transmission interface
  • the display area includes the message icon corresponding to the target message.
  • an embodiment of the present application also proposes a data transmission method as shown in FIG. 6 ; in the embodiment of the present application, the data transmission method is mainly performed by the target terminal, and is displayed in the object display area by default.
  • the terminal identifier of the associated terminal is displayed as an example for description.
  • the target terminal may display one or more session messages in the session interface of the target session.
  • the target terminal can determine the message type of the triggered conversation message through step s61, and detect whether the message type of the triggered conversation message is a file through step s62. Type, text type, multimedia data type, or link type and other preset message types. If the message type of the triggered session message is not the preset message type, step s63 can output a common menu option including a forwarding component, so that the target user can transmit the data resource corresponding to the triggered session message through the forwarding component
  • the target object here refers to the object of the data resource corresponding to the target message to be received.
  • the target terminal can output a resource transmission interface (such as a masked interface) for the target user through step s64; and display the triggered message in the icon display area in the resource transmission interface
  • the message icon corresponding to the session message of the object display area, and the terminal identifier of the associated terminal is displayed in the first sub-area of the object display area.
  • the display principle of the message icon is as follows: the target terminal can transfer the message parameters (such as the message type, etc.) of the triggered session message to the Activity (a component) of the resource transmission interface, so that the Activity can be displayed on the icon according to the message parameters.
  • the target terminal can also detect whether there is a recent communication session of the target user through step s65; if there is, display the session identifier of the recent communication session in the second sub-area in the object display area at step s66.
  • the target user can press and drag the message icon with two fingers to any sub-area of the object display area to trigger the target terminal to transmit the data resource corresponding to the triggered session message to the target object;
  • the target object here can be The associated terminal, or the most recent communication session indicated by the session identifier corresponding to the position of the touch point of the target user's finger.
  • the target terminal can detect whether the stay time of the message icon in the object display area is greater than the time length threshold (eg 1 second) through step s67.
  • the server can be requested to transmit the data resource corresponding to the triggered session message to the target object through step s68; otherwise, the transmission of the data resource of the triggered session message is canceled, and the session interface is returned through step s69.
  • the user by outputting the resource transmission interface, the user only needs to move the message icon from the icon display area to the object display area, and then the data resource corresponding to the triggered session message can be transmitted; It effectively simplifies the user operation process of resource transmission and improves the efficiency of resource transmission. Furthermore, by displaying the terminal identifier of the associated terminal by default when the resource transmission interface is output, the exposure of the associated terminal can also be effectively improved.
  • the embodiments of the present application further disclose a data transmission apparatus, and the data transmission apparatus may be a computer program (including program code) running in the above-mentioned target terminal.
  • the data transmission apparatus may execute the method shown in FIG. 2 or FIG. 4 . Referring to Fig. 7, the data transmission device can operate the following units:
  • a display unit 701 configured to display a target message in the conversation interface, where the target message corresponds to a data resource
  • the display unit 701 is configured to output a resource transmission interface in response to a trigger operation on the target message;
  • the resource transmission interface includes an object display area and an icon display area;
  • the object display area includes at least one transmission object.
  • an object identifier, the icon display area includes a message icon corresponding to the target message; wherein, the transmission object is an object that can receive the data resource corresponding to the target message;
  • the display unit 701 is further configured to move the message icon from the icon display area to the object display area according to the moving operation for the message icon;
  • the processing unit 702 is configured to, in response to the message icon being moved to the object display area, transmit the data resource corresponding to the target message to the target transmission object in the object display area, where the target transmission object is The position of the end point of the moving track of the message icon is determined from at least one transmission object in the object display area.
  • the resource transmission interface is a masked interface
  • the moving operation is an operation of continuously pressing and dragging the message icon
  • the message icon being moved to the object display area means: all The end point of the moving track of the message icon is located in the object display area
  • the icon style of the message icon is determined according to the message parameter of the target message, and the message parameter may at least include: the message type of the target message ;
  • the message type of the target message is: file type, text type, multimedia data type or link type
  • the data resource corresponding to the target message is: file, text content, multimedia data or link.
  • the at least one transmission object includes at least one of the following: an associated terminal associated with the target terminal, and at least one other session where the target user is located; the object identifier of the at least one transmission object includes at least one of the following: One: the terminal identifier of the associated terminal, and the session identifier of the at least one other session; wherein, the target terminal refers to a terminal used to display the session interface, and the associated terminal refers to a terminal connected to the target terminal.
  • the terminal is a terminal that logs into the same social account; the target user refers to a user who logs in the social account in the target terminal.
  • the object display area includes at least one of the following sub-areas: a first sub-area and a second sub-area; the first sub-area is used to display the terminal identifier of the associated terminal, the second sub-area The sub-area is used to display the session identifier of the at least one other session; wherein, when the end point of the movement track is located in the first sub-area, the target transmission object is the associated terminal; when the movement track When the end point of the target session is located in the second sub-area, the target transmission object is the target session in the at least one other session; the target session satisfies the following conditions: the display position of the session identifier of the target session is the same as the The distance between the positions where the end point of the movement trajectory is located is less than or equal to the distance threshold.
  • the display unit 701 may be further configured to: in the process of moving the message icon to the object display area, display a first prompt in the icon display area; wherein the first prompt It is used for prompting: if the pressing operation on the message icon is canceled in the icon display area, the transmission of the data resource corresponding to the target message is canceled.
  • the display unit 701 is further configured to: when the message icon is moved to the object display area, highlight the sub-area where the message icon is located.
  • the sub-area where the message icon is located is the second sub-area; correspondingly, the display unit 701 may also be used to: when highlighting the sub-area where the message icon is located, synchronize updating the display state of the session identifiers of each other session in the second sub-area to a candidate state; when the message icon is moved to the display position of the session identifier of any other session, the any other The display state of the session identifier of the session is switched from the candidate state to the selected state.
  • the display unit 701 may be further configured to: press the message icon in the object display area according to the pressing duration, the transmission indication animation is played in the object display area, and the transmission indication animation is used to indicate the remaining duration of waiting for the transmission of the data resource corresponding to the target message; after the transmission indication animation finishes, the The step of transmitting the data resource corresponding to the target message by the transmission object.
  • the display unit 701 may be further configured to: output a second prompt in the object display area; the second prompt is used to prompt: Cancel the pressing operation on the message icon, so as to realize the transmission of the data resource corresponding to the target message; if the pressing operation on the message icon is cancelled, execute the transmission of the data resource corresponding to the target message to the target transmission object A step of.
  • the object display area further includes a waiting progress bar, and the waiting progress bar is composed of multiple sub-progress bars; the display state of each sub-progress bar is the first state, and one sub-progress bar corresponds to one sub-progress bar.
  • the display unit 701 when used to play the transmission instruction animation in the object display area according to the pressing duration of the message icon being pressed in the object display area, it can be specifically used for: change the pressing duration of the message icon being pressed in the object display area, and sequentially update the display state of each sub-progress bar in the waiting progress bar from the first state to the second state; wherein, the transmission Indicating the end of the animation playback means that the display states of all sub-progress bars in the waiting progress bar are the second state.
  • the display unit 701 is further configured to: return from the resource transmission interface to the conversation interface if the pressing operation of the message icon is canceled in the icon display area.
  • the display unit 701 may be further configured to: in the process of transmitting the data resource corresponding to the target message to the target transmission object, play a resource transmission animation in the object display area; the resource transmission The animation is used to reflect the transmission progress of the data resource corresponding to the target message; after finishing the transmission of the data resource corresponding to the target message, prompt information is output in the object display area, and the prompt information is used to prompt: The transfer of the data resource to the target transfer object is successful, or the transfer of the data resource to the target transfer object fails.
  • each step involved in the method shown in FIG. 2 or FIG. 4 may be performed by each unit in the data transmission apparatus shown in FIG. 7 .
  • steps S201 to S203 shown in FIG. 2 can all be performed by the display unit 701 shown in FIG. 7
  • step S204 can be performed by the processing unit 702 shown in FIG. 7 .
  • steps S401-S403 and steps S405-S406 shown in FIG. 4 can be performed by the display unit 701 shown in FIG. 7
  • step S404 can be performed by the processing unit 702 shown in FIG. 7, and so on.
  • each unit in the data transmission apparatus shown in FIG. 7 may be combined into one or several other units, respectively or all, to form, or some unit(s) may be disassembled again. It is divided into a plurality of units with smaller functions, which can realize the same operation without affecting the realization of the technical effects of the embodiments of the present application.
  • the above-mentioned units are divided based on logical functions.
  • the function of one unit may also be implemented by multiple units, or the functions of multiple units may be implemented by one unit.
  • the data-based transmission device may also include other units, and in practical applications, these functions may also be implemented with the assistance of other units, and may be implemented by cooperation of multiple units.
  • a general-purpose computing device such as a computer
  • a general-purpose computing device may be implemented on a general-purpose computing device including a central processing unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and other processing elements and storage elements.
  • CPU central processing unit
  • RAM random access storage medium
  • ROM read-only storage medium
  • Run a computer program capable of executing the steps involved in the corresponding method as shown in FIG. 2 or FIG. 4 to construct a data transmission apparatus as shown in FIG. 7 , and to implement the embodiments of the present application data transfer method.
  • the computer program can be recorded on, for example, a computer-readable recording medium, and loaded in the above-mentioned computing device through the computer-readable recording medium, and executed therein.
  • the resource transmission interface may be directly output; wherein, the object display area in the resource transmission interface includes the object identifier of at least one transmission object, and the icon in the resource transmission interface
  • the display area includes the message icon corresponding to the target message.
  • an embodiment of the present application further provides a terminal (ie, the above-mentioned target terminal).
  • the terminal may include at least a processor 801 , an input device 802 , an output device 803 and a computer storage medium 804 .
  • the processor 801 , the input device 802 , the output device 803 and the computer storage medium 804 in the terminal may be connected through a bus or other means.
  • the computer storage medium 804 can be stored in the memory of the terminal, the computer storage medium 804 is used for storing a computer program, and the computer program includes program instructions, and the processor 801 is used for executing the program instructions stored in the computer storage medium 804 .
  • the processor 801 (or called CPU (Central Processing Unit, central processing unit)) is the computing core and the control core of the terminal, which is suitable for implementing one or more instructions, specifically suitable for loading and executing one or more instructions to achieve the corresponding Method flow or corresponding function; in one embodiment, the processor 801 described in this embodiment of the present application may be used to perform a series of resource transmission processing, specifically including: displaying a target message in a conversation interface, the target message corresponding to a data resources; in response to a triggering operation on the target message, a resource transmission interface is output; the resource transmission interface includes an object display area and an icon display area; the object display area includes an object identifier of at least one transmission object, and the The icon display area includes a message icon corresponding to the target message
  • Embodiments of the present application further provide a computer storage medium (Memory), where the computer storage medium is a memory device in a terminal, used to store programs and data.
  • the computer storage medium here may include both a built-in storage medium in the terminal, and certainly also an extended storage medium supported by the terminal.
  • the computer storage medium provides storage space, and the storage space stores the operating system of the terminal.
  • one or more instructions suitable for being loaded and executed by the processor 801 are also stored in the storage space, and these instructions may be one or more computer programs (including program codes) for implementing the implementation of the present application. Corresponding steps of the method in the above-mentioned embodiments of the relevant data transmission method described in the example.
  • the computer storage medium here can be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory; optionally, it can also be at least one memory located far away from the aforementioned processor. computer storage media.
  • a computer program product or computer program where the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes various optional manners in the data transmission method embodiment shown in FIG. 2 or FIG. 4 . method provided in.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例公开了一种数据传输方法、装置、终端及介质,其中方法包括:在会话界面中显示目标消息;响应于对目标消息的触发操作,则输出资源传输界面;资源传输界面包括对象显示区域和图标显示区域;对象显示区域包括至少一个传输对象的对象标识,图标显示区域包括目标消息对应的消息图标;根据针对消息图标的移动操作,将消息图标从所述图标显示区域向对象显示区域移动;响应于消息图标被移动至对象显示区域,向所述对象显示区域中的目标传输对象传输目标消息对应的数据资源,目标传输对象是根据消息图标的移动轨迹的终点的位置,从对象显示区域的至少一个传输对象中确定的。

Description

数据传输方法、装置、终端及存储介质
本申请要求于2020年08月29日提交中国专利局、申请号为202010890571.2、名称为“资源传输方法、装置、终端及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及互联网技术领域,具体涉及通信技术领域,尤其涉及一种数据传输方法、一种数据传输装置、一种终端及一种计算机存储介质。
背景
随着互联网技术的发展,社交客户端凭借其沟通便利的优势受到了广泛认可;目前,大多数的社交客户端均支持数据资源的跨端传输。具体的,当用户A想要使用目标终端中的社交客户端将目标会话中的某一消息的数据资源传输至其他终端(如用户A的另一终端或者用户B的终端)时,则需要用户A先对该消息执行触发操作,以触发社交客户端输出包含转发组件的菜单选项;然后再点击该转发组件以触发社交客户端输出对象选择界面,并在对象选择界面中执行对象选择、转发确认等一系列操作后,才可实现将该消息的数据资源传输至其他终端。
技术内容
本申请实施例提供了一种数据传输方法,由终端执行,所述方法包括:
在目标会话的会话界面中显示目标消息,所述目标消息包含一个数据资源;
响应于对所述目标消息的触发操作,则输出资源传输界面;所述资源传输界面包括对象显示区域和图标显示区域;所述对象显示区域包括至少一个传输对象的对象标识,所述图标显示区域包括所述目标消息对应的消息图标;其中,所述传输对象为可接收该目标消息对应的数据资源的对象;
根据针对所述消息图标的移动操作,将所述消息图标从所述图标显示区域向所述对象显示区域移动;
响应于所述消息图标被移动至所述对象显示区域,向所述对象显示区域中的目标传输对象传输所述目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的。
本申请实施例提供了一种数据传输装置,所述装置包括:
显示单元,用于在会话界面中显示目标消息,所述目标消息包含一个数据资源;
所述显示单元,用于响应于对所述目标消息的触发操作,则输出资源传输界面;所述资源传输界面包括对象显示区域和图标显示区域;所述对象显示区域包括至少一个传输对象的对象标识,所述图标显示区域包括所述目标消息对应的消息图标;其中,所述传输对象为可接收该目标消息对应的数据资源的对象;
所述显示单元,还用于根据针对所述消息图标的移动操作,将所述消息图标从所述图标显示区域向所述对象显示区域移动;
处理单元,用于响应于所述消息图标被移动至所述对象显示区域,向所述对象显示区域中的目标传输对象传输所述目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的。
本申请实施例提供了一种终端,所述终端包括输入设备和输出设备,所述终端还包括:
处理器,适于实现一条或多条指令;以及,
计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由所述处理器加载并执行本申请实施例所述的数据传输方法的步骤。
本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由处理器加载并执行本申请实施例所述的数据传输方法的步骤。
附图说明
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种通信会话系统的系统架构图;
图2是本申请实施例提供的一种数据传输方法的流程示意图;
图3a是本申请实施例提供的一种资源传输界面和会话界面之间的位置关系示意图;
图3b是本申请实施例提供的一种对象显示区域和图标显示区域在资源传输界面中的排布示意图;
图3c是本申请实施例提供的另一种对象显示区域和图标显示区域在资源传输界面中的排布示意图;
图3d是本申请实施例提供的一种消息图标的图标样式和消息参数之间的对应关系图;
图3e是本申请实施例提供的一种资源传输界面的输出示意图;
图3f是本申请实施例提供的另一种资源传输界面的输出示意图;
图3g是本申请实施例提供的另一种资源传输界面的输出示意图;
图3h是本申请实施例提供的另一种资源传输界面的输出示意图;
图3i是本申请实施例提供的一种消息图标的移动示意图;
图3j是本申请实施例提供的一种快捷移动按钮的示意图;
图3k是本申请实施例提供的另一种消息图标的移动示意图;
图3l是本申请实施例提供的消息图标的移动轨迹的示意图;
图4是本申请另一实施例提供的一种数据传输方法的流程示意图;
图5a是本申请实施例提供的一种在图像显示区域显示第一提示的示意图;
图5b是本申请实施例提供的一种从资源传输界面返回至会话界面的示意图;
图5c是本申请实施例提供的一种对消息图标所在的子区域进行高亮显示的示意图;
图5d是本申请实施例提供的另一种对消息图标所在的子区域进行高亮显示的示意图;
图5e是本申请实施例提供的一种其他会话的会话标识的状态切换示意图;
图5f是本申请实施例提供的一种传输指示动画的播放示意图;
图5g是本申请实施例提供的另一种传输指示动画的播放示意图;
图5h是本申请实施例提供的另一种传输指示动画的播放示意图;
图5i是本申请实施例提供的一种资源传输动画的播放示意图;
图5j是本申请实施例提供的另一种资源传输动画的播放示意图;
图5k是本申请实施例提供的另一种资源传输动画的播放示意图;
图6是本申请另一实施例提供的一种数据传输方法的流程示意图;
图7是本申请实施例提供的一种数据传输装置的结构示意图;
图8是本申请实施例提供的一种终端的结构示意图。
实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。
在本申请实施例中,涉及一种通信会话系统;所谓的通信会话又可简称会话,是指至少两个用户之间通过某种行为或者媒介进行信息交流和传递的对话。参见图1所示,该通信会话系统可包括:至少两个终端11以及服务器12;任一终端11与媒体服务器12之间可通过任何通信方式实现通信,例如基于第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)、长期演进(Long Term Evolution,LTE)、全球互通微波访问(Worldwide Interoperability for Microwave Access,WiMAX)的移动通信,或基于TCP/IP协议族(TCP/IP Protocol Suite,TCP/IP)、用户数据报协议(User Datagram Protocol,UDP)协议的计算机网络通信,等等。
其中,终端11是指具有通信功能以及人机交互功能的任意设备,其具体可包括但不限于:智能电视,智能手机、平板电脑、笔记本电脑以及台式计算机,等等。终端11内可安装并运行社交客户端,此处的社交客户端是指可通过网络实现通信会话中的各用户之间进行信息交互的应用软件(application,APP);其具体可包括以下任一种:即时通讯客户端(如腾讯QQ客户端、微信客户端、企业微信客户端)、以及内容分享客户端(如微博客户端、博客客户端)等;所谓的即时通讯是指一种允许两人或多人使用网络即时地传递文字、档案、语音等信息以及音视频交流的终端服务。可选的,终端11中还可运行其他各式各样的客户端,如视频客户端、音乐播放客户端、购物客户端,等等。服务器12是指可在至少两个终端11中所运行的社交客户端之间建立通信会话,并为各个社交客户端提供数据存储、消息推送、资源推送等多项服务的设备;其具体可以包括但不限于:数据服务器、web服务器、应用服务器、云服务器,等等。应理解的是,在物理部署服务器12时,可将服务器部署为一个独立的服务设备,也可以将服务器12部署为由多个服务设备共同构成的集群设备,本申请实施例对此不作限定。
相关的数据传输方法所涉及的用户操作流程较为繁琐,其资源传输的效率较低。基于上述的通信会话系统,本申请实施例提供了一种数据传输方法、装置、终端及介质,可以有效简化资源传输的用户操作流程,提升资源传输的效率。该资源传输方案可由上述通信会话系统中的某个终端执行,或者某个终端内运行的社交客户端执行;为便于阐述,本申请实施例以终端执行该资源传输方案为例进行说明。具体的,该资源传输方案的原理如下:当用户A存在数据资源的传输需求时,可对终端a中所显示的会话界面中的目标消息(欲传输的数据资源对应的消息)执行触发操作。此时,终端a可为用户A提供一个包含图标显示区域和对象显示区域的资源传输界面;并在图标显示区域中显示目标消息对应的消息图标,以及在对象显示区域中显示至少一个传输对象的对象标识。其中,消息图标是指可移动的操作控件,传输对象是指可接收该目标消息对应的数据资源的对象。然后,用户A可将该消息图标移动至对象显示区域,以触发终端a根据消息图标的移动轨迹的终点从至少一个传输对象中确定目标对象,并向目标对象传输该目标消息对应的数据资源;相应的,终端a在检测到消息图标位于对象显示区域后,便可请求服务器将该目标消息对应的数据资源传输至目标对象。
由此可见,本申请实施例所提出的资源传输方案具有如下有益效果:通过为用户提供一个便捷的资源传输界面,使得用户可通过该资源传输界面实现将欲传输的数据资源一键传输至目标对象,有效简化了资源传输的用户操作流程,从而可提升资源传输的效率。
基于上述的描述,本申请实施例提出一种数据传输方法;该数据传输方法可以由上述通信系统中的目标终端执行,或者由目标终端中运行的社交客户端执行;为便于阐述,本申请实施例以目标终端执行该数据传输方法为例进行说明。其中,目标终端可以是上述通信系统中的任一终端。请参见图2,该数据传输方法可包括以下步骤S201-S204:
S201,在会话界面中显示目标消息。
其中,会话界面可以是目标会话的界面,目标会话可以是包含目标用户(即在目标终端中登录 社交账号的用户)的任一会话;即该目标会话可以是目标用户和任一其他用户之间的单聊会话,也可以是目标用户和至少两个其他用户之间的群组会话。目标会话的会话界面中所显示的目标消息可以是目标用户发送的,也可以是由目标会话中的其他用户发送的,对此不作限制。
具体的,该目标消息可以包括以下任一种:文件消息、文本消息、多媒体数据消息或者链接消息。其中,文件消息是指根据文件的文件信息所生成的会话消息,此处的文件信息可包括但不限于:文件名称、文件下载地址、文件大小(即数据量),等等。文本消息是指根据用户发送的文本内容所生成的会话消息,该文本内容可包括文字、符号以及表情图像中的一种或多种。多媒体数据消息是指根据用户发送的多媒体数据生成的会话消息,该多媒体数据可以是音频(如语音)、视频或者图像;此处的图像可以是静态图像或者动态图像,所谓的动态图像是指由多帧静态图像以预设频率进行图像切换而产生动态效果的图像。链接消息是指根据用户发送的分享内容(如新闻、歌曲、游戏等)的链接生成的会话消息,该链接可以是网页链接(如浏览器网页链接、H5网页链接)或者小程序链接,等等;所谓的H5是指第5代HTML(Hyper Text Markup Language,超级文本标记语言),所谓的小程序是指无需安装即可运行的应用。
S202,响应于对目标消息的触发操作,则输出资源传输界面。
由前述所提及的目标消息的相关内容可知,目标消息可对应一个数据资源;且该目标消息对应的数据资源可以为:文件、文本内容、多媒体数据或者链接。当目标用户想要转发该目标消息对应的数据资源时,可对该目标消息执行触发操作;此处的触发操作可包括以下任一种:点击操作、长按操作、语音控制操作,等等。其中,长按操作是指:按压该目标消息且按压时长大于预设时长的操作;该长按操作可以是由目标用户通过手指直接触摸目标终端的终端屏幕输入的,也可以是目标用户通过目标终端的外接设备(如鼠标、键盘键)输入的。当长按操作是用户通过手指直接触摸终端屏幕输入的,则该长按操作可以是单指长按操作或双指长按操作等;为便于阐述,后续均以触发操作为双指长按操作为例进行阐述。
相应的,目标终端响应于检测到对目标消息的触发操作,则可输出资源传输界面。在一种实施方式中,目标终端若检测到目标消息被触发,则可从目标会话的会话界面直接切换至资源传输界面;在此实施方式下,该资源传输界面可以是一个不透明的用户界面。再一种实施方式中,目标终端若检测到目标消息被触发,则可直接在目标会话的会话界面上方显示资源传输界面;在此实施方式下,该资源传输界面可以是一个蒙层界面,所谓的蒙层是指一层透明的且位于资源传输界面之上的视图(如图3a所示的斜线区域),蒙层的透明度可以根据实际业务需求设置。为便于阐述,后续均以资源传输界面为蒙层界面为例进行说明;具体实现中,该资源传输界面可包括对象显示区域30和图标显示区域31。
对象显示区域30可包括至少一个传输对象的对象标识33,该至少一个传输对象可包括以下至少一种:与目标终端相关联的关联终端,及目标用户所在的至少一个其他会话。其中,关联终端是指与目标终端登录了同一个社交账号的终端。例如,设目标终端中登录的社交账号为“123456”;若终端x中登录的社交账号为“123456”,则终端x为目标终端的关联终端;若终端x中登录的社交账号为“635489”,则终端x不为目标终端的关联终端。目标用户所在的至少一个其他会话可包括以下任一种:①由目标用户预先设置的通信会话。②由目标终端根据目标用户与包含该目标用户的各个通信会话之间的会话亲密度,选取的会话亲密度大于亲密度阈值的通话会话,或者按照会话亲密度从高到低的顺序选取的预设数量的通话会话;此处的会话亲密度可以是根据目标用户在通信会话中发送会话消息的次数或频次计算得到的。③由目标终端根据目标用户的历史会话记录从目标用户所属的所有通信会话中选取的最近通信会话,此处的最近通信会话是指:在历史时间段内(如近一周、近三天)存在消息接收或发送操作的通信会话。
相应的,至少一个传输对象的对象标识33可包括以下至少一种:关联终端的终端标识,以及至少一个其他会话的会话标识。其中,关联终端的终端标识可包括但不限于:关联终端的终端名称(如“我的电脑”),用于表示关联终端的设备图标(如电脑图标);其他会话的会话标识可包括但 不限于:会话名称(如群组会话的群组名称、单聊会话中除目标用户以外的另一用户的用户名称)、会话头像(如群组会话中的群组头像,单聊会话中除目标用户以外的另一用户的用户头像),等等。
在一种具体实现中,可采用一个区域来显示关联终端的终端标识和各其他会话的会话标识;此具体实现下,对象显示区域30可以是一个未分割的区域。在此情况下,对象显示区域30和图标显示区域31在资源传输界面中的排布可参加图3b中的各图所示。再一种具体实现中,由于关联终端的终端标识和其他会话的会话标识属于不同类型的标识,因此还可在对象显示区域30中对该关联终端的终端标识和其他会话的会话标识进行分区显示;此具体实现下,对象显示区域30可包括以下至少一个子区域:第一子区域301和第二子区域302。具体的,若至少一个传输对象包括关联终端,则对象显示区域30包括第一子区域301;若至少一个传输对象包括至少一个其他会话,则对象显示区域30包括第二子区域302。其中,第一子区域301用于显示关联终端的终端标识,第二子区域302用于显示至少一个其他会话的会话标识。在此情况下,若对象显示区域30中只包括第一子区域301或者第二子区域302,则第一子区域301(或者第二子区域302)和图标显示区域31在资源传输界面中的排布与图3c所示的排布类似。若对象显示区域30同时包括第一子区域301和第二子区域302,则第一子区域301、第二子区域302以及图标显示区域31在资源传输界面的排布可参见图3c所示;应理解的是,图3b-图3c均只是示例性地列出了几种排布方式,并非穷举。
图标显示区域31可包括目标消息对应的消息图标34,该消息图标34的图标样式可以是预先根据业务需求设置的系统默认样式;或者,该消息图标34的图标样式还可以是根据目标消息的消息参数确定的。具体的,该消息参数可以至少包括:目标消息的消息类型;此处的目标消息的消息类型可为:文件类型、文本类型、多媒体数据类型或者链接类型;在此情况下,消息图标34的图标样式便可根据该消息类型确定。如图3d所示,若消息类型为文件类型,则消息图标34的图标样式可为文档样式;若消息类型为文本类型,则消息图标34的图标样式可为聊天气泡样式;若消息类型为多媒体数据类型,则消息图标34的图标样式可为多媒体样式;若消息类型为链接类型,则消息图标34的图标样式可为网页图标样式。进一步的,消息参数还可包括目标消息对应的数据资源;在此情况下,消息图标34的图标样式可根据目标消息的消息类型和目标消息对应的数据资源确定。仍如图3d所示,若目标消息对应的数据资源为文件,则不同的文件格式对应不同的图标样式;如word文件格式对应word图标样式,pdf文件格式对应pdf图标样式,excel文件格式对应excel图标样式等。若目标消息对应的数据资源为多媒体数据,则不同的多媒体数据也可对应不同的图标样式;如视频对应视频图标样式,音频对应音乐图标样式,图像对应图像图标样式等。需要说明的是,消息图标34在图标显示区域31中的显示位置可根据业务需求预先设置;或者根据针对目标消息的触发操作在终端屏幕中的输入位置实时确定,对此不作限制。
基于上述描述,以至少一个传输对象包括关联终端和至少一个其他会话,即以对象显示区域30同时包括第一子区域301以及第二子区域302为例:当目标消息为文件消息,即目标消息的消息类型为文件类型时,目标终端输出资源传输界面的示意图可参见图3e所示。当目标消息为文本消息,即目标消息的消息类型为文本类型时,目标终端输出资源传输界面的示意图可参见图3f所示。当目标消息为多媒体数据消息(如图像消息),即目标消息的消息类型为多媒体数据类型(如图像类型)时,目标终端输出资源传输界面的示意图可参见图3g所示。当目标消息为链接消息,即目标消息的消息类型为链接类型时,目标终端输出资源传输界面的示意图可参见图3h所示。应理解的是,图3e-图3h均只是示例性地表征资源传输界面的示意图,并不对此进行限定。
S203,根据针对消息图标的移动操作,将消息图标从图标显示区域向对象显示区域移动。
由前述可知,消息图标是一个可移动的操作控件;因此,用户可对该消息图标执行移动操作,以将消息图标从图标显示区域向对象显示区域移动。在一种具体实现中,目标用户可通过手指或外接设备(如鼠标)持续按压该消息图标并拖动该消息图标,以实现消息图标的移动;即移动操作可为持续按压并拖动消息图标的操作。那么在此具体实现中,目标终端可沿着目标用户拖动消息图标的轨迹,将消息图标从图标显示区域向对象显示区域移动。以目标用户向对象显示区域中的第一子 区域拖动消息图标为例,该消息图标的移动示意图可如图3i所示。
再一种具体实现中,目标终端可在图标显示区域中为目标用户提供一个或多个快捷移动按钮35,每个快捷移动按钮35可对应一个移动方向。在一种实施方式中,快捷移动按钮35的数量可以根据对象显示区域30所涉及的区域数量确定。若对象显示区域30为一个未分割的区域,则快捷移动按钮35的数量可以为一个;并且,这一个快捷移动按钮35所对应的移动方向便为从图标显示区域向对象显示区域移动的方向。若对象显示区域30包括第一子区域301和第二子区域302,则快捷移动按钮35的数量可以为两个;其中,一个快捷移动按钮35所对应的移动方向为从图标显示区域向第一子区域301移动的方向,另一个快捷移动按钮35所对应的移动方向为从图标显示区域向第二子区域302移动的方向,如图3j的左图所示。再一种实施方式中,快捷移动按钮35的数量可根据对象显示区域30中所包括的对象标识的数量确定。例如,对象显示区域30共包括6个对象标识,分别是1个关联终端的终端标识,以及5个其他会话的会话标识;则快捷移动按钮35的数量便为6个,且一个快捷移动按钮35与一个对象标识相关联;任一快捷移动按钮35所对应的移动方向为从图标显示区域向该任一快捷移动按钮35所关联的对象标识所在的显示位置移动的方向,如图3j的右图所示。相应的,目标用户可通过手指或外接设备(如鼠标)可从至少一个快捷移动按钮中选择目标快捷移动按钮,并对目标快捷移动按钮执行触发操作,以实现消息图标的移动;即移动操作可以是针对目标快捷移动按钮的触发操作。那么在此具体实现中,目标终端可沿着目标快捷移动按钮所对应的移动方向,将消息图标从图标显示区域向对象显示区域30移动,如图3k所示。
S204,响应于消息图标被移动至对象显示区域,向所述对象显示区域中的目标传输对象传输目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的。
其中,消息图标被移动至对象显示区域是指:消息图标的移动轨迹的终点位于对象显示区域中;此处所提及的消息图标的移动轨迹可以理解为是:消息图标的基准点的移动轨迹。基准点可以是消息图标的任意点,如消息图标的左上角点,中心点,或者右下角点等等;相应的,消息图标的移动轨迹可参见图3l所示。由图3l所示的各个移动轨迹可见,当消息图标的移动轨迹的终点位于对象显示区域中时,可能是整个消息图标均位于对象显示区域,也可能是部分消息图标位于对象显示区域,本申请实施例对此不作限制。
目标终端响应于检测到消息图标被移动至对象显示区域,便可向目标对象标识所指示的目标传输对象(也可称为目标对象)传输目标消息对应的数据资源。其中,目标对象标识是根据消息图标的移动轨迹的终点的位置从对象显示区域中确定的。具体的,若对象显示区域为一个未分割的区域,则目标对象标识可以是移动轨迹的终点所处位置所对应的对象标识。例如,若移动轨迹的终点所处位置位于对象显示区域中的终端标识的显示位置上,则移动轨迹的终点所处位置所对应的对象标识便为该终端标识,即目标对象标识为终端标识。又如,若移动轨迹的终点所处位置位于对象显示区域中的会话标识x的显示位置上,则移动轨迹的终点所处位置所对应的对象标识便为该会话标识x,即目标对象标识为会话标识x。若对象显示区域包括第一子区域和/或第二子区域,则当移动轨迹的终点位于第一子区域中时,目标对象标识为关联终端的终端标识,即目标对象为关联终端;当移动轨迹的终点位于第二子区域中时,目标对象标识为至少一个其他会话中的目标会话的会话标识,即目标对象为至少一个其他会话中的目标会话。其中,目标会话满足以下条件:目标会话的会话标识的显示位置与移动轨迹的终点所处位置之间的距离差小于或等于距离阈值。应理解的是,当目标对象为至少一个其他会话中的会话时,上述所提及的向目标对象传输目标消息对应的数据资源,其实质是向该会话中的各个用户的终端传输目标消息对应的数据资源。
其中,向目标对象传输目标消息对应的数据资源的具体实施方式可如下:若目标消息对应的数据资源为文本内容、多媒体数据或者链接,则目标终端可向服务器发送携带该文本内容、多媒体数据或者链接的第一数据传输请求,以请求服务器将第一数据传输请求所携带的文本内容、多媒体数据或者链接直接下发至目标对象。若目标消息对应的数据资源为文件,则目标终端可向服务器发送 携带该文件的文件信息(如文件标识、文件下载地址)的第二数据传输请求,以请求服务器直接根据文件信息将该文件下发至目标对象;或者以请求服务器根据文件信息下发传输通知给目标对象,以通知目标对象下载该文件,并在接收到目标对象基于该传输通知所发送的下载请求后,再将文件下发至目标对象。其中,该文件可以是已存储在目标终端的本地空间的本地文件,也可以是还未被下载至目标终端的本地空间的云端文件(即存储在服务器中的文件),本申请实施例对此不作限定。
本申请实施例在会话界面中的目标消息被触发后,可直接输出资源传输界面;其中,资源传输界面中的对象显示显示区域中包括至少一个传输对象的对象标识,且资源传输界面中的图标显示区域中包括目标消息对应的消息图标。通过输出该资源传输界面,可使得用户只需将消息图标从图标显示区域移动至对象显示区域内,便可触发终端根据消息图标的移动轨迹的终点从至少一个传输对象中确定目标对象,并向目标对象传输目标消息对应的数据资源;这样可有效简化资源传输的用户操作流程,提升资源传输的效率。
基于上述描述,本申请实施例提供了另一种更为具体的数据传输方法;为便于阐述,本申请实施例仍以目标终端执行该数据传输方法,且移动操作为持续按压并拖动所述消息图标的操作为例进行说明。请参见图4,该数据传输方法可包括以下步骤S401-S406:
S401,在目标会话的会话界面中显示目标消息,该目标消息对应一个数据资源。
S402,响应于对目标消息的触发操作,则输出资源传输界面;其中,资源传输界面包括对象显示区域和图标显示区域;对象显示区域包括至少一个传输对象的对象标识,图标显示区域包括目标消息对应的消息图标。在本申请实施例中,主要以至少一个传输对象的对象标识包括关联终端的终端标识,以及至少一个其他会话的会话标识为例进行说明;即本申请实施例所提及的对象显示区域包括第一子区域和第二子区域。
S403,根据针对消息图标的移动操作,将消息图标从图标显示区域向对象显示区域移动。
需要说明的是,本申请实施例所提及的步骤S401-S403的具体实施方式可参见上述申请实施例中的步骤S201-S203的相关描述,在此不再赘述。
在一种可选的实施方式中,在消息图标被移动至对象显示区域的过程中,目标终端还可在图标显示区域中显示第一提示;其中,第一提示用于提示:若在图标显示区域中取消针对消息图标的按压操作,则取消目标消息对应的数据资源的传输。例如,第一提示可以是“此处松手可取消发送”;那么相应的,在图标显示区域中显示第一提示51的示意图可参见图5a所示。
再一种可选的实施方式中,若消息图标在图标显示区域中被取消按压操作,则从资源传输界面返回至会话界面。例如,消息图标在被移动了一小段距离后,若目标用户松手了,则可认为消息图标在图标显示区域中被取消了按压操作。此时,目标终端可从资源传输界面返回至会话界面,如图5b所示。
S404,响应于消息图标被移动至对象显示区域,向所述对象显示区域中的目标传输对象传输目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的。
在一种可选的实施方式中,在消息图标被移动至对象显示区域时,目标终端还可将消息图标所在的子区域进行高亮显示;通过对消息图标所在的子区域进行高亮显示,可直观提示目标用户消息图标已被移动至对象显示区域。具体的,若消息图标所在的子区域为第一子区域,则对第一子区域进行高亮显示的示意图可参见图5c所示;若消息图标所在的子区域为第二子区域,则对第二子区域进行高亮显示的示意图可参见图5d所示。
再一种可选的实施方式中,若消息图标所在的子区域为第二子区域,则目标终端在将消息图标所在的子区域进行高亮显示时,还可同步将第二子区域中的各个其他会话的会话标识的显示状态更新为待选状态(如图5d所示的灰色状态)。在此情况下,目标用户可将消息图标向任一其他会话的会话标识的显示位置进行移动,以实现目标会话的选择;相应的,在消息图标被移动至任一其他会 话的会话标识的显示位置处时,目标终端可将该任一其他会话的会话标识的显示状态从待选状态切换至选中状态。例如,消息图标被移动至第一个会话标识的显示位置处时,目标终端可将第一个会话标识的显示状态从待选状态(如灰色状态)切换至选中状态(如白色状态),如图5e所示。需要说明的是,若目标用户是通过手指或外接设备(如鼠标)控制消息图标进行移动的,则目标用户可在各个其他会话的会话标识的显示位置之间多次来回拖动消息图标,以切换选择会话标识,从而最终选定目标会话(即目标传输对象或者目标对象)。相应的,在目标用户来回拖动消息图标的过程中,目标终端可继续绘制消息图标的移动轨迹,并在检测消息图标被取消按压操作后,结束移动轨迹的绘制;然后,根据移动轨迹的终点确定目标对象。
再一种可选的实施方式中,为避免因目标用户不小心将消息图标移动至对象显示区域而导致的资源误传输,目标终端在检测到消息图标位于对象显示区域内后,还可进一步检测消息图标在该对象显示区域的停留时长是否大于时长阈值(如3秒);若大于,则再执行向目标对象标识所指示的目标对象传输目标消息对应的数据资源的步骤。即在此实施方式下,目标用户在将消息图标拖动至对象显示区域后,仍需要继续按压消息图标,并在等待按压时长大于时长阈值后,才可触发目标终端传输数据资源。进一步的,为提升目标用户按压消息图标的趣味性,以及直观反映目标用户还需等待的剩余时长;目标终端还可根据消息图标在对象显示区域中被按压的按压时长,在对象显示区域中播放传输指示动画。其中,该传输指示动画用于指示等待传输目标消息对应的数据资源的剩余时长;传输指示动画的播放总时长可等于时长阈值。具体的,该传输指示动画可至少包括以下几种具体实现:
具体实现一,该传输指示动画可以是一个在时钟图标中进行倒计时的动画;在此具体实现中,目标终端在根据消息图标在对象显示区域中被按压的按压时长,在对象显示区域中播放传输指示动画时,可实时根据消息图标在对象显示区域中被按压的按压时长的变化,动态控制时钟图标中的指针转动。例如设消息图标位于第一子区域内,则播放该传输指示动画的示意图可参见图5f所示。
具体实现二,该传输指示动画也可以是倒计时的数字变化动画;在此具体实现中,目标终端在根据消息图标在对象显示区域中被按压的按压时长,在对象显示区域中播放传输指示动画时,可实时根据消息图标在对象显示区域中被按压的按压时长,计算剩余时长;并在对象显示区域中动态显示剩余时长。例如仍设消息图标位于第一子区域内,则播放传输指示动画的示意图可参见图5g所示。
具体实现三,对象显示区域还包括等待进度条,该等待进度条由多段子进度条构成;每段子进度条的显示状态均为第一状态,且一段子进度条对应一个时长区间。那么该传输指示动画可以为依次将各子进度条的显示状态从第一状态切换至第二状态的动画;在此具体实现中,目标终端在根据消息图标在对象显示区域中被按压的按压时长,在对象显示区域中播放传输指示动画时,可根据消息图标在对象显示区域中被按压的按压时长的变化,依次将等待进度条中各个子进度条的显示状态从第一状态更新为第二状态。其中,第一状态和第二状态是指两个不同显示形态(如形状、颜色)的状态;以第一状态为灰色状态,第二状态为白色状态为例,仍设消息图标位于第一子区域内,则播放传输指示动画的示意图可参见图5h所示。需要说明的是,本申请实施例只是示例性地列举了几种传输指示动画的产品形态,并非穷举。
在传输指示动画播放结束后,则可执行向目标对象标识所指示的目标对象传输目标消息对应的数据资源的步骤。其中,若传输指示动画为在时钟图标中进行倒计时的动画,则传输指示动画播放结束是指:时钟图标中的指针转动至零点;若传输指示动画为倒计时的数字变化动画,则传输指示动画播放结束是指:显示的剩余时长为零;若传输指示动画为依次将各子进度条的显示状态从第一状态切换至第二状态的动画,则传输指示动画播放结束是指:等待进度条中的所有子进度条的显示状态均为第二状态。在一种具体实现中,在消息加载动画播放结束后,目标终端可直接执行向目标对象标识所指示的目标对象传输目标消息对应的数据资源的步骤。再一种具体实现中,在消息加载动画播放结束后,目标终端可在对象显示区域中输出第二提示;该第二提示用于提示:取消针对消 息图标的按压操作,以实现目标消息对应的数据资源的传输。例如,第二提示可以是“松手即可发送”;那么相应的,在对象显示区域中显示第二提示52的示意图可参见图5h的最后一个图所示。目标用户在看见第二提示后,可取消按压该消息图标;相应的,若针对消息图标的按压操作被取消,则目标终端可执行向目标对象标识所指示的目标对象传输目标消息对应的数据资源的步骤。
需要说明的是,若在传输指示动画的播放过程中,消息图标被取消了按压操作,即在传输指示动画播放结束前,消息图标被取消了按压操作;则目标终端可直接从资源传输界面返回至会话界面,取消传输目标消息对应的数据资源。
S405,在向目标对象传输目标消息对应的数据资源的过程中,在对象显示区域中播放资源传输动画。
其中,资源传输动画用于反映目标消息对应的数据资源的传输进度。具体的,该资源传输动画可以包括但不限于:动态显示传输进度的动画、动态显示传输所需的剩余时长的动画,等等。以资源传输动画包括动态显示传输进度的动画为例,在对象显示区域中播放资源传输动画的示意图可参见图5i、图5j或者图5k所示;应理解的是,图5i、图5j以及图5k均只是示例性地表示资源传输动画的显示形态(如显示位置、形状等),并不对此进行限定。
需要说明的是,本申请实施例所提及的数据资源的传输进度可以是指:目标终端将数据资源传输至服务器的进度;也可以是指目标终端通过服务器将数据资源传输至目标对象的进度,本申请实施例对此不作限制。且还需说明的是,当数据资源为文件时,上述所提及的数据资源的传输进度可以是指:文件的传输进度,或者文件的文件信息(如文件标识、文件下载地址)的传输进度,本申请实施例对此也不作限制。
S406,在结束目标消息对应的数据资源的传输后,在对象显示区域中输出提示信息。
其中,提示信息用于提示:已成功将数据资源传输至目标对象,或者向目标对象传输数据资源失败。以提示信息用于提示已成功将数据资源传输至目标对象为例,在对象显示区域中输出提示信息53的示意图可参见图5i、图5j或者图5k所示。在输出提示信息后,目标终端可自动返回至会话界面;或者检测到目标用户的界面返回操作后,返回至会话界面。可选的,目标终端在向目标对象传输目标消息对应的数据资源的过程中,也可不显示资源传输动画,而是在结束目标消息对应的数据资源的传输后,直接在对象显示区域中输出提示信息。
本申请实施例在会话界面中的目标消息被触发后,可直接输出资源传输界面;其中,资源传输界面中的对象显示显示区域中包括至少一个传输对象的对象标识,且资源传输界面中的图标显示区域中包括目标消息对应的消息图标。通过输出该资源传输界面,可使得用户只需将消息图标从图标显示区域移动至对象显示区域内,便可触发终端根据消息图标的移动轨迹的终点从至少一个传输对象中确定目标对象,并向目标对象传输目标消息对应的数据资源;这样可有效简化资源传输的用户操作流程,提升资源传输的效率。
基于上述方法实施例的相关描述,本申请实施例还提出了如图6所示的数据传输方法;在本申请实施例中,主要以目标终端执行该数据传输方法,且默认在对象显示区域中显示关联终端的终端标识为例进行阐述。具体的,在目标用户(即使用目标终端登录社交账号的用户)使用目标终端打开目标会话时,目标终端可在目标会话的会话界面中显示一条或多条会话消息。当目标用户对会话界面中的某条会话消息执行触发操作时,目标终端可通过步骤s61确定被触发的会话消息的消息类型,并通过步骤s62检测该被触发的会话消息的消息类型是否为文件类型、文本类型、多媒体数据类型或者链接类型等预设消息类型。若被触发的会话消息的消息类型不是预设消息类型,则可通过步骤s63输出普通的包含转发组件的菜单选项,以使得目标用户可通过该转发组件将被触发的会话消息对应的数据资源传输至目标对象,此处的目标对象是指待接收该目标消息对应的数据资源的对象。
若被触发的会话消息的消息类型是预设消息类型,则目标终端可通过步骤s64为目标用户输出 资源传输界面(如蒙层界面);并在资源传输界面中的图标显示区域中显示被触发的会话消息所对应的消息图标,以及在对象显示区域中的第一子区域中显示关联终端的终端标识。其中,消息图标的显示原理如下:目标终端可将被触发的会话消息的消息参数(如消息类型等)传递至资源传输界面的Activity(一种组件),使得Activity可根据该消息参数在图标显示区域中显示被触发的会话消息的消息图标。另外,目标终端还可通过步骤s65检测是否存在目标用户的最近通信会话;若存在,则可步骤s66在对象显示区域中的第二子区域中显示该最近通信会话的会话标识。
相应的,目标用户可双指按压并拖动消息图标至对象显示区域的任一子区域,以触发目标终端向目标对象传输该被触发的会话消息对应的数据资源;此处的目标对象可以是关联终端,或者目标用户手指的触摸点所处位置所对应的会话标识指示的最近通信会话。相应的,目标终端在检测到消息图标位于对象显示区域中后,可通过步骤s67检测消息图标在该对象显示区域的停留时长是否大于时长阈值(如1秒)。若大于,则可通过步骤s68请求服务器将该被触发的会话消息对应的数据资源传输至目标对象;否则,则取消被触发的会话消息的数据资源的传输,并通过步骤s69返回至会话界面。
在本申请实施例中,通过输出该资源传输界面,可使得用户只需将消息图标从图标显示区域移动至对象显示区域内,便可实现被触发的会话消息对应的数据资源的传输;这样可有效简化资源传输的用户操作流程,提升资源传输的效率。并且,通过在输出资源传输界面时,默认显示关联终端的终端标识,还可有效提升关联终端的曝光度。
基于上述数据传输方法实施例的描述,本申请实施例还公开了一种数据传输装置,所述数据传输装置可以是运行于上述所提及的目标终端中的一个计算机程序(包括程序代码)。该数据传输装置可以执行图2或图4所示的方法。请参见图7,所述数据传输装置可以运行如下单元:
显示单元701,用于在会话界面中显示目标消息,所述目标消息对应一个数据资源;
所述显示单元701,用于响应于对所述目标消息的触发操作,则输出资源传输界面;所述资源传输界面包括对象显示区域和图标显示区域;所述对象显示区域包括至少一个传输对象的对象标识,所述图标显示区域包括所述目标消息对应的消息图标;其中,所述传输对象为可接收该目标消息对应的数据资源的对象;
所述显示单元701,还用于根据针对所述消息图标的移动操作,将所述消息图标从所述图标显示区域向所述对象显示区域移动;
处理单元702,用于响应于所述消息图标被移动至所述对象显示区域,向所述对象显示区域中的目标传输对象传输所述目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的。
在一种实施方式中,所述资源传输界面为蒙层界面,所述移动操作为持续按压并拖动所述消息图标的操作;所述消息图标被移动至所述对象显示区域是指:所述消息图标的移动轨迹的终点位于所述对象显示区域中;所述消息图标的图标样式是根据所述目标消息的消息参数确定的,所述消息参数可至少包括:所述目标消息的消息类型;其中,所述目标消息的消息类型为:文件类型、文本类型、多媒体数据类型或者链接类型;所述目标消息对应的数据资源为:文件、文本内容、多媒体数据或者链接。
再一种实施方式中,所述至少一个传输对象包括以下至少一种:与目标终端相关联的关联终端,及目标用户所在的至少一个其他会话;所述至少一个传输对象的对象标识包括以下至少一种:所述关联终端的终端标识,以及所述至少一个其他会话的会话标识;其中,所述目标终端是指用于显示所述会话界面的终端,所述关联终端是指与所述目标终端登录了同一个社交账号的终端;所述目标用户是指在所述目标终端中登录社交账号的用户。
再一种实施方式中,所述对象显示区域包括以下至少一个子区域:第一子区域和第二子区域;所述第一子区域用于显示所述关联终端的终端标识,所述第二子区域用于显示所述至少一个其他会话的会话标识;其中,当所述移动轨迹的终点位于所述第一子区域中时,所述目标传输对象为所述 关联终端;当所述移动轨迹的终点位于所述第二子区域中时,所述目标传输对象为所述至少一个其他会话中的目标会话;所述目标会话满足以下条件:所述目标会话的会话标识的显示位置与所述移动轨迹的终点所处的位置之间的距离小于或等于距离阈值。
再一种实施方式中,显示单元701还可用于:在将所述消息图标移动至所述对象显示区域的过程中,在所述图标显示区域中显示第一提示;其中,所述第一提示用于提示:若在所述图标显示区域中取消针对所述消息图标的按压操作,则取消所述目标消息对应的数据资源的传输。
再一种实施方式中,显示单元701还可用于:在将所述消息图标移动至所述对象显示区域时,将所述消息图标所在的子区域进行高亮显示。
再一种实施方式中,所述消息图标所在的子区域为所述第二子区域;相应的,显示单元701还可用于:在将所述消息图标所在的子区域进行高亮显示时,同步将所述第二子区域中的各个其他会话的会话标识的显示状态更新为待选状态;在所述消息图标被移动至任一其他会话的会话标识的显示位置处,将所述任一其他会话的会话标识的显示状态从所述待选状态切换至选中状态。
再一种实施方式中,所述在所述消息图标被移动至所述对象显示区域之后;相应的,显示单元701还可用于:根据所述消息图标在所述对象显示区域中被按压的按压时长,在所述对象显示区域中播放传输指示动画,所述传输指示动画用于指示等待传输所述目标消息对应的数据资源的剩余时长;在所述传输指示动画播放结束后,则执行向目标传输对象传输所述目标消息对应的数据资源的步骤。
再一种实施方式中,所述在所述消息加载动画播放结束后;相应的,显示单元701还可用于:在所述对象显示区域中输出第二提示;所述第二提示用于提示:取消针对所述消息图标的按压操作,以实现所述目标消息对应的数据资源的传输;若针对所述消息图标的按压操作被取消,则执行向目标传输对象传输所述目标消息对应的数据资源的步骤。
再一种实施方式中,所述对象显示区域还包括等待进度条,所述等待进度条由多段子进度条构成;每段子进度条的显示状态均为第一状态,且一段子进度条对应一个时长区间;相应的,显示单元701在用于根据所述消息图标在所述对象显示区域中被按压的按压时长,在所述对象显示区域中播放传输指示动画时,可具体用于:根据所述消息图标在所述对象显示区域中被按压的按压时长的变化,依次将所述等待进度条中各个子进度条的显示状态从所述第一状态更新为第二状态;其中,所述传输指示动画播放结束是指:所述等待进度条中的所有子进度条的显示状态均为所述第二状态。
再一种实施方式中,显示单元701还可用于:若所述消息图标在所述图标显示区域中被取消按压操作,则从所述资源传输界面返回至所述会话界面。
再一种实施方式中,显示单元701还可用于:在向所述目标传输对象传输所述目标消息对应的数据资源的过程中,在所述对象显示区域中播放资源传输动画;所述资源传输动画用于反映所述目标消息对应的数据资源的传输进度;在结束所述目标消息对应的数据资源的传输后,在所述对象显示区域中输出提示信息,所述提示信息用于提示:已成功将所述数据资源传输至所述目标传输对象,或者向所述目标传输对象传输所述数据资源失败。
根据本申请的一个实施例,图2或图4所示的方法所涉及的各个步骤均可以是由图7所示的数据传输装置中的各个单元来执行的。例如,图2中所示的步骤S201-S203均可由图7中所示的显示单元701来执行,步骤S204可由图7中所示的处理单元702来执行。又如,图4中所示的步骤S401-S403以及步骤S405-S406均可由图7中所示的显示单元701来执行,步骤S404可由图7中所示的处理单元702来执行,等等。
根据本申请的另一个实施例,图7所示的数据传输装置中的各个单元可以分别或全部合并为一个或若干个另外的单元来构成,或者其中的某个(些)单元还可以再拆分为功能上更小的多个单元来构成,这可以实现同样的操作,而不影响本申请的实施例的技术效果的实现。上述单元是基于逻辑功能划分的,在实际应用中,一个单元的功能也可以由多个单元来实现,或者多个单元的功能由一个单元实现。在本申请的其它实施例中,基于数据传输装置也可以包括其它单元,在实际应用中, 这些功能也可以由其它单元协助实现,并且可以由多个单元协作实现。
根据本申请的另一个实施例,可以通过在包括中央处理单元(CPU)、随机存取存储介质(RAM)、只读存储介质(ROM)等处理元件和存储元件的例如计算机的通用计算设备上运行能够执行如图2或图4中所示的相应方法所涉及的各步骤的计算机程序(包括程序代码),来构造如图7中所示的数据传输装置设备,以及来实现本申请实施例的数据传输方法。所述计算机程序可以记载于例如计算机可读记录介质上,并通过计算机可读记录介质装载于上述计算设备中,并在其中运行。
本申请实施例在会话界面中的目标消息被触发后,可直接输出资源传输界面;其中,资源传输界面中的对象显示显示区域中包括至少一个传输对象的对象标识,且资源传输界面中的图标显示区域中包括目标消息对应的消息图标。通过输出该资源传输界面,可使得用户只需将消息图标从图标显示区域移动至对象显示区域内,便可触发终端根据消息图标的移动轨迹的终点从至少一个传输对象中确定目标对象,并向目标对象传输目标消息对应的数据资源;这样可有效简化资源传输的用户操作流程,提升资源传输的效率。
基于上述方法实施例以及装置实施例的描述,本申请实施例还提供一种终端(即上述所提及的目标终端)。请参见图8,该终端可至少包括处理器801、输入设备802、输出设备803以及计算机存储介质804。其中,终端内的处理器801、输入设备802、输出设备803以及计算机存储介质804可通过总线或其他方式连接。
计算机存储介质804可以存储在终端的存储器中,所述计算机存储介质804用于存储计算机程序,所述计算机程序包括程序指令,所述处理器801用于执行所述计算机存储介质804存储的程序指令。处理器801(或称CPU(Central Processing Unit,中央处理器))是终端的计算核心以及控制核心,其适于实现一条或多条指令,具体适于加载并执行一条或多条指令从而实现相应方法流程或相应功能;在一个实施例中,本申请实施例所述的处理器801可以用于进行一系列的资源传输处理,具体包括:在会话界面中显示目标消息,所述目标消息对应一个数据资源;响应于对所述目标消息的触发操作,则输出资源传输界面;所述资源传输界面包括对象显示区域和图标显示区域;所述对象显示区域包括至少一个传输对象的对象标识,所述图标显示区域包括所述目标消息对应的消息图标;其中,所述传输对象为可接收该目标消息对应的数据资源的对象;根据针对所述消息图标的移动操作,将所述消息图标从所述图标显示区域向所述对象显示区域移动;响应于所述消息图标被移动至所述对象显示区域,向所述对象显示区域中的目标传输对象传输所述目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的,等等。
本申请实施例还提供了一种计算机存储介质(Memory),所述计算机存储介质是终端中的记忆设备,用于存放程序和数据。可以理解的是,此处的计算机存储介质既可以包括终端中的内置存储介质,当然也可以包括终端所支持的扩展存储介质。计算机存储介质提供存储空间,该存储空间存储了终端的操作系统。并且,在该存储空间中还存放了适于被处理器801加载并执行的一条或多条的指令,这些指令可以是一个或一个以上的计算机程序(包括程序代码),用于实现本申请实施例所述的上述有关数据传输方法实施例中的方法的相应步骤。需要说明的是,此处的计算机存储介质可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器;可选的还可以是至少一个位于远离前述处理器的计算机存储介质。
需要说明的是,根据本申请的一个方面,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述图2或图4所示的数据传输方法实施例方面的各种可选方式中提供的方法。
并且,应理解的是,以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围,因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。

Claims (15)

  1. 一种数据传输方法,由终端执行,包括:
    在会话界面中显示目标消息,所述目标消息包含一个数据资源;
    响应于对所述目标消息的触发操作,则输出资源传输界面;所述资源传输界面包括对象显示区域和图标显示区域;所述对象显示区域包括至少一个传输对象的对象标识,所述图标显示区域包括所述目标消息对应的消息图标;其中,所述传输对象为可接收该目标消息对应的数据资源的对象;
    根据针对所述消息图标的移动操作,将所述消息图标从所述图标显示区域向所述对象显示区域移动;
    响应于所述消息图标被移动至所述对象显示区域,向所述对象显示区域中的目标传输对象传输所述目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的。
  2. 如权利要求1所述的方法,其中,所述资源传输界面为蒙层界面,所述移动操作为持续按压并拖动所述消息图标的操作;所述消息图标被移动至所述对象显示区域是指:所述消息图标的移动轨迹的终点位于所述对象显示区域中;
    所述消息图标的图标样式是根据所述目标消息的消息参数确定的,所述消息参数可至少包括:所述目标消息的消息类型;
    其中,所述目标消息的消息类型为:文件类型、文本类型、多媒体数据类型或者链接类型;所述目标消息对应的数据资源为:文件、文本内容、多媒体数据或者链接。
  3. 如权利要求2所述的方法,其中,所述至少一个传输对象包括以下至少一种:与目标终端相关联的关联终端,及目标用户所在的至少一个其他会话;所述至少一个传输对象的对象标识包括以下至少一种:所述关联终端的终端标识,以及所述至少一个其他会话的会话标识;
    其中,所述目标终端是指用于显示所述会话界面的终端,所述关联终端是指与所述目标终端登录了同一个社交账号的终端;所述目标用户是指在所述目标终端中登录社交账号的用户。
  4. 如权利要求3所述的方法,其中,所述对象显示区域包括以下至少一个子区域:第一子区域和第二子区域;所述第一子区域用于显示所述关联终端的终端标识,所述第二子区域用于显示所述至少一个其他会话的会话标识;
    其中,当所述移动轨迹的终点位于所述第一子区域中时,所述目标传输对象为所述关联终端;当所述移动轨迹的终点位于所述第二子区域中时,所述目标传输对象为所述至少一个其他会话中的目标会话;所述目标会话满足以下条件:所述目标会话的会话标识的显示位置与所述移动轨迹的终点所处的位置之间的距离小于或等于距离阈值。
  5. 如权利要求4所述的方法,其中,所述方法还包括:
    在将所述消息图标移动至所述对象显示区域的过程中,在所述图标显示区域中显示第一提示;
    其中,所述第一提示用于提示:若在所述图标显示区域中取消针对所述消息图标的按压操作,则取消所述目标消息对应的数据资源的传输。
  6. 如权利要求4所述的方法,其中,所述方法还包括:
    在将所述消息图标移动至所述对象显示区域时,将所述消息图标所在的子区域进行高亮显示。
  7. 如权利要求6所述的方法,其中,所述消息图标所在的子区域为所述第二子区域,所述方法还包括:
    在将所述消息图标所在的子区域进行高亮显示时,同步将所述第二子区域中的各个其他会话的会话标识的显示状态更新为待选状态;
    在所述消息图标被移动至任一其他会话的会话标识的显示位置处,将所述任一其他会话的会话标识的显示状态从所述待选状态切换至选中状态。
  8. 如权利要求2-7任一项所述的方法,其中,所述在将所述消息图标移动至所述对象显示区 域之后,还包括:
    根据所述消息图标在所述对象显示区域中被按压的按压时长,在所述对象显示区域中播放传输指示动画,所述传输指示动画用于指示等待传输所述目标消息对应的数据资源的剩余时长;
    在所述传输指示动画播放结束后,则执行向目标传输对象传输所述目标消息对应的数据资源的步骤。
  9. 如权利要求8所述的方法,其中,所述在所述消息加载动画播放结束后,还包括:
    在所述对象显示区域中输出第二提示;所述第二提示用于提示:取消针对所述消息图标的按压操作,以实现所述目标消息对应的数据资源的传输;
    若针对所述消息图标的按压操作被取消,则执行向目标传输对象传输所述目标消息对应的数据资源的步骤。
  10. 如权利要求8所述的方法,其中,所述对象显示区域还包括等待进度条,所述等待进度条由多段子进度条构成;每段子进度条的显示状态均为第一状态,且一段子进度条对应一个时长区间;
    所述根据所述消息图标在所述对象显示区域中被按压的按压时长,在所述对象显示区域中播放传输指示动画,包括:
    根据所述消息图标在所述对象显示区域中被按压的按压时长的变化,依次将所述等待进度条中各个子进度条的显示状态从所述第一状态更新为第二状态;
    其中,所述传输指示动画播放结束是指:所述等待进度条中的所有子进度条的显示状态均为所述第二状态。
  11. 如权利要求2-7任一项所述的方法,其中,所述方法还包括:
    若所述消息图标在所述图标显示区域中被取消按压操作,则从所述资源传输界面返回至所述会话界面。
  12. 如权利要求1所述的方法,其中,所述方法还包括:
    在向所述目标传输对象传输所述目标消息对应的数据资源的过程中,在所述对象显示区域中播放资源传输动画;所述资源传输动画用于反映所述目标消息对应的数据资源的传输进度;
    在结束所述目标消息对应的数据资源的传输后,在所述对象显示区域中输出提示信息,所述提示信息用于提示:已成功将所述数据资源传输至所述目标传输对象,或者向所述目标传输对象传输所述数据资源失败。
  13. 一种数据传输装置,包括:
    显示单元,用于在会话界面中显示目标消息,所述目标消息包含一个数据资源;
    所述显示单元,用于响应于对所述目标消息的触发操作,则输出资源传输界面;所述资源传输界面包括对象显示区域和图标显示区域;所述对象显示区域包括至少一个传输对象的对象标识,所述图标显示区域包括所述目标消息对应的消息图标;其中,所述传输对象为可接收该目标消息对应的数据资源的对象;
    所述显示单元,还用于根据针对所述消息图标的移动操作,将所述消息图标从所述图标显示区域向所述对象显示区域移动;
    处理单元,用于响应于所述消息图标被移动至所述对象显示区域,向所述对象显示区域中的目标传输对象传输所述目标消息对应的数据资源,所述目标传输对象是根据所述消息图标的移动轨迹的终点的位置,从所述对象显示区域的至少一个传输对象中确定的。
  14. 一种终端,包括输入设备和输出设备,还包括:
    处理器,适于实现一条或多条指令;以及,
    计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由所述处理器加载并执行如权利要求1-12任一项所述的数据传输方法。
  15. 一种计算机存储介质,所述计算机存储介质存储有一条或多条指令,所述一条或多条指令适于由处理器加载并执行如权利要求1-12任一项所述的数据传输方法。
PCT/CN2021/108878 2020-08-29 2021-07-28 数据传输方法、装置、终端及存储介质 WO2022042183A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP21860023.7A EP4099662A4 (en) 2020-08-29 2021-07-28 DATA TRANSMISSION METHOD AND DEVICE, TERMINAL AND STORAGE MEDIUM
US17/964,393 US11928485B2 (en) 2020-08-29 2022-10-12 Data transmission method and apparatus, terminal, and storage medium
US18/390,068 US20240202013A1 (en) 2020-08-29 2023-12-20 Data transmission method and apparatus, terminal, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010890571.2 2020-08-29
CN202010890571.2A CN112054950B (zh) 2020-08-29 2020-08-29 资源传输方法、装置、终端及介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/964,393 Continuation US11928485B2 (en) 2020-08-29 2022-10-12 Data transmission method and apparatus, terminal, and storage medium

Publications (1)

Publication Number Publication Date
WO2022042183A1 true WO2022042183A1 (zh) 2022-03-03

Family

ID=73607048

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/108878 WO2022042183A1 (zh) 2020-08-29 2021-07-28 数据传输方法、装置、终端及存储介质

Country Status (4)

Country Link
US (2) US11928485B2 (zh)
EP (1) EP4099662A4 (zh)
CN (1) CN112054950B (zh)
WO (1) WO2022042183A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112054950B (zh) 2020-08-29 2022-05-13 腾讯科技(深圳)有限公司 资源传输方法、装置、终端及介质
CN112954480B (zh) * 2021-02-09 2023-10-27 维沃移动通信有限公司 数据传输进度的显示方法和数据传输进度的显示装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170054663A1 (en) * 2015-08-18 2017-02-23 Blend Systems, Inc. Systems and methods for sharing videos and images in a texting environment
CN108228031A (zh) * 2018-01-24 2018-06-29 维沃移动通信有限公司 一种图片分享方法、图片显示方法及移动终端
CN110174994A (zh) * 2019-05-27 2019-08-27 网易(杭州)网络有限公司 聊天消息转发的方法及装置、电子设备、存储介质
CN110519153A (zh) * 2019-08-15 2019-11-29 连尚(新昌)网络科技有限公司 一种发送群会话消息的方法与设备
CN112054950A (zh) * 2020-08-29 2020-12-08 腾讯科技(深圳)有限公司 资源传输方法、装置、终端及介质

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850995B1 (en) * 1999-01-25 2005-02-01 Canon Kabushiki Kaisha Control unit selectively connected with a first bus and a second bus for controlling a displaying process in parallel with a scanning process
US20030084109A1 (en) * 2001-10-30 2003-05-01 Balluff Daniel A. Efficient message notification system and method for communication devices
US7383308B1 (en) * 2004-02-11 2008-06-03 Aol Llc, A Delaware Limited Liability Company Buddy list-based sharing of electronic content
CN100407686C (zh) 2004-08-31 2008-07-30 腾讯科技(深圳)有限公司 基于即时通讯工具的网络存储服务中对象共享的实现方法
US20070022213A1 (en) * 2005-07-20 2007-01-25 Research In Motion Limited Scheme for sharing IM message history
US20070234227A1 (en) * 2006-03-31 2007-10-04 Business Objects, S.A. Apparatus and method for selecting multiple items in a graphical user interface
KR100986376B1 (ko) * 2008-05-08 2010-10-08 주식회사 팬택 Mms 메시지 전송 상태 표시 방법 및 그를 위한통신단말기
US8756519B2 (en) * 2008-09-12 2014-06-17 Google Inc. Techniques for sharing content on a web page
KR101569427B1 (ko) * 2008-10-02 2015-11-16 삼성전자주식회사 휴대 단말기의 터치 입력 장치 및 그의 운영 방법
US8312392B2 (en) * 2009-10-02 2012-11-13 Qualcomm Incorporated User interface gestures and methods for providing file sharing functionality
EP3734404A1 (en) * 2011-02-10 2020-11-04 Samsung Electronics Co., Ltd. Portable device comprising a touch-screen display, and method for controlling same
KR101770207B1 (ko) * 2011-06-01 2017-08-22 엘지전자 주식회사 무선 통신 시스템에서 단말의 멀티미디어 메시지 제어 방법 및 이를 위한 장치
CN102891891A (zh) 2012-09-26 2013-01-23 广州市动景计算机科技有限公司 跨设备文件传输方法和系统
KR102070772B1 (ko) * 2012-12-07 2020-01-29 엘지전자 주식회사 이동 단말기 및 이의 제어 방법, 이를 위한 기록 매체
KR102044826B1 (ko) * 2013-01-02 2019-11-14 삼성전자 주식회사 마우스 기능 제공 방법 및 이를 구현하는 단말
US10003938B2 (en) * 2015-08-14 2018-06-19 Apple Inc. Easy location sharing
CN106446096A (zh) * 2016-09-12 2017-02-22 努比亚技术有限公司 一种文件分享方法、装置及终端
CN110851213B (zh) * 2016-09-23 2024-01-30 华为机器有限公司 一种信息的显示方法以及终端
CN106502527A (zh) * 2016-09-29 2017-03-15 北京小米移动软件有限公司 一种内容分享的方法、装置及终端
CN108803958B (zh) * 2017-04-26 2022-12-16 腾讯科技(深圳)有限公司 文件载入控制、云存储应用中实现上传的交互方法和装置
US10824800B2 (en) * 2017-11-10 2020-11-03 Think Research Corporation System and method for designing and editing computerized electronic data-entry forms
US20180205772A1 (en) * 2018-03-12 2018-07-19 Vaultize Technologies Private Limited Folder and file based collaboration using messaging
CN111858522A (zh) * 2020-08-06 2020-10-30 Oppo广东移动通信有限公司 文件分享方法、装置、终端及存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170054663A1 (en) * 2015-08-18 2017-02-23 Blend Systems, Inc. Systems and methods for sharing videos and images in a texting environment
CN108228031A (zh) * 2018-01-24 2018-06-29 维沃移动通信有限公司 一种图片分享方法、图片显示方法及移动终端
CN110174994A (zh) * 2019-05-27 2019-08-27 网易(杭州)网络有限公司 聊天消息转发的方法及装置、电子设备、存储介质
CN110519153A (zh) * 2019-08-15 2019-11-29 连尚(新昌)网络科技有限公司 一种发送群会话消息的方法与设备
CN112054950A (zh) * 2020-08-29 2020-12-08 腾讯科技(深圳)有限公司 资源传输方法、装置、终端及介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4099662A4

Also Published As

Publication number Publication date
US20230032666A1 (en) 2023-02-02
CN112054950A (zh) 2020-12-08
EP4099662A4 (en) 2023-11-01
CN112054950B (zh) 2022-05-13
US11928485B2 (en) 2024-03-12
EP4099662A1 (en) 2022-12-07
US20240202013A1 (en) 2024-06-20

Similar Documents

Publication Publication Date Title
WO2021175052A1 (zh) 截屏图片的分享方法、装置、终端及存储介质
US11347389B2 (en) File processing method, terminal, and storage medium
CN109844717B (zh) 用于移动应用程序的实时远程控制的系统和方法
TWI782927B (zh) 訊息提示方法,訊息展示方法和相關裝置
JP7013466B2 (ja) アプリケーションデータ処理方法、装置、及びコンピュータプログラム
US10761680B2 (en) Display method of scenario emoticon using instant message service and user device therefor
US11928485B2 (en) Data transmission method and apparatus, terminal, and storage medium
US11681432B2 (en) Method and terminal for displaying input method virtual keyboard
WO2021012836A1 (zh) 界面显示方法、装置、终端及存储介质
US20220224663A1 (en) Message Display Method and Apparatus, Terminal, and Computer-Readable Storage Medium
CN105094551A (zh) 一种信息处理方法及电子设备
US10372512B2 (en) Method and apparatus for automatic processing of service requests on an electronic device
WO2022057393A1 (zh) 事件处理方法、装置、存储介质、移动终端及电脑
WO2022156668A1 (zh) 信息处理方法和电子设备
CN110784597A (zh) 自动相机选择
US10139983B2 (en) Controlling access to content
CN114461100A (zh) 一种应用程序的处理方法、装置、设备及介质
CN112054951B (zh) 资源传输方法、装置、终端及介质
CN112055164A (zh) 信息互动方法、装置、终端及存储介质
WO2024022472A1 (zh) 一种信息处理方法、装置、设备及介质
CN115220619A (zh) 消息处理方法、装置及电子设备
CN115113777A (zh) 一种应用程序的处理方法、装置及终端
CN117193612A (zh) 多媒体资源处理方法、装置、计算机设备及存储介质
CN116107459A (zh) 页面显示方法、装置、终端设备及存储介质
CN117499356A (zh) 会话消息的处理方法、装置、设备、存储介质及程序产品

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021860023

Country of ref document: EP

Effective date: 20220831

NENP Non-entry into the national phase

Ref country code: DE