CN105554027B - Resource sharing method and device - Google Patents
Resource sharing method and device Download PDFInfo
- Publication number
- CN105554027B CN105554027B CN201610042104.8A CN201610042104A CN105554027B CN 105554027 B CN105554027 B CN 105554027B CN 201610042104 A CN201610042104 A CN 201610042104A CN 105554027 B CN105554027 B CN 105554027B
- Authority
- CN
- China
- Prior art keywords
- resource
- multimedia data
- message
- multimedia
- resource sharing
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-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/08—Annexed information, e.g. attachments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/214—Monitoring or handling of messages using selective forwarding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
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
Technical Field
The present invention relates to the field of network technologies, and in particular, to a resource sharing method and apparatus.
Background
With the development of network technology, more and more users engage in social activities using networks. Users often share resources through an instant messaging application or a social networking application, which refers to posting resource messages through the instant messaging application or the social networking application to enable sharing of resources including, but not limited to, virtual red parcels, electronic coupons, bonus coupons, credits, electronic vouchers, game pieces, virtual items, and the like. After sharing the resource to the instant messaging application or the social network application, a user in the instant messaging application or the social network application may request to share the resource.
In the traditional resource sharing, the resource message body sent by the resource sharing initiator only can carry text information, so that the type of the information carried by the resource sharing is greatly limited.
Disclosure of Invention
Therefore, it is necessary to provide a resource sharing method for solving the problem that the traditional resource sharing method can only carry text information, and can carry multimedia information, thereby enlarging the types of information carried by resource sharing.
In addition, it is necessary to provide a resource sharing device, which can carry multimedia information, and expand the types of information carried by resource sharing.
A method of resource sharing, comprising the steps of:
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.
A method of resource sharing, comprising the steps of:
receiving a resource message;
displaying the resource message;
acquiring a trigger operation on the resource message;
and playing the multimedia data in the resource message according to the triggering operation, and receiving the resource in the resource message.
An apparatus for resource sharing, comprising:
the first acquisition module is used for acquiring the configured basic information of the resources;
the second acquisition module is used for acquiring multimedia data;
the association module is used for acquiring a resource sharing request and associating the resource basic information with the multimedia data according to the resource sharing request;
the instruction generating module is used for generating a resource sharing instruction according to the incidence relation between the resource basic information and the multimedia data;
and the execution module is used for executing the resource sharing instruction.
An apparatus for resource sharing, comprising:
a receiving module, configured to receive a resource message;
the display module is used for displaying the resource message;
the operation acquisition module is used for acquiring the trigger operation of the resource message;
the playing module is used for playing the multimedia data in the resource message according to the triggering operation;
and the receiving module is used for receiving the resources in the resource message.
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.
Drawings
FIG. 1 is a diagram illustrating an application environment of a resource sharing method according to an embodiment;
fig. 2 is a schematic diagram of the internal structure of the terminal in one embodiment;
FIG. 3 is a flow diagram of a method of resource sharing in one embodiment;
FIG. 4 is a schematic diagram of prompting opening of a right to share a personalized resource;
FIG. 5 is a schematic view of a selection interface for video data roles;
FIG. 6 is a diagram of a resource message generated in one embodiment;
FIG. 7 is a flow diagram of a method of resource sharing in one embodiment;
FIG. 8 is a flow diagram of a method of resource sharing according to another embodiment;
FIG. 9 is a diagram illustrating selection of a star character on a video data selection interface, according to one embodiment;
FIG. 10 is a diagram illustrating red envelope transmission in a two-person conversation interface, in accordance with an embodiment;
FIG. 11 is a schematic diagram of red envelope extraction in one embodiment;
FIG. 12 is a diagram illustrating red envelope sending in a group session interface, according to an embodiment;
FIG. 13 is a diagram illustrating red envelope getting in the group conversation interface, according to an embodiment;
FIG. 14 is a block diagram of an apparatus for resource sharing in one embodiment;
FIG. 15 is a block diagram of an apparatus for resource sharing according to another embodiment;
FIG. 16 is a block diagram of an apparatus for resource sharing according to another embodiment;
fig. 17 is a block diagram of a resource sharing apparatus according to another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as 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.
Fig. 1 is a schematic diagram of an application environment of a resource sharing method according to 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. A first user logs in an application client on a first terminal 110 to initiate a resource sharing request, acquires basic resource information and multimedia data recorded or selected by the user according to the resource sharing request, generates a resource message containing the basic resource information and the multimedia data, sends the resource message to a friend of the first user, namely a second user, on a second terminal 130 or a group where the first user is located through a server 120, and displays the resource message in the group. After receiving the resource message, a second user or a member in the group located on the second terminal 130 triggers the resource message, plays multimedia data in the resource message, and receives resources in the resource message. Wherein the resource message is a message containing basic information of the resource. The resource basic information may include a resource and a resource sharing initiator identifier, and may further include information content shared by the resource sharing initiator, time and validity period of resource sharing, and the like. The multimedia data can be multimedia data recorded by a resource sharing initiator in real time or multimedia data selected from a network or a local place. The multimedia data may be one or both of audio data and video data.
In addition, a resource message including resource basic information and multimedia data may also be generated by the server 120.
Fig. 2 is a schematic diagram of an internal structure of the terminal in one embodiment. As shown in fig. 2, the terminal includes a processor, a storage medium, a memory, a network interface, a sound collection device, a display screen, a speaker, and an input device, which are connected through a system bus. The terminal comprises a storage medium and a resource sharing device, wherein the storage medium of the terminal stores an operating system, and the resource sharing device is used for realizing a resource sharing method. The processor is used for providing calculation and control capability and supporting the operation of the whole 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 performing network communication with the server, such as sending a resource sharing request to the server, receiving information that a resource receiver returned by the server receives success, and the like. The display screen of the terminal can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the terminal, or an external keyboard, a touch pad or a mouse. The terminal can be a mobile phone, a tablet computer, a personal digital assistant or a wearable device. Those skilled in the art will appreciate that the configuration shown in fig. 2 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application is applied, and that a particular terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
FIG. 3 is a flow diagram of a method for resource sharing in one embodiment. As shown in fig. 3, a resource sharing method, described in terms of resource sharing initiation, running on a first terminal 110 includes the following steps:
Specifically, the resource basic information may include a resource and a user identifier, and may further include information content shared by the resource sharing initiator, time and validity period of resource sharing, and the like. The resource may be a monetary value, an electronic voucher, a credit, a token or a physical item redemption ticket, etc. The user identifier is an identifier which uniquely represents the user identity and can be an instant messaging account, a mobile phone number, a social network application account and the like of a resource sharing initiator.
And acquiring resource basic information configured by a user entering a resource sharing interface after the user logs in the instant messaging application or the social application.
In this embodiment, the multimedia data may include a multimedia file, or a multimedia file and a multimedia identifier. The multimedia files may include one or both of audio files and video files.
The audio data may be voice recorded by the resource sharing initiator, or selected music, or audio data downloaded over a network. The audio data downloaded on the network can be audio data of different sounds such as female voice, male voice, child voice or cartoon character voice.
The video data can be personalized videos recorded by the resource sharing initiator or videos made by the resource sharing initiator or videos downloaded from a network. The characters in the video can be cartoon characters, game characters or star characters or the user himself or herself. The recorded voice or video can be set with preset time, so that the size of voice or video data can be effectively limited, and the size of occupied space can be limited.
The step of acquiring multimedia data comprises: and acquiring the multimedia file recorded in real time or the multimedia file selected from a local place or a server.
In particular, a multimedia file recorded in real time may limit the length of time for recording.
In this embodiment, the resource basic information is associated with the multimedia data, that is, a corresponding relationship is established between the resource basic information and the multimedia data.
And 308, generating a resource sharing instruction according to the incidence relation between the resource basic information and the multimedia data.
In this embodiment, the resource sharing instruction is generated according to the association relationship between the resource basic information and the multimedia data, and a "send shared control" or a "confirm shared control" and the like may be displayed on the terminal.
In step 310, the resource sharing instruction is executed.
Specifically, click determination is performed on a "control to send share" or a "control to determine share" or the like displayed on the terminal. After the resource sharing instruction executed by the user is acquired, the resource message containing the resource basic information and the multimedia data can be generated according to the resource sharing instruction, or the resource basic information and the multimedia data are uploaded to the server according to the resource sharing instruction, and the resource message containing the resource basic information and the multimedia data is generated by the server according to the resource basic information and the multimedia data.
According to the resource sharing method, 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.
In an embodiment, the resource sharing method further includes: generating a resource message containing resource basic information and multimedia data; the resource message containing the multimedia data is transmitted.
In this embodiment, a terminal or a server may generate a resource message including the resource basic information and the multimedia data according to the resource basic information and the multimedia data. And the resource message containing the resource basic information and the multimedia data is sent to other users by the terminal or the server. The resource message may be sent to a single person or a group. When the resource message is sent to the group, the resource basic information in the resource message may further include the number of split resources and the allocation mode. The number may be set by the resource sharing initiator, such as 5, 10, etc. The allocation mode can be that the resources are allocated according to the quantity in an average mode or the resources are allocated according to the quantity in a random mode.
In addition, the multimedia data selected in the generated resource message can be uploaded to a server as a template, so that the multimedia data is convenient for other users to use. The selected multimedia data and the user identification can also be uploaded to a server, and the mapping relation between the multimedia data and the user identification is established, so that the subsequent users can conveniently select and use the multimedia data and the user identification.
In an embodiment, the resource sharing method further includes: after the resource sharing request is obtained, obtaining a user identifier initiating the resource sharing request, judging whether the user identifier has the authority of sharing the personalized resource, if so, obtaining the multimedia data according to the resource sharing request, and if not, prompting the user to open the authority of sharing the personalized resource.
Fig. 4 is a schematic diagram of prompting opening of the permission to share the personalized resources. As shown in fig. 4, the instant messaging application member is prompted to enjoy the authority of sharing the personalized resources on the personalized resource authority opening interface, and the user is prompted to open the instant messaging application member.
Fig. 5 is a schematic view of a selection interface for video data roles. As shown in fig. 5, after the user opens the instant messaging application member, a plurality of different roles are provided on the video data role selection interface for selection, for example, the first picture is a cartoon role, the cartoon role can be used as a role of multimedia data in the resource message, and the cartoon role is displayed on the surface of the resource message, and a text description can be attached, for example, "have money arbitrariness |)! ". The second figure is a star character, which can be used as the role of multimedia data in the resource message and is shown on the surface of the resource message. The third figure is a game character, which can be used as a character of multimedia data in the resource message, and the game character is shown on the surface of the resource message.
In an embodiment, the step of acquiring multimedia data in the resource sharing method includes: the method comprises the steps of obtaining a user identification and a multimedia file recorded in real time, uploading the user identification and the multimedia file to a server, and obtaining a multimedia identification distributed by the server for the multimedia file.
In this embodiment, the server allocates a multimedia identifier to the multimedia data, and establishes an association relationship between the multimedia identifier and the user identifier.
The user identifier is an identifier which uniquely represents the user identity and can be an instant messaging account, a mobile phone number, a social network application account and the like of a resource sharing initiator. The multimedia identifier is an identifier that uniquely represents the multimedia data. And establishing an association relation between the multimedia identifier and the user identifier, namely establishing a mapping relation.
Further, when a multimedia identifier allocated by the server for the multimedia data is acquired, a resource sharing instruction is generated according to the incidence relation between the resource basic information and the multimedia identifier, the resource sharing instruction is executed, the resource basic information and the multimedia identifier are uploaded to the server, the server finds a corresponding multimedia file according to the multimedia identifier, and a resource message containing the resource basic information and the multimedia data is generated according to the resource basic information and the multimedia file.
In an embodiment, the resource sharing method further includes: after the step of executing the resource sharing instruction, displaying the resource message generated after the resource sharing instruction is executed, arranging a transparent layer on a resource message body of the resource message, and displaying multimedia data in the transparent layer.
Specifically, the resource message body refers to a message structure of the resource message.
In an embodiment, the resource sharing method further includes: after the step of displaying the multimedia data in the transparent layer, displaying a multimedia control for controlling the playing of the multimedia data in the transparent layer.
In particular, the multimedia controls may include a play/pause button. In addition, one or more of a mute button, a sound-on button, a fast-forward button and a backward button can be included.
FIG. 6 is a diagram of a resource message generated in one embodiment. As shown in fig. 6, a character image of multimedia data is disposed on the surface of the resource message, and a play/pause key is provided.
In an embodiment, the resource sharing method further includes: the generated resource message includes the validity period of the resource.
FIG. 7 is a flow diagram of a method for resource sharing in one embodiment. As shown in fig. 7, a method for resource sharing, described in terms of a resource receiving end, includes the following steps:
In this embodiment, the triggering operation on the resource message may be to click on the resource message.
After step 706, the method for resource sharing further comprises: and acquiring a resource receiver identifier, judging whether the resource receiver identifier has the authority to receive the resource in the resource message, if so, allowing the resource receiver to receive the resource in the resource message, and if not, not allowing the resource receiver to receive the resource in the resource message.
According to the resource sharing method, the multimedia data in the resource message is played by triggering the received and displayed resource message, and the resource in the resource message is received, wherein the resource message carries the multimedia data, so that the resource message carries the multimedia data, and the type of information carried by resource sharing is expanded.
In one embodiment, the resource message is superficially configured with a multimedia control; the resource sharing method further includes: acquiring a control instruction corresponding to the triggering operation of the multimedia control; and playing the multimedia data according to the control instruction.
The multimedia controls may include a play/pause button, a sound on button, a mute button, etc. And generating different control instructions for different key triggering operations, and controlling to play the multimedia data according to the control instructions. For example, when the mute button is triggered, a mute instruction is generated, and the multimedia data is played in a mute mode.
In an embodiment, the resource sharing method further includes: after the trigger operation of the resource message is acquired, whether the resource in the resource message is overdue is judged, if yes, prompt information that the resource is overdue is received, and if not, the resource in the resource message is received.
In an embodiment, the resource sharing method further includes: after the trigger operation of the resource message is acquired, whether the resource in the resource message is received or not is judged, if yes, prompt information that the resource is received, and if not, the resource which is equally divided according to the quantity is received, or the resource which is randomly distributed from the residual resources is received.
FIG. 8 is a flowchart of a method of resource sharing according to another embodiment. As shown in fig. 8, in one embodiment, a transparent layer is disposed on the resource message body of the resource message, and multimedia data and multimedia controls for controlling the playing of the multimedia data are displayed in the transparent layer.
A method of resource sharing includes:
In this embodiment, the chat interface may be a chat interface of a two-person conversation or a chat interface of a group conversation.
In this embodiment, the automatic playing of the multimedia data in the resource message can be stopped after one time.
According to the resource sharing method, after the chat interface receives the resource message, the multimedia data in the resource message is automatically played, the receiver does not need to trigger operation, and the operation is simplified.
The following describes an implementation process of the resource sharing method with reference to a specific application scenario. Take the resource message as a red packet, the resource is the amount value in the red packet, and the two-person conversation is taken as an example. The resource sharing method comprises the following steps:
(1) the method comprises the steps that a first terminal obtains a red packet sending request initiated by a first user, enters a video data selection interface according to the red packet sending request, and obtains video data of a star character on the video data selection interface of the first user as a video data role.
As shown in fig. 9, a star character is selected as video data of the video data character on the video data selection interface.
(2) The first terminal generates a red packet according to the selected video data, the first user identification and the money value, a transparent layer is arranged on the upper layer of the message body of the red packet, the star character of the video data is displayed on the transparent layer, and a play/pause key is provided on the transparent layer on the upper layer of the message body of the red packet.
(3) And the first terminal sends the red packet sent by the first user to the second user through the instant messaging session window.
As shown in fig. 10, a red packet is sent in the two-person conversation interface, and a transparent layer on the message body of the red packet displays a star character of video data, a play/pause key, and the like.
(4) And after receiving the red packet in the chat interface through the second terminal, the second user plays the video data in the red packet, draws the money and displays the nickname and the character description of the first user.
As shown in fig. 11, after receiving the red packet in the two-person conversation interface, the second user clicks the red packet to receive 8.2 yuan, and displays that the first user wears stars and text descriptions, "schoolmountain has work as a way, and scholars are carelessly and works as a boat", and provides a "view details of the reception" control, so that the received red packet and the corresponding amount of money can be viewed.
Take the resource message as a red packet, the resource is the amount value in the red packet, and the group session is taken as an example. The resource sharing method comprises the following steps:
(1) the method comprises the steps that a first terminal obtains a red packet sending request sent by a first user to a group A, enters a video data selection interface according to the red packet sending request, and obtains video data of a star character on the video data selection interface of the first user as a video data role.
(2) The first terminal generates a red packet according to the selected video data, the first user identification and the money value, a star character of the video data is displayed on a transparent layer on the upper layer of the message body of the red packet, and a play/pause key is provided on the transparent layer on the upper layer of the message body of the red packet.
In this embodiment, the first terminal may further obtain the number of split money values in the red envelope set by the first user and a splitting manner, where the splitting manner may be equal division or random division.
(3) And the first terminal sends the red packet sent by the first user to the second user through the instant messaging session window.
As shown in fig. 12, a red packet is sent in the group conversation interface, and a star character and a play/pause button of video data are displayed on the surface of the red packet.
(4) And after the members in the group receive the red packet in the chat interface through the second terminal, playing the video data in the red packet, drawing money and displaying the nickname and the text description of the first user.
As shown in fig. 13, after receiving the red packet in the group session interface, the second user clicks the red packet to receive 0.5 yuan, and displays that the first user wears stars and text descriptions, "schoolmountain has road and work as a path, and learns that sea is carelessly doing boats", and provides a "view details" control to view which users have received the red packet and the corresponding amount of money.
And if the resource message is a red packet, the resource is a value of an amount in the red packet, and the red packet type is a yearly red packet, the resource sharing method comprises the following steps:
(1) the method comprises the steps that a first terminal obtains a yearly red packet sending request initiated by a first user, prompts the first user to record voice or video data of preset time according to the yearly red packet sending request, uploads the voice or video data to a server, the server distributes a unique voice identifier for the voice, distributes a unique video identifier for the video data, and establishes an association relationship between the voice identifier and the video identifier and the first user identifier.
In particular, the recorded voice or video data may be "New year good! May you be happy and prosperous! "and the like, without being limited thereto.
(2) The first terminal obtains basic information of a red packet input by a first user, generates the basic information of the red packet and recorded voice or video data into the red packet, and sends the generated red packet to an individual or a group.
(3) And after receiving the red packet, the second user clicks to receive the red packet, and the voice or video data is automatically played on the second terminal where the second user is located.
FIG. 14 is a block diagram of an apparatus for resource sharing in one embodiment. As shown in fig. 14, an apparatus for resource sharing 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. Wherein:
the first obtaining module 1402 is configured to obtain basic information of the configured resource.
Specifically, the resource basic information may include a resource and a user identifier, and may further include information content shared by the resource sharing initiator, time and validity period of resource sharing, and the like. The resource may be a monetary value, an electronic voucher, a credit, a token or a physical item redemption ticket, etc. The user identifier is an identifier which uniquely represents the user identity and can be an instant messaging account, a mobile phone number, a social network application account and the like of a resource sharing initiator.
The second obtaining module 1404 is used for obtaining multimedia data.
In this embodiment, the second obtaining module 1404 is further configured to obtain the multimedia data recorded in real time or the multimedia data selected from a 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 resource sharing initiator, or selected music, or audio data downloaded over a network. The audio data downloaded on the network can be audio data of different sounds such as female voice, male voice, child voice or cartoon character voice.
The video data can be personalized videos recorded by the resource sharing initiator or videos made by the resource sharing initiator or videos downloaded from a network. The characters in the video can be cartoon characters, game characters or star characters or the user himself or herself. The recorded voice or video can be set with preset time, so that the size of voice or video data can be effectively limited, and the size of occupied space can be limited.
The association 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.
The instruction generating module 1408 is configured to generate a resource sharing instruction according to the association relationship between the resource basic information and the multimedia data.
The execution module 1410 is configured to execute the resource sharing instruction.
The resource sharing device acquires the multimedia data and the 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 association relationship between the resource basic information and the multimedia data, and executes the resource sharing instruction, so that the multimedia data can be carried in resource sharing, and the type of information carried in resource sharing is expanded.
Further, the resource sharing device further comprises a generating module and a sending module. The generation module is used for generating a resource message containing resource basic information and multimedia data; the sending module is used for sending the resource message containing the multimedia data.
In addition, the server can also generate a resource message containing the resource basic information and the multimedia data according to the resource basic information and the multimedia data.
The second obtaining module 1402 is further configured to obtain the user identifier and the multimedia file recorded in real time, upload the user identifier and the multimedia file to the server, and obtain the multimedia identifier allocated by the server to the multimedia file.
In this embodiment, the server allocates a multimedia identifier to the multimedia data, and establishes an association relationship between the multimedia identifier and the user identifier.
When a multimedia identifier distributed by a server for multimedia data is acquired, a resource sharing instruction is generated according to the incidence relation between the resource basic information and the multimedia identifier, the resource sharing instruction is executed, then the resource basic information and the multimedia identifier are uploaded to the server, the server finds a corresponding multimedia file according to the multimedia identifier, and a resource message containing the resource basic information and the multimedia data is generated according to the resource basic information and the multimedia file.
Fig. 15 is a block diagram of a resource sharing apparatus according to another embodiment. As shown in fig. 15, an apparatus for resource sharing includes a display module 1412 in addition to a first obtaining module 1402, a second obtaining module 1404, an associating module 1406, an instruction generating module 1408 and an executing module 1410. Wherein:
the display module 1412 is configured to display the resource message generated after the resource sharing instruction is executed, and set a transparent layer on a resource message body of the resource message, where the multimedia data is displayed in the transparent layer.
Further, the display module 1412 is further configured to display a multimedia control for controlling the playing of the multimedia data in the transparent layer after the multimedia data is displayed in the transparent layer.
In an embodiment, the first obtaining module 1402 is further configured to obtain a user identifier initiating a resource sharing request, determine whether the user identifier has an authority to share the personalized resource, obtain multimedia data according to the resource sharing request if the user identifier has the authority, and prompt the user to open the authority to share the personalized resource if the user identifier does not have the authority.
Fig. 16 is a block diagram of a resource sharing apparatus according to another embodiment. As shown in fig. 16, a resource sharing apparatus includes a receiving module 1602, a presenting module 1604, an operation acquiring module 1606, a playing module 1608, and a receiving module 1610. Wherein:
the receiving module 1602 is configured to receive a resource message.
The display module 1604 is configured to display the resource message.
The operation obtaining module 1606 is configured to obtain a trigger operation for the resource message.
The playing module 1608 is configured to play the multimedia data in the resource message according to the triggering operation.
The receiving module 1610 is configured to receive the resource in the resource message.
According to the resource sharing device, the multimedia data in the resource message is played by triggering the received resource message, and the resource in the resource message is received, wherein the resource message carries the multimedia data, so that the resource message carries the multimedia data, and the type of information carried by resource sharing is expanded.
Fig. 17 is a block diagram of a resource sharing apparatus according to another embodiment. As shown in fig. 17, a resource sharing apparatus includes a receiving module 1602, a presenting module 1604, an operation acquiring module 1606, a playing module 1608, and a receiving module 1610, and further includes an instruction generating module 1612. Wherein:
a transparent layer is arranged on the resource message body of the resource message, and multimedia data and a multimedia control used for controlling the playing of the multimedia data are displayed in the transparent layer;
the instruction generating module 1612 is configured to obtain a control instruction corresponding to the trigger operation of the multimedia control.
The playing module 1608 is further configured to play the multimedia data according to the control instruction.
The receiving module 1602 is further configured to receive the resource message in the chat interface.
The playing module 1608 is also used for automatically playing the multimedia data in the resource message.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (14)
1. A resource sharing message generation method containing multimedia messages used in instant messaging or social application sessions is characterized by comprising the following steps:
responding to a trigger instruction input by a resource sharing initiator on a chat interface, and acquiring basic resource information configured by the resource sharing interface, wherein the chat interface is a single chat interface or a group session chat interface, and the basic resource information comprises a resource sharing initiator user identifier and information content shared by a resource sharing initiator user;
acquiring multimedia data recorded by a resource sharing initiator in real time, or acquiring multimedia data selected by the resource sharing initiator from a local or server, wherein the multimedia data comprises at least one of audio data and video data;
and associating the resource basic information with the multimedia data, and responding to the triggering operation of a resource sharing initiator on a sharing control to generate a resource message containing the resource basic information and the multimedia data, wherein a transparent layer is arranged on a resource message body of the resource message, and the transparent layer is used for displaying the multimedia data and controlling the multimedia control for playing the multimedia data.
2. The method of claim 1, further comprising:
and uploading multimedia data recorded in real time by the resource sharing initiator in the generated resource message or multimedia data selected by the resource sharing initiator from a local or server to the server as a template.
3. The method of claim 1, wherein generating the resource message containing the resource basic information and the multimedia data in response to the triggering operation of the sharing control by the resource sharing initiator comprises:
and responding to the triggering operation of a resource sharing initiator on a sharing control, uploading the resource basic information and the multimedia data to the server, and instructing the server to generate a resource message containing the resource basic information and the multimedia data according to the resource basic information and the multimedia data.
4. The method of claim 1, wherein the multimedia controls comprise one or more of a play button, a pause button, a mute button, a sound on button, a fast forward button, and a rewind button.
5. A resource acquisition method containing multimedia messages for use in instant messaging or social application sessions comprises the following steps:
receiving a resource message, wherein the resource message comprises resource basic information and multimedia data;
displaying the resource message on a chat interface, wherein a transparent layer is arranged on a resource message body of the resource message, and multimedia data and a multimedia control used for controlling the playing of the multimedia data are displayed in the transparent layer, wherein the chat interface is a single chat interface or a group session chat interface, and the multimedia data comprises at least one of audio data and video data;
in response to a triggering operation of the multimedia control by a resource recipient,
playing multimedia data in the resource message, acquiring a resource receiver user identifier according to the triggering operation, judging whether the resource receiver user identifier has the authority to receive the resource in the resource message, and if so, receiving the resource in the resource message.
6. The method of claim 5, wherein the multimedia controls comprise one or more of a play button, a pause button, a mute button, a sound on button, a fast forward button, and a rewind button.
7. The method of claim 5, further comprising:
receiving a resource message in a chat interface;
and automatically playing the multimedia data in the resource message.
8. A resource sharing message generating apparatus for use in an instant messaging or social application session, the resource sharing message generating apparatus comprising a multimedia message, the resource sharing message generating apparatus comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for responding to a trigger instruction input by a resource sharing initiator on a chat interface, and acquiring basic resource information configured by the resource sharing interface, the chat interface is a single chat interface or a group session chat interface, and the basic resource information comprises a resource sharing initiator user identifier and information content shared by a resource sharing initiator user;
the second acquisition module is used for acquiring multimedia data recorded by the resource sharing initiator in real time or acquiring multimedia data selected by the resource sharing initiator from a local server or a server, wherein the multimedia data comprises at least one of audio data and video data;
the association module is used for associating the resource basic information with multimedia data;
the resource sharing system comprises a generating module and a playing module, wherein the generating module is used for responding to triggering operation of a resource sharing initiator on a sharing control to generate a resource message containing resource basic information and multimedia data, a transparent layer is arranged on a resource message body of the resource message, and the transparent layer is used for displaying the multimedia data and controlling the multimedia control for playing the multimedia data.
9. The apparatus according to claim 8, wherein the second obtaining module is further configured to upload, to the server, multimedia data recorded in real time by the resource sharing initiator in the generated resource message or multimedia data selected by the resource sharing initiator from a local server or a server as a template.
10. The apparatus according to claim 8, wherein the generating module is further configured to upload the resource basic information and the multimedia data to the server in response to a triggering operation of a sharing control by a resource sharing initiator, so as to instruct the server to generate a resource message containing the resource basic information and the multimedia data according to the resource basic information and the multimedia data.
11. The apparatus of claim 8, wherein the display module is further configured to display one or more multimedia controls selected from a play button, a pause button, a mute button, a sound on button, a fast forward button, and a rewind button.
12. A resource acquisition device containing multimedia messages for use in an instant messaging or social application session, comprising:
the receiving module is used for receiving resource messages, and the resource messages comprise resource basic information and multimedia data;
the display module is used for displaying the resource message on a chat interface, a transparent layer is arranged on a resource message body of the resource message, multimedia data and a multimedia control used for controlling the playing of the multimedia data are displayed in the transparent layer, the chat interface is a single chat interface or a group session chat interface, and the multimedia data comprise at least one of audio data and video data;
the playing module is used for responding to the triggering operation of the resource receiver on the multimedia control and playing the multimedia data in the resource message;
and the receiving module is used for acquiring a resource receiver user identifier according to the triggering operation, judging whether the resource receiver user identifier has the authority to receive the resource in the resource message, and if so, receiving the resource in the resource message.
13. The apparatus of claim 12, wherein the presentation module is further configured to display one or more multimedia controls selected from a play button, a pause button, a mute button, a sound on button, a fast forward button, and a rewind button.
14. The apparatus of claim 12, wherein the receiving module is further configured to receive a resource message in a chat interface; the playing module is also used for automatically playing the multimedia data in the resource message.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010548025.0A CN111711560B (en) | 2016-01-21 | 2016-01-21 | Resource message generation and resource acquisition method, device, equipment and storage medium |
CN201610042104.8A CN105554027B (en) | 2016-01-21 | 2016-01-21 | Resource sharing method and device |
PCT/CN2017/070630 WO2017124932A1 (en) | 2016-01-21 | 2017-01-09 | Resource sharing method and terminal |
US16/041,581 US11017484B2 (en) | 2016-01-21 | 2018-07-20 | Resource sharing method and terminal |
US16/045,467 US10861108B2 (en) | 2016-01-21 | 2018-07-25 | Resource sharing method and terminal |
US16/045,519 US10861109B2 (en) | 2016-01-21 | 2018-07-25 | Resource sharing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610042104.8A CN105554027B (en) | 2016-01-21 | 2016-01-21 | Resource sharing method and device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010548025.0A Division CN111711560B (en) | 2016-01-21 | 2016-01-21 | Resource message generation and resource acquisition method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105554027A CN105554027A (en) | 2016-05-04 |
CN105554027B true CN105554027B (en) | 2020-12-01 |
Family
ID=55832961
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610042104.8A Active CN105554027B (en) | 2016-01-21 | 2016-01-21 | Resource sharing method and device |
CN202010548025.0A Active CN111711560B (en) | 2016-01-21 | 2016-01-21 | Resource message generation and resource acquisition method, device, equipment and storage medium |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010548025.0A Active CN111711560B (en) | 2016-01-21 | 2016-01-21 | Resource message generation and resource acquisition method, device, equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN105554027B (en) |
WO (1) | WO2017124932A1 (en) |
Families Citing this family (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554027B (en) * | 2016-01-21 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Resource sharing method and device |
US11017484B2 (en) | 2016-01-21 | 2021-05-25 | Tencent Technology (Shenzhen) Company Limited | Resource sharing method and terminal |
CN105847133A (en) * | 2016-05-31 | 2016-08-10 | 成都西部尚高科技有限公司 | Method and device for information sharing |
CN106100976A (en) * | 2016-07-05 | 2016-11-09 | 孔尧 | Red packet sending method and device |
CN107545413A (en) * | 2016-07-26 | 2018-01-05 | 腾讯科技(深圳)有限公司 | Event-handling method and device |
CN106789562B (en) * | 2016-12-06 | 2021-09-14 | 腾讯科技(深圳)有限公司 | Virtual article sending method, virtual article receiving method, virtual article sending device, virtual article receiving device and virtual article sending system |
CN106327164A (en) * | 2016-08-23 | 2017-01-11 | 北京小米移动软件有限公司 | Method for sending electronic red packet and device thereof |
CN111698145A (en) * | 2016-10-27 | 2020-09-22 | 财付通支付科技有限公司 | Method, apparatus and medium for receiving and transmitting virtual package including voice |
CN107566250B (en) * | 2017-08-24 | 2021-01-29 | 维沃移动通信有限公司 | Resource transfer method, related equipment and system |
CN107493342B (en) * | 2017-08-24 | 2019-12-27 | 维沃移动通信有限公司 | Resource transfer method, related equipment and system |
CN109600408B (en) * | 2017-09-30 | 2020-12-29 | 腾讯科技(深圳)有限公司 | Resource sharing method and device, storage medium and computer equipment |
CN107798561B (en) * | 2017-10-25 | 2021-08-13 | 网易传媒科技(北京)有限公司 | Audio playing and sharing method and device, storage medium and electronic equipment |
CN108335135B (en) * | 2018-01-30 | 2022-09-16 | 阿里巴巴(中国)有限公司 | Multimedia content sharing method and device |
CN108322465B (en) * | 2018-01-31 | 2021-09-24 | 腾讯科技(深圳)有限公司 | Resource sharing, requesting and processing method and device, storage medium and equipment |
CN110152307B (en) * | 2018-07-17 | 2022-05-06 | 腾讯科技(深圳)有限公司 | Virtual article issuing method, device and storage medium |
CN109034757A (en) * | 2018-08-10 | 2018-12-18 | 上海掌门科技有限公司 | Method and apparatus for distributing resource, getting resource, issue resource |
CN110866796A (en) * | 2018-08-28 | 2020-03-06 | 阿里巴巴集团控股有限公司 | Information display method, information acquisition method, system and equipment |
CN111949393B (en) * | 2019-05-16 | 2024-02-06 | 腾讯科技(深圳)有限公司 | Resource allocation and acquisition methods, devices, storage medium and equipment |
CN112241397B (en) * | 2019-07-18 | 2023-08-22 | 腾讯科技(深圳)有限公司 | Sharing method and device of multimedia files, electronic equipment and readable storage medium |
CN111368232A (en) * | 2020-02-28 | 2020-07-03 | 北京达佳互联信息技术有限公司 | Password sharing reflux method and device, electronic equipment and storage medium |
CN112163398B (en) * | 2020-09-30 | 2024-06-18 | 金蝶软件(中国)有限公司 | Graph sharing method and related equipment thereof |
CN112732140A (en) * | 2021-01-12 | 2021-04-30 | 北京市商汤科技开发有限公司 | Resource processing method and device, electronic equipment and storage medium |
CN114765696A (en) * | 2021-01-15 | 2022-07-19 | 北京达佳互联信息技术有限公司 | Multimedia data publishing method and device, electronic equipment and storage medium |
CN112994997B (en) * | 2021-05-21 | 2022-07-29 | 深圳传音控股股份有限公司 | Processing method, processing apparatus, and storage medium |
CN113568699B (en) * | 2021-07-30 | 2023-12-19 | 北京达佳互联信息技术有限公司 | Content display method, device, equipment and storage medium |
CN114339442B (en) * | 2021-12-31 | 2023-11-07 | 北京达佳互联信息技术有限公司 | Method and device for configuring multimedia channels, electronic equipment and storage medium |
CN114996613A (en) * | 2022-05-25 | 2022-09-02 | 北京字节跳动网络技术有限公司 | Method, device, equipment and storage medium for work forwarding |
CN115134327B (en) * | 2022-05-27 | 2023-09-19 | 北京达佳互联信息技术有限公司 | Message processing method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103716339A (en) * | 2012-09-28 | 2014-04-09 | 腾讯科技(深圳)有限公司 | Multimedia sharing method, system and device |
CN104615335A (en) * | 2015-02-13 | 2015-05-13 | 腾讯科技(北京)有限公司 | Information processing method and client side |
CN104618345A (en) * | 2015-01-05 | 2015-05-13 | 广州酷狗计算机科技有限公司 | Method and device for obtaining multimedia information |
CN104615747A (en) * | 2015-02-11 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Information processing method, client side and server |
CN105096137A (en) * | 2015-07-01 | 2015-11-25 | 孙晖 | Method for sharing resources, server and terminal device |
CN105187527A (en) * | 2015-09-01 | 2015-12-23 | 立德高科(北京)数码科技有限责任公司 | Customized two-dimension code and generation method and directionally pushing and reading method thereof |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101360071A (en) * | 2008-09-16 | 2009-02-04 | 腾讯科技(深圳)有限公司 | Method and system for multimedia resource sharing based on instant chat |
WO2012109628A2 (en) * | 2011-02-10 | 2012-08-16 | Visa International Service Assocation | Electronic coupon issuance and redemption apparatuses, methods and systems |
CN102821062B (en) * | 2012-07-25 | 2016-01-20 | 上海量明科技发展有限公司 | The method and system of true present are given in instant messaging |
US9338622B2 (en) * | 2012-10-04 | 2016-05-10 | Bernt Erik Bjontegard | Contextually intelligent communication systems and processes |
CN102929483B (en) * | 2012-10-25 | 2017-07-14 | 东莞宇龙通信科技有限公司 | Terminal and resource sharing method |
CN103036597B (en) * | 2012-12-12 | 2015-05-27 | 华为终端有限公司 | Method and device of sharing resources among devices in close range |
KR102206390B1 (en) * | 2013-09-03 | 2021-01-22 | 삼성전자 주식회사 | Method for providing mobile coupon and portable electronic device supporting the same |
CN104410615B (en) * | 2014-11-20 | 2019-05-10 | 北京奇虎科技有限公司 | Method, client, server and the system to access to shared data |
CN105938604A (en) * | 2015-05-16 | 2016-09-14 | 王健 | Method and system of attaching advertising red envelopes in social networking service |
CN105099877B (en) * | 2015-06-26 | 2018-11-02 | 小米科技有限责任公司 | Instant communication message treating method and apparatus |
CN105554027B (en) * | 2016-01-21 | 2020-12-01 | 腾讯科技(深圳)有限公司 | Resource sharing method and device |
-
2016
- 2016-01-21 CN CN201610042104.8A patent/CN105554027B/en active Active
- 2016-01-21 CN CN202010548025.0A patent/CN111711560B/en active Active
-
2017
- 2017-01-09 WO PCT/CN2017/070630 patent/WO2017124932A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103716339A (en) * | 2012-09-28 | 2014-04-09 | 腾讯科技(深圳)有限公司 | Multimedia sharing method, system and device |
CN104618345A (en) * | 2015-01-05 | 2015-05-13 | 广州酷狗计算机科技有限公司 | Method and device for obtaining multimedia information |
CN104615747A (en) * | 2015-02-11 | 2015-05-13 | 腾讯科技(深圳)有限公司 | Information processing method, client side and server |
CN104615335A (en) * | 2015-02-13 | 2015-05-13 | 腾讯科技(北京)有限公司 | Information processing method and client side |
CN105096137A (en) * | 2015-07-01 | 2015-11-25 | 孙晖 | Method for sharing resources, server and terminal device |
CN105187527A (en) * | 2015-09-01 | 2015-12-23 | 立德高科(北京)数码科技有限责任公司 | Customized two-dimension code and generation method and directionally pushing and reading method thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2017124932A1 (en) | 2017-07-27 |
CN105554027A (en) | 2016-05-04 |
CN111711560B (en) | 2021-05-18 |
CN111711560A (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105554027B (en) | Resource sharing method and device | |
US11595330B2 (en) | Information processing method, apparatus, device, and storage medium | |
US10834479B2 (en) | Interaction method based on multimedia programs and terminal device | |
EP3713159B1 (en) | Gallery of messages with a shared interest | |
US10402825B2 (en) | Device, system, and method of enhancing user privacy and security within a location-based virtual social networking context | |
US20150304270A1 (en) | System, process and computer writeable medium for providing a social media directed mobile application having inquiry based game play functionality | |
EP2849411B1 (en) | Session establishment methods and corresponding server | |
WO2018010682A1 (en) | Live broadcast method, live broadcast data stream display method and terminal | |
CN106105172A (en) | Highlight the video messaging do not checked | |
WO2015165018A1 (en) | Method and device for providing online gifting | |
KR102484017B1 (en) | Methods, systems, and media for coordinating multiplayer game sessions | |
US20240039922A1 (en) | Method and system for live dating | |
CN106339947A (en) | Method and device for performing business operation and acquiring group member information based on chat group | |
CN106105110A (en) | Instant message transmission | |
CN113411652A (en) | Media resource playing method and device, storage medium and electronic equipment | |
CN113518240A (en) | Live broadcast interaction method, virtual resource configuration method, virtual resource processing method and device | |
CN114205633B (en) | Live interaction method and device, storage medium and electronic equipment | |
TW201541357A (en) | Delivering an action | |
CN113536147B (en) | Group interaction method, device, equipment and storage medium | |
CN108288152B (en) | Interaction method, terminal and storage medium for sharing information | |
US11017484B2 (en) | Resource sharing method and terminal | |
US11864066B2 (en) | Complex computing network for improving establishment and streaming of audio communication among mobile computing devices | |
CN114425167A (en) | Interaction method and device of virtual object, storage medium and electronic equipment | |
WO2023071556A1 (en) | Virtual image-based data processing method and apparatus, computer device, and storage medium | |
CN114244791A (en) | Data processing method and device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |