WO2017121267A1 - Method and apparatus for resource transmission - Google Patents

Method and apparatus for resource transmission Download PDF

Info

Publication number
WO2017121267A1
WO2017121267A1 PCT/CN2017/070121 CN2017070121W WO2017121267A1 WO 2017121267 A1 WO2017121267 A1 WO 2017121267A1 CN 2017070121 W CN2017070121 W CN 2017070121W WO 2017121267 A1 WO2017121267 A1 WO 2017121267A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
resource
multimedia file
resource transmission
sent
Prior art date
Application number
PCT/CN2017/070121
Other languages
French (fr)
Chinese (zh)
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 阿里巴巴集团控股有限公司
Publication of WO2017121267A1 publication Critical patent/WO2017121267A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • 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]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • 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

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a resource transmission method and apparatus.
  • IM Instant Messaging
  • Users can use the instant messaging application to perform basic instant messaging with text, audio and video with designated users. Realize the transfer of files between different accounts (such as multimedia files, etc.) and the transfer of resources.
  • the embodiment of the invention provides a resource transmission method and device, which solves the problem that the resource transmission is too cumbersome while the user browses the multimedia file in the prior art.
  • the first IM client receives the multimedia file sent by the second IM client
  • the resource corresponding to the first IM client is sent to the second IM client.
  • a resource transmission method is also provided by the embodiment of the present invention, including:
  • the server receives the multimedia file sent by the second IM client, where the multimedia file carries a control Display instruction
  • a resource transmission method is also provided by the embodiment of the present invention, including:
  • the second IM client determines the multimedia file to be sent
  • the control display instruction is generated, and the control display instruction is carried in the multimedia file to be sent, and sent to the first IM client, so that the first IM client is playing the
  • the resource transmission control is displayed in the play interface of the multimedia file, and when the first IM client detects the operation of the resource transfer control by the user, the resource corresponding to the first IM client is sent to the second IM client;
  • a resource transmission method is also provided by the embodiment of the present invention, including:
  • the second IM client determines the multimedia file to be sent
  • the resource transmission control is generated and embedded in the multimedia file to be sent, and sent to the first IM client, so that the first IM client plays the playing interface of the multimedia file.
  • the resource transmission control is displayed, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client;
  • a resource transmission method is also provided by the embodiment of the present invention, including:
  • the first IM client obtains a multimedia file that is sent by the second IM client on the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client;
  • the resource corresponding to the first IM client is sent to the second IM client.
  • a resource transmission method is also provided by the embodiment of the present invention, including:
  • the second IM client determines the multimedia file to be sent
  • the control display instruction is generated, and the control display instruction is carried in the multimedia file to be sent, and is published on the communication platform, so that the first IM client obtains the second IM client to be published in the a multimedia file on the communication platform, displaying a resource transmission control in a play interface for playing the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, the first IM client Corresponding resources are sent to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client;
  • a receiving module configured to receive a multimedia file sent by the second IM client
  • a playing module configured to play the multimedia file
  • control display module configured to display a resource transmission control in a play interface for playing the multimedia file
  • the resource transmission module is configured to send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control by the user is monitored.
  • the embodiment of the invention further provides a resource transmission device, including:
  • a receiving module configured to receive a multimedia file sent by the second IM client, where the multimedia file carries a control display instruction
  • a resource control module configured to generate a resource transmission control according to the control display instruction, and embed the multimedia transmission file
  • the multimedia file embedded with the resource transmission control is forwarded to the first IM client corresponding to the second IM client, so that the first IM client displays in the playing interface of playing the multimedia file
  • the resource transmission control and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
  • the embodiment of the invention further provides a resource transmission device, including:
  • a determining module configured to determine a multimedia file to be sent
  • a monitoring module configured to monitor a user's calling operation on a resource transmission function
  • a control instruction module configured to: after the calling operation is detected, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and send the instruction to the first IM client, so that the first IM is
  • the client displays a resource transmission control in a play interface that plays the multimedia file, and monitors the first IM client When the operation of the resource transmission control is detected by the user, the resource corresponding to the first IM client is sent to the second IM client;
  • the receiving module is configured to receive the resource sent by the first IM client.
  • the embodiment of the invention further provides a resource transmission device, including:
  • a determining module configured to determine a multimedia file to be sent
  • a monitoring module configured to monitor a user's calling operation on a resource transmission function
  • a control generating module configured to generate a resource transfer control, and embed in the multimedia file to be sent, and send the message to the first IM client, so that the first IM client displays the resource in the play interface that plays the multimedia file Transmitting the control, and when the first IM client detects the operation of the resource transmission control by the user, sending the resource corresponding to the first IM client to the second IM client;
  • the receiving module is configured to receive the resource sent by the first IM client.
  • the embodiment of the invention further provides a resource transmission device, including:
  • the obtaining module is configured to obtain a multimedia file that is sent by the second IM client to the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client;
  • a playing module configured to play the multimedia file
  • control display module configured to display a resource transmission control in a play interface for playing the multimedia file
  • the resource transmission module is configured to send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control by the user is monitored.
  • the embodiment of the invention further provides a resource transmission device, including:
  • a determining module configured to determine a multimedia file to be sent
  • a monitoring module configured to monitor a user's calling operation on a resource transmission function
  • a publishing module configured to generate a control display instruction after the calling operation is performed, and carry the control display instruction in the multimedia file to be sent, and publish the information on the communication platform, so that the first IM client obtains the second
  • the IM client publishes the multimedia file on the communication platform, displays the resource transmission control in the play interface that plays the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user,
  • the first IM client is configured to send the resource to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client;
  • the receiving module is configured to receive the resource sent by the first IM client.
  • the embodiment of the invention provides a resource transmission method and device. After the first IM client receives the multimedia file sent by the second IM client and plays the same, the first IM client will play the video. Media The resource transfer control is displayed in the play interface of the file, so that the user using the first IM client needs to initiate the resource transfer operation without switching the interface, and only needs to perform the resource transfer control displayed in the current play interface. Operation, the transmission of resources to the second IM client can be realized. Obviously, this method effectively simplifies the operation process and is convenient for the user to operate.
  • FIG. 1 is a schematic diagram of a resource transmission process according to an embodiment of the present invention
  • FIGS. 2a-2d are schematic diagrams of interfaces displayed on a first IM client in an actual application according to an embodiment of the present invention
  • 3 to 7 are schematic diagrams of resource transmission processes in different scenarios according to an embodiment of the present invention.
  • FIGS. 8 to 13 are schematic structural diagrams of a resource transmission apparatus in different scenarios according to an embodiment of the present invention.
  • the present application provides a resource transmission method, which can effectively improve the convenience of resource transmission under the above circumstances.
  • the resources described in the embodiments of the present application are information that can be transmitted, such as multimedia files, address book information, and amount information.
  • the resource may be stored in the terminal or in the account of the user who uses the terminal. This does not constitute a limitation on the present application.
  • FIG. 1 is a resource transmission process according to an embodiment of the present invention, and the process specifically includes the following steps:
  • the first IM client receives the multimedia file sent by the second IM client.
  • the first IM client and the second IM client are respectively IM applications in the terminal used by different users (for convenience of description, the user of the first IM client will be used hereinafter.
  • the terminal running the first IM application is referred to as the first terminal; the user using the second IM client is referred to as the second user, and the terminal running the second IM application is referred to as the second terminal), and different users may pass the An IM client and a second IM client perform instant messaging.
  • the first IM client described herein receives the multimedia file sent by the second IM client, that is, the multimedia file sent by the first user to the second user. It can be understood that the first IM client described in some places in this application. It can refer to the first user, and the second IM client can refer to the second user.
  • the first terminal and the second terminal include, but are not limited to, a mobile terminal such as a mobile phone or a tablet computer, or a computer terminal.
  • a mobile terminal such as a mobile phone or a tablet computer
  • the user can directly use the first terminal and the second terminal to implement instant messaging (for example, It is implemented by using the functions of the short message and the multimedia message provided by the system in the terminal.
  • the first terminal and the second terminal can realize instant communication through their own communication functions, which does not constitute a limitation of the present application.
  • the multimedia file includes but is not limited to: a video file, a dynamic picture (such as a dynamic picture in a Live Photo format), and the like.
  • the multimedia file may be generated by the second user using the second terminal, or may be a video file stored in the second terminal.
  • the first user using the first IM client after the first IM client receives the multimedia file, the first user using the first IM client usually browses the multimedia file, and when the first user sends a corresponding browsing operation for the multimedia file. After that, the first IM client will play the multimedia file.
  • the multimedia file is played in the corresponding playback interface, and the playback interface usually temporarily covers the instant messaging interface. If the first user using the first IM client wants to transmit the resource to the second user that sends the multimedia file, the first user needs to switch the interface on the first IM client to find the corresponding resource transmission function. Then, the resource is transmitted to the second IM client. Obviously, such a method is not convenient for the user to operate.
  • the resource transmission control is displayed in the play interface.
  • the resource transmission control is associated with the resource transmission component (program) in the first IM client.
  • the resource transmission control can invoke the resource transmission function in the first IM client to implement resource transmission.
  • the resource transmission control displayed in the play interface can effectively reduce or prevent the user from searching for the resource transmission function.
  • the resource transmission control may be displayed in the play interface of the first terminal by using a floating layer, a floating button, or the like, and does not constitute a limitation on the present application.
  • S104 Send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control is detected by the user.
  • the first user performs the operation on the resource transmission control
  • the first user performs the resource transmission operation
  • the first terminal sends the corresponding resource to the second terminal according to the operation of the first user.
  • the transmission of resources may refer to sending the resource of the first user corresponding to the first IM client to the second IM client.
  • the two users may specifically refer to the transmission of resources between accounts between users, or the transmission of other resources.
  • the first IM client can obtain the resource from the first terminal and send the resource to the second IM client;
  • the resource is stored in the user's account (eg, amount information, payment information, etc.), then the first IM client will obtain the resource in the first user's account and send it to the second user corresponding to the second IM client.
  • the calling, transmission, etc. of the resources in the account may be implemented by an instant messaging system, or may be implemented by a third-party system, for example, when the funds in the account are transferred, the third-party payment system may be implemented. Wait.
  • the resource transmission control may be a control corresponding to a functional component with a resource transmission function integrated in the client, for example, a button, and the user may invoke the component of the resource transmission function by clicking the button.
  • the resource transmission control may specifically point to a red envelope issuing function component (which may be a program component or other functional module component, etc.) in the client, and the user selects or clicks the control,
  • the function interface for issuing red envelopes can be called up for the user to issue red envelopes.
  • the control may be directed to a corresponding functional component in other clients or servers, and the embodiment of the present application is not particularly limited.
  • the resource transmission control is operated by the user, and when the resource is transmitted, the third-party system may be used to implement the resource transmission, for example, the red packet (funding) resource transmission in the red packet distribution scenario may be performed by calling the red packet issuing function.
  • the third-party payment system is implemented, and the specific implementation process of the present application is not particularly limited.
  • the first terminal After the first terminal receives the multimedia file sent by the second terminal and plays the first terminal, the first terminal displays the resource transmission control in the play interface that plays the multimedia file, thereby using the user of the first IM client. If you want to initiate a resource transfer operation, you don't need to switch the interface, just for the current playback world.
  • the resource transfer control displayed in the face operates to transfer resources to the second IM client. Obviously, this method effectively simplifies the operation process and is convenient for the user to operate.
  • the first IM client does not display the resource transmission control for all the video files it receives during playback, only for specific video files (eg, carrying control display instructions, or embedding resource transmission)
  • specific video files eg, carrying control display instructions, or embedding resource transmission
  • the resource transfer control is displayed in the play interface. It can be considered that whether the video file received by the first IM client is a specific video file will depend on the second IM client that sends the video file.
  • the embodiment of the present application in a scenario:
  • the multimedia file carries a control display instruction.
  • the resource transmission control is displayed in the play interface of playing the multimedia file, and specifically includes: playing the multimedia file according to the display instruction of the control in the multimedia file.
  • the resource transfer control is displayed in the playback interface.
  • control display instructions can be generated by the second IM client.
  • it can also be implemented by a server in an instant messaging system.
  • the resource transfer control is embedded in the multimedia file.
  • displaying the resource transfer control in the play interface of playing the multimedia file includes: displaying the resource transfer control directly in the play interface for playing the multimedia file.
  • the resource transmission control may be embedded into the multimedia file by the second IM client, or the resource transmission control may be embedded into the multimedia file after the corresponding server receives the instruction of the second IM client.
  • the first IM client can receive various video files from the second IM client, and when playing the video files, not all of the resource transmission controls are displayed, only for the video carrying the control display instruction or the embedded resource transmission control.
  • the file will display the resource transfer control in the playback interface.
  • both User User1 (first user) and User User2 (second user) pass the instant messaging application on the terminal (ie, the first terminal and the second terminal) that they use (ie, The first IM client and the second IM client perform instant messaging, and the resource transmitted by the first IM client to the second IM client is an electronic red envelope type payment, that is, between the first user and the second user.
  • the video can be used as an interface for red envelope distribution.
  • User2 uses the second terminal to capture a video and sends the video to the first IM client through a function called "red packet video" provided by the second IM client. Accordingly, the first IM client will receive the video. Then, as shown in FIG. 2a, in the instant messaging window of the first IM client on the first terminal used by User1, the video sent by User2 is displayed (a preview of the video is displayed in FIG. 2a). User1 can Click on the video preview to play the video.
  • the video received by the first IM client carries a control display instruction
  • the first IM client plays the video
  • the corresponding resource transmission control is displayed according to the control display instruction, specifically
  • the play interface of the video is shown in FIG. 2b.
  • a control with the word "send red envelope curse” is displayed (the control is a resource transfer control).
  • the user User1 (first user) can operate the resource transmission control to implement transmission of resources to the second IM client.
  • the resource corresponding to the first IM client is used.
  • the method further includes: the first IM client invoking a resource transmission function, and displaying, according to the resource transmission function, a resource sending interface that includes a resource quantity input area.
  • the resource quantity input area is used to enable a user to input the quantity of resources to be sent to the second IM client.
  • the red envelope function in the first IM client will be called. Under the action of the red envelope function, it will be in the current The red envelope setting interface is displayed in the interface, as shown in Figure 2c.
  • the red envelope setting interface in FIG. 2c includes a quota input area (that is, a resource quantity input area), and User1 can input a corresponding amount of money in the quota input area (in FIG. 2c, User1 is input in the quota input area).
  • the amount of the payment is 3.00 yuan).
  • the red envelope function may be a functional component integrated in the client, or may be a functional component provided by the server.
  • the control may specifically correspond to an address of the server that provides the functional component, that is, The control can be an address or the like.
  • red packet setting interface shown in FIG. 2c can be displayed in a floating mode, a pop-up window, or the like in the actual application, and is specifically set according to the needs of the actual application, and does not constitute a limitation on the present application.
  • the user can freely set any number of resources for transmission.
  • the first IM client can further send the corresponding number of resources to the second IM client.
  • the sending the resource corresponding to the first IM client to the second IM client includes: according to the quantity input by the user in the resource quantity input area, The resource corresponding to the first IM client obtains a corresponding quantity of resources, and sends the obtained resource to the second IM client.
  • the resource corresponding to the first IM client may be a resource stored in the first IM client or a resource in the account of the first user using the first IM client, for example, in the above example.
  • the resource corresponding to the first IM client is the payment in the account of User1.
  • the electronic red envelope sent to User2 can be displayed as a history record in the instant messaging window with User2, that is, as shown in Figure 2d, User1's own instant messaging.
  • the electronic red envelope record sent by User1 to User2 is displayed in the window.
  • the electronic red envelope sent by User1 will be displayed, and User2 can click on the red envelope to receive the payment.
  • User2 can send a Spring Festival New Year video to the first client of User1 through the second IM client.
  • User1 views the Spring Festival New Year video, it can be displayed through the playback interface.
  • New Year's red envelope control send a New Year's red envelope to User2, the specific process is consistent with the above content, here is not too much to repeat.
  • this scenario does not constitute a limitation on the present application.
  • the above method of the present application is not only applicable to a scenario in which an instant messaging is performed between users, but also in a scenario of group chat. That is, after receiving the video file sent by the second IM client, the multiple first IM clients in the same group can send resources to the second IM client.
  • the sending the resource corresponding to the first IM client to the second IM client specifically: determining publisher information of the multimedia file, according to the determined publisher information,
  • the resource corresponding to the first IM client is sent to the second IM client corresponding to the publisher information.
  • the publisher information may be account information.
  • the publisher information may specifically be account information of the second user using the second IM client.
  • the publisher information may also be information such as a terminal serial number, a user ID, an IP address, a MAC address, etc., and does not constitute a limitation on the present application.
  • each first IM client in the group can be assured that the second IM client is accurately determined and the resource is sent to the second second IM client.
  • the foregoing resource transmission method in the embodiment of the present application may enable the first user to directly operate the resource transmission control in the play interface on the first IM client, thereby completing the transmission of the resource to the second IM client. Effectively improve the convenience of the first user operation.
  • the above method is based on the content of the first IM client side.
  • the first IM client and the second IM client can transmit multimedia files through the server.
  • the application A resource transmission method is also provided in the embodiment. As shown in FIG. 3, the method specifically includes:
  • the server receives the multimedia file sent by the second IM client, where the multimedia file carries With controls to display instructions.
  • S302 Generate a resource transmission control according to the control display instruction, and embed the multimedia transmission file.
  • S303 Forward the multimedia file embedded with the resource transmission control to the first IM client corresponding to the second IM client, so that the first IM client displays the resource in the play interface that plays the multimedia file. Transmitting the control, and sending the resource corresponding to the first IM client to the second IM client when the first IM client monitors the operation of the resource transmission control by the user.
  • a resource transmission method is provided in the embodiment of the present application. As shown in FIG. 4, the method specifically includes:
  • the second IM client determines the multimedia file to be sent.
  • S402 Monitor the user's calling operation on the resource transmission function.
  • S405 Receive a resource sent by the first IM client.
  • a resource transmission method is also provided in the embodiment of the present application. As shown in FIG. 5, the method specifically includes:
  • the second IM client determines the multimedia file to be sent.
  • S502 Monitor a user's calling operation on a resource transmission function.
  • S503 After the calling operation is detected, generating a resource transmission control, and embedding into the multimedia file to be sent, and sending the data to the first IM client, so that the first IM client is playing the multimedia file.
  • the resource transmission control is displayed in the play interface, and the resource corresponding to the first IM client is sent to the second IM client when the first IM client monitors the operation of the resource transmission control by the user. .
  • S504 Receive a resource sent by the first IM client.
  • a resource transmission method provided in the embodiment of the present application includes:
  • the first IM client obtains a multimedia file that is sent by the second IM client on the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client.
  • the communication platform may be a communication platform such as a circle of friends and/or a living circle, and the communication platform includes The first user of the second user has a communication relationship (such as a friend relationship). This does not constitute a limitation on the present application.
  • S603 Display a resource transmission control in a play interface for playing the multimedia file.
  • S604 Send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control is detected by the user.
  • Steps S602 to S604 are similar to the foregoing methods, and are not described here.
  • a resource transmission method provided in the embodiment of the present application includes:
  • S701 The second IM client determines the multimedia file to be sent.
  • S702 Monitor a user's calling operation on a resource transmission function.
  • S704 Receive a resource sent by the first IM client.
  • the communication platform may be specifically a platform having an instant messaging function or a social function, and the user information sharing may be performed on the platform, for example, the multimedia file is shared on the platform, and other users are seeing the sharing.
  • the resource transmission control can be performed by clicking or selecting the resource transmission control on the multimedia file during playback, for example, the red envelope is issued.
  • the foregoing is a resource transmission method provided by an embodiment of the present invention. Based on the same idea, the embodiment of the present invention further provides a resource transmission apparatus.
  • the resource transmission device is disposed on the first IM client side, and includes: a receiving module 801, a playing module 802, a control display module 803, and a resource transmission module 804, where
  • the receiving module 801 is configured to receive the multimedia file sent by the second IM client.
  • the playing module 802 is configured to play the multimedia file.
  • the control display module 803 is configured to display a resource transmission control in a play interface for playing the multimedia file.
  • the resource transmission module 804 is configured to send, when the user operates the resource transmission control, the resource corresponding to the first IM client to the second IM client.
  • control display module 803 when the multimedia file carries a control display instruction, is specifically configured to play the multimedia file in the play interface according to the control display instruction in the multimedia file. Display resource transfer controls.
  • control display module 803 is specifically configured to directly display the resource transmission control in a play interface for playing the multimedia file.
  • the device further includes an interface display module 805 for displaying a resource sending interface including a resource quantity input area, in consideration of the number of the resources to be transmitted by the user.
  • the resource quantity input area is used to enable a user to input the quantity of resources to be sent to the second IM client.
  • the resource transmission module 804 is configured to acquire a corresponding quantity of resources in the resource corresponding to the first IM client according to the quantity input by the user in the resource quantity input area, and the obtained resource is obtained. Send to the second IM client.
  • the resource transmission module 804 is configured to determine the publisher information of the multimedia file, and send the resource corresponding to the first IM client to the publisher information according to the determined publisher information.
  • the second IM client is configured to determine the publisher information of the multimedia file, and send the resource corresponding to the first IM client to the publisher information according to the determined publisher information.
  • the multimedia file includes at least one of a video file and a dynamic picture.
  • the embodiment of the present invention further provides a resource transmission device, as shown in FIG. 9, including:
  • the receiving module 901 is configured to receive a multimedia file sent by the second IM client, where the multimedia file carries a control display instruction;
  • the resource control module 902 is configured to generate a resource transmission control according to the control display instruction, and embed the multimedia transmission file;
  • the sending module 903 forwards the multimedia file embedded with the resource transmission control to the first IM client corresponding to the second IM client, so that the first IM client is in the playing interface of playing the multimedia file. And displaying the resource transmission control, and sending the resource corresponding to the first IM client to the second IM client when the first IM client monitors the operation of the resource transmission control by the user.
  • the embodiment of the present invention further provides a resource transmission device, as shown in FIG. 10, including:
  • the determining module 1001 is configured to determine a multimedia file to be sent.
  • the monitoring module 1002 is configured to monitor a user's calling operation on the resource transmission function.
  • the control instruction module 1003 is configured to: after detecting the calling operation, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and send the instruction to the first IM client, so that the first The IM client displays the resource transmission control in the play interface that plays the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, the first IM client is corresponding to The resource is sent to the second IM client.
  • the receiving module 1004 is configured to receive the resource sent by the first IM client.
  • the embodiment of the present invention further provides a resource transmission device, as shown in FIG.
  • the determining module 1101 is configured to determine a multimedia file to be sent.
  • the monitoring module 1102 is configured to monitor a user call operation of a resource transmission function.
  • the control generating module 1103 is configured to generate a resource transmission control, and embed in the multimedia file to be sent, and send the message to the first IM client, so that the first IM client displays in the play interface that plays the multimedia file.
  • the resource transmission control and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
  • the receiving module 1104 is configured to receive the resource sent by the first IM client.
  • the embodiment of the present invention further provides a resource transmission device, as shown in FIG. 12, including:
  • the obtaining module 1201 is configured to obtain a multimedia file that is sent by the second IM client on the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client.
  • the playing module 1202 is configured to play the multimedia file.
  • the control display module 1203 is configured to display a resource transmission control in a play interface that plays the multimedia file.
  • the resource transmission module 1204 is configured to send, when the user operates the resource transmission control, the resource corresponding to the first IM client to the second IM client.
  • the embodiment of the invention further provides a resource transmission device, as shown in FIG. 13, comprising:
  • the determining module 1301 is configured to determine a multimedia file to be sent.
  • the monitoring module 1302 is configured to monitor a user call operation of the resource transmission function.
  • the issuing module 1303 is configured to: after detecting the calling operation, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and publish the information on the communication platform, so that the first IM client obtains the first
  • the IM client publishes the multimedia file on the communication platform, displays the resource transmission control in the playing interface of playing the multimedia file, and when the first IM client monitors the operation of the resource transmission control by the user,
  • the resource corresponding to the first IM client is sent to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client.
  • the receiving module 1304 is configured to receive the resource sent by the first IM client.
  • the foregoing content may be implemented by a physical device, where the physical device includes:
  • Memory for storing resource transfer programs.
  • a processor configured to: after receiving the multimedia file, invoke a resource transfer program stored in the memory, and execute according to the resource transfer program:
  • Playing the multimedia file displaying a resource transmission control in a play interface for playing the multimedia file, and when monitoring the operation of the resource transmission control by the user, sending the resource corresponding to the first IM client to the The second IM client.
  • a transmission interface configured to receive the multimedia file, and send the resource to the second IM client.
  • the foregoing physical device may be disposed on the server side and the second IM client side, and details are not described herein again.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and an apparatus for resource transmission. The method comprises the following steps: a first instant messaging (IM) client receives a multimedia document transmitted from a second IM client, plays the multimedia document, and displays a resource transmission widget in a playback interface for playing the multimedia document. When an operation of a user on the resource transmission widget is detected, a corresponding resource of the first IM client is transmitted to the second IM client. Through the method, after the first IM client receives a multimedia document transmitted from the second IM client and plays the same, the resource transmission widget is displayed in a playback interface for playing the multimedia document, so that it is not necessary to switch interfaces if the user of the first IM client wants to initiate a resource transmission operation, and it is only necessary to perform an operation on the resource transmission widget displayed in the current playback interface to achieve resource transmission to the second IM client. The method thus effectively simplifies the operation procedure and is convenient for users.

Description

一种资源传输方法及装置Resource transmission method and device
本申请要求2016年01月11日递交的申请号为201610016301.2、发明名称为“一种资源传输方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application Serial No. PCT Application No.
技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种资源传输方法及装置。The present invention relates to the field of computer technologies, and in particular, to a resource transmission method and apparatus.
背景技术Background technique
随着信息技术的发展,即时通讯(Instant Messaging,IM)应用能够提供的功能越来越丰富,用户通过即时通讯应用除了可以与指定用户进行文字、音频、视频的基本即时通讯之外,还可以实现不同账户之间的文件传输(如:多媒体文件等)、以及资源的传输等操作。With the development of information technology, Instant Messaging (IM) applications can provide more and more functions. Users can use the instant messaging application to perform basic instant messaging with text, audio and video with designated users. Realize the transfer of files between different accounts (such as multimedia files, etc.) and the transfer of resources.
现有技术中,当用户使用即时通讯应用进行资源的传输时,发起方往往需要在即时通讯应用中查找发送资源的功能,并使用该功能实现发送资源的操作。In the prior art, when a user uses an instant messaging application to transmit resources, the initiator often needs to find a function of sending resources in the instant messaging application, and uses the function to implement the operation of sending resources.
但是,对于上述的资源传输方式而言,若在用户浏览其他用户传输的文件的情况下,用户想要进行资源传输,只能从播放界面,切换回即时通讯应用的界面,并在即时通讯应用的界面中查找相应的发送资源的功能,显然,多次的界面切换过于繁琐,不便于用户进行操作。However, for the above resource transmission method, if the user wants to perform resource transmission when the user browses files transmitted by other users, the user can only switch back to the interface of the instant messaging application from the playback interface, and in the instant messaging application. In the interface, the corresponding function of sending resources is found. Obviously, multiple interface switching is too cumbersome and it is not convenient for the user to operate.
发明内容Summary of the invention
本发明实施例提供一种资源传输方法及装置,用以解决现有技术中在用户浏览多媒体文件的同时进行资源传输过于繁琐的问题。The embodiment of the invention provides a resource transmission method and device, which solves the problem that the resource transmission is too cumbersome while the user browses the multimedia file in the prior art.
本发明实施例提供的一种资源传输方法,包括:A resource transmission method provided by an embodiment of the present invention includes:
第一IM客户端接收第二IM客户端发送的多媒体文件;The first IM client receives the multimedia file sent by the second IM client;
播放所述多媒体文件;Playing the multimedia file;
在播放所述多媒体文件的播放界面中显示资源传输控件;Displaying a resource transfer control in a play interface for playing the multimedia file;
当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。When the operation of the resource transmission control by the user is detected, the resource corresponding to the first IM client is sent to the second IM client.
本发明实施例还提供的一种资源传输方法,包括:A resource transmission method is also provided by the embodiment of the present invention, including:
服务器接收第二IM客户端发送的多媒体文件,其中,所述多媒体文件中携带控件 显示指令;The server receives the multimedia file sent by the second IM client, where the multimedia file carries a control Display instruction
根据所述控件显示指令,生成资源传输控件,并嵌入至所述多媒体文件中;Generating a resource transfer control according to the control display instruction, and embedding into the multimedia file;
将嵌入有资源传输控件的多媒体文件转发给与所述第二IM客户端对应的第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。Forwarding the multimedia file embedded with the resource transmission control to the first IM client corresponding to the second IM client, so that the first IM client displays the resource transmission control in the play interface that plays the multimedia file And when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
本发明实施例还提供的一种资源传输方法,包括:A resource transmission method is also provided by the embodiment of the present invention, including:
第二IM客户端确定待发送的多媒体文件;The second IM client determines the multimedia file to be sent;
监测用户对资源传输功能的调用操作;Monitoring user call operations on resource transfer functions;
当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端;After the calling operation is detected, the control display instruction is generated, and the control display instruction is carried in the multimedia file to be sent, and sent to the first IM client, so that the first IM client is playing the The resource transmission control is displayed in the play interface of the multimedia file, and when the first IM client detects the operation of the resource transfer control by the user, the resource corresponding to the first IM client is sent to the second IM client;
接收所述第一IM客户端发送的资源。Receiving resources sent by the first IM client.
本发明实施例还提供的一种资源传输方法,包括:A resource transmission method is also provided by the embodiment of the present invention, including:
第二IM客户端确定待发送的多媒体文件;The second IM client determines the multimedia file to be sent;
监测用户对资源传输功能的调用操作;Monitoring user call operations on resource transfer functions;
当监测到所述调用操作后,生成资源传输控件,并嵌入至待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端;After the calling operation is detected, the resource transmission control is generated and embedded in the multimedia file to be sent, and sent to the first IM client, so that the first IM client plays the playing interface of the multimedia file. The resource transmission control is displayed, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client;
接收所述第一IM客户端发送的资源。Receiving resources sent by the first IM client.
本发明实施例还提供的一种资源传输方法,包括:A resource transmission method is also provided by the embodiment of the present invention, including:
第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,其中,所述通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端;The first IM client obtains a multimedia file that is sent by the second IM client on the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client;
播放所述多媒体文件;Playing the multimedia file;
在播放所述多媒体文件的播放界面中显示资源传输控件;Displaying a resource transfer control in a play interface for playing the multimedia file;
当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。When the operation of the resource transmission control by the user is detected, the resource corresponding to the first IM client is sent to the second IM client.
本发明实施例还提供的一种资源传输方法,包括: A resource transmission method is also provided by the embodiment of the present invention, including:
第二IM客户端确定待发送的多媒体文件;The second IM client determines the multimedia file to be sent;
监测用户对资源传输功能的调用操作;Monitoring user call operations on resource transfer functions;
当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发布在通讯平台上,以使得第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,在播放所述多媒体文件的播放界面中显示资源传输控件,并当第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端,其中,该通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端;After the calling operation is detected, the control display instruction is generated, and the control display instruction is carried in the multimedia file to be sent, and is published on the communication platform, so that the first IM client obtains the second IM client to be published in the a multimedia file on the communication platform, displaying a resource transmission control in a play interface for playing the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, the first IM client Corresponding resources are sent to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client;
接收所述第一IM客户端发送的资源。Receiving resources sent by the first IM client.
本发明实施例提供的一种资源传输装置,包括:A resource transmission apparatus provided by an embodiment of the present invention includes:
接收模块,用于接收第二IM客户端发送的多媒体文件;a receiving module, configured to receive a multimedia file sent by the second IM client;
播放模块,用于播放所述多媒体文件;a playing module, configured to play the multimedia file;
控件显示模块,用于在播放所述多媒体文件的播放界面中显示资源传输控件;a control display module, configured to display a resource transmission control in a play interface for playing the multimedia file;
资源传输模块,用于当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The resource transmission module is configured to send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control by the user is monitored.
本发明实施例还提供一种资源传输装置,包括:The embodiment of the invention further provides a resource transmission device, including:
接收模块,用于接收第二IM客户端发送的多媒体文件,其中,所述多媒体文件中携带控件显示指令;a receiving module, configured to receive a multimedia file sent by the second IM client, where the multimedia file carries a control display instruction;
资源控件模块,用于根据所述控件显示指令,生成资源传输控件,并嵌入至所述多媒体文件中;a resource control module, configured to generate a resource transmission control according to the control display instruction, and embed the multimedia transmission file;
发送模块,将嵌入有资源传输控件的多媒体文件转发给与所述第二IM客户端对应的第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。a sending module, the multimedia file embedded with the resource transmission control is forwarded to the first IM client corresponding to the second IM client, so that the first IM client displays in the playing interface of playing the multimedia file The resource transmission control, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
本发明实施例还提供一种资源传输装置,包括:The embodiment of the invention further provides a resource transmission device, including:
确定模块,用于确定待发送的多媒体文件;a determining module, configured to determine a multimedia file to be sent;
监测模块,用于监测用户对资源传输功能的调用操作;a monitoring module, configured to monitor a user's calling operation on a resource transmission function;
控件指令模块,用于当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监 测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端;a control instruction module, configured to: after the calling operation is detected, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and send the instruction to the first IM client, so that the first IM is The client displays a resource transmission control in a play interface that plays the multimedia file, and monitors the first IM client When the operation of the resource transmission control is detected by the user, the resource corresponding to the first IM client is sent to the second IM client;
接收模块,用于接收所述第一IM客户端发送的资源。The receiving module is configured to receive the resource sent by the first IM client.
本发明实施例还提供一种资源传输装置,包括:The embodiment of the invention further provides a resource transmission device, including:
确定模块,用于确定待发送的多媒体文件;a determining module, configured to determine a multimedia file to be sent;
监测模块,用于监测用户对资源传输功能的调用操作;a monitoring module, configured to monitor a user's calling operation on a resource transmission function;
控件生成模块,用于生成资源传输控件,并嵌入至待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端;a control generating module, configured to generate a resource transfer control, and embed in the multimedia file to be sent, and send the message to the first IM client, so that the first IM client displays the resource in the play interface that plays the multimedia file Transmitting the control, and when the first IM client detects the operation of the resource transmission control by the user, sending the resource corresponding to the first IM client to the second IM client;
接收模块,用于接收所述第一IM客户端发送的资源。The receiving module is configured to receive the resource sent by the first IM client.
本发明实施例还提供一种资源传输装置,包括:The embodiment of the invention further provides a resource transmission device, including:
获取模块,用于获取第二IM客户端发布在通讯平台上的多媒体文件,其中,所述通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端;The obtaining module is configured to obtain a multimedia file that is sent by the second IM client to the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client;
播放模块,用于播放所述多媒体文件;a playing module, configured to play the multimedia file;
控件显示模块,用于在播放所述多媒体文件的播放界面中显示资源传输控件;a control display module, configured to display a resource transmission control in a play interface for playing the multimedia file;
资源传输模块,用于当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The resource transmission module is configured to send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control by the user is monitored.
本发明实施例还提供一种资源传输装置,包括:The embodiment of the invention further provides a resource transmission device, including:
确定模块,用于确定待发送的多媒体文件;a determining module, configured to determine a multimedia file to be sent;
监测模块,用于监测用户对资源传输功能的调用操作;a monitoring module, configured to monitor a user's calling operation on a resource transmission function;
发布模块,用于当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发布在通讯平台上,以使得第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,在播放所述多媒体文件的播放界面中显示资源传输控件,并当第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端,其中,该通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端;a publishing module, configured to generate a control display instruction after the calling operation is performed, and carry the control display instruction in the multimedia file to be sent, and publish the information on the communication platform, so that the first IM client obtains the second The IM client publishes the multimedia file on the communication platform, displays the resource transmission control in the play interface that plays the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, The first IM client is configured to send the resource to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client;
接收模块,用于接收所述第一IM客户端发送的资源。The receiving module is configured to receive the resource sent by the first IM client.
本发明实施例提供一种资源传输方法及装置,通过本方法,当第一IM客户端接收到了第二IM客户端所发送的多媒体文件并进行播放后,第一IM客户端将在播放该多媒 体文件的播放界面中显示资源传输控件,从而,使用第一IM客户端的用户若要想发起资源传输操作,无需进行界面的切换,只需针对当前的播放界面中所显示出的资源传输控件进行操作,就可实现向第二IM客户端传输资源。显然,这种方式有效简化了操作过程,便于用户操作。The embodiment of the invention provides a resource transmission method and device. After the first IM client receives the multimedia file sent by the second IM client and plays the same, the first IM client will play the video. Media The resource transfer control is displayed in the play interface of the file, so that the user using the first IM client needs to initiate the resource transfer operation without switching the interface, and only needs to perform the resource transfer control displayed in the current play interface. Operation, the transmission of resources to the second IM client can be realized. Obviously, this method effectively simplifies the operation process and is convenient for the user to operate.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1为本发明实施例提供的资源传输过程示意图;FIG. 1 is a schematic diagram of a resource transmission process according to an embodiment of the present invention;
图2a~2d为本发明实施例提供的实际应用中在第一IM客户端上所显示的界面的示意图;2a-2d are schematic diagrams of interfaces displayed on a first IM client in an actual application according to an embodiment of the present invention;
图3~7为本发明实施例提供的不同场景下的资源传输过程示意图;3 to 7 are schematic diagrams of resource transmission processes in different scenarios according to an embodiment of the present invention;
图8~13为本发明实施例提供的不同场景下的资源传输装置结构示意图。8 to 13 are schematic structural diagrams of a resource transmission apparatus in different scenarios according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明具体实施例及相应的附图对本发明技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described in conjunction with the specific embodiments of the present invention and the accompanying drawings. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
正如前述,对于进行即时通讯的双方而言,若其中一方在浏览对方所发送的文件的情况下,想要向对方发送相应的资源,资源的发送方就要在其所使用的终端上进行界面的连续切换,以查找到该终端上的资源传输功能,从而进行资源传输,显然,这样的方式过于繁琐。As mentioned above, for both parties performing instant messaging, if one of the parties wants to send the corresponding resource to the other party while browsing the file sent by the other party, the sender of the resource must perform the interface on the terminal used by the other party. Continuous switching to find the resource transmission function on the terminal, thereby performing resource transmission, obviously, such a method is too cumbersome.
基于此,本申请中提供一种资源传输方法,可以有效提升在上述情况下进行资源传输的便捷性。需要说明的是,本申请实施例中所述的资源,是诸如多媒体文件、通讯录信息、金额信息等可以进行传输的信息。所述的资源既可以存储于终端内,也可以存储于使用终端的用户的账户中。这里并不构成对本申请的限定。Based on this, the present application provides a resource transmission method, which can effectively improve the convenience of resource transmission under the above circumstances. It should be noted that the resources described in the embodiments of the present application are information that can be transmitted, such as multimedia files, address book information, and amount information. The resource may be stored in the terminal or in the account of the user who uses the terminal. This does not constitute a limitation on the present application.
对于本申请中的方法,具体而言,图1为本发明实施例提供的资源传输过程,该过程具体包括以下步骤:For the method in the present application, specifically, FIG. 1 is a resource transmission process according to an embodiment of the present invention, and the process specifically includes the following steps:
S101:第一IM客户端接收第二IM客户端发送的多媒体文件。 S101: The first IM client receives the multimedia file sent by the second IM client.
在本申请实施例中,所述的第一IM客户端和第二IM客户端分别是不同的用户所使用的终端内的IM应用(为了便于描述,下文中将使用第一IM客户端的用户称为第一用户,运行第一IM应用的终端称为第一终端;使用第二IM客户端的用户称为第二用户,运行第二IM应用的终端称为第二终端),不同用户可以通过第一IM客户端和第二IM客户端进行即时通讯。这里所述的第一IM客户端接收第二IM客户端发送的多媒体文件,也就是指第一用户发送给第二用户的多媒体文件,可以理解,本申请中部分地方描述的第一IM客户端可以是指第一用户,第二IM客户端可以是指第二用户。In the embodiment of the present application, the first IM client and the second IM client are respectively IM applications in the terminal used by different users (for convenience of description, the user of the first IM client will be used hereinafter. For the first user, the terminal running the first IM application is referred to as the first terminal; the user using the second IM client is referred to as the second user, and the terminal running the second IM application is referred to as the second terminal), and different users may pass the An IM client and a second IM client perform instant messaging. The first IM client described herein receives the multimedia file sent by the second IM client, that is, the multimedia file sent by the first user to the second user. It can be understood that the first IM client described in some places in this application. It can refer to the first user, and the second IM client can refer to the second user.
其中,第一终端和第二终端,包括但不限于:手机、平板电脑等移动终端,或计算机终端。当然,除了上述第一IM客户端和第二IM客户端进行即时通讯的方式之外,作为本申请实施例中的一种方式,用户可以直接使用第一终端和第二终端实现即时通讯(例如:使用终端内系统自带的短信、彩信等功能实现),在此方式下,第一终端和第二终端之间可通过其自身的通信功能实现即时通讯,这里并不构成对本申请的限定。The first terminal and the second terminal include, but are not limited to, a mobile terminal such as a mobile phone or a tablet computer, or a computer terminal. Of course, in addition to the manner in which the first IM client and the second IM client perform the instant messaging, as one mode in the embodiment of the present application, the user can directly use the first terminal and the second terminal to implement instant messaging (for example, It is implemented by using the functions of the short message and the multimedia message provided by the system in the terminal. In this mode, the first terminal and the second terminal can realize instant communication through their own communication functions, which does not constitute a limitation of the present application.
所述的多媒体文件,包括但不限于:视频文件、动态图片(如:Live Photo格式的动态图片)等。其中,多媒体文件可以是第二用户使用第二终端进行拍摄生成的,也可以是第二终端中已存储的视频文件。The multimedia file includes but is not limited to: a video file, a dynamic picture (such as a dynamic picture in a Live Photo format), and the like. The multimedia file may be generated by the second user using the second terminal, or may be a video file stored in the second terminal.
S102:播放所述多媒体文件。S102: Play the multimedia file.
在实际应用中,当第一IM客户端接收到了上述的多媒体文件后,使用该第一IM客户端的第一用户通常会浏览该多媒体文件,当第一用户针对该多媒体文件发出了相应的浏览操作后,第一IM客户端便会播放该多媒体文件。In a practical application, after the first IM client receives the multimedia file, the first user using the first IM client usually browses the multimedia file, and when the first user sends a corresponding browsing operation for the multimedia file. After that, the first IM client will play the multimedia file.
S103:在播放所述多媒体文件的播放界面中显示资源传输控件。S103: Display a resource transmission control in a play interface for playing the multimedia file.
正如前述,现有技术中,当第一IM客户端播放其接收到的多媒体文件时,均会在相应的播放界面中播放该多媒体文件,播放界面通常会暂时覆盖即时通讯界面,在这样的情况下,若使用第一IM客户端的第一用户想要给发送该多媒体文件的第二用户传输资源时,那么,第一用户需要在第一IM客户端上切换界面,查找到相应的资源传输功能,再向第二IM客户端进行资源的传输,显然,这样的方式不便于用户操作。As described above, in the prior art, when the first IM client plays the multimedia file received by the first IM client, the multimedia file is played in the corresponding playback interface, and the playback interface usually temporarily covers the instant messaging interface. If the first user using the first IM client wants to transmit the resource to the second user that sends the multimedia file, the first user needs to switch the interface on the first IM client to find the corresponding resource transmission function. Then, the resource is transmitted to the second IM client. Obviously, such a method is not convenient for the user to operate.
为了提升用户在进行资源传输时的便利性,故在本申请实施例中,当第一终端播放了上述的多媒体文件后,将在其播放界面中显示出资源传输控件。其中,资源传输控件与第一IM客户端内的资源传输组件(程序)相关联,换言之,通过该资源传输控件,可以调用第一IM客户端内的资源传输功能,从而实现资源的传输。根据上述步骤S103可知,显示在播放界面中的资源传输控件,可以有效减少或避免用户查找资源传输功能 时的界面切换。In order to improve the user's convenience in resource transmission, in the embodiment of the present application, after the first terminal plays the multimedia file, the resource transmission control is displayed in the play interface. The resource transmission control is associated with the resource transmission component (program) in the first IM client. In other words, the resource transmission control can invoke the resource transmission function in the first IM client to implement resource transmission. According to the foregoing step S103, the resource transmission control displayed in the play interface can effectively reduce or prevent the user from searching for the resource transmission function. When the interface is switched.
在实际应用中,资源传输控件可以采用浮层、悬浮按键等方式显示在第一终端的播放界面中,这里并不构成对本申请的限定。In a practical application, the resource transmission control may be displayed in the play interface of the first terminal by using a floating layer, a floating button, or the like, and does not constitute a limitation on the present application.
S104:当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。S104: Send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control is detected by the user.
如果第一用户针对资源传输控件进行了操作后,就表明该第一用户执行资源的传输操作,从而,第一终端就会根据第一用户的操作,将相应的资源发送给第二终端,实现资源的传输。可以理解,这里所述的将第一IM客户端对应的资源发送给第二IM客户端,可以是指将第一IM客户端对应的第一用户的资源发送给第二IM客户端对应的第二用户,具体也可是指用户之间的账户之间的资源的传输,或者其它资源的传输。If the first user performs the operation on the resource transmission control, the first user performs the resource transmission operation, and the first terminal sends the corresponding resource to the second terminal according to the operation of the first user. The transmission of resources. It can be understood that the sending the resource corresponding to the first IM client to the second IM client, which is described herein, may refer to sending the resource of the first user corresponding to the first IM client to the second IM client. The two users may specifically refer to the transmission of resources between accounts between users, or the transmission of other resources.
这里需要说明的是,若资源存储于终端内(如:通讯录信息、多媒体文件等),那么,第一IM客户端可以从第一终端内获取资源,并发送给第二IM客户端;若资源存储与用户的账户中(如:金额信息、款项信息等),那么,第一IM客户端将获取第一用户的账户内的资源,并发送给第二IM客户端对应的第二用户的账户中。这里并不构成对本申请的限定。其中,账户内资源的调用、传输等可以是通过即时通讯系统来实现,也可以是通过第三方系统来实现,例如对账户中的金额等资金进行传输时,可以是通过第三方支付系统来实现等。It should be noted that if the resource is stored in the terminal (eg, address book information, multimedia file, etc.), the first IM client can obtain the resource from the first terminal and send the resource to the second IM client; The resource is stored in the user's account (eg, amount information, payment information, etc.), then the first IM client will obtain the resource in the first user's account and send it to the second user corresponding to the second IM client. In the account. This does not constitute a limitation on the present application. The calling, transmission, etc. of the resources in the account may be implemented by an instant messaging system, or may be implemented by a third-party system, for example, when the funds in the account are transferred, the third-party payment system may be implemented. Wait.
本申请实施例中,资源传输控件具体可以是与客户端中集成的具有资源传输功能的功能组件对应的控件,例如可以是一个按钮,用户通过点击该按钮就可以调用该资源传输功能的组件进行相应资源传输,例如在发放红包的场景中,该资源传输控件具体可以是指向该客户端中红包发放功能组件(可以是程序组件或其它功能模块组件等),用户通过选择或点击该控件,就可以调出发放红包的功能界面,供用户进行红包的发放。或者,该控件也可以是指向其他客户端或服务器中对应的功能组件,本申请实施例不做特别限制。In the embodiment of the present application, the resource transmission control may be a control corresponding to a functional component with a resource transmission function integrated in the client, for example, a button, and the user may invoke the component of the resource transmission function by clicking the button. Corresponding resource transmission, for example, in the scenario of issuing a red envelope, the resource transmission control may specifically point to a red envelope issuing function component (which may be a program component or other functional module component, etc.) in the client, and the user selects or clicks the control, The function interface for issuing red envelopes can be called up for the user to issue red envelopes. Alternatively, the control may be directed to a corresponding functional component in other clients or servers, and the embodiment of the present application is not particularly limited.
本申请实施例中,资源传输控件被用户操作,进行资源传输时,可以是通过调用第三方系统来实现,例如红包发放场景下的红包(资金)资源传输,就可以是通过调用具有红包发放功能的第三方支付系统来实现,其具体实现过程本申请实施例不做特别限制。In the embodiment of the present application, the resource transmission control is operated by the user, and when the resource is transmitted, the third-party system may be used to implement the resource transmission, for example, the red packet (funding) resource transmission in the red packet distribution scenario may be performed by calling the red packet issuing function. The third-party payment system is implemented, and the specific implementation process of the present application is not particularly limited.
通过上述步骤,当第一终端接收到了第二终端所发送的多媒体文件并进行播放后,第一终端将在播放该多媒体文件的播放界面中显示资源传输控件,从而,使用第一IM客户端的用户若要想发起资源传输操作,无需进行界面的切换,只需针对当前的播放界 面中所显示出的资源传输控件进行操作,就可实现向第二IM客户端传输资源。显然,这种方式有效简化了操作过程,便于用户操作。After the first terminal receives the multimedia file sent by the second terminal and plays the first terminal, the first terminal displays the resource transmission control in the play interface that plays the multimedia file, thereby using the user of the first IM client. If you want to initiate a resource transfer operation, you don't need to switch the interface, just for the current playback world. The resource transfer control displayed in the face operates to transfer resources to the second IM client. Obviously, this method effectively simplifies the operation process and is convenient for the user to operate.
在实际应用中,第一IM客户端并不会针对其接收到的所有视频文件在播放时都显示资源传输控件,只有对特定的视频文件(如:携带有控件显示指令、或者嵌入有资源传输控件的视频文件或者特定接口发送过来的视频文件等)进行播放时,才会在其中的播放界面中显示资源传输控件。可以认为,第一IM客户端所接收到的视频文件是否为特定的视频文件,将取决于发送该视频文件的第二IM客户端。具体而言,在本申请实施例中,一种场景下:In practical applications, the first IM client does not display the resource transmission control for all the video files it receives during playback, only for specific video files (eg, carrying control display instructions, or embedding resource transmission) When the video file of the control or the video file sent by a specific interface is played, the resource transfer control is displayed in the play interface. It can be considered that whether the video file received by the first IM client is a specific video file will depend on the second IM client that sends the video file. Specifically, in the embodiment of the present application, in a scenario:
多媒体文件中携带有控件显示指令,此时,在播放所述多媒体文件的播放界面中显示资源传输控件,具体包括:根据所述多媒体文件中的所述控件显示指令,在播放所述多媒体文件的播放界面中显示资源传输控件。The multimedia file carries a control display instruction. At this time, the resource transmission control is displayed in the play interface of playing the multimedia file, and specifically includes: playing the multimedia file according to the display instruction of the control in the multimedia file. The resource transfer control is displayed in the playback interface.
在该场景中,控件显示指令可由第二IM客户端生成。当然也可以是由即时通讯系统中的服务器来实现等。In this scenario, the control display instructions can be generated by the second IM client. Of course, it can also be implemented by a server in an instant messaging system.
在另一种场景下:In another scenario:
多媒体文件中已嵌入资源传输控件,此时,在播放所述多媒体文件的播放界面中显示资源传输控件,具体包括:将所述资源传输控件直接显示在播放所述多媒体文件的播放界面中。The resource transfer control is embedded in the multimedia file. In this case, displaying the resource transfer control in the play interface of playing the multimedia file includes: displaying the resource transfer control directly in the play interface for playing the multimedia file.
该场景中,既可以由第二IM客户端将资源传输控件嵌入至多媒体文件中,也可以由相应的服务器接收第二IM客户端的指令后,将资源传输控件嵌入至多媒体文件中。In this scenario, the resource transmission control may be embedded into the multimedia file by the second IM client, or the resource transmission control may be embedded into the multimedia file after the corresponding server receives the instruction of the second IM client.
换言之,第一IM客户端可以接收来自第二IM客户端的各类视频文件,对这些视频文件进行播放时,并非均显示资源传输控件,只有针对携带有控件显示指令或嵌入有资源传输控件的视频文件,才会在播放界面中显示资源传输控件。In other words, the first IM client can receive various video files from the second IM client, and when playing the video files, not all of the resource transmission controls are displayed, only for the video carrying the control display instruction or the embedded resource transmission control. The file will display the resource transfer control in the playback interface.
举例而言:假设在本例中,用户User1(第一用户)和用户User2(第二用户)均通过其使用的终端(即,第一终端和第二终端)上的即时通讯应用(即,第一IM客户端和第二IM客户端)进行即时通讯,第一IM客户端向第二IM客户端传输的资源是电子红包式的款项,也就在第一用户和第二用户之间,可通过视频作为红包发放的接口。For example: assume that in this example, both User User1 (first user) and User User2 (second user) pass the instant messaging application on the terminal (ie, the first terminal and the second terminal) that they use (ie, The first IM client and the second IM client perform instant messaging, and the resource transmitted by the first IM client to the second IM client is an electronic red envelope type payment, that is, between the first user and the second user. The video can be used as an interface for red envelope distribution.
其中,User2使用第二终端拍摄了一段视频,并通过第二IM客户端提供的、一种称为“红包视频”的功能,将该视频发送给了第一IM客户端。相应地,第一IM客户端将接收该视频。那么,如图2a所示,User1使用的第一终端上的第一IM客户端的即时通讯窗口中,显示出了User2所发送的视频(图2a中显示了该视频的预览图)。User1可 以点击该视频预览图,以进行视频播放。User2 uses the second terminal to capture a video and sends the video to the first IM client through a function called "red packet video" provided by the second IM client. Accordingly, the first IM client will receive the video. Then, as shown in FIG. 2a, in the instant messaging window of the first IM client on the first terminal used by User1, the video sent by User2 is displayed (a preview of the video is displayed in FIG. 2a). User1 can Click on the video preview to play the video.
此处,假设第一IM客户端所接收到的视频中携带有控件显示指令,那么,当第一IM客户端在播放该视频时,将根据控件显示指令,显示相应的资源传输控件,具体地,该视频的播放界面如图2b所示,从图2b中可见,在播放界面的底部,显示有字样为“送红包祝福”的控件(该控件就是资源传输控件)。Here, assuming that the video received by the first IM client carries a control display instruction, when the first IM client plays the video, the corresponding resource transmission control is displayed according to the control display instruction, specifically The play interface of the video is shown in FIG. 2b. As can be seen from FIG. 2b, at the bottom of the play interface, a control with the word "send red envelope blessing" is displayed (the control is a resource transfer control).
进而,用户User1(第一用户)可以对该资源传输控件进行操作,从而实现向第二IM客户端传输资源。Further, the user User1 (first user) can operate the resource transmission control to implement transmission of resources to the second IM client.
当然,在实际应用中,当第一用户对资源传输控件进行了操作后,可以自行决定其要传输的资源的数量,故在本申请实施例中,将所述第一IM客户端对应的资源发送给所述第二IM客户端之前,所述方法还包括:所述第一IM客户端调用资源传输功能,基于该资源传输功能,显示包含资源数量输入区域的资源发送界面。其中,所述资源数量输入区域用于使用户输入要发送给所述第二IM客户端的资源的数量。Of course, in the actual application, after the first user operates the resource transmission control, the number of resources to be transmitted may be determined by the first user. Therefore, in the embodiment of the present application, the resource corresponding to the first IM client is used. Before the method is sent to the second IM client, the method further includes: the first IM client invoking a resource transmission function, and displaying, according to the resource transmission function, a resource sending interface that includes a resource quantity input area. The resource quantity input area is used to enable a user to input the quantity of resources to be sent to the second IM client.
例如:沿用上例,当User1针对图2b中所示的“送红包祝福”的控件进行点击操作后,将调用第一IM客户端中的红包功能,在红包功能的作用下,将在当前的界面中显示红包设置界面,如图2c所示。其中,图2c中的红包设置界面上包含有额度输入区域(也即,资源数量输入区域),User1便可以在额度输入区域中输入相应的款项额度(图2c中,User1在额度输入区域中输入的款项额度为3.00元)。该红包功能可以是客户端中集成的功能组件,或者也可以是由服务器提供的功能组件,当为服务器提供的功能组件时,该控件具体可以是与服务器中提供该功能组件的地址对应,即该控件可以是一个地址等。For example, following the above example, when User1 clicks on the control of “send red envelope blessing” shown in Figure 2b, the red envelope function in the first IM client will be called. Under the action of the red envelope function, it will be in the current The red envelope setting interface is displayed in the interface, as shown in Figure 2c. Wherein, the red envelope setting interface in FIG. 2c includes a quota input area (that is, a resource quantity input area), and User1 can input a corresponding amount of money in the quota input area (in FIG. 2c, User1 is input in the quota input area). The amount of the payment is 3.00 yuan). The red envelope function may be a functional component integrated in the client, or may be a functional component provided by the server. When the functional component is provided by the server, the control may specifically correspond to an address of the server that provides the functional component, that is, The control can be an address or the like.
需要说明的是,图2c中示出的红包设置界面在实际应用时可以采用悬浮、弹窗等方式进行展示,具体将根据实际应用的需要进行设置,这里并不构成对本申请的限定。It should be noted that the red packet setting interface shown in FIG. 2c can be displayed in a floating mode, a pop-up window, or the like in the actual application, and is specifically set according to the needs of the actual application, and does not constitute a limitation on the present application.
通过上述方式,用户可以自由地设定任意数量的资源进行传输。在用户输入了相应数量的资源后,第一IM客户端便可进一步将相应数量的资源发送给第二IM客户端。换言之,本申请实施例中,将所述第一IM客户端对应的资源发送给所述第二IM客户端,具体包括:根据所述用户在所述资源数量输入区域中输入的数量,在所述第一IM客户端对应的资源中获取相应数量的资源,将获取到的所述资源发送给所述第二IM客户端。In the above manner, the user can freely set any number of resources for transmission. After the user inputs the corresponding number of resources, the first IM client can further send the corresponding number of resources to the second IM client. In other words, in the embodiment of the present application, the sending the resource corresponding to the first IM client to the second IM client includes: according to the quantity input by the user in the resource quantity input area, The resource corresponding to the first IM client obtains a corresponding quantity of resources, and sends the obtained resource to the second IM client.
正如前述,第一IM客户端对应的资源,既可以是存储在第一IM客户端内的资源,也可以是使用该第一IM客户端的第一用户的账户中的资源,如:上例中,第一IM客户端对应的资源是User1的账户内的款项。 As described above, the resource corresponding to the first IM client may be a resource stored in the first IM client or a resource in the account of the first user using the first IM client, for example, in the above example. The resource corresponding to the first IM client is the payment in the account of User1.
现仍沿用上例:在图2c中,User1可以点击该红包设置界面中字样为“发红包”的按键,从而将额度为3元的款项以电子红包的方式发送给User2。The above example is still used: In Figure 2c, User1 can click the button in the red envelope setting interface with the words "red envelope", so that the amount of 3 yuan is sent to User2 in the form of electronic red envelope.
当然,在本示例中,对于User1而言,其向User2发送的电子红包可以作为一种历史记录,显示在与User2的即时通讯窗口内,也即,如图2d所示,User1自身的即时通讯窗口中显示出了User1发送给User2的电子红包记录。Of course, in this example, for User1, the electronic red envelope sent to User2 can be displayed as a history record in the instant messaging window with User2, that is, as shown in Figure 2d, User1's own instant messaging. The electronic red envelope record sent by User1 to User2 is displayed in the window.
对于User2而言,在其即时通讯窗口中,会显示出由User1所发送的电子红包,User2可以点击该红包,从而接收其中的款项。For User2, in its instant messaging window, the electronic red envelope sent by User1 will be displayed, and User2 can click on the red envelope to receive the payment.
对于上述示例而言,在一种实际应用场景下:User2可以通过第二IM客户端向User1的第一客户端发送春节拜年视频,当User1观看该春节拜年视频时,可通过播放界面中显示的拜年红包控件,向User2发拜年红包,具体过程与上述内容一致,这里并不在过多赘述。当然,该场景并不构成对本申请的限定。For the above example, in a practical application scenario, User2 can send a Spring Festival New Year video to the first client of User1 through the second IM client. When User1 views the Spring Festival New Year video, it can be displayed through the playback interface. New Year's red envelope control, send a New Year's red envelope to User2, the specific process is consistent with the above content, here is not too much to repeat. Of course, this scenario does not constitute a limitation on the present application.
本申请的上述方法不仅适用于用户之间的单独进行即时通讯的场景,也适用于群组聊天的场景下。也即,处于同一群组中的多个第一IM客户端接收到第二IM客户端发送的视频文件后,均可以向该第二IM客户端发送资源。The above method of the present application is not only applicable to a scenario in which an instant messaging is performed between users, but also in a scenario of group chat. That is, after receiving the video file sent by the second IM client, the multiple first IM clients in the same group can send resources to the second IM client.
具体而言,将所述第一IM客户端对应的资源发送给所述第二IM客户端,具体包括:确定所述多媒体文件的发布者信息,根据确定的所述发布者信息,将所述第一IM客户端对应的资源发送给与所述发布者信息相对应的所述第二IM客户端。Specifically, the sending the resource corresponding to the first IM client to the second IM client, specifically: determining publisher information of the multimedia file, according to the determined publisher information, The resource corresponding to the first IM client is sent to the second IM client corresponding to the publisher information.
在本申请实施例中,发布者信息可以是账户信息,在上述示例的基础上,发布者信息具体可以是使用第二IM客户端的第二用户的账户信息。当然,在实际应用中的一些场景中,发布者信息还可以是诸如终端序列号、用户ID、IP地址、MAC地址等信息,这里并不构成对本申请的限定。In the embodiment of the present application, the publisher information may be account information. On the basis of the above example, the publisher information may specifically be account information of the second user using the second IM client. Of course, in some scenarios in the actual application, the publisher information may also be information such as a terminal serial number, a user ID, an IP address, a MAC address, etc., and does not constitute a limitation on the present application.
换言之,通过发布者信息,可以保证群组中的各第一IM客户端,准确地确定第二IM客户端,并将资源发送给第二该第二IM客户端。In other words, through the publisher information, each first IM client in the group can be assured that the second IM client is accurately determined and the resource is sent to the second second IM client.
综上所述,本申请实施例中的上述资源传输方法,可以使得第一用户可以直接在第一IM客户端上的播放界面中操作资源传输控件,从而完成资源向第二IM客户端的传输,有效提升了第一用户操作的便捷性。In summary, the foregoing resource transmission method in the embodiment of the present application may enable the first user to directly operate the resource transmission control in the play interface on the first IM client, thereby completing the transmission of the resource to the second IM client. Effectively improve the convenience of the first user operation.
以上方法是基于第一IM客户端侧的内容,在实际应用中,第一IM客户端和第二IM客户端之间可以通过服务器进行多媒体文件的传输,基于此,对于服务器而言,本申请实施例中也提供一种资源传输方法,如图3所示,具体包括:The above method is based on the content of the first IM client side. In an actual application, the first IM client and the second IM client can transmit multimedia files through the server. Based on this, for the server, the application A resource transmission method is also provided in the embodiment. As shown in FIG. 3, the method specifically includes:
S301:服务器接收第二IM客户端发送的多媒体文件,其中,所述多媒体文件中携 带控件显示指令。S301: The server receives the multimedia file sent by the second IM client, where the multimedia file carries With controls to display instructions.
S302:根据所述控件显示指令,生成资源传输控件,并嵌入至所述多媒体文件中。S302: Generate a resource transmission control according to the control display instruction, and embed the multimedia transmission file.
S303:将嵌入有资源传输控件的多媒体文件转发给与所述第二IM客户端对应的第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。S303: Forward the multimedia file embedded with the resource transmission control to the first IM client corresponding to the second IM client, so that the first IM client displays the resource in the play interface that plays the multimedia file. Transmitting the control, and sending the resource corresponding to the first IM client to the second IM client when the first IM client monitors the operation of the resource transmission control by the user.
同样地,对于第二IM客户端侧而言,本申请实施例中提供一种资源传输方法,如图4所示,具体包括:Similarly, for the second IM client side, a resource transmission method is provided in the embodiment of the present application. As shown in FIG. 4, the method specifically includes:
S401:第二IM客户端确定待发送的多媒体文件。S401: The second IM client determines the multimedia file to be sent.
S402:监测用户对资源传输功能的调用操作。S402: Monitor the user's calling operation on the resource transmission function.
S403:当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。S403: After the calling operation is detected, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and send the instruction to the first IM client, so that the first IM client is playing. The resource transmission control is displayed in the play interface of the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the The second IM client.
S405:接收所述第一IM客户端发送的资源。S405: Receive a resource sent by the first IM client.
对于第二IM客户端侧而言,本申请实施例中还提供一种资源传输方法,如图5所示,具体包括:For the second IM client side, a resource transmission method is also provided in the embodiment of the present application. As shown in FIG. 5, the method specifically includes:
S501:第二IM客户端确定待发送的多媒体文件。S501: The second IM client determines the multimedia file to be sent.
S502:监测用户对资源传输功能的调用操作。S502: Monitor a user's calling operation on a resource transmission function.
S503:当监测到所述调用操作后,生成资源传输控件,并嵌入至待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。S503: After the calling operation is detected, generating a resource transmission control, and embedding into the multimedia file to be sent, and sending the data to the first IM client, so that the first IM client is playing the multimedia file. The resource transmission control is displayed in the play interface, and the resource corresponding to the first IM client is sent to the second IM client when the first IM client monitors the operation of the resource transmission control by the user. .
S504:接收所述第一IM客户端发送的资源。S504: Receive a resource sent by the first IM client.
此外,除了上述的在即时通讯场景下的应用之外,本申请实施例中所提供的方法也适用于诸如朋友圈、生活圈等社交平台上获得资源的场景,具体地,如图6所示,为本申请实施例中所提供的一种资源传输方法,包括:In addition, in addition to the foregoing application in the instant messaging scenario, the method provided in the embodiment of the present application is also applicable to a scenario in which resources are obtained on a social platform such as a circle of friends, a living circle, and the like, specifically, as shown in FIG. A resource transmission method provided in the embodiment of the present application includes:
S601:第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,其中,所述通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端。S601: The first IM client obtains a multimedia file that is sent by the second IM client on the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client.
所述的通讯平台,可以是朋友圈和/或生活圈等通讯平台,该通讯平台中包含了与第 二用户具有通讯关系(如:好友关系)的各第一用户。这里并不构成对本申请的限定。The communication platform may be a communication platform such as a circle of friends and/or a living circle, and the communication platform includes The first user of the second user has a communication relationship (such as a friend relationship). This does not constitute a limitation on the present application.
S602:播放所述多媒体文件。S602: Play the multimedia file.
S603:在播放所述多媒体文件的播放界面中显示资源传输控件。S603: Display a resource transmission control in a play interface for playing the multimedia file.
S604:当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。S604: Send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control is detected by the user.
步骤S602~S604与前述方法相类似,这里不再过多赘述。Steps S602 to S604 are similar to the foregoing methods, and are not described here.
基于如图6所示的方法,对于第二IM客户端侧而言,本申请实施例中所提供的一种资源传输方法,如图7所示,包括:Based on the method shown in FIG. 6, for the second IM client side, a resource transmission method provided in the embodiment of the present application, as shown in FIG. 7, includes:
S701:第二IM客户端确定待发送的多媒体文件。S701: The second IM client determines the multimedia file to be sent.
S702:监测用户对资源传输功能的调用操作。S702: Monitor a user's calling operation on a resource transmission function.
S703:当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发布在通讯平台上,其中,该通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端.S703: After the calling operation is detected, generating a control display instruction, and carrying the control display instruction in the multimedia file to be sent, and publishing the information on the communication platform, wherein the communication platform includes a plurality of the second IM The first IM client with communication relationship between clients.
S704:接收所述第一IM客户端发送的资源。S704: Receive a resource sent by the first IM client.
本实施例中,通讯平台上可以具体是具有即时通讯功能或社交功能的平台,该平台上可以进行用户信息的分享,例如上述的多媒体文件被分享到该平台上,其他用户在看到该分享的多媒体文件后,就可以通过点击或选择多媒体文件播放时其上的资源传输控件,来进行资源的传输,例如上述的红包的发放等。In this embodiment, the communication platform may be specifically a platform having an instant messaging function or a social function, and the user information sharing may be performed on the platform, for example, the multimedia file is shared on the platform, and other users are seeing the sharing. After the multimedia file, the resource transmission control can be performed by clicking or selecting the resource transmission control on the multimedia file during playback, for example, the red envelope is issued.
以上为本发明实施例提供的资源传输方法,基于同样的思路,本发明实施例还提供一种资源传输装置。The foregoing is a resource transmission method provided by an embodiment of the present invention. Based on the same idea, the embodiment of the present invention further provides a resource transmission apparatus.
如图8所示,资源传输装置设置在第一IM客户端侧,包括:接收模块801、播放模块802、控件显示模块803、资源传输模块804,其中,As shown in FIG. 8, the resource transmission device is disposed on the first IM client side, and includes: a receiving module 801, a playing module 802, a control display module 803, and a resource transmission module 804, where
接收模块801,用于接收第二IM客户端发送的多媒体文件。The receiving module 801 is configured to receive the multimedia file sent by the second IM client.
播放模块802,用于播放所述多媒体文件。The playing module 802 is configured to play the multimedia file.
控件显示模块803,用于在播放所述多媒体文件的播放界面中显示资源传输控件。The control display module 803 is configured to display a resource transmission control in a play interface for playing the multimedia file.
资源传输模块804,用于当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The resource transmission module 804 is configured to send, when the user operates the resource transmission control, the resource corresponding to the first IM client to the second IM client.
在本申请实施例中,所述多媒体文件中携带有控件显示指令时,控件显示模块803,具体用于根据所述多媒体文件中的所述控件显示指令,在播放所述多媒体文件的播放界面中显示资源传输控件。 In the embodiment of the present application, when the multimedia file carries a control display instruction, the control display module 803 is specifically configured to play the multimedia file in the play interface according to the control display instruction in the multimedia file. Display resource transfer controls.
而所述多媒体文件中已嵌入资源传输控件时,控件显示模块803,具体用于将所述资源传输控件直接显示在播放所述多媒体文件的播放界面中。When the resource transmission control is embedded in the multimedia file, the control display module 803 is specifically configured to directly display the resource transmission control in a play interface for playing the multimedia file.
考虑到用户在进行资源传输时,可以自行设置所要传输的资源的数量,因此,所述装置还包括:界面显示模块805,用于显示包含资源数量输入区域的资源发送界面。其中,所述资源数量输入区域用于使用户输入要发送给所述第二IM客户端的资源的数量。The device further includes an interface display module 805 for displaying a resource sending interface including a resource quantity input area, in consideration of the number of the resources to be transmitted by the user. The resource quantity input area is used to enable a user to input the quantity of resources to be sent to the second IM client.
进而,资源传输模块804,用于根据所述用户在所述资源数量输入区域中输入的数量,在所述第一IM客户端对应的资源中获取相应数量的资源,将获取到的所述资源发送给所述第二IM客户端。Further, the resource transmission module 804 is configured to acquire a corresponding quantity of resources in the resource corresponding to the first IM client according to the quantity input by the user in the resource quantity input area, and the obtained resource is obtained. Send to the second IM client.
此外,资源传输模块804,用于确定所述多媒体文件的发布者信息,根据确定的所述发布者信息,将所述第一IM客户端对应的资源发送给与所述发布者信息相对应的所述第二IM客户端。In addition, the resource transmission module 804 is configured to determine the publisher information of the multimedia file, and send the resource corresponding to the first IM client to the publisher information according to the determined publisher information. The second IM client.
在本申请实施例中,所述多媒体文件,包括视频文件、动态图片中的至少一种。In the embodiment of the present application, the multimedia file includes at least one of a video file and a dynamic picture.
在服务器侧,本发明实施例还提供一种资源传输装置,如图9所示,包括:On the server side, the embodiment of the present invention further provides a resource transmission device, as shown in FIG. 9, including:
接收模块901,用于接收第二IM客户端发送的多媒体文件,其中,所述多媒体文件中携带控件显示指令;The receiving module 901 is configured to receive a multimedia file sent by the second IM client, where the multimedia file carries a control display instruction;
资源控件模块902,用于根据所述控件显示指令,生成资源传输控件,并嵌入至所述多媒体文件中;The resource control module 902 is configured to generate a resource transmission control according to the control display instruction, and embed the multimedia transmission file;
发送模块903,将嵌入有资源传输控件的多媒体文件转发给与所述第二IM客户端对应的第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The sending module 903 forwards the multimedia file embedded with the resource transmission control to the first IM client corresponding to the second IM client, so that the first IM client is in the playing interface of playing the multimedia file. And displaying the resource transmission control, and sending the resource corresponding to the first IM client to the second IM client when the first IM client monitors the operation of the resource transmission control by the user.
在第二IM客户端侧,本发明实施例还提供一种资源传输装置,如图10所示,包括:On the second IM client side, the embodiment of the present invention further provides a resource transmission device, as shown in FIG. 10, including:
确定模块1001,用于确定待发送的多媒体文件。The determining module 1001 is configured to determine a multimedia file to be sent.
监测模块1002,用于监测用户对资源传输功能的调用操作。The monitoring module 1002 is configured to monitor a user's calling operation on the resource transmission function.
控件指令模块1003,用于当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The control instruction module 1003 is configured to: after detecting the calling operation, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and send the instruction to the first IM client, so that the first The IM client displays the resource transmission control in the play interface that plays the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, the first IM client is corresponding to The resource is sent to the second IM client.
接收模块1004,用于接收所述第一IM客户端发送的资源。 The receiving module 1004 is configured to receive the resource sent by the first IM client.
在第二IM客户端侧,本发明实施例还提供一种资源传输装置,如图11所示,包括:On the second IM client side, the embodiment of the present invention further provides a resource transmission device, as shown in FIG.
确定模块1101,用于确定待发送的多媒体文件。The determining module 1101 is configured to determine a multimedia file to be sent.
监测模块1102,用于监测用户对资源传输功能的调用操作。The monitoring module 1102 is configured to monitor a user call operation of a resource transmission function.
控件生成模块1103,用于生成资源传输控件,并嵌入至待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The control generating module 1103 is configured to generate a resource transmission control, and embed in the multimedia file to be sent, and send the message to the first IM client, so that the first IM client displays in the play interface that plays the multimedia file. The resource transmission control, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
接收模块1104,用于接收所述第一IM客户端发送的资源。The receiving module 1104 is configured to receive the resource sent by the first IM client.
本发明实施例还提供一种资源传输装置,如图12所示,包括:The embodiment of the present invention further provides a resource transmission device, as shown in FIG. 12, including:
获取模块1201,用于获取第二IM客户端发布在通讯平台上的多媒体文件,其中,所述通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端。The obtaining module 1201 is configured to obtain a multimedia file that is sent by the second IM client on the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client.
播放模块1202,用于播放所述多媒体文件。The playing module 1202 is configured to play the multimedia file.
控件显示模块1203,用于在播放所述多媒体文件的播放界面中显示资源传输控件。The control display module 1203 is configured to display a resource transmission control in a play interface that plays the multimedia file.
资源传输模块1204,用于当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The resource transmission module 1204 is configured to send, when the user operates the resource transmission control, the resource corresponding to the first IM client to the second IM client.
本发明实施例还提供一种资源传输装置,如图13所示,包括:The embodiment of the invention further provides a resource transmission device, as shown in FIG. 13, comprising:
确定模块1301,用于确定待发送的多媒体文件。The determining module 1301 is configured to determine a multimedia file to be sent.
监测模块1302,用于监测用户对资源传输功能的调用操作。The monitoring module 1302 is configured to monitor a user call operation of the resource transmission function.
发布模块1303,用于当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发布在通讯平台上,以使得第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,在播放所述多媒体文件的播放界面中显示资源传输控件,并当第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端,其中,该通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端。The issuing module 1303 is configured to: after detecting the calling operation, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and publish the information on the communication platform, so that the first IM client obtains the first The IM client publishes the multimedia file on the communication platform, displays the resource transmission control in the playing interface of playing the multimedia file, and when the first IM client monitors the operation of the resource transmission control by the user, The resource corresponding to the first IM client is sent to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client.
接收模块1304,用于接收所述第一IM客户端发送的资源。The receiving module 1304 is configured to receive the resource sent by the first IM client.
需要说明的是,对于本申请中的上述内容,在实际应用时可由实体设备实现,所述的实体设备包括:It should be noted that, in the actual application, the foregoing content may be implemented by a physical device, where the physical device includes:
存储器,用于存储资源传输程序。Memory for storing resource transfer programs.
处理器,用于在接收到多媒体文件后,调用存储器中存储的资源传输程序,并基于该资源传输程序执行: a processor, configured to: after receiving the multimedia file, invoke a resource transfer program stored in the memory, and execute according to the resource transfer program:
播放所述多媒体文件,在播放所述多媒体文件的播放界面中显示资源传输控件,当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。Playing the multimedia file, displaying a resource transmission control in a play interface for playing the multimedia file, and when monitoring the operation of the resource transmission control by the user, sending the resource corresponding to the first IM client to the The second IM client.
传输接口,用于接收多媒体文件,以及将资源发送给所述第二IM客户端。And a transmission interface, configured to receive the multimedia file, and send the resource to the second IM client.
相应地,上述的实体设备可以设于服务器侧和第二IM客户端侧,这里不再详细赘述。Correspondingly, the foregoing physical device may be disposed on the server side and the second IM client side, and details are not described herein again.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage of computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本发明的实施例可提供为方法、系统或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
以上所述仅为本发明的实施例而已,并不用于限制本发明。对于本领域技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。 The above description is only an embodiment of the present invention and is not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and changes can be made in the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the appended claims.

Claims (24)

  1. 一种资源传输方法,其特征在于,包括:A resource transmission method, comprising:
    第一即时通讯IM客户端接收第二IM客户端发送的多媒体文件;The first instant messaging IM client receives the multimedia file sent by the second IM client;
    播放所述多媒体文件;Playing the multimedia file;
    在播放所述多媒体文件的播放界面中显示资源传输控件;Displaying a resource transfer control in a play interface for playing the multimedia file;
    当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。When the operation of the resource transmission control by the user is detected, the resource corresponding to the first IM client is sent to the second IM client.
  2. 如权利要求1所述的方法,其特征在于,所述多媒体文件中携带有控件显示指令;The method according to claim 1, wherein the multimedia file carries a control display instruction;
    在播放所述多媒体文件的播放界面中显示资源传输控件,具体包括:Displaying a resource transmission control in a play interface for playing the multimedia file, specifically:
    根据所述多媒体文件中的所述控件显示指令,在播放所述多媒体文件的播放界面中显示资源传输控件。Displaying a resource transfer control in a play interface for playing the multimedia file according to the control display instruction in the multimedia file.
  3. 如权利要求1所述的方法,其特征在于,所述多媒体文件中已嵌入资源传输控件;The method of claim 1 wherein a resource transfer control is embedded in the multimedia file;
    在播放所述多媒体文件的播放界面中显示资源传输控件,具体包括:Displaying a resource transmission control in a play interface for playing the multimedia file, specifically:
    将所述资源传输控件直接显示在播放所述多媒体文件的播放界面中。The resource transmission control is directly displayed in a play interface for playing the multimedia file.
  4. 如权利要求1所述的方法,其特征在于,将所述第一IM客户端对应的资源发送给所述第二IM客户端之前,所述方法还包括:The method of claim 1, wherein before the sending the resource corresponding to the first IM client to the second IM client, the method further comprises:
    所述第一IM客户端调用资源传输功能;The first IM client invokes a resource transmission function;
    基于该资源传输功能,显示包含资源数量输入区域的资源发送界面,其中,所述资源数量输入区域用于使用户输入要发送给所述第二IM客户端的资源的数量。Based on the resource transmission function, a resource transmission interface including a resource quantity input area for displaying a quantity of resources to be sent to the second IM client is displayed.
  5. 如权利要求4所述的方法,其特征在于,将所述第一IM客户端对应的资源发送给所述第二IM客户端,具体包括:The method of claim 4, wherein the sending the resource corresponding to the first IM client to the second IM client comprises:
    根据所述用户在所述资源数量输入区域中输入的数量,在所述第一IM客户端对应的资源中获取相应数量的资源;Obtaining, according to the quantity input by the user in the resource quantity input area, a corresponding quantity of resources in a resource corresponding to the first IM client;
    将获取到的所述资源发送给所述第二IM客户端。And sending the obtained resource to the second IM client.
  6. 如权利要求1所述的方法,其特征在于,将所述第一IM客户端对应的资源发送给所述第二IM客户端,具体包括:The method of claim 1, wherein the sending the resource corresponding to the first IM client to the second IM client comprises:
    确定所述多媒体文件的发布者信息;Determining publisher information of the multimedia file;
    根据确定的所述发布者信息,将所述第一IM客户端对应的资源发送给与所述发布 者信息相对应的所述第二IM客户端。Sending, according to the determined publisher information, the resource corresponding to the first IM client to the release The second IM client corresponding to the information.
  7. 如权利要求1~6中任一所述的方法,其特征在于,所述多媒体文件,包括视频文件、动态图片中的至少一种。The method according to any one of claims 1 to 6, wherein the multimedia file comprises at least one of a video file and a dynamic picture.
  8. 一种资源传输方法,其特征在于,包括:A resource transmission method, comprising:
    服务器接收第二IM客户端发送的多媒体文件,其中,所述多媒体文件中携带控件显示指令;Receiving, by the server, a multimedia file sent by the second IM client, where the multimedia file carries a control display instruction;
    根据所述控件显示指令,生成资源传输控件,并嵌入至所述多媒体文件中;Generating a resource transfer control according to the control display instruction, and embedding into the multimedia file;
    将嵌入有资源传输控件的多媒体文件转发给与所述第二IM客户端对应的第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。Forwarding the multimedia file embedded with the resource transmission control to the first IM client corresponding to the second IM client, so that the first IM client displays the resource transmission control in the play interface that plays the multimedia file And when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
  9. 一种资源传输方法,其特征在于,包括:A resource transmission method, comprising:
    第二IM客户端确定待发送的多媒体文件;The second IM client determines the multimedia file to be sent;
    监测用户对资源传输功能的调用操作;Monitoring user call operations on resource transfer functions;
    当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。After the calling operation is detected, the control display instruction is generated, and the control display instruction is carried in the multimedia file to be sent, and sent to the first IM client, so that the first IM client is playing the The resource transmission control is displayed in the play interface of the multimedia file, and when the first IM client detects the operation of the resource transfer control by the user, the resource corresponding to the first IM client is sent to the second IM client.
  10. 一种资源传输方法,其特征在于,包括:A resource transmission method, comprising:
    第二IM客户端确定待发送的多媒体文件;The second IM client determines the multimedia file to be sent;
    监测用户对资源传输功能的调用操作;Monitoring user call operations on resource transfer functions;
    当监测到所述调用操作后,生成资源传输控件,并嵌入至待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。After the calling operation is detected, the resource transmission control is generated and embedded in the multimedia file to be sent, and sent to the first IM client, so that the first IM client plays the playing interface of the multimedia file. The resource transmission control is displayed, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
  11. 一种资源传输方法,其特征在于,包括:A resource transmission method, comprising:
    第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,其中,所述通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端;The first IM client obtains a multimedia file that is sent by the second IM client on the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client;
    播放所述多媒体文件;Playing the multimedia file;
    在播放所述多媒体文件的播放界面中显示资源传输控件; Displaying a resource transfer control in a play interface for playing the multimedia file;
    当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。When the operation of the resource transmission control by the user is detected, the resource corresponding to the first IM client is sent to the second IM client.
  12. 一种资源传输方法,其特征在于,包括:A resource transmission method, comprising:
    第二IM客户端确定待发送的多媒体文件;The second IM client determines the multimedia file to be sent;
    监测用户对资源传输功能的调用操作;Monitoring user call operations on resource transfer functions;
    当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发布在通讯平台上,以使得第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,在播放所述多媒体文件的播放界面中显示资源传输控件,并当第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端,其中,该通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端。After the calling operation is detected, the control display instruction is generated, and the control display instruction is carried in the multimedia file to be sent, and is published on the communication platform, so that the first IM client obtains the second IM client to be published in the a multimedia file on the communication platform, displaying a resource transmission control in a play interface for playing the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, the first IM client The corresponding resource is sent to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client.
  13. 一种资源传输装置,其特征在于,包括:A resource transmission device, comprising:
    接收模块,用于接收第二IM客户端发送的多媒体文件;a receiving module, configured to receive a multimedia file sent by the second IM client;
    播放模块,用于播放所述多媒体文件;a playing module, configured to play the multimedia file;
    控件显示模块,用于在播放所述多媒体文件的播放界面中显示资源传输控件;a control display module, configured to display a resource transmission control in a play interface for playing the multimedia file;
    资源传输模块,用于当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The resource transmission module is configured to send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control by the user is monitored.
  14. 如权利要求13所述的装置,其特征在于,所述多媒体文件中携带有控件显示指令;所述控件显示模块,具体用于根据所述多媒体文件中的所述控件显示指令,在播放所述多媒体文件的播放界面中显示资源传输控件。The device of claim 13, wherein the multimedia file carries a control display instruction, and the control display module is configured to display the instruction according to the control in the multimedia file. The resource transfer control is displayed in the playback interface of the multimedia file.
  15. 如权利要求13所述的装置,其特征在于,所述多媒体文件中已嵌入资源传输控件;所述控件显示模块,具体用于将所述资源传输控件直接显示在播放所述多媒体文件的播放界面中。The device of claim 13, wherein the resource transfer control is embedded in the multimedia file; the control display module is specifically configured to display the resource transfer control directly on a play interface for playing the multimedia file in.
  16. 如权利要求13所述的装置,其特征在于,所述装置还包括:界面显示模块,用于调用资源传输功能,基于该资源传输功能,显示包含资源数量输入区域的资源发送界面,其中,所述资源数量输入区域用于使用户输入要发送给所述第二IM客户端的资源的数量。The device according to claim 13, wherein the device further comprises: an interface display module, configured to invoke a resource transmission function, and display a resource sending interface including a resource quantity input area based on the resource transmission function, wherein The resource quantity input area is for causing a user to input the number of resources to be sent to the second IM client.
  17. 如权利要求16所述的装置,其特征在于,所述资源传输模块,用于根据所述用户在所述资源数量输入区域中输入的数量,在所述第一IM客户端对应的资源中获取相应数量的资源,将获取到的所述资源发送给所述第二IM客户端。 The device according to claim 16, wherein the resource transmission module is configured to obtain, according to the quantity input by the user in the resource quantity input area, a resource corresponding to the first IM client. The corresponding number of resources are sent to the second IM client.
  18. 如权利要求13所述的装置,其特征在于,所述资源传输模块,用于确定所述多媒体文件的发布者信息,根据确定的所述发布者信息,将所述第一IM客户端对应的资源发送给与所述发布者信息相对应的所述第二IM客户端。The device according to claim 13, wherein the resource transmission module is configured to determine publisher information of the multimedia file, and corresponding to the first IM client according to the determined publisher information. The resource is sent to the second IM client corresponding to the publisher information.
  19. 如权利要求13~18中任一所述的装置,其特征在于,所述多媒体文件,包括视频文件、动态图片中的至少一种。The device according to any one of claims 13 to 18, wherein the multimedia file comprises at least one of a video file and a dynamic picture.
  20. 一种资源传输装置,其特征在于,包括:A resource transmission device, comprising:
    接收模块,用于接收第二IM客户端发送的多媒体文件,其中,所述多媒体文件中携带控件显示指令;a receiving module, configured to receive a multimedia file sent by the second IM client, where the multimedia file carries a control display instruction;
    资源控件模块,用于根据所述控件显示指令,生成资源传输控件,并嵌入至所述多媒体文件中;a resource control module, configured to generate a resource transmission control according to the control display instruction, and embed the multimedia transmission file;
    发送模块,将嵌入有资源传输控件的多媒体文件转发给与所述第二IM客户端对应的第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。a sending module, the multimedia file embedded with the resource transmission control is forwarded to the first IM client corresponding to the second IM client, so that the first IM client displays in the playing interface of playing the multimedia file The resource transmission control, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is sent to the second IM client.
  21. 一种资源传输装置,其特征在于,包括:A resource transmission device, comprising:
    确定模块,用于确定待发送的多媒体文件;a determining module, configured to determine a multimedia file to be sent;
    监测模块,用于监测用户对资源传输功能的调用操作;a monitoring module, configured to monitor a user's calling operation on a resource transmission function;
    控件指令模块,用于当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。a control instruction module, configured to: after the calling operation is detected, generate a control display instruction, and carry the control display instruction in the multimedia file to be sent, and send the instruction to the first IM client, so that the first IM is The client displays the resource transmission control in the play interface that plays the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, the resource corresponding to the first IM client is used. Send to the second IM client.
  22. 一种资源传输装置,其特征在于,包括:A resource transmission device, comprising:
    确定模块,用于确定待发送的多媒体文件;a determining module, configured to determine a multimedia file to be sent;
    监测模块,用于监测用户对资源传输功能的调用操作;a monitoring module, configured to monitor a user's calling operation on a resource transmission function;
    控件生成模块,用于生成资源传输控件,并嵌入至待发送的多媒体文件中,发送给第一IM客户端,以使得所述第一IM客户端在播放所述多媒体文件的播放界面中显示资源传输控件,且在所述第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。a control generating module, configured to generate a resource transfer control, and embed in the multimedia file to be sent, and send the message to the first IM client, so that the first IM client displays the resource in the play interface that plays the multimedia file Transmitting the control, and sending the resource corresponding to the first IM client to the second IM client when the first IM client monitors the operation of the resource transmission control by the user.
  23. 一种资源传输装置,其特征在于,包括: A resource transmission device, comprising:
    获取模块,用于获取第二IM客户端发布在通讯平台上的多媒体文件,其中,所述通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端;The obtaining module is configured to obtain a multimedia file that is sent by the second IM client to the communication platform, where the communication platform includes a plurality of first IM clients that have a communication relationship with the second IM client;
    播放模块,用于播放所述多媒体文件;a playing module, configured to play the multimedia file;
    控件显示模块,用于在播放所述多媒体文件的播放界面中显示资源传输控件;a control display module, configured to display a resource transmission control in a play interface for playing the multimedia file;
    资源传输模块,用于当监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端。The resource transmission module is configured to send the resource corresponding to the first IM client to the second IM client when the operation of the resource transmission control by the user is monitored.
  24. 一种资源传输装置,其特征在于,包括:A resource transmission device, comprising:
    确定模块,用于确定待发送的多媒体文件;a determining module, configured to determine a multimedia file to be sent;
    监测模块,用于监测用户对资源传输功能的调用操作;a monitoring module, configured to monitor a user's calling operation on a resource transmission function;
    发布模块,用于当监测到所述调用操作后,生成控件显示指令,并将该控件显示指令携带在待发送的多媒体文件中,发布在通讯平台上,以使得第一IM客户端获取第二IM客户端发布在通讯平台上的多媒体文件,在播放所述多媒体文件的播放界面中显示资源传输控件,并当第一IM客户端监测到用户对所述资源传输控件的操作时,将所述第一IM客户端对应的资源发送给所述第二IM客户端,其中,该通讯平台中包含若干与该第二IM客户端之间具有通讯关系的第一IM客户端。 a publishing module, configured to generate a control display instruction after the calling operation is performed, and carry the control display instruction in the multimedia file to be sent, and publish the information on the communication platform, so that the first IM client obtains the second The IM client publishes the multimedia file on the communication platform, displays the resource transmission control in the play interface that plays the multimedia file, and when the first IM client detects the operation of the resource transmission control by the user, The resource corresponding to the first IM client is sent to the second IM client, where the communication platform includes a plurality of first IM clients having a communication relationship with the second IM client.
PCT/CN2017/070121 2016-01-11 2017-01-04 Method and apparatus for resource transmission WO2017121267A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610016301.2A CN106961375B (en) 2016-01-11 2016-01-11 Resource transmission method and device
CN201610016301.2 2016-01-11

Publications (1)

Publication Number Publication Date
WO2017121267A1 true WO2017121267A1 (en) 2017-07-20

Family

ID=59310827

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070121 WO2017121267A1 (en) 2016-01-11 2017-01-04 Method and apparatus for resource transmission

Country Status (3)

Country Link
CN (2) CN111628926B (en)
TW (1) TW201730776A (en)
WO (1) WO2017121267A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322465B (en) * 2018-01-31 2021-09-24 腾讯科技(深圳)有限公司 Resource sharing, requesting and processing method and device, storage medium and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047521A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for playing network media file by customer terminal and customer terminal
CN102800308A (en) * 2012-07-31 2012-11-28 上海量明科技发展有限公司 Method, client side and system for realizing music playing function through instant messaging tool
CN104580084A (en) * 2013-10-16 2015-04-29 腾讯科技(北京)有限公司 Method, terminals and system for sharing multimedia file

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1553369A (en) * 2003-05-29 2004-12-08 �Ҵ���˾ Interdynamic method for multimedia message service, user terminal and communication system
US8706818B2 (en) * 2006-12-19 2014-04-22 Microsoft Corporation Remote control-based instant messaging
GB0712880D0 (en) * 2007-07-03 2007-08-08 Skype Ltd Instant messaging communication system and method
US8447819B2 (en) * 2010-07-09 2013-05-21 Robert Paul Morris Methods, systems, and computer program products for processing a request for a resource in a communication
CN102651731B (en) * 2011-02-24 2016-06-29 腾讯科技(深圳)有限公司 A kind of video broadcasting method and device thereof
CN103488374B (en) * 2012-06-13 2016-02-24 腾讯科技(深圳)有限公司 A kind of receives information disposal route and device
CN104901864B (en) * 2015-04-09 2016-12-28 腾讯科技(深圳)有限公司 For the system and method that information is mutual

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047521A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for playing network media file by customer terminal and customer terminal
CN102800308A (en) * 2012-07-31 2012-11-28 上海量明科技发展有限公司 Method, client side and system for realizing music playing function through instant messaging tool
CN104580084A (en) * 2013-10-16 2015-04-29 腾讯科技(北京)有限公司 Method, terminals and system for sharing multimedia file

Also Published As

Publication number Publication date
CN111628926A (en) 2020-09-04
TW201730776A (en) 2017-09-01
CN106961375B (en) 2020-05-08
CN106961375A (en) 2017-07-18
CN111628926B (en) 2022-07-26

Similar Documents

Publication Publication Date Title
CN109391850B (en) Method, device and storage medium for interacting messages in video page
US9961036B2 (en) News feed techniques
EP2537101B1 (en) Server-based data sharing in computer applications
US9122651B1 (en) Computer system to support failover in an event stream processing system
US10185932B2 (en) Setting permissions for links forwarded in electronic messages
WO2019062569A1 (en) Message display method and device
US9807143B2 (en) Systems and methods for event routing and correlation
US9083693B2 (en) Managing private information in instant messaging
US9906614B2 (en) Real-time content sharing between browsers
US9584566B2 (en) Method and system for synchronizing duplicated contents in multiple terminals
TW201535257A (en) Identifying relationships between message threads
MX2013001676A (en) Media/voice binding protocol and related user interfaces.
TW201737681A (en) Method and apparatus for implementing instant messaging
US10122673B2 (en) Methods and systems for aggregating user generated content
US20140344376A1 (en) Publication of text message conversations on a social networking platform
TWI496485B (en) Method for instant communication, terminal and system
WO2023025234A1 (en) Information processing method and apparatus, device, and storage medium
JP2023521508A (en) Mail processing method, device, electronic device and storage medium
CN112083978B (en) Event sharing method and device
TWI808936B (en) Audio message processing method and device
US20120005152A1 (en) Merged Event Logs
WO2017121267A1 (en) Method and apparatus for resource transmission
KR20150104139A (en) Apparatus and method for push-to-share file distribution with previews
US10230675B2 (en) Deriving atomic communication threads from independently addressable messages
JP6170634B2 (en) Correlation of sent and received electronic messages

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17738081

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17738081

Country of ref document: EP

Kind code of ref document: A1