Movatterモバイル変換


[0]ホーム

URL:


CN105554027A - Resource sharing method and device - Google Patents

Resource sharing method and device
Download PDF

Info

Publication number
CN105554027A
CN105554027ACN201610042104.8ACN201610042104ACN105554027ACN 105554027 ACN105554027 ACN 105554027ACN 201610042104 ACN201610042104 ACN 201610042104ACN 105554027 ACN105554027 ACN 105554027A
Authority
CN
China
Prior art keywords
resource
resources
resource sharing
message related
medium data
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201610042104.8A
Other languages
Chinese (zh)
Other versions
CN105554027B (en
Inventor
赖文辉
林丹妮
钟鹏飞
熊峰
刘林
翟伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201610042104.8ApriorityCriticalpatent/CN105554027B/en
Priority to CN202010548025.0Aprioritypatent/CN111711560B/en
Publication of CN105554027ApublicationCriticalpatent/CN105554027A/en
Priority to PCT/CN2017/070630prioritypatent/WO2017124932A1/en
Priority to US16/041,581prioritypatent/US11017484B2/en
Priority to US16/045,519prioritypatent/US10861109B2/en
Priority to US16/045,467prioritypatent/US10861108B2/en
Application grantedgrantedCritical
Publication of CN105554027BpublicationCriticalpatent/CN105554027B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention relates to a resource sharing method and device. The method comprises the following steps: acquiring basic information of the configured resources; acquiring multimedia data; acquiring a resource sharing request, and associating the resource basic information with multimedia data according to the resource sharing request; generating a resource sharing instruction according to the incidence relation between the resource basic information and the multimedia data; and executing the resource sharing instruction. According to the resource sharing method and device, the multimedia data and the configured resource basic information are obtained, the resource basic information is associated with the multimedia data according to the resource sharing request, the resource sharing instruction is generated according to the association relationship between the resource basic information and the multimedia data, the resource sharing instruction is executed, the multimedia data can be carried in resource sharing, and the type of information carried in the resource sharing is expanded.

Description

Translated fromChinese
资源分享方法和装置Resource sharing method and device

技术领域technical field

本发明涉及网络技术领域,特别是涉及一种资源分享方法和装置。The invention relates to the field of network technology, in particular to a resource sharing method and device.

背景技术Background technique

随着网络技术的发展,越来越多的用户使用网络从事社交活动。用户经常通过即时通信应用或社交网络应用分享资源,其是指通过即时通信应用或社交网络应用发布资源消息以实现资源的分享,这些资源包括但不限于虚拟红包、电子券、积分券、积分、电子代金券、游戏币、虚拟物品等。将资源分享到即时通信应用或社交网络应用后,即时通信应用或社交网络应用中的用户可请求分享该资源。With the development of network technology, more and more users use the network to engage in social activities. Users often share resources through instant messaging applications or social networking applications, which refers to posting resource messages through instant messaging applications or social networking applications to share resources. Electronic vouchers, game currency, virtual items, etc. After sharing the resource to the instant messaging application or social networking application, users in the instant messaging application or social networking application can request to share the resource.

传统的资源分享中,资源分享发起者发送的资源消息体中只能携带文字信息,极大的限制了资源分享所携带信息的类型。In traditional resource sharing, the resource message body sent by the resource sharing initiator can only carry text information, which greatly limits the type of information carried in resource sharing.

发明内容Contents of the invention

基于此,有必要针对传统的资源分享仅能携带文字信息的问题,提供一种资源分享方法,能携带多媒体信息,扩大了资源分享所携带信息的类型。Based on this, it is necessary to address the problem that traditional resource sharing can only carry text information, and provide a resource sharing method that can carry multimedia information and expand the types of information carried by resource sharing.

此外,还有必要提供一种资源分享装置,能携带多媒体信息,扩大了资源分享所携带信息的类型。In addition, it is also necessary to provide a resource sharing device capable of carrying multimedia information, which expands the types of information carried by resource sharing.

一种资源分享的方法,包括以下步骤:A method for resource sharing, comprising the following steps:

获取配置的资源基本信息;Obtain the basic information of the configured resources;

获取多媒体数据;Get multimedia data;

获取资源分享请求,根据所述资源分享请求将所述资源基本信息与多媒体数据进行关联;Obtaining a resource sharing request, and associating the resource basic information with the multimedia data according to the resource sharing request;

根据所述资源基本信息与多媒体数据的关联关系生成资源分享指令;generating a resource sharing instruction according to the association relationship between the basic resource information and the multimedia data;

执行所述资源分享指令。Execute the resource sharing instruction.

一种资源分享的方法,包括以下步骤:A method for resource sharing, comprising the following steps:

接收资源消息;Receive resource messages;

展示所述资源消息;display the resource message;

获取对所述资源消息的触发操作;Obtain a trigger operation on the resource message;

根据所述触发操作播放所述资源消息中的多媒体数据,并接收所述资源消息中的资源。Play the multimedia data in the resource message according to the trigger operation, and receive the resource in the resource message.

一种资源分享的装置,包括:A resource sharing device, comprising:

第一获取模块,用于获取配置的资源基本信息;The first obtaining module is used to obtain the basic information of the configured resources;

第二获取模块,用于获取多媒体数据;The second obtaining module is used to obtain multimedia data;

关联模块,用于获取资源分享请求,根据所述资源分享请求将所述资源基本信息与多媒体数据进行关联;An associating module, configured to obtain a resource sharing request, and associate the resource basic information with the multimedia data according to the resource sharing request;

指令生成模块,用于根据所述资源基本信息与多媒体数据的关联关系生成资源分享指令;An instruction generation module, configured to generate a resource sharing instruction according to the association relationship between the basic resource information and the multimedia data;

执行模块,用于执行所述资源分享指令。An execution module, configured to execute the resource sharing instruction.

一种资源分享的装置,包括:A resource sharing device, comprising:

接收模块,用于接收资源消息;A receiving module, configured to receive resource messages;

展示模块,用于展示所述资源消息;a display module, configured to display the resource message;

操作获取模块,用于获取对所述资源消息的触发操作;An operation obtaining module, configured to obtain a trigger operation on the resource message;

播放模块,用于根据所述触发操作播放所述资源消息中的多媒体数据;A playing module, configured to play the multimedia data in the resource message according to the trigger operation;

收取模块,用于接收所述资源消息中的资源。A receiving module, configured to receive the resource in the resource message.

上述资源分享的方法和装置,获取多媒体数据及配置的资源基本信息,根据资源分享请求将资源基本信息与多媒体数据进行关联,根据资源基本信息与多媒体数据的关联关系生成资源分享指令,执行该资源分享指令,实现了资源分享中可携带多媒体数据,扩大了资源分享所携带信息的类型。The above resource sharing method and device obtain multimedia data and configured resource basic information, associate resource basic information with multimedia data according to a resource sharing request, generate a resource sharing instruction according to the relationship between resource basic information and multimedia data, and execute the resource The sharing instruction realizes the carrying of multimedia data in resource sharing, and expands the type of information carried in resource sharing.

附图说明Description of drawings

图1为一个实施例中资源分享方法的应用环境示意图;FIG. 1 is a schematic diagram of an application environment of a resource sharing method in an embodiment;

图2为一个实施例中终端的内部结构示意图;Fig. 2 is a schematic diagram of the internal structure of a terminal in an embodiment;

图3为一个实施例中资源分享的方法的流程图;FIG. 3 is a flowchart of a method for resource sharing in an embodiment;

图4为提示开通分享个性资源的权限的示意图;Fig. 4 is a schematic diagram prompting to open the permission to share individual resources;

图5为视频数据角色的选择界面示意图;Fig. 5 is a schematic diagram of a selection interface of a video data role;

图6为一个实施例中生成的资源消息的示意图;Fig. 6 is a schematic diagram of a resource message generated in an embodiment;

图7为一个实施例中资源分享的方法的流程图;FIG. 7 is a flowchart of a method for resource sharing in an embodiment;

图8为另一个实施例资源分享的方法的流程图;FIG. 8 is a flowchart of a method for resource sharing in another embodiment;

图9为一个实施例中视频数据选择界面上选择明星人物的示意图;Fig. 9 is a schematic diagram of selecting a star character on the video data selection interface in one embodiment;

图10为一个实施例中两人会话界面中发送红包的示意图;Fig. 10 is a schematic diagram of sending red packets in a two-person conversation interface in an embodiment;

图11为一个实施例中领取红包的示意图;Figure 11 is a schematic diagram of receiving red envelopes in an embodiment;

图12为一个实施例中群组会话界面中发送红包的示意图;Fig. 12 is a schematic diagram of sending red packets in a group conversation interface in an embodiment;

图13为一个实施例中群组会话界面中领取红包的示意图;Fig. 13 is a schematic diagram of receiving red envelopes in a group conversation interface in an embodiment;

图14为一个实施例中资源分享的装置的结构框图;Fig. 14 is a structural block diagram of a resource sharing device in an embodiment;

图15为另一个实施例中资源分享的装置的结构框图;Fig. 15 is a structural block diagram of a resource sharing device in another embodiment;

图16为另一个实施例中资源分享的装置的结构框图;FIG. 16 is a structural block diagram of a resource sharing device in another embodiment;

图17为另一个实施例中资源分享的装置的结构框图。Fig. 17 is a structural block diagram of an apparatus for resource sharing in another embodiment.

具体实施方式detailed description

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

可以理解,本发明所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It can be understood that the terms "first", "second" and the like used in the present invention can be used to describe various elements herein, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first client could be termed a second client, and, similarly, a second client could be termed a first client, without departing from the scope of the present invention. Both the first client and the second client are clients, but they are not the same client.

图1为一个实施例中资源分享方法的应用环境示意图。如图1所示,该应用环境包括第一终端110、服务器120和第二终端130。第一终端110和第二终端130与服务器120通过网络进行通信。第一用户登录第一终端110上的应用程序客户端发起资源分享请求,根据资源分享请求获取资源基本信息和用户录制或选取的多媒体数据,生成包含该资源基本信息和多媒体数据的资源消息,将该资源消息通过服务器120发送给位于第二终端130上的第一用户的好友即第二用户或者发送给第一用户所在群组,在群组内显示该资源消息。位于第二终端130上的第二用户或群组内某成员接收到该资源消息后,触发资源消息,播放资源消息中的多媒体数据,并接收该资源消息中的资源。其中,资源消息是包含资源基本信息的消息。资源基本信息可包括资源和资源分享发起者标识,还可包括资源分享发起者所分享的信息内容、资源分享的时间和有效期等。多媒体数据可为资源分享发起者实时录制的多媒体数据或从网络或本地选取的多媒体数据。该多媒体数据可为音频数据和视频数据中一种或两种。Fig. 1 is a schematic diagram of an application environment of a resource sharing method in an embodiment. As shown in FIG. 1 , the application environment includes a first terminal 110 , a server 120 and a second terminal 130 . The first terminal 110 and the second terminal 130 communicate with the server 120 through a network. The first user logs in to the application client on the first terminal 110 to initiate a resource sharing request, obtain basic resource information and multimedia data recorded or selected by the user according to the resource sharing request, generate a resource message including the basic resource information and multimedia data, and send The resource message is sent by the server 120 to the second user who is a friend of the first user on the second terminal 130 or to the group of the first user, and the resource message is displayed in the group. After receiving the resource message, the second user on the second terminal 130 or a member of the group triggers the resource message, plays the multimedia data in the resource message, and receives the resource in the resource message. Wherein, the resource message is a message including basic resource information. The basic resource information may include the resource and the identifier of the resource sharing initiator, and may also include the content of the information shared by the resource sharing initiator, the time and validity period of the resource sharing, and so on. The multimedia data can be real-time recorded multimedia data by the initiator of resource sharing or selected from the network or locally. The multimedia data may be one or both of audio data and video data.

此外,也可由服务器120生成包含资源基本信息和多媒体数据的资源消息。In addition, the server 120 may also generate a resource message including basic resource information and multimedia data.

图2为一个实施例中终端的内部结构示意图。如图2所示,该终端包括通过系统总线连接的处理器、存储介质、内存和网络接口、声音采集装置、显示屏、扬声器和输入装置。其中,终端的存储介质存储有操作系统,还包括一种资源分享的装置,该资源分享的装置用于实现一种资源分享的方法。该处理器用于提供计算和控制能力,支撑整个终端的运行。终端中的内存为存储介质中的资源分享的装置的运行提供环境,网络接口用于与服务器进行网络通信,如发送资源分享请求至服务器,接收服务器返回的资源接收者接收成功的信息等。终端的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。该终端可以是手机、平板电脑或者个人数字助理或穿戴式设备等。本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的终端的限定,具体的终端可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Fig. 2 is a schematic diagram of an internal structure of a terminal in an embodiment. As shown in Figure 2, the terminal includes a processor, a storage medium, a memory and a network interface, a sound collection device, a display screen, a loudspeaker and an input device connected through a system bus. Wherein, the storage medium of the terminal stores an operating system, and also includes a device for sharing resources, and the device for sharing resources is used to realize a method for sharing resources. The processor is used to provide computing and control capabilities to support the operation of the entire terminal. The memory in the terminal provides an environment for the operation of the resource sharing device in the storage medium, and the network interface is used for network communication with the server, such as sending a resource sharing request to the server, receiving information returned by the server that the resource receiver has successfully received, etc. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, etc., and the input device can be a touch layer covered on the display screen, or a button, a trackball or a touch pad set on the terminal shell, or an external Keyboard, trackpad or mouse etc. The terminal may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device. Those skilled in the art can understand that the structure shown in Figure 2 is only a block diagram of a part of the structure related to the solution of this application, and does not constitute a limitation on the terminals to which the solution of this application is applied. Specific terminals may include More or fewer components are shown in the figures, or certain components are combined, or have different component arrangements.

图3为一个实施例中资源分享的方法的流程图。如图3所示,一种资源分享的方法,以资源分享发起角度描述,运行于第一终端110上,包括以下步骤:Fig. 3 is a flowchart of a resource sharing method in an embodiment. As shown in FIG. 3 , a resource sharing method, described from the perspective of resource sharing initiation, runs on the first terminal 110, and includes the following steps:

步骤302,获取配置的资源基本信息。Step 302, acquiring basic information about configured resources.

具体地,资源基本信息可包括资源和用户标识,还可包括资源分享发起者所分享的信息内容、资源分享的时间和有效期等。资源可为金额、电子代金券、积分、游戏币或实体物品兑换券等。用户标识是唯一表示用户身份的标识,可为资源分享发起者的即时通信账号、手机号码、社交网络应用账号等。Specifically, the resource basic information may include resource and user identifiers, and may also include information content shared by resource sharing initiators, resource sharing time and validity period, and the like. Resources can be money, electronic vouchers, points, game coins, or vouchers for physical items. The user identifier is an identifier that uniquely represents the identity of the user, which can be the instant messaging account, mobile phone number, social network application account, etc. of the initiator of resource sharing.

获取用户登录即时通信应用或社交应用后,进入资源分享界面配置的资源基本信息。Obtain the basic resource information configured on the resource sharing interface after the user logs in to the instant messaging application or social networking application.

步骤304,获取多媒体数据。Step 304, acquire multimedia data.

本实施例中,多媒体数据可包括多媒体文件,或者包括多媒体文件和多媒体标识。多媒体文件可包括音频文件和视频文件中一种或两种。In this embodiment, the multimedia data may include a multimedia file, or include a multimedia file and a multimedia identifier. Multimedia files may include one or both of audio files and video files.

音频数据可为资源分享发起者录制的语音或者选取的音乐或者网络上下载的音频数据等。网络上下载的音频数据可为女声、男声、童音或卡通人物声等不同声音的音频数据。The audio data may be voice recorded by the originator of resource sharing, selected music, or audio data downloaded from the Internet. The audio data downloaded from the network can be audio data of different voices such as female voices, male voices, child voices or cartoon character voices.

视频数据可为资源分享发起者录制的个性化的视频或者制作的视频或者从网络上下载的视频等。视频中角色可选用卡通人物、游戏角色或明星人物或用户自己等。录制的语音或视频可设置预定时间,有效限制语音或视频数据的大小,能限制所占空间大小。The video data may be a personalized video recorded or produced by the initiator of resource sharing, or a video downloaded from the Internet. The characters in the video can be selected from cartoon characters, game characters or celebrities, or the user himself. The recorded voice or video can be set to a predetermined time, which can effectively limit the size of voice or video data, and can limit the occupied space.

获取多媒体数据的步骤包括:获取实时录制的多媒体文件或者从本地或服务器选取的多媒体文件。The step of acquiring multimedia data includes: acquiring real-time recorded multimedia files or multimedia files selected from local or server.

具体地,实时录制的多媒体文件可限定录制的时间长短。Specifically, the real-time recorded multimedia file can limit the length of recording time.

步骤306,获取资源分享请求,根据该资源分享请求将该资源基本信息与多媒体数据进行关联。Step 306, obtaining a resource sharing request, and associating the resource basic information with the multimedia data according to the resource sharing request.

本实施例中,将资源基本信息与多媒体数据进行关联,即将资源基本信息与多媒体数据建立对应关系。In this embodiment, the basic resource information is associated with the multimedia data, that is, a corresponding relationship is established between the basic resource information and the multimedia data.

步骤308,根据该资源基本信息与多媒体数据的关联关系生成资源分享指令。Step 308, generating a resource sharing instruction according to the association relationship between the basic resource information and the multimedia data.

本实施例中,根据资源基本信息与多媒体数据的关联关系生成资源分享指令,可在终端上显示“发送分享的控件”或“确定分享的控件”等。In this embodiment, the resource sharing instruction is generated according to the relationship between the basic resource information and the multimedia data, and the "control for sending sharing" or "control for confirming sharing" can be displayed on the terminal.

步骤310,执行该资源分享指令。Step 310, execute the resource sharing instruction.

具体地,对在终端上显示“发送分享的控件”或“确定分享的控件”等点击确定等。获取用户执行该资源分享指令后,可根据该执行资源分享指令生成包含资源基本信息和多媒体数据的资源消息,或者根据该执行资源分享指令,将资源基本信息和多媒体数据上传到服务器,由服务器根据资源基本信息和多媒体数据生成包含资源基本信息和多媒体数据的资源消息。Specifically, click OK to display the "control for sending sharing" or "control for confirming sharing" displayed on the terminal. After obtaining the user's execution of the resource sharing instruction, a resource message including basic resource information and multimedia data can be generated according to the execution resource sharing instruction, or the basic resource information and multimedia data can be uploaded to the server according to the execution resource sharing instruction. Resource Basic Information and Multimedia Data Generate a resource message including resource basic information and multimedia data.

上述资源分享的方法,获取多媒体数据及配置的资源基本信息,根据资源分享请求将资源基本信息与多媒体数据进行关联,根据资源基本信息与多媒体数据的关联关系生成资源分享指令,执行该资源分享指令,实现了资源分享中可携带多媒体数据,扩大了资源分享所携带信息的类型。The resource sharing method above obtains multimedia data and configured resource basic information, associates the resource basic information with the multimedia data according to the resource sharing request, generates a resource sharing instruction according to the relationship between the resource basic information and the multimedia data, and executes the resource sharing instruction , realizing the portability of multimedia data in resource sharing, and expanding the types of information carried in resource sharing.

在一个实施例中,上述资源分享方法还包括:生成包含资源基本信息和多媒体数据的资源消息;发送该包含多媒体数据的资源消息。In one embodiment, the above resource sharing method further includes: generating a resource message including basic resource information and multimedia data; and sending the resource message including multimedia data.

本实施例中,可由终端或服务器根据资源基本信息和多媒体数据生成包含资源基本信息和多媒体数据的资源消息。由终端或服务器将该包含资源基本信息和多媒体数据的资源消息发送给其他用户。可发送资源消息到单人或群组。资源消息发送给群组时,资源消息中资源基本信息还可包括资源被拆分的数量及分配方式。数量可由资源分享发起者设置,如5个、10个等。分配方式可为按照数量平均分配资源或按照数量随机分配资源。In this embodiment, the resource message including the basic resource information and the multimedia data may be generated by the terminal or the server according to the basic resource information and the multimedia data. The terminal or server sends the resource message including basic resource information and multimedia data to other users. Resource messages can be sent to individuals or groups. When a resource message is sent to a group, the basic resource information in the resource message may also include the number of resources to be divided and the allocation method. The quantity can be set by the initiator of resource sharing, such as 5, 10, etc. The allocation method can be to allocate resources equally according to the quantity or randomly allocate resources according to the quantity.

此外,还可将生成的资源消息中所选择的多媒体数据作为模版上传到服务器,方便其他用户使用。也可将所选择的多媒体数据与用户标识上传到服务器,建立多媒体数据与用户标识的映射关系,方便后续用户自己选择使用。In addition, the multimedia data selected in the generated resource message can also be uploaded to the server as a template, which is convenient for other users to use. The selected multimedia data and user ID can also be uploaded to the server to establish a mapping relationship between multimedia data and user ID, which is convenient for subsequent users to choose and use.

在一个实施例中,上述资源分享的方法还包括:在获取资源分享请求之后,获取发起资源分享请求的用户标识,判断该用户标识是否有分享个性资源的权限,若有权限,则根据资源分享请求获取多媒体数据,若没有权限,则提示用户开通分享个性资源的权限。In one embodiment, the above resource sharing method further includes: after obtaining the resource sharing request, obtaining the user ID that initiates the resource sharing request, and judging whether the user ID has permission to share individual resources, and if so, according to the resource sharing request. Request to obtain multimedia data. If there is no permission, the user will be prompted to enable the permission to share personalized resources.

图4为提示开通分享个性资源的权限的示意图。如图4所示,在个性资源权限开通界面上提示即时通信应用会员享有个性资源分享的权限,提示用户开通即时通信应用会员。FIG. 4 is a schematic diagram prompting to activate permission to share personalized resources. As shown in FIG. 4 , on the interface for opening the permission of the personalized resource, the instant messaging application member is prompted to have the permission to share the personalized resource, and the user is prompted to activate the membership of the instant messaging application.

图5为视频数据角色的选择界面示意图。如图5所示,在用户开通即时通信应用会员后,在视频数据角色选择界面上提供有多种不同的角色供选择,如第一幅图为卡通角色,可以以卡通角色作为资源消息中多媒体数据的角色,并在资源消息的表面展示该卡通角色,还可附带文字描述,如“有钱任性!”。第二幅图为明星人物,可以以明星人物作为资源消息中多媒体数据的角色,并在资源消息的表面展示该明星人物。第三幅图为游戏角色,可以以游戏角色作为资源消息中多媒体数据的角色,并在资源消息的表面展示该游戏角色。FIG. 5 is a schematic diagram of an interface for selecting a video data role. As shown in Figure 5, after the user registers as an instant messaging application member, a variety of different roles are provided on the video data role selection interface. For example, the first picture is a cartoon character, and the cartoon character can be used as a resource in the multimedia message. The character of the data, and the cartoon character is displayed on the surface of the resource message, and a text description can also be attached, such as "rich and willful!". The second picture is a star figure, which can be used as the role of multimedia data in the resource message, and the star figure can be displayed on the surface of the resource message. The third picture is the game character, which can be used as the role of the multimedia data in the resource message, and the game character can be displayed on the surface of the resource message.

在一个实施例中,上述资源分享的方法中获取多媒体数据的步骤包括:获取用户标识和实时录制的多媒体文件,并将用户标识和多媒体文件上传到服务器,以及获取服务器为该多媒体文件分配的多媒体标识。In one embodiment, the step of acquiring multimedia data in the resource sharing method includes: acquiring a user ID and a real-time recorded multimedia file, uploading the user ID and the multimedia file to the server, and acquiring the multimedia data allocated by the server for the multimedia file. logo.

本实施例中,由服务器为该多媒体数据分配多媒体标识,并建立该多媒体标识与用户标识之间的关联关系。In this embodiment, the server allocates a multimedia identifier to the multimedia data, and establishes an association between the multimedia identifier and the user identifier.

用户标识是唯一表示用户身份的标识,可为资源分享发起者的即时通信账号、手机号码、社交网络应用账号等。多媒体标识是唯一表示多媒体数据的标识。建立多媒体标识与用户标识之间的关联关系,即建立映射关系。The user identifier is an identifier that uniquely represents the identity of the user, which can be the instant messaging account, mobile phone number, social network application account, etc. of the initiator of resource sharing. The multimedia identifier is an identifier that uniquely represents multimedia data. Establishing an association relationship between the multimedia identifier and the user identifier, that is, establishing a mapping relationship.

进一步的,当获取到服务器为多媒体数据分配的多媒体标识,根据资源基本信息和多媒体标识的关联关系生成资源分享指令,执行该资源分享指令后,将资源基本信息和多媒体标识上传到服务器,服务器根据多媒体标识查找到对应的多媒体文件,根据资源基本信息和多媒体文件生成包含资源基本信息和多媒体数据的资源消息。Further, when the multimedia identifier allocated by the server for the multimedia data is obtained, a resource sharing instruction is generated according to the association between the basic resource information and the multimedia identifier, and after the resource sharing instruction is executed, the basic resource information and the multimedia identifier are uploaded to the server, and the server according to The multimedia identifier finds the corresponding multimedia file, and generates a resource message including the basic resource information and multimedia data according to the basic resource information and the multimedia file.

在一个实施例中,上述资源分享的方法还包括:在执行该资源分享指令的步骤之后,显示执行所述资源分享指令后生成的资源消息,在所述资源消息的资源消息体上一层设置透明层,在所述透明层中显示多媒体数据。In one embodiment, the above resource sharing method further includes: after the step of executing the resource sharing instruction, displaying a resource message generated after executing the resource sharing instruction, and setting a layer above the resource message body of the resource message a transparent layer in which multimedia data is displayed.

具体地,资源消息体是指资源消息的消息结构。Specifically, the resource message body refers to the message structure of the resource message.

在一个实施例中,上述资源分享的方法还包括:在该透明层中显示多媒体数据的步骤之后,在该透明层显示用于控制播放所述多媒体数据的多媒体控件。In one embodiment, the resource sharing method further includes: after the step of displaying multimedia data in the transparent layer, displaying a multimedia control for controlling playing of the multimedia data in the transparent layer.

具体地,多媒体控件可包括播放/暂停按键。此外,还可包括静音按键、开声音按键、快进按键、后退按键中一种或多种。Specifically, the multimedia control may include a play/pause button. In addition, one or more of a mute button, a sound button, a fast forward button, and a back button may also be included.

图6为一个实施例中生成的资源消息的示意图。如图6所示,在资源消息的表面配置有多媒体数据的角色图像,并提供有播放/暂停按键。Fig. 6 is a schematic diagram of resource messages generated in one embodiment. As shown in FIG. 6 , the character image of the multimedia data is arranged on the surface of the resource message, and a play/pause button is provided.

在一个实施例中,上述资源分享的方法还包括:生成的资源消息中包括资源的有效期。In one embodiment, the above resource sharing method further includes: the resource message generated includes the validity period of the resource.

图7为一个实施例中资源分享的方法的流程图。如图7所示,一种资源分享的方法,以资源接收端角度描述,包括以下步骤:Fig. 7 is a flowchart of a resource sharing method in an embodiment. As shown in Figure 7, a resource sharing method, described from the perspective of a resource receiver, includes the following steps:

步骤702,接收资源消息。Step 702, receiving a resource message.

步骤704,展示该资源消息。Step 704, displaying the resource message.

步骤706,获取对该资源消息的触发操作。Step 706, acquire the trigger operation of the resource message.

本实施例中,对资源消息的触发操作可为点击该资源消息。In this embodiment, the trigger operation for the resource message may be clicking on the resource message.

在步骤706之后,资源分享的方法还包括:获取资源接收者标识,判断该资源接收者标识是否有权限接收资源消息中的资源,若有,则允许资源接收者接收资源消息中资源,若无,则不允许资源接收者接收资源消息中资源。After step 706, the resource sharing method further includes: acquiring the resource receiver ID, judging whether the resource receiver ID has the authority to receive the resource in the resource message, if yes, allowing the resource receiver to receive the resource in the resource message, if not , the resource receiver is not allowed to receive the resource in the resource message.

步骤708,根据该触发操作播放该资源消息中的多媒体数据,并接收该资源消息中的资源。Step 708: Play the multimedia data in the resource message according to the trigger operation, and receive the resource in the resource message.

上述资源分享的方法,通过对接收并展示的资源消息进行触发操作,播放资源消息中的多媒体数据,并接收该资源消息中的资源,该资源消息携带有多媒体数据,实现了资源消息携带多媒体数据,扩大了资源分享所携带信息的类型。In the above resource sharing method, by triggering the received and displayed resource message, playing the multimedia data in the resource message, and receiving the resource in the resource message, the resource message carries the multimedia data, realizing that the resource message carries the multimedia data , expanding the types of information carried by resource sharing.

在一个实施例中,该资源消息的表面上配置有多媒体控件;上述资源分享的方法还包括:获取对该多媒体控件的触发操作产生对应的控制指令;根据该控制指令播放该多媒体数据。In one embodiment, a multimedia control is configured on the surface of the resource message; the resource sharing method further includes: acquiring a corresponding control command generated by triggering the multimedia control; playing the multimedia data according to the control command.

多媒体控件可包括播放/暂停按键、开声音按键、静音按键等。对不同的按键触发操作产生不同的控制指令,根据控制指令控制播放多媒体数据。例如,对静音按键触发,则产生静音指令,多媒体数据播放时采用静音模式播放。Multimedia controls may include a play/pause button, a sound button, a mute button, and the like. Different control commands are generated for different button trigger operations, and multimedia data is controlled to be played according to the control commands. For example, when the mute key is triggered, a mute command is generated, and the multimedia data is played in a mute mode.

在一个实施例中,上述资源分享的方法还包括:在获取对该资源消息的触发操作之后,判断资源消息中资源是否已过期,若是,则接收资源已过期的提示信息,若否,则接收该资源消息中的资源。In one embodiment, the above resource sharing method further includes: after acquiring the trigger operation on the resource message, judging whether the resource in the resource message has expired, if yes, receiving a reminder that the resource has expired, if not, receiving The resource in this resource message.

在一个实施例中,上述资源分享的方法还包括:在获取对该资源消息的触发操作之后,判断资源消息中资源是否已被接收完,若是,则接收资源已被接收完的提示信息,若否,则接收按照数量对资源进行均分的资源,或接收从剩余资源中随机分配的资源。In one embodiment, the above resource sharing method further includes: after obtaining the trigger operation on the resource message, judging whether the resource in the resource message has been received, and if so, receiving a prompt message that the resource has been received, if If not, receive resources that divide the resources equally according to the quantity, or receive resources that are randomly allocated from the remaining resources.

图8为另一个实施例资源分享的方法的流程图。如图8所示,在一个实施例中,资源消息的资源消息体上一层设置有透明层,在该透明层中显示多媒体数据和用于控制播放所述多媒体数据的多媒体控件。FIG. 8 is a flow chart of a resource sharing method in another embodiment. As shown in FIG. 8 , in one embodiment, a transparent layer is arranged above the resource message body of the resource message, and multimedia data and multimedia controls for controlling playing of the multimedia data are displayed in the transparent layer.

一种资源分享的方法包括:One approach to resource sharing includes:

步骤802,在聊天界面中接收资源消息。Step 802, receiving a resource message in the chat interface.

本实施例中,聊天界面可为两人会话的聊天界面或者群组会话的聊天界面。In this embodiment, the chat interface may be a chat interface for a two-person conversation or a chat interface for a group conversation.

步骤804,自动播放该资源消息中的多媒体数据。Step 804, automatically play the multimedia data in the resource message.

本实施例中,自动播放资源消息中多媒体数据一次后,即可停止。In this embodiment, after automatically playing the multimedia data in the resource message once, it can stop.

上述资源分享的方法,在聊天界面接收到资源消息后,自动播放该资源消息中的多媒体数据,不需要接收者触发操作,简化了操作。In the above resource sharing method, after the resource message is received in the chat interface, the multimedia data in the resource message is automatically played, and the receiver does not need to trigger the operation, which simplifies the operation.

下面结合具体的应用场景描述资源分享的方法的实现过程。以资源消息为红包,资源为红包中的金额数值,两人会话为例。资源分享的方法包括以下步骤:The implementation process of the resource sharing method is described below in combination with specific application scenarios. Take the resource message as a red envelope, the resource as the amount in the red envelope, and a two-person conversation as an example. The resource sharing method includes the following steps:

(1)第一终端获取第一用户发起发送红包请求,根据该发送红包请求进入视频数据选择界面,获取第一用户在视频数据选择界面上的明星人物作为视频数据角色的视频数据。(1) The first terminal obtains a request from the first user to send a red packet, enters the video data selection interface according to the red packet sending request, and obtains the video data of the first user's star figure on the video data selection interface as a video data role.

如图9所示,在视频数据选择界面上选择明星人物作为视频数据角色的视频数据。As shown in FIG. 9 , on the video data selection interface, a celebrity is selected as the video data of the video data role.

(2)第一终端根据选择的视频数据、第一用户标识和金额数值生成红包,并在红包的消息体的上一层设置透明层,在透明层展示视频数据的明星人物,且在红包的消息体的上一层的透明层提供播放/暂停按键。(2) The first terminal generates a red packet according to the selected video data, the first user identification and the value of the amount, and sets a transparent layer on the upper layer of the message body of the red packet, and displays the stars of the video data on the transparent layer, and in the red packet The transparent layer above the message body provides play/pause buttons.

(3)第一终端通过即时通信会话窗口将第一用户发送给第二用户的红包发送给第二用户。(3) The first terminal sends the red packet sent by the first user to the second user to the second user through the instant messaging session window.

如图10所示,在两人会话界面中发送红包,红包的消息体上一层的透明层展示有视频数据的明星人物和播放/暂停按键等。As shown in Figure 10, when a red envelope is sent in the two-person conversation interface, the transparent layer above the message body of the red envelope displays celebrities with video data and play/pause buttons.

(4)第二用户通过第二终端在聊天界面中接收到红包后,播放红包中的视频数据,并领取金额,显示第一用户的昵称和文字描述。(4) After the second user receives the red envelope in the chat interface through the second terminal, the video data in the red envelope is played, and the money is collected, and the nickname and text description of the first user are displayed.

如图11所示,第二用户在两人会话界面中接收到红包后,点击红包,领取了8.2元,显示第一用户为戴星星和文字描述“书山有路勤为径,学海无涯苦作舟”,并提供“查看领取详情”控件,可以查看领取的红包及对应的金额数。As shown in Figure 11, after the second user received the red envelope in the two-person conversation interface, he clicked on the red envelope and received 8.2 yuan. Endurance and hard work", and provide a "View Receipt Details" control, you can view the received red envelopes and the corresponding amount.

以资源消息为红包,资源为红包中的金额数值,群组会话为例。资源分享的方法包括以下步骤:Take the resource message as the red envelope, the resource as the amount in the red envelope, and the group conversation as an example. The resource sharing method includes the following steps:

(1)第一终端获取第一用户发起向所在群组A发送红包请求,根据该发送红包请求进入视频数据选择界面,获取第一用户在视频数据选择界面上的明星人物作为视频数据角色的视频数据。(1) The first terminal obtains the first user's request to send a red packet to the group A, and enters the video data selection interface according to the red packet sending request, and obtains the video of the first user's star figure on the video data selection interface as the video data role data.

(2)第一终端根据选择的视频数据、第一用户标识和金额数值生成红包,并在红包的消息体上一层的透明层展示视频数据的明星人物,且在红包的消息体上一层的透明层提供播放/暂停按键。(2) The first terminal generates a red packet according to the selected video data, the first user ID and the value of the amount, and displays the star characters of the video data on a transparent layer above the message body of the red packet, and displays a layer above the message body of the red packet The transparent layer provides play/pause buttons.

本实施例中,第一终端还可获取第一用户设置的红包中金额数值被拆分的数量以及拆分方式,拆分方式可为均分或随机分等。In this embodiment, the first terminal can also obtain the number of splits of the amount value in the red envelope set by the first user and the splitting method. The splitting method can be equal or random.

(3)第一终端通过即时通信会话窗口将第一用户发送给第二用户的红包发送给第二用户。(3) The first terminal sends the red packet sent by the first user to the second user to the second user through the instant messaging session window.

如图12所示,在群组会话界面中发送红包,红包表面展示有视频数据的明星人物和播放/暂停按键等。As shown in Fig. 12, a red packet is sent in the group conversation interface, and the surface of the red packet displays celebrities with video data and a play/pause button, etc.

(4)群组内的成员通过第二终端在聊天界面中接收到红包后,播放红包中的视频数据,并领取金额,显示第一用户的昵称和文字描述。(4) After the members in the group receive the red envelope in the chat interface through the second terminal, they play the video data in the red envelope, receive the money, and display the nickname and text description of the first user.

如图13所示,第二用户在群组会话界面中接收到红包后,点击红包,领取了0.5元,显示第一用户为戴星星和文字描述“书山有路勤为径,学海无涯苦作舟”,并提供“查看领取详情”控件,可以查看哪些用户领取了红包及对应的金额数。As shown in Figure 13, after the second user received the red envelope in the group conversation interface, he clicked on the red envelope and received 0.5 yuan. It was displayed that the first user was Dai Xingxing and the text description "There are roads in the mountains of books, hard work is the path, and learning in the sea is endless." Endurance and hard work", and provide a "View Receipt Details" control, you can check which users have received red envelopes and the corresponding amount.

以资源消息为红包,资源为红包中的金额数值,红包类型为拜年红包,则资源分享的方法包括:If the resource message is the red envelope, the resource is the amount in the red envelope, and the red envelope type is the New Year greeting red envelope, the resource sharing methods include:

(1)第一终端获取第一用户发起的发送拜年红包请求,根据拜年红包请求,提示第一用户录制预定时间的语音或视频数据,并将该语音或视频数据上传到服务器,并由服务器为语音分配唯一的语音标识,为视频数据分配唯一的视频标识,将语音标识和视频标识与第一用户标识建立关联关系。(1) The first terminal obtains the request for sending a New Year’s greeting red envelope initiated by the first user, and prompts the first user to record voice or video data for a predetermined time according to the New Year’s greeting red envelope request, and uploads the voice or video data to the server, and the server sends A unique voice identifier is assigned to the voice, a unique video identifier is assigned to the video data, and an association relationship is established between the voice identifier and the video identifier and the first user identifier.

具体地,录制的语音或视频数据可为“新年好!恭喜发财!”等,不限于此。Specifically, the recorded voice or video data may be "Happy New Year! Gong Xi Fa Cai!" etc., but is not limited thereto.

(2)第一终端获取第一用户输入的红包的基本信息,将红包的基本信息和录制的语音或视频数据生成红包,将生成的红包发送给个人或群组。(2) The first terminal obtains the basic information of the red envelope input by the first user, generates a red envelope from the basic information of the red envelope and the recorded voice or video data, and sends the generated red envelope to an individual or a group.

(3)第二用户接收到红包后,点击领取红包,并在第二用户所在第二终端上自动播放语音或视频数据。(3) After receiving the red envelope, the second user clicks to receive the red envelope, and automatically plays voice or video data on the second terminal where the second user is located.

图14为一个实施例中资源分享的装置的结构框图。如图14所示,一种资源分享的装置,包括第一获取模块1402、第二获取模块1404、关联模块1406、指令生成模块1408和执行模块1410。其中:Fig. 14 is a structural block diagram of an apparatus for resource sharing in an embodiment. As shown in FIG. 14 , a resource sharing device includes a first obtaining module 1402 , a second obtaining module 1404 , an associating module 1406 , an instruction generating module 1408 and an executing module 1410 . in:

第一获取模块1402用于获取配置的资源基本信息。The first obtaining module 1402 is used for obtaining basic information of configured resources.

具体地,资源基本信息可包括资源和用户标识,还可包括资源分享发起者所分享的信息内容、资源分享的时间和有效期等。资源可为金额、电子代金券、积分、游戏币或实体物品兑换券等。用户标识是唯一表示用户身份的标识,可为资源分享发起者的即时通信账号、手机号码、社交网络应用账号等。Specifically, the resource basic information may include resource and user identifiers, and may also include information content shared by resource sharing initiators, resource sharing time and validity period, and the like. Resources can be money, electronic vouchers, points, game coins, or vouchers for physical items. The user identifier is an identifier that uniquely represents the identity of the user, which can be the instant messaging account, mobile phone number, social network application account, etc. of the initiator of resource sharing.

第二获取模块1404用于获取多媒体数据。The second obtaining module 1404 is used for obtaining multimedia data.

本实施例中,第二获取模块1404还用于根据该资源分享请求获取实时录制的多媒体数据或者从本地或服务器选取的多媒体数据。In this embodiment, the second acquiring module 1404 is further configured to acquire real-time recorded multimedia data or multimedia data selected from the local or server according to the resource sharing request.

本实施例中,多媒体数据可为音频数据和视频数据中的一种或两种。In this embodiment, the multimedia data may be one or both of audio data and video data.

音频数据可为资源分享发起者录制的语音或者选取的音乐或者网络上下载的音频数据等。网络上下载的音频数据可为女声、男声、童音或卡通人物声等不同声音的音频数据。The audio data may be voice recorded by the originator of resource sharing, selected music, or audio data downloaded from the Internet. The audio data downloaded from the network can be audio data of different voices such as female voices, male voices, child voices or cartoon character voices.

视频数据可为资源分享发起者录制的个性化的视频或者制作的视频或者从网络上下载的视频等。视频中角色可选用卡通人物、游戏角色或明星人物或用户自己等。录制的语音或视频可设置预定时间,有效限制语音或视频数据的大小,能限制所占空间大小。The video data may be a personalized video recorded or produced by the initiator of resource sharing, or a video downloaded from the Internet. The characters in the video can be selected from cartoon characters, game characters or celebrities, or the user himself. The recorded voice or video can be set to a predetermined time, which can effectively limit the size of voice or video data, and can limit the occupied space.

关联模块1406用于获取资源分享请求,根据该资源分享请求将该资源基本信息与多媒体数据进行关联。The associating module 1406 is configured to obtain a resource sharing request, and associate the resource basic information with the multimedia data according to the resource sharing request.

指令生成模块1408用于根据该资源基本信息与多媒体数据的关联关系生成资源分享指令。The instruction generating module 1408 is used for generating resource sharing instructions according to the association relationship between the basic resource information and the multimedia data.

执行模块1410用于执行该资源分享指令。The execution module 1410 is used for executing the resource sharing instruction.

上述资源分享的装置获取多媒体数据及配置的资源基本信息,根据资源分享请求将资源基本信息与多媒体数据进行关联,根据资源基本信息与多媒体数据的关联关系生成资源分享指令,执行该资源分享指令,实现了资源分享中可携带多媒体数据,扩大了资源分享所携带信息的类型。The resource sharing device above obtains multimedia data and configured resource basic information, associates the resource basic information with the multimedia data according to the resource sharing request, generates a resource sharing instruction according to the relationship between the resource basic information and the multimedia data, and executes the resource sharing instruction, It realizes the portable multimedia data in resource sharing, and expands the type of information carried in resource sharing.

进一步的,上述资源分享装置还包括生成模块和发送模块。生成模块用于生成包含资源基本信息和多媒体数据的资源消息;发送模块用于发送该包含多媒体数据的资源消息。Further, the resource sharing device above further includes a generating module and a sending module. The generating module is used to generate resource messages containing basic resource information and multimedia data; the sending module is used to send the resource messages containing multimedia data.

此外,也可由服务器根据资源基本信息和多媒体数据生成包含资源基本信息和多媒体数据的资源消息。In addition, the server may also generate a resource message containing basic resource information and multimedia data according to the basic resource information and multimedia data.

第二获取模块1402还用于获取用户标识和实时录制的多媒体文件,并将用户标识和多媒体文件上传到服务器,以及获取服务器为该多媒体文件分配的多媒体标识。The second acquiring module 1402 is also configured to acquire the user ID and the real-time recorded multimedia file, upload the user ID and the multimedia file to the server, and acquire the multimedia ID assigned by the server to the multimedia file.

本实施例中,由服务器为该多媒体数据分配多媒体标识,并建立该多媒体标识与用户标识之间的关联关系。In this embodiment, the server allocates a multimedia identifier to the multimedia data, and establishes an association between the multimedia identifier and the user identifier.

当获取到服务器为多媒体数据分配的多媒体标识,根据资源基本信息和多媒体标识的关联关系生成资源分享指令,执行该资源分享指令后,将资源基本信息和多媒体标识上传到服务器,服务器根据多媒体标识查找到对应的多媒体文件,根据资源基本信息和多媒体文件生成包含资源基本信息和多媒体数据的资源消息。When the multimedia identifier allocated by the server for multimedia data is obtained, a resource sharing command is generated according to the relationship between the basic resource information and the multimedia identifier. After the resource sharing instruction is executed, the resource basic information and the multimedia identifier are uploaded to the server, and the server searches for to the corresponding multimedia file, and generate a resource message including the basic resource information and multimedia data according to the basic resource information and the multimedia file.

图15为另一个实施例中资源分享的装置的结构框图。如图15所示,一种资源分享的装置,除了包括第一获取模块1402、第二获取模块1404、关联模块1406、指令生成模块1408和执行模块1410,还包括显示模块1412。其中:Fig. 15 is a structural block diagram of an apparatus for resource sharing in another embodiment. As shown in FIG. 15 , a resource sharing device includes a display module 1412 in addition to a first acquisition module 1402 , a second acquisition module 1404 , an association module 1406 , an instruction generation module 1408 and an execution module 1410 . in:

显示模块1412用于显示执行该资源分享指令后生成的资源消息,在该资源消息的资源消息体上一层设置透明层,在该透明层中显示多媒体数据。The display module 1412 is used to display the resource message generated after executing the resource sharing instruction. A transparent layer is set on the resource message body of the resource message, and multimedia data is displayed in the transparent layer.

进一步的,显示模块1412还用于在该透明层中显示多媒体数据之后,在该透明层显示用于控制播放该多媒体数据的多媒体控件。Further, the display module 1412 is also configured to display multimedia controls for controlling playing of the multimedia data on the transparent layer after the multimedia data is displayed on the transparent layer.

在一个实施例中,第一获取模块1402还用于获取发起资源分享请求的用户标识,判断该用户标识是否有分享个性资源的权限,若有权限,则根据资源分享请求获取多媒体数据,若没有权限,则提示用户开通分享个性资源的权限。In one embodiment, the first obtaining module 1402 is also used to obtain the user ID that initiates the resource sharing request, and judge whether the user ID has permission to share individual resources, and if so, obtain multimedia data according to the resource sharing request; if not Permissions, the user is prompted to enable the permission to share personalized resources.

图16为另一个实施例中资源分享的装置的结构框图。如图16所示,一种资源分享的装置,包括接收模块1602、展示模块1604、操作获取模块1606、播放模块1608和收取模块1610。其中:Fig. 16 is a structural block diagram of an apparatus for resource sharing in another embodiment. As shown in FIG. 16 , a resource sharing device includes a receiving module 1602 , a display module 1604 , an operation acquiring module 1606 , a playing module 1608 and a receiving module 1610 . in:

接收模块1602用于接收资源消息。The receiving module 1602 is used for receiving resource messages.

展示模块1604用于展示所述资源消息。The display module 1604 is used to display the resource message.

操作获取模块1606用于获取对该资源消息的触发操作。The operation obtaining module 1606 is used to obtain the trigger operation of the resource message.

播放模块1608用于根据该触发操作播放该资源消息中的多媒体数据。The playing module 1608 is used to play the multimedia data in the resource message according to the trigger operation.

收取模块1610用于接收该资源消息中的资源。The receiving module 1610 is used for receiving the resource in the resource message.

上述资源分享的装置,通过对接收的资源消息进行触发操作,播放资源消息中的多媒体数据,并接收该资源消息中的资源,该资源消息携带有多媒体数据,实现了资源消息携带多媒体数据,扩大了资源分享所携带信息的类型。The resource sharing device above plays the multimedia data in the resource message by triggering the received resource message, and receives the resource in the resource message. The type of information carried by resource sharing.

图17为另一个实施例中资源分享的装置的结构框图。如图17所示,一种资源分享的装置,包括接收模块1602、展示模块1604、操作获取模块1606、播放模块1608和收取模块1610,还包括指令产生模块1612。其中:Fig. 17 is a structural block diagram of an apparatus for resource sharing in another embodiment. As shown in FIG. 17 , a resource sharing device includes a receiving module 1602 , a display module 1604 , an operation acquiring module 1606 , a playing module 1608 and a receiving module 1610 , and also includes an instruction generating module 1612 . in:

资源消息的资源消息体上一层设置有透明层,在该透明层中显示多媒体数据和用于控制播放该多媒体数据的多媒体控件;The upper layer of the resource message body of the resource message is provided with a transparent layer, and the multimedia data and the multimedia control for controlling the playback of the multimedia data are displayed in the transparent layer;

指令产生模块1612用于获取对该多媒体控件的触发操作产生对应的控制指令。The instruction generation module 1612 is used to obtain a control instruction corresponding to the trigger operation of the multimedia control.

该播放模块1608还用于根据该控制指令播放该多媒体数据。The playing module 1608 is also used for playing the multimedia data according to the control instruction.

接收模块1602还用于在聊天界面中接收资源消息。The receiving module 1602 is also used for receiving resource messages in the chat interface.

播放模块1608还用于自动播放该资源消息中的多媒体数据。The playing module 1608 is also used for automatically playing the multimedia data in the resource message.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-OnlyMemory,ROM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized through computer programs to instruct related hardware, and the programs can be stored in a non-volatile computer-readable storage medium When the program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) and the like.

以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the present invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.

Claims (16)

CN201610042104.8A2016-01-212016-01-21 Resource sharing method and deviceActiveCN105554027B (en)

Priority Applications (6)

Application NumberPriority DateFiling DateTitle
CN201610042104.8ACN105554027B (en)2016-01-212016-01-21 Resource sharing method and device
CN202010548025.0ACN111711560B (en)2016-01-212016-01-21 Resource message generation and resource acquisition method, apparatus, device and storage medium
PCT/CN2017/070630WO2017124932A1 (en)2016-01-212017-01-09Resource sharing method and terminal
US16/041,581US11017484B2 (en)2016-01-212018-07-20Resource sharing method and terminal
US16/045,519US10861109B2 (en)2016-01-212018-07-25Resource sharing method and terminal
US16/045,467US10861108B2 (en)2016-01-212018-07-25Resource sharing method and terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610042104.8ACN105554027B (en)2016-01-212016-01-21 Resource sharing method and device

Related Child Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010548025.0ADivisionCN111711560B (en)2016-01-212016-01-21 Resource message generation and resource acquisition method, apparatus, device and storage medium

Publications (2)

Publication NumberPublication Date
CN105554027Atrue CN105554027A (en)2016-05-04
CN105554027B CN105554027B (en)2020-12-01

Family

ID=55832961

Family Applications (2)

Application NumberTitlePriority DateFiling Date
CN201610042104.8AActiveCN105554027B (en)2016-01-212016-01-21 Resource sharing method and device
CN202010548025.0AActiveCN111711560B (en)2016-01-212016-01-21 Resource message generation and resource acquisition method, apparatus, device and storage medium

Family Applications After (1)

Application NumberTitlePriority DateFiling Date
CN202010548025.0AActiveCN111711560B (en)2016-01-212016-01-21 Resource message generation and resource acquisition method, apparatus, device and storage medium

Country Status (2)

CountryLink
CN (2)CN105554027B (en)
WO (1)WO2017124932A1 (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105847133A (en)*2016-05-312016-08-10成都西部尚高科技有限公司Method and device for information sharing
CN106100976A (en)*2016-07-052016-11-09孔尧Red packet sending method and device
CN106327164A (en)*2016-08-232017-01-11北京小米移动软件有限公司Method for sending electronic red packet and device thereof
CN106789562A (en)*2016-12-062017-05-31腾讯科技(深圳)有限公司A kind of virtual objects sending method, method of reseptance, device and system
WO2017124932A1 (en)*2016-01-212017-07-27腾讯科技(深圳)有限公司Resource sharing method and terminal
CN107493342A (en)*2017-08-242017-12-19维沃移动通信有限公司A kind of resource transfers method, relevant device and system
CN107545413A (en)*2016-07-262018-01-05腾讯科技(深圳)有限公司Event-handling method and device
CN107566250A (en)*2017-08-242018-01-09维沃移动通信有限公司A kind of resource transfers method, relevant device and system
CN107798561A (en)*2017-10-252018-03-13网易传媒科技(北京)有限公司Audio broadcasting, sharing method and device, storage medium and electronic equipment
CN108011905A (en)*2016-10-272018-05-08财付通支付科技有限公司 Virtual item package sending method, receiving method, device and system
CN108335135A (en)*2018-01-302018-07-27优酷网络技术(北京)有限公司The sharing method and device of multimedia content
CN109034757A (en)*2018-08-102018-12-18上海掌门科技有限公司Method and apparatus for distributing resource, getting resource, issue resource
CN109600408A (en)*2017-09-302019-04-09腾讯科技(深圳)有限公司 Resource sharing method, device, storage medium and computer equipment
CN110152307A (en)*2018-07-172019-08-23腾讯科技(深圳)有限公司Virtual objects distribution method, device and storage medium
US10861109B2 (en)2016-01-212020-12-08Tencent Technology (Shenzhen) Company LimitedResource sharing method and terminal
CN110351284B (en)*2018-01-312021-01-15腾讯科技(深圳)有限公司Resource sharing method, resource sharing device, storage medium and equipment
CN112241397A (en)*2019-07-182021-01-19腾讯科技(深圳)有限公司Multimedia file sharing method and device, electronic equipment and readable storage medium
CN113568699A (en)*2021-07-302021-10-29北京达佳互联信息技术有限公司Content display method, device, equipment and storage medium
WO2022151745A1 (en)*2021-01-152022-07-21北京达佳互联信息技术有限公司Multimedia data publishing method and apparatus

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110866796A (en)*2018-08-282020-03-06阿里巴巴集团控股有限公司 Information display, information acquisition method, system and device
CN111901490B (en)*2019-05-062024-12-27鸿富锦精密电子(郑州)有限公司 Resource sharing method, device, computer device and storage medium
CN111949393B (en)*2019-05-162024-02-06腾讯科技(深圳)有限公司Resource allocation and acquisition methods, devices, storage medium and equipment
CN111368232A (en)*2020-02-282020-07-03北京达佳互联信息技术有限公司Password sharing reflux method and device, electronic equipment and storage medium
CN112163398B (en)*2020-09-302024-06-18金蝶软件(中国)有限公司Graph sharing method and related equipment thereof
CN112732140A (en)*2021-01-122021-04-30北京市商汤科技开发有限公司Resource processing method and device, electronic equipment and storage medium
CN112994997B (en)*2021-05-212022-07-29深圳传音控股股份有限公司Processing method, processing apparatus, and storage medium
CN114339442B (en)*2021-12-312023-11-07北京达佳互联信息技术有限公司Method and device for configuring multimedia channels, electronic equipment and storage medium
CN114996613B (en)*2022-05-252024-08-13抖音视界有限公司Method, apparatus, device and storage medium for forwarding works
CN115134327B (en)*2022-05-272023-09-19北京达佳互联信息技术有限公司Message processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103716339A (en)*2012-09-282014-04-09腾讯科技(深圳)有限公司Multimedia sharing method, system and device
CN104618345A (en)*2015-01-052015-05-13广州酷狗计算机科技有限公司Method and device for obtaining multimedia information
CN104615747A (en)*2015-02-112015-05-13腾讯科技(深圳)有限公司Information processing method, client side and server
CN104615335A (en)*2015-02-132015-05-13腾讯科技(北京)有限公司Information processing method and client side
CN105096137A (en)*2015-07-012015-11-25孙晖Method for sharing resources, server and terminal device
CN105187527A (en)*2015-09-012015-12-23立德高科(北京)数码科技有限责任公司Customized two-dimension code and generation method and directionally pushing and reading method thereof

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101360071A (en)*2008-09-162009-02-04腾讯科技(深圳)有限公司Method and system for multimedia resource sharing based on instant chat
US9953334B2 (en)*2011-02-102018-04-24Visa International Service AssociationElectronic coupon issuance and redemption apparatuses, methods and systems
CN102821062B (en)*2012-07-252016-01-20上海量明科技发展有限公司The method and system of true present are given in instant messaging
US9338622B2 (en)*2012-10-042016-05-10Bernt Erik BjontegardContextually intelligent communication systems and processes
CN102929483B (en)*2012-10-252017-07-14东莞宇龙通信科技有限公司Terminal and resource sharing method
CN103036597B (en)*2012-12-122015-05-27华为终端有限公司Method and device of sharing resources among devices in close range
KR102206390B1 (en)*2013-09-032021-01-22삼성전자 주식회사Method for providing mobile coupon and portable electronic device supporting the same
CN104410615B (en)*2014-11-202019-05-10北京奇虎科技有限公司 Method, client, server and system for accessing shared data
CN105938604A (en)*2015-05-162016-09-14王健Method and system of attaching advertising red envelopes in social networking service
CN105099877B (en)*2015-06-262018-11-02小米科技有限责任公司Instant communication message treating method and apparatus
CN105554027B (en)*2016-01-212020-12-01腾讯科技(深圳)有限公司 Resource sharing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103716339A (en)*2012-09-282014-04-09腾讯科技(深圳)有限公司Multimedia sharing method, system and device
CN104618345A (en)*2015-01-052015-05-13广州酷狗计算机科技有限公司Method and device for obtaining multimedia information
CN104615747A (en)*2015-02-112015-05-13腾讯科技(深圳)有限公司Information processing method, client side and server
CN104615335A (en)*2015-02-132015-05-13腾讯科技(北京)有限公司Information processing method and client side
CN105096137A (en)*2015-07-012015-11-25孙晖Method for sharing resources, server and terminal device
CN105187527A (en)*2015-09-012015-12-23立德高科(北京)数码科技有限责任公司Customized two-dimension code and generation method and directionally pushing and reading method thereof

Cited By (26)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US11017484B2 (en)2016-01-212021-05-25Tencent Technology (Shenzhen) Company LimitedResource sharing method and terminal
WO2017124932A1 (en)*2016-01-212017-07-27腾讯科技(深圳)有限公司Resource sharing method and terminal
US10861109B2 (en)2016-01-212020-12-08Tencent Technology (Shenzhen) Company LimitedResource sharing method and terminal
US10861108B2 (en)2016-01-212020-12-08Tencent Technology (Shenzhen) Company LimitedResource sharing method and terminal
CN105847133A (en)*2016-05-312016-08-10成都西部尚高科技有限公司Method and device for information sharing
CN106100976A (en)*2016-07-052016-11-09孔尧Red packet sending method and device
CN107545413A (en)*2016-07-262018-01-05腾讯科技(深圳)有限公司Event-handling method and device
CN106327164A (en)*2016-08-232017-01-11北京小米移动软件有限公司Method for sending electronic red packet and device thereof
CN108011905A (en)*2016-10-272018-05-08财付通支付科技有限公司 Virtual item package sending method, receiving method, device and system
CN111698145A (en)*2016-10-272020-09-22财付通支付科技有限公司Method, apparatus and medium for receiving and transmitting virtual package including voice
CN106789562A (en)*2016-12-062017-05-31腾讯科技(深圳)有限公司A kind of virtual objects sending method, method of reseptance, device and system
CN107493342B (en)*2017-08-242019-12-27维沃移动通信有限公司Resource transfer method, related equipment and system
CN107566250A (en)*2017-08-242018-01-09维沃移动通信有限公司A kind of resource transfers method, relevant device and system
CN107493342A (en)*2017-08-242017-12-19维沃移动通信有限公司A kind of resource transfers method, relevant device and system
CN109600408A (en)*2017-09-302019-04-09腾讯科技(深圳)有限公司 Resource sharing method, device, storage medium and computer equipment
CN109600408B (en)*2017-09-302020-12-29腾讯科技(深圳)有限公司 Resource sharing method, device, storage medium and computer equipment
CN107798561A (en)*2017-10-252018-03-13网易传媒科技(北京)有限公司Audio broadcasting, sharing method and device, storage medium and electronic equipment
CN108335135A (en)*2018-01-302018-07-27优酷网络技术(北京)有限公司The sharing method and device of multimedia content
CN110351284B (en)*2018-01-312021-01-15腾讯科技(深圳)有限公司Resource sharing method, resource sharing device, storage medium and equipment
CN110152307A (en)*2018-07-172019-08-23腾讯科技(深圳)有限公司Virtual objects distribution method, device and storage medium
CN109034757A (en)*2018-08-102018-12-18上海掌门科技有限公司Method and apparatus for distributing resource, getting resource, issue resource
CN112241397A (en)*2019-07-182021-01-19腾讯科技(深圳)有限公司Multimedia file sharing method and device, electronic equipment and readable storage medium
CN112241397B (en)*2019-07-182023-08-22腾讯科技(深圳)有限公司Sharing method and device of multimedia files, electronic equipment and readable storage medium
WO2022151745A1 (en)*2021-01-152022-07-21北京达佳互联信息技术有限公司Multimedia data publishing method and apparatus
CN113568699A (en)*2021-07-302021-10-29北京达佳互联信息技术有限公司Content display method, device, equipment and storage medium
CN113568699B (en)*2021-07-302023-12-19北京达佳互联信息技术有限公司Content display method, device, equipment and storage medium

Also Published As

Publication numberPublication date
WO2017124932A1 (en)2017-07-27
CN111711560B (en)2021-05-18
CN111711560A (en)2020-09-25
CN105554027B (en)2020-12-01

Similar Documents

PublicationPublication DateTitle
CN105554027B (en) Resource sharing method and device
US11783862B2 (en)Routing messages by message parameter
US11803345B2 (en)Gallery of messages from individuals with a shared interest
US11533354B1 (en)Storage and retrieval of video conference state based upon participants
US20160182875A1 (en)Gallery of Videos Set to an Audio Time Line
CN104144154B (en) Method, device and system for initiating scheduled conference
WO2018010682A1 (en)Live broadcast method, live broadcast data stream display method and terminal
CN112241397B (en)Sharing method and device of multimedia files, electronic equipment and readable storage medium
US20180288450A1 (en)Method for inserting information push into live video streaming, server, and terminal
KR20140113932A (en)Seamless collaboration and communications
CN108322465A (en) Resource sharing, request, processing method, device, storage medium and equipment
CN106105172A (en)Highlight the video messaging do not checked
US11017484B2 (en)Resource sharing method and terminal
CN116048310A (en) Virtual image-based data processing method, device and readable storage medium
CN102655633B (en)A kind of method and value increasing platform sending blessing information
US10965629B1 (en)Method for generating imitated mobile messages on a chat writer server
CN112818303B (en) Interactive methods, devices and electronic devices
CN114880062A (en)Chat expression display method and device, electronic device and storage medium
HK40028546B (en)Method and apparatus for resource message generation and resource acquisition, device, and storage medium
HK40028546A (en)Method and apparatus for resource message generation and resource acquisition, device, and storage medium
CN105426423A (en)Content viewing method and device
CN118737169A (en) A voice processing method, device, electronic device and storage medium
CN120523892A (en) Interaction method, device, equipment and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp