CN104615421A - Virtual gift display method and device - Google Patents

Virtual gift display method and device Download PDF

Info

Publication number
CN104615421A
CN104615421A CN201410849797.2A CN201410849797A CN104615421A CN 104615421 A CN104615421 A CN 104615421A CN 201410849797 A CN201410849797 A CN 201410849797A CN 104615421 A CN104615421 A CN 104615421A
Authority
CN
China
Prior art keywords
virtual gift
dimensional virtual
dimensional
identifier
terminal
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.)
Pending
Application number
CN201410849797.2A
Other languages
Chinese (zh)
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201410849797.2A priority Critical patent/CN104615421A/en
Publication of CN104615421A publication Critical patent/CN104615421A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a virtual gift display method and a device and belongs to the technical field of internet. The method comprises the following steps of receiving a transfer instruction of a three-dimensional virtual gift, the transfer instruction of the three-dimensional virtual gift comprises a virtual gift identification and a transfer object identification; obtaining the three-dimensional virtual gift corresponding to the virtual gift identification according to the preset corresponding relation between the virtual gift identification and the three-dimensional virtual gift; transmitting the three-dimensional virtual gift to a second terminal where the transfer object exists, so that the three-dimensional virtual gift is displayed by the second terminal. According to the virtual gift display method and the device, by presetting the corresponding relation between the virtual gift identification and the three-dimensional virtual gift, the three-dimensional virtual gift corresponding to the virtual gift identification in the transfer instruction of the virtual gift is obtained according to the corresponding relation, the three-dimensional virtual gift is transmitted to the second terminal where the transfer object exists, the three-dimensional virtual gift is displayed by the second terminal, the three-dimensional display of the virtual gift is achieved, diversified displaying mode is provided, and the interaction between users is enhanced.

Description

Virtual gift display method and device
Technical Field
The invention relates to the technical field of networks, in particular to a virtual gift display method and device.
Background
With the development and popularization of internet technology, the demand for interaction among users is higher and higher, and for this reason, some platforms provide communication spaces such as channels, so that many users can join the same channel and interact in the channel.
A certain user in a channel may act as a main broadcaster in which multimedia information such as video streams, audio streams, etc. is published, while other users in the channel may act as viewers of the main broadcaster to view the multimedia information. When the audience is interested in the multimedia information, the virtual gift can be presented to the main broadcast, and the virtual gift presented to the main broadcast can be displayed in the channel, so that the main broadcast can feel the enthusiasm of the audience.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems: when the channel displays the given virtual gifts, the channel can only display the virtual gifts in a two-dimensional form, the display mode is single, and interactivity is weak.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for displaying a virtual gift. The technical scheme is as follows:
in a first aspect, a method for displaying a virtual gift is provided, the method comprising:
receiving a three-dimensional virtual gift transfer instruction sent by a first terminal, wherein the three-dimensional virtual gift transfer instruction comprises a virtual gift identifier and a transfer object identifier, and the transfer object identifier is used for determining a transfer object of a virtual gift;
acquiring a three-dimensional virtual gift corresponding to a virtual gift identifier according to a pre-established corresponding relationship between the virtual gift identifier and the three-dimensional virtual gift;
and sending the three-dimensional virtual gift to a second terminal where the transfer object is located according to the transfer object identifier, so that the second terminal displays the three-dimensional virtual gift.
Optionally, before the three-dimensional virtual gift corresponding to the virtual gift identifier is obtained according to a pre-established correspondence between the virtual gift identifier and the three-dimensional virtual gift, the method includes:
establishing a three-dimensional scene model for the two-dimensional virtual gift to obtain a three-dimensional virtual gift;
assigning a virtual gift identification to the three-dimensional virtual gift;
and establishing a corresponding relation between the virtual gift identification and the three-dimensional virtual gift.
Optionally, the sending the three-dimensional virtual gift to the second terminal where the transfer object is located according to the transfer object identifier includes:
when the transfer object identifier is a user identifier, sending the three-dimensional virtual gift to a terminal where the user identifier is located; or,
and when the transfer object identifier is a channel identifier, determining a main broadcast user identifier corresponding to the channel identifier according to the corresponding relation between the channel identifier and the main broadcast user identifier, and sending the three-dimensional virtual gift to a terminal where the main broadcast user identifier is located.
Optionally, the method further comprises:
when the three-dimensional virtual gift transfer instruction comprises a plurality of virtual gift identifications, acquiring a three-dimensional virtual gift corresponding to each virtual gift identification according to the corresponding relation;
establishing an appointed three-dimensional scene model for the obtained three-dimensional virtual gifts to obtain appointed three-dimensional virtual gifts;
correspondingly, the method further comprises the following steps:
and sending the appointed three-dimensional virtual gift to the second terminal according to the transfer object identifier, so that the second terminal displays the appointed three-dimensional virtual gift.
Optionally, the method further comprises:
deleting the three-dimensional virtual gift from a virtual gift library of the first terminal;
adding the three-dimensional virtual gift to a virtual gift library of the second terminal.
In a second aspect, a virtual gift display method is provided, the method comprising:
receiving a three-dimensional virtual gift sent by a server, wherein the three-dimensional virtual gift is obtained by the server according to a corresponding relation between a pre-established virtual gift identifier and the three-dimensional virtual gift and a virtual gift identifier sent by a terminal;
and displaying the three-dimensional virtual gift.
In a third aspect, a virtual gift display method is provided, the method comprising:
when a preset three-dimensional transfer operation is detected, acquiring a virtual gift identifier and a transfer object identifier corresponding to the preset three-dimensional transfer operation, wherein the transfer object identifier is used for determining a transfer object of the three-dimensional virtual gift;
and sending a three-dimensional virtual gift transfer instruction to a server, wherein the three-dimensional virtual gift transfer instruction comprises the virtual gift identification and the transfer object identification, the server is used for acquiring the three-dimensional virtual gift corresponding to the virtual gift identification according to the pre-established corresponding relationship between the virtual gift identification and the three-dimensional virtual gift, and sending the three-dimensional virtual gift to a second terminal where the transfer object is located, and the second terminal is used for displaying the three-dimensional virtual gift.
In a fourth aspect, there is provided a virtual gift display apparatus comprising:
the three-dimensional transfer instruction receiving module is used for receiving a three-dimensional virtual gift transfer instruction sent by a first terminal, wherein the three-dimensional virtual gift transfer instruction comprises a virtual gift identifier and a transfer object identifier, and the transfer object identifier is used for determining a transfer object of the virtual gift;
the virtual gift acquisition module is used for acquiring a three-dimensional virtual gift corresponding to a virtual gift identifier according to a pre-established corresponding relationship between the virtual gift identifier and the three-dimensional virtual gift;
and the virtual gift sending module is used for sending the three-dimensional virtual gift to a second terminal where the transfer object is located according to the transfer object identifier, so that the second terminal displays the three-dimensional virtual gift.
Optionally, the apparatus further comprises:
the model establishing module is used for establishing a three-dimensional scene model for the two-dimensional virtual gift to obtain a three-dimensional virtual gift;
the identification distribution module is used for distributing virtual gift identification for the three-dimensional virtual gift;
and the corresponding relation establishing module is used for establishing the corresponding relation between the virtual gift identification and the three-dimensional virtual gift.
Optionally, the virtual gift sending module is configured to send the three-dimensional virtual gift to a terminal where the user identifier is located when the transfer object identifier is the user identifier; or when the transfer object identifier is a channel identifier, determining a main broadcast user identifier corresponding to the channel identifier according to the corresponding relation between the channel identifier and the main broadcast user identifier, and sending the three-dimensional virtual gift to a terminal where the main broadcast user identifier is located.
Optionally, the apparatus further comprises: an appointed model building module;
the virtual gift acquisition module is further configured to, when the three-dimensional virtual gift transfer instruction includes a plurality of virtual gift identifiers, acquire a three-dimensional virtual gift corresponding to each virtual gift identifier according to the corresponding relationship;
the appointed model establishing module is used for establishing an appointed three-dimensional scene model for the obtained three-dimensional virtual gifts to obtain appointed three-dimensional virtual gifts;
correspondingly, the virtual gift sending module is further configured to send the specified three-dimensional virtual gift to the second terminal according to the transfer object identifier, so that the second terminal displays the specified three-dimensional virtual gift.
Optionally, the apparatus further comprises:
a first processing module for deleting the three-dimensional virtual gift from the virtual gift library of the first terminal;
and the second processing module is used for adding the three-dimensional virtual gift into the virtual gift library of the second terminal.
In a fifth aspect, there is provided a virtual gift display apparatus comprising:
the system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a three-dimensional virtual gift sent by a server, and the three-dimensional virtual gift is obtained by the server according to a corresponding relation between a pre-established virtual gift identifier and the three-dimensional virtual gift and a virtual gift identifier sent by a terminal;
and the display module is used for displaying the three-dimensional virtual gift.
In a sixth aspect, there is provided a virtual gift display device comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a virtual gift identifier and a transfer object identifier corresponding to a preset three-dimensional transfer operation when the preset three-dimensional transfer operation is detected, and the transfer object identifier is used for determining a transfer object of a three-dimensional virtual gift;
the transfer instruction sending module is used for sending a three-dimensional virtual gift transfer instruction to a server, the three-dimensional virtual gift transfer instruction comprises the virtual gift identification and the transfer object identification, the server is used for obtaining a three-dimensional virtual gift corresponding to the virtual gift identification according to a pre-established corresponding relation between the virtual gift identification and the three-dimensional virtual gift, and sending the three-dimensional virtual gift to a second terminal where the transfer object is located, and the second terminal is used for displaying the three-dimensional virtual gift.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
according to the method and the device provided by the embodiment of the invention, the corresponding relation between the virtual gift identification and the three-dimensional virtual gift is pre-established, when the virtual gift transfer instruction is received, the three-dimensional virtual gift corresponding to the virtual gift identification in the virtual gift transfer instruction can be obtained according to the corresponding relation, and is sent to the second terminal where the transfer object of the virtual gift is located, so that the second terminal displays the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, and the interaction between users is enhanced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the invention;
fig. 2 is a flowchart of a virtual gift display method according to an embodiment of the present invention;
fig. 3 is a flowchart of a virtual gift display method according to an embodiment of the present invention;
fig. 4 is a flowchart of a virtual gift display method according to an embodiment of the present invention;
fig. 5 is a flowchart of a virtual gift display method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a display screen according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of a virtual gift display device according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a virtual gift display device according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of a virtual gift display device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an implementation environment provided by an embodiment of the present invention, and referring to fig. 1, the implementation environment includes a first terminal, a server, and a second terminal, where the first terminal is connected to the server through a network, and the second terminal is connected to the server through a network.
The first terminal is used for acquiring a virtual gift identifier and a transfer object identifier corresponding to a preset three-dimensional transfer operation when the preset three-dimensional transfer operation is detected, and sending a three-dimensional virtual gift transfer instruction to the server, wherein the three-dimensional virtual gift transfer instruction comprises the virtual gift identifier and the transfer object identifier. The server is used for receiving the three-dimensional virtual gift transfer instruction, obtaining a three-dimensional virtual gift corresponding to the virtual gift identification according to a pre-established corresponding relation between the virtual gift identification and the three-dimensional virtual gift, and sending the three-dimensional virtual gift to a second terminal where the transfer object is located according to the transfer object identification. The second terminal is used for receiving the three-dimensional virtual gift and displaying the three-dimensional virtual gift.
Fig. 2 is a flowchart of a virtual gift display method according to an embodiment of the present invention. The execution subject of the embodiment of the present invention is a server, and referring to fig. 2, the method includes:
201. receiving a three-dimensional virtual gift transfer instruction sent by a first terminal, wherein the three-dimensional virtual gift transfer instruction comprises a virtual gift identifier and a transfer object identifier, and the transfer object identifier is used for determining a transfer object of the virtual gift.
202. And acquiring the three-dimensional virtual gift corresponding to the virtual gift identification according to the corresponding relationship between the pre-established virtual gift identification and the three-dimensional virtual gift.
203. And sending the three-dimensional virtual gift to a second terminal where the transfer object is located according to the transfer object identifier, so that the second terminal displays the three-dimensional virtual gift.
According to the method provided by the embodiment of the invention, by pre-establishing the corresponding relationship between the virtual gift identification and the three-dimensional virtual gift, when the virtual gift transfer instruction is received, the three-dimensional virtual gift corresponding to the virtual gift identification in the virtual gift transfer instruction can be obtained according to the corresponding relationship and sent to the second terminal where the transfer object of the virtual gift is located, so that the second terminal displays the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, and the interaction between users is enhanced.
Optionally, before the three-dimensional virtual gift corresponding to the virtual gift identifier is obtained according to a pre-established correspondence between the virtual gift identifier and the three-dimensional virtual gift, the method includes:
establishing a three-dimensional scene model for the two-dimensional virtual gift to obtain a three-dimensional virtual gift;
assigning a virtual gift identification to the three-dimensional virtual gift;
and establishing a corresponding relation between the virtual gift identification and the three-dimensional virtual gift.
Optionally, the sending the three-dimensional virtual gift to the second terminal where the transfer object is located according to the transfer object identifier includes:
when the transfer object identifier is a user identifier, sending the three-dimensional virtual gift to a terminal where the user identifier is located; or,
and when the transfer object identifier is a channel identifier, determining a main broadcast user identifier corresponding to the channel identifier according to the corresponding relation between the channel identifier and the main broadcast user identifier, and sending the three-dimensional virtual gift to a terminal where the main broadcast user identifier is located.
Optionally, the method further comprises:
when the three-dimensional virtual gift transfer instruction comprises a plurality of virtual gift identifications, acquiring a three-dimensional virtual gift corresponding to each virtual gift identification according to the corresponding relation;
establishing an appointed three-dimensional scene model for the obtained three-dimensional virtual gifts to obtain appointed three-dimensional virtual gifts;
correspondingly, the method further comprises the following steps:
and sending the specified three-dimensional virtual gift to the second terminal according to the transfer object identifier, so that the second terminal displays the specified three-dimensional virtual gift.
Optionally, the method further comprises:
deleting the three-dimensional virtual gift from the virtual gift library of the first terminal;
adding the three-dimensional virtual gift to the virtual gift library of the second terminal.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 3 is a flowchart of a virtual gift display method according to an embodiment of the present invention. The execution subject of the embodiment of the present invention is a terminal, and referring to fig. 3, the method includes:
301. and receiving the three-dimensional virtual gift sent by the server, wherein the three-dimensional virtual gift is obtained by the server according to the corresponding relation between the pre-established virtual gift identification and the three-dimensional virtual gift and the virtual gift identification sent by the terminal.
302. And displaying the three-dimensional virtual gift.
According to the method provided by the embodiment of the invention, the corresponding relation between the virtual gift identification and the three-dimensional virtual gift is pre-established by the server, and the three-dimensional virtual gift corresponding to the virtual gift identification sent by the terminal can be obtained according to the corresponding relation, so that the local terminal can display the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, and the interaction between users is enhanced.
Fig. 4 is a flowchart of a virtual gift display method according to an embodiment of the present invention. The execution subject of the embodiment of the present invention is a terminal, and referring to fig. 4, the method includes:
401. when the preset three-dimensional transfer operation is detected, a virtual gift identifier and a transfer object identifier corresponding to the preset three-dimensional transfer operation are obtained, and the transfer object identifier is used for determining a transfer object of the three-dimensional virtual gift.
402. And sending a three-dimensional virtual gift transfer instruction to a server, wherein the three-dimensional virtual gift transfer instruction comprises the virtual gift identification and the transfer object identification, the server is used for acquiring the three-dimensional virtual gift corresponding to the virtual gift identification according to the pre-established corresponding relationship between the virtual gift identification and the three-dimensional virtual gift, and sending the three-dimensional virtual gift to a second terminal where the transfer object is located, and the second terminal is used for displaying the three-dimensional virtual gift.
According to the method provided by the embodiment of the invention, when the preset three-dimensional transfer operation is detected, the corresponding virtual gift identification and the transfer object identification are obtained, and the three-dimensional virtual gift instruction is sent to the server, so that the server obtains the corresponding three-dimensional virtual gift according to the pre-established corresponding relation between the virtual gift identification and the three-dimensional virtual gift, and sends the three-dimensional virtual gift to the terminal where the transfer object identification is located, so that the terminal where the transfer object identification is located can display the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, and the interaction among users is enhanced.
Fig. 5 is a flowchart of a virtual gift display method according to an embodiment of the present invention. The interaction subject of the embodiment of the invention is a first terminal, a server and a second terminal, and referring to fig. 5, the method comprises the following steps:
501. and when the first terminal detects the preset three-dimensional transfer operation, acquiring a virtual gift identifier and a transfer object identifier corresponding to the preset three-dimensional transfer operation.
The first terminal and the second terminal related to the embodiment of the present invention may be a mobile phone, a computer, a tablet computer, or other devices, which is not limited in the embodiment of the present invention. The preset three-dimensional transfer operation is used to instruct to transfer a three-dimensional virtual gift, the preset three-dimensional transfer operation corresponds to a virtual gift identifier and a transfer object identifier, the virtual gift identifier is used to determine a three-dimensional virtual gift to be transferred to another terminal by the first terminal, and may be a number, a name, and the like of the three-dimensional virtual gift, the transfer object identifier is used to determine a transfer object of the three-dimensional virtual gift, and may be a certain user identifier, and may also be a certain channel identifier, and the like, further, the user identifier may be a nickname of a user, a user account, a telephone number, and the like, and the channel identifier may be a channel number, a channel name, and the like.
The first terminal can provide a three-dimensional virtual gift transferring option, the preset three-dimensional transferring operation can be triggered by a user clicking the three-dimensional virtual gift transferring option, when the first terminal detects that the user clicks the three-dimensional virtual gift transferring option, a transferring setting interface is displayed and comprises a plurality of virtual gift identifiers, the virtual gift identifiers are used for indicating corresponding three-dimensional virtual gifts, and the first terminal can obtain the virtual gift identifiers and the transferring object identifiers selected by the user on the transferring setting interface. Alternatively, the preset three-dimensional transfer operation may also be triggered by an operation of dragging a certain virtual gift identifier to a certain user identifier by a user to instruct to transfer the three-dimensional virtual gift indicated by the virtual gift identifier to the user indicated by the user identifier, which is not limited in the embodiment of the present invention.
Optionally, the embodiment of the invention can be applied to a scene of running social applications, and the server can be a server of social applications such as micro blogs and WeChats. The server may maintain a user relationship chain of a social application for the first terminal, where the user relationship chain includes multiple user identifiers, when a user wishes to transfer a virtual gift to another user, the preset three-dimensional transfer operation may be triggered in the social application to select a virtual gift identifier to be transferred, the first terminal obtains the virtual gift identifier and obtains the user relationship chain, the user may select one or more user identifiers from the user relationship chain according to an object to which the virtual gift is transferred, and the first terminal obtains a user identifier selected by the user as a transfer object identifier, so that a subsequent server transfers the virtual gift to the user selected by the user of the first terminal according to the transfer object identifier.
Furthermore, the embodiment of the invention can also be applied to a channel scene, the server can provide a plurality of channels, and the terminal can join any channel to interact with other users in the channel. When the first terminal enters a channel, a channel scene interface is displayed, the channel scene interface can comprise a plurality of virtual gift identifiers, and when a user wants to transfer a virtual gift to other users in the channel, the virtual gift identifier to be transferred can be selected.
The channel scene interface may include a plurality of user identifiers, the user identifiers being used to indicate users in channels, the user of the first terminal may select one or more user identifiers according to an object of transferring the virtual gift, and the first terminal may use the user identifier selected by the user as a transfer object identifier. In addition, the channel includes a main user, the main user can distribute multimedia information such as video stream or audio stream in the channel, and other users can watch the multimedia information. The channel scene interface may include an option to transfer a virtual gift to an anchor user, and when the first terminal detects a click operation of a user on the option, the channel identifier may be used as the transfer object identifier, so that the server may subsequently transfer the virtual gift to the anchor user according to the transfer object identifier. Further, when the first terminal acquires the virtual gift identifier, the channel identifier may be used as the transfer object identifier by default, and the transfer object identifier is not limited in the embodiment of the present invention.
It should be noted that, in the embodiment of the present invention, only the process of transferring the three-dimensional virtual gift is taken as an example for description, and actually, the user may also trigger the preset two-dimensional transfer operation to transfer the two-dimensional virtual gift to other users, where a specific process is similar to the process of transferring the three-dimensional virtual gift, and is not described herein again.
Prior to step 501, the server may produce a plurality of virtual gifts to be provided to the terminal, and the produced virtual gifts may include a two-dimensional virtual gift and a three-dimensional virtual gift. The first terminal may establish a virtual gift library, and the user may select a virtual gift from among a plurality of virtual gifts provided by the server for addition to the virtual gift library, and the server is configured to store the virtual gift library of the first terminal. Accordingly, the first terminal may display each virtual gift identification included in the virtual gift library for the user to select the virtual gift to be transferred. Of course, the first terminal may also display the virtual gift identifier that is not included in the virtual gift library, the user may perform a transfer operation (a preset two-dimensional transfer operation or a preset three-dimensional transfer operation) on the virtual gift identifier that is not included in the virtual gift library, and the server first adds the virtual gift to the virtual gift library of the first terminal and then transfers the virtual gift to another user, which is not limited in the embodiment of the present invention.
502. The first terminal sends a three-dimensional virtual gift transfer instruction to the server, wherein the three-dimensional virtual gift transfer instruction comprises the virtual gift identification and the transfer object identification.
503. And when the server receives the three-dimensional virtual gift transfer instruction, acquiring the three-dimensional virtual gift corresponding to the virtual gift identification according to the pre-established corresponding relationship between the virtual gift identification and the three-dimensional virtual gift.
In an embodiment of the present invention, the first terminal sends a three-dimensional virtual gift transfer instruction to the server, where the three-dimensional virtual gift transfer instruction includes the virtual gift identification and the transfer object identification. The server establishes a corresponding relation between the virtual gift identification and the three-dimensional virtual gift in advance, and when the server receives the three-dimensional virtual gift transfer instruction, the three-dimensional virtual gift corresponding to the virtual gift identification can be obtained according to the corresponding relation.
Optionally, before step 503, the method further comprises: the server establishes a three-dimensional scene model for the two-dimensional virtual gift to obtain a three-dimensional virtual gift, distributes a virtual gift identifier for the three-dimensional virtual gift, and establishes a corresponding relation between the virtual gift identifier and the three-dimensional virtual gift.
For each two-dimensional virtual gift, the server may perform three-dimensional scene modeling and animation effect design on the two-dimensional virtual gift in advance, and establish a three-dimensional scene model to obtain the three-dimensional virtual gift. Or, another terminal performs three-dimensional scene modeling and animation effect design on the two-dimensional virtual gift, establishes a three-dimensional scene model, obtains a three-dimensional virtual gift, uploads the three-dimensional virtual gift to the server, and the server stores the three-dimensional virtual gift.
And after the server acquires the three-dimensional virtual gift, distributing a virtual gift identifier for the three-dimensional virtual gift. For the same type of virtual gift, the server may assign a virtual gift identification to the three-dimensional virtual gift based on the virtual gift identification of the two-dimensional virtual gift. Optionally, a dimension field and other fields are set in the virtual gift identification, a dimension field value in the virtual gift identification of the two-dimensional virtual gift is a two-dimensional specified threshold, a dimension field value in the virtual gift identification of the three-dimensional virtual gift is a three-dimensional specified threshold, the two-dimensional specified threshold is different from the three-dimensional specified threshold, and values of the other fields in the virtual gift identification of the two-dimensional virtual gift are the same as those of the virtual gift identification of the three-dimensional virtual gift. For example, the two-dimensional designated threshold value is 2, the three-dimensional designated threshold value is 3, and for the virtual gift "flower", the virtual gift identification of the two-dimensional flower is "200", and the virtual gift identification assigned to the three-dimensional flower may be "300".
In practical applications, a user may select a plurality of virtual gift identifications, the three-dimensional virtual gift transfer instruction may include the plurality of virtual gift identifications, and when the server receives the three-dimensional virtual gift transfer instruction, each virtual gift identification included in the three-dimensional virtual gift transfer instruction may be obtained, and a three-dimensional virtual gift corresponding to each virtual gift identification may be obtained according to the corresponding relationship. The server can send the obtained three-dimensional virtual gifts to the second terminal where the transfer object is located respectively, and the second terminal displays the three-dimensional virtual gifts respectively. In addition, the server may also establish a designated three-dimensional scene model for the acquired multiple three-dimensional virtual gifts to obtain a designated three-dimensional virtual gift, and then the server may send the designated three-dimensional virtual gift to the second terminal, and the designated three-dimensional virtual gift is displayed by the second terminal. The appointed three-dimensional virtual gift comprises a plurality of three-dimensional virtual gifts selected by a user, and the three-dimensional virtual gifts are arranged in the same three-dimensional scene model, so that when the appointed three-dimensional virtual gift is displayed by a subsequent second terminal, the three-dimensional virtual gifts can show the effect of appearing in the same three-dimensional scene, and the display picture is more vivid and real.
Referring to fig. 6 (taking a two-dimensional image as an example), the virtual gifts selected by the user include trees, grassland, white cloud, and mountains, and the specified three-dimensional scene model is built according to the sequence of the white cloud, the mountains, the trees, and the grassland from top to bottom to obtain the specified three-dimensional virtual gift, and when the specified three-dimensional virtual gift is displayed at the second terminal, the image shown in fig. 6 can be presented.
Optionally, the server may select a plurality of three-dimensional virtual gifts in advance, establish a three-dimensional scene model according to the plurality of three-dimensional virtual gifts, where the three-dimensional scene model includes the plurality of three-dimensional virtual gifts, establish a corresponding relationship between a plurality of virtual gift identifiers and the established three-dimensional scene model, and when the server receives a three-dimensional virtual gift transfer instruction including the plurality of virtual gift identifiers, directly obtain the three-dimensional scene model corresponding to the plurality of virtual gift identifiers according to the pre-established corresponding relationship, without starting to establish the three-dimensional scene model when the plurality of virtual gift identifiers are received, thereby saving time for transferring the virtual gifts.
Further optionally, when the three-dimensional virtual gift transfer instruction is received by the server, the number of virtual gift identifiers included in the three-dimensional virtual gift transfer instruction is obtained, when the three-dimensional virtual gift transfer instruction only includes one virtual gift identifier, the server obtains a corresponding two-dimensional virtual gift according to the virtual gift identifier, sends the two-dimensional virtual gift to the second terminal, and displays the two-dimensional virtual gift by the second terminal, and when the three-dimensional virtual gift transfer instruction includes a plurality of virtual gift identifiers, the server obtains a corresponding three-dimensional scene model according to a corresponding relationship between the plurality of virtual gift identifiers and the three-dimensional scene model, sends the three-dimensional scene model to the second terminal as the three-dimensional virtual gift to be transferred, and displays the three-dimensional virtual gift by the second terminal.
In addition, when the server acquires a three-dimensional virtual gift, a resource file can be generated according to the three-dimensional virtual gift, the three-dimensional virtual gift is stored in a file form, a corresponding relation between a virtual gift identifier and the resource file is established, when the server receives a three-dimensional virtual gift transfer instruction, the resource file corresponding to the three-dimensional virtual gift transfer instruction is acquired according to the corresponding relation and sent to a second terminal where the transfer object is located, and then the second terminal can analyze the resource file to acquire the three-dimensional virtual gift and display the three-dimensional virtual gift.
The resource file not only includes the three-dimensional virtual gift, but also includes animation effect data, a display time range and the like of the three-dimensional virtual gift. And if the resource file includes a display time range, the second terminal may display the three-dimensional virtual gift according to the display time range when receiving the resource file.
504. And the server sends the three-dimensional virtual gift to a second terminal where the transfer object is located according to the transfer object identifier.
Based on the example of step 501, the transition object id may be a user id or a channel id. When the transfer object identifier is a user identifier, indicating that the user of the first terminal wishes to transfer the three-dimensional virtual gift to the user indicated by the user identifier, the server sends the three-dimensional virtual gift to the terminal where the user identifier is located. And when the transfer object identifier is a channel identifier, indicating that the user of the first terminal wishes to transfer the three-dimensional virtual gift to the anchor user of the channel, the server determines the anchor user identifier corresponding to the channel identifier according to the corresponding relationship between the channel identifier and the anchor user identifier, and sends the three-dimensional virtual gift to the terminal where the anchor user identifier is located. Wherein, the corresponding relation between the channel identification and the anchor user identification can be determined by the server according to the current anchor user of each channel.
In addition, when the server receives the three-dimensional virtual gift transferring instruction, the server also deletes the three-dimensional virtual gift from the virtual gift library of the first terminal, and adds the three-dimensional virtual gift to the virtual gift library of the second terminal, that is, transfers the three-dimensional virtual gift to the user of the second terminal.
505. And when the second terminal receives the three-dimensional virtual gift, displaying the three-dimensional virtual gift.
Optionally, the second terminal pops up a notification window to prompt a user of the second terminal to receive a gift, and when a click operation on the notification window is detected, the three-dimensional virtual gift is displayed in the current scene interface. In addition, the second terminal may further display a channel scene interface in which the three-dimensional virtual gift is presented when the three-dimensional virtual gift is received. Further, the server may send the three-dimensional virtual gift to a terminal where each user in the channel is located, so that each terminal in the channel may display the three-dimensional virtual gift, and each user in the channel may know the interaction between the first terminal user and the second terminal user and feel the enthusiasm of the first terminal user.
In practical application, the second terminal can adopt a holographic projection technology to display the three-dimensional virtual gift, or adopt an immersive mode to display the three-dimensional virtual gift, so that the three-dimensional virtual gift is integrated with the current scene interface, and a more vivid and real display effect is presented. For example, the second terminal may present the current scene interface with the three-dimensional virtual gift as a background of the current scene interface, so that the current scene interface presents a three-dimensional display effect. The second terminal may also use other display technologies to display the three-dimensional virtual gift, which is not limited in this embodiment of the present invention.
According to the method provided by the embodiment of the invention, by pre-establishing the corresponding relationship between the virtual gift identification and the three-dimensional virtual gift, when the virtual gift transfer instruction is received, the three-dimensional virtual gift corresponding to the virtual gift identification in the virtual gift transfer instruction can be obtained according to the corresponding relationship and sent to the second terminal where the transfer object of the virtual gift is located, so that the second terminal displays the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, the interaction among users is enhanced, and the display effect is improved.
Fig. 7 is a schematic structural diagram of a virtual gift display device according to an embodiment of the present invention, referring to fig. 7, the device includes:
a three-dimensional transfer instruction receiving module 701, configured to receive a three-dimensional virtual gift transfer instruction sent by a first terminal, where the three-dimensional virtual gift transfer instruction includes a virtual gift identifier and a transfer object identifier, and the transfer object identifier is used to determine a transfer object of a virtual gift;
a virtual gift obtaining module 702, configured to obtain a three-dimensional virtual gift corresponding to a virtual gift identifier according to a correspondence between the virtual gift identifier and the three-dimensional virtual gift that is established in advance;
the virtual gift sending module 703 is configured to send the three-dimensional virtual gift to the second terminal where the transfer object is located according to the transfer object identifier, so that the second terminal displays the three-dimensional virtual gift.
According to the device provided by the embodiment of the invention, by pre-establishing the corresponding relation between the virtual gift identification and the three-dimensional virtual gift, when the virtual gift transfer instruction is received, the three-dimensional virtual gift corresponding to the virtual gift identification in the virtual gift transfer instruction can be obtained according to the corresponding relation and sent to the second terminal where the transfer object of the virtual gift is located, so that the second terminal displays the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, and the interaction between users is enhanced.
Optionally, the apparatus further comprises:
the model establishing module is used for establishing a three-dimensional scene model for the two-dimensional virtual gift to obtain a three-dimensional virtual gift;
the identification distribution module is used for distributing virtual gift identification for the three-dimensional virtual gift;
and the corresponding relation establishing module is used for establishing the corresponding relation between the virtual gift identification and the three-dimensional virtual gift.
Optionally, the virtual gift sending module 703 is configured to send the three-dimensional virtual gift to a terminal where the user identifier is located when the transfer object identifier is the user identifier; or when the transfer object identifier is a channel identifier, determining the anchor user identifier corresponding to the channel identifier according to the corresponding relationship between the channel identifier and the anchor user identifier, and sending the three-dimensional virtual gift to the terminal where the anchor user identifier is located.
Optionally, the apparatus further comprises: an appointed model building module;
the virtual gift obtaining module 702 is further configured to, when the three-dimensional virtual gift transferring instruction includes a plurality of virtual gift identifiers, obtain a three-dimensional virtual gift corresponding to each virtual gift identifier according to the corresponding relationship;
the appointed model establishing module is used for establishing an appointed three-dimensional scene model for the obtained three-dimensional virtual gifts to obtain the appointed three-dimensional virtual gifts;
correspondingly, the virtual gift sending module 703 is further configured to send the specified three-dimensional virtual gift to the second terminal according to the transfer object identifier, so that the second terminal displays the specified three-dimensional virtual gift.
Optionally, the apparatus further comprises:
a first processing module for deleting the three-dimensional virtual gift from the virtual gift library of the first terminal;
and the second processing module is used for adding the three-dimensional virtual gift into the virtual gift library of the second terminal.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
Fig. 8 is a schematic structural diagram of a virtual gift display device according to an embodiment of the present invention, and referring to fig. 8, the device includes:
a receiving module 801, configured to receive a three-dimensional virtual gift sent by a server, where the three-dimensional virtual gift is obtained by the server according to a correspondence between a pre-established virtual gift identifier and the three-dimensional virtual gift, and a virtual gift identifier sent by a terminal;
a display module 802 for displaying the three-dimensional virtual gift.
According to the device provided by the embodiment of the invention, the corresponding relation between the virtual gift identification and the three-dimensional virtual gift is pre-established by the server, and the three-dimensional virtual gift corresponding to the virtual gift identification sent by the terminal can be obtained according to the corresponding relation, so that the local terminal can display the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, and the interaction between users is enhanced.
Fig. 9 is a schematic structural diagram of a virtual gift display device according to an embodiment of the present invention, referring to fig. 9, the device includes:
an obtaining module 901, configured to, when a preset three-dimensional transfer operation is detected, obtain a virtual gift identifier and a transfer object identifier corresponding to the preset three-dimensional transfer operation, where the transfer object identifier is used to determine a transfer object of a three-dimensional virtual gift;
a transfer instruction sending module 902, configured to send a three-dimensional virtual gift transfer instruction to a server, where the three-dimensional virtual gift transfer instruction includes the virtual gift identifier and the transfer object identifier, and the server is configured to obtain, according to a pre-established correspondence between the virtual gift identifier and the three-dimensional virtual gift, a three-dimensional virtual gift corresponding to the virtual gift identifier, and send the three-dimensional virtual gift to a second terminal where the transfer object is located, where the second terminal is configured to display the three-dimensional virtual gift.
According to the device provided by the embodiment of the invention, when the preset three-dimensional transfer operation is detected, the corresponding virtual gift identification and the transfer object identification are obtained, and the three-dimensional virtual gift instruction is sent to the server, so that the server obtains the corresponding three-dimensional virtual gift according to the pre-established corresponding relation between the virtual gift identification and the three-dimensional virtual gift, and sends the three-dimensional virtual gift to the terminal where the transfer object identification is located, the terminal where the transfer object identification is located can display the three-dimensional virtual gift, the three-dimensional display of the virtual gift is realized, diversified display modes are provided, and the interaction among users is enhanced.
It should be noted that: the virtual gift-displaying device provided in the above embodiment is illustrated by only dividing the functional modules when displaying the virtual gift, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structures of the server and the terminal are divided into different functional modules to complete all or part of the functions described above. In addition, the virtual gift display device provided by the above embodiment and the virtual gift display method embodiment belong to the same concept, and the specific implementation process is described in the method embodiment, and will not be described again.
Fig. 10 is a schematic structural diagram of a server 1000 according to an embodiment of the present invention. Referring to fig. 10, server 1000 includes a processing component 1022 that further includes one or more processors and memory resources, represented by memory 1032, for storing instructions, such as application programs, that are executable by processing component 1022. The application programs stored in memory 1032 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1022 is configured to execute instructions to perform the virtual gift presentation method described above.
The server 1000 may also include a power component 1026 configured to perform power management for the server 1000, a wired or wireless network interface 1050 configured to connect the server 1000 to a network, and an input/output (I/O) interface 1058. Server 1000 may operate based on an operating system stored in memory 1032, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Fig. 11 is a schematic structural diagram of a terminal according to an embodiment of the present invention, please refer to fig. 11, which shows an illustrative terminal architecture of a terminal 1100 used in an embodiment of the present invention. The terminal 1100 is a conventional desktop computer or laptop notebook, and the terminal 1100 includes a Central Processing Unit (CPU)1101, a system memory 1104 including a Random Access Memory (RAM)1102 and a Read Only Memory (ROM)1103, and a system bus 1105 connecting the system memory 1104 and the central processing unit 1101. The terminal 1100 also includes a basic input/output system (I/O system) 1106 and a mass storage device 1107 for storing an operating system, application programs and other program modules, which facilitate communication of information between the various devices within the terminal.
The basic input/output system 1106 includes a display 1108 for displaying information and an input device 1109 such as a mouse, keyboard, etc. for user input of information. Wherein the display 1108 and input device 1109 are connected to the central processing unit 1101 through an input output controller 1110 connected to the system bus 1105. The basic input/output system 1106 may also include an input/output controller 1110 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, input-output controller 1110 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 1107 is connected to the central processing unit 1101 through a mass storage controller (not shown) that is connected to the system bus 1105. The mass storage device 1107 and its associated terminal-readable media provide non-volatile storage for the terminal 1100. That is, the mass storage device 1107 may include a terminal-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing.
The computer 1100 may also operate as a remote computer connected to a network, such as the internet, in accordance with various embodiments of the invention. That is, the computer 1100 may connect to the network 1112 through the network interface unit 1111 that is coupled to the system bus 1105, or may connect to other types of networks or remote computer systems (not shown) using the network interface unit 1111.
Fig. 12 is a schematic structural diagram of another terminal according to an embodiment of the present invention, where the terminal may be used to implement the steps executed by the first terminal or the second terminal in the virtual gift display method provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the terminal 1200 may include RF (Radio Frequency) circuitry 110, a memory 112 including one or more computer-readable storage media, an input unit 130, a display unit 140, a WiFi (wireless fidelity) module 170, a processor 180 including one or more processing cores, and the like. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 12 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information from a base station and then sends the received downlink information to the one or more processors 180 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 110 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 112 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 112. The memory 112 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 1200, and the like. Further, the memory 112 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 112 may also include a memory controller to provide the processor 180 and the input unit 130 access to the memory 112.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal 1200, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 131 may cover the display panel 141, and when a touch operation is detected on or near the touch-sensitive surface 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although in FIG. 12, touch-sensitive surface 131 and display panel 141 are shown as two separate components to implement input and output functions, in some embodiments, touch-sensitive surface 131 may be integrated with display panel 141 to implement input and output functions.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 1200 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the WiFi module 170, and provide the user with wireless broadband internet access. Although fig. 12 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 1200, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the terminal 1200, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 1200 and processes data by operating or executing software programs and/or modules stored in the memory 112 and calling data stored in the memory 112, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; preferably, the processor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
Although not shown, the terminal 1200 may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, the terminal device further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for performing the operations performed by the first terminal and the second terminal in the above embodiments.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium may be a computer-readable storage medium contained in the memory in the foregoing embodiment; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium stores one or more programs for execution by one or more processors to implement a method of virtual gift presentation, the method comprising:
receiving a three-dimensional virtual gift sent by a server, wherein the three-dimensional virtual gift is obtained by the server according to a corresponding relation between a pre-established virtual gift identifier and the three-dimensional virtual gift and a virtual gift identifier sent by a terminal;
and displaying the three-dimensional virtual gift.
Another computer-readable storage medium is provided in an embodiment of the present invention, and may be a computer-readable storage medium contained in the memory in the foregoing embodiment; or it may be a separate computer-readable storage medium not incorporated in the terminal. The computer readable storage medium stores one or more programs for execution by one or more processors to implement a method of virtual gift presentation, the method comprising:
when a preset three-dimensional transfer operation is detected, acquiring a virtual gift identifier and a transfer object identifier corresponding to the preset three-dimensional transfer operation, wherein the transfer object identifier is used for determining a transfer object of the three-dimensional virtual gift;
and sending a three-dimensional virtual gift transfer instruction to a server, wherein the three-dimensional virtual gift transfer instruction comprises the virtual gift identification and the transfer object identification, the server is used for acquiring the three-dimensional virtual gift corresponding to the virtual gift identification according to the pre-established corresponding relationship between the virtual gift identification and the three-dimensional virtual gift, and sending the three-dimensional virtual gift to a second terminal where the transfer object is located, and the second terminal is used for displaying the three-dimensional virtual gift.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (14)

1. A method of displaying a virtual gift, the method comprising:
receiving a three-dimensional virtual gift transfer instruction sent by a first terminal, wherein the three-dimensional virtual gift transfer instruction comprises a virtual gift identifier and a transfer object identifier, and the transfer object identifier is used for determining a transfer object of a virtual gift;
acquiring a three-dimensional virtual gift corresponding to a virtual gift identifier according to a pre-established corresponding relationship between the virtual gift identifier and the three-dimensional virtual gift;
and sending the three-dimensional virtual gift to a second terminal where the transfer object is located according to the transfer object identifier, so that the second terminal displays the three-dimensional virtual gift.
2. The method of claim 1, wherein before the three-dimensional virtual gift corresponding to the virtual gift identifier is obtained according to the pre-established correspondence between the virtual gift identifier and the three-dimensional virtual gift, the method comprises:
establishing a three-dimensional scene model for the two-dimensional virtual gift to obtain a three-dimensional virtual gift;
assigning a virtual gift identification to the three-dimensional virtual gift;
and establishing a corresponding relation between the virtual gift identification and the three-dimensional virtual gift.
3. The method according to claim 1, wherein the sending the three-dimensional virtual gift to the second terminal where the transfer object is located according to the transfer object identifier comprises:
when the transfer object identifier is a user identifier, sending the three-dimensional virtual gift to a terminal where the user identifier is located; or,
and when the transfer object identifier is a channel identifier, determining a main broadcast user identifier corresponding to the channel identifier according to the corresponding relation between the channel identifier and the main broadcast user identifier, and sending the three-dimensional virtual gift to a terminal where the main broadcast user identifier is located.
4. The method of claim 1, further comprising:
when the three-dimensional virtual gift transfer instruction comprises a plurality of virtual gift identifications, acquiring a three-dimensional virtual gift corresponding to each virtual gift identification according to the corresponding relation;
establishing an appointed three-dimensional scene model for the obtained three-dimensional virtual gifts to obtain appointed three-dimensional virtual gifts;
correspondingly, the method further comprises the following steps:
and sending the appointed three-dimensional virtual gift to the second terminal according to the transfer object identifier, so that the second terminal displays the appointed three-dimensional virtual gift.
5. The method of claim 1, further comprising:
deleting the three-dimensional virtual gift from a virtual gift library of the first terminal;
adding the three-dimensional virtual gift to a virtual gift library of the second terminal.
6. A method of displaying a virtual gift, the method comprising:
receiving a three-dimensional virtual gift sent by a server, wherein the three-dimensional virtual gift is obtained by the server according to a corresponding relation between a pre-established virtual gift identifier and the three-dimensional virtual gift and a virtual gift identifier sent by a terminal;
and displaying the three-dimensional virtual gift.
7. A method of displaying a virtual gift, the method comprising:
when a preset three-dimensional transfer operation is detected, acquiring a virtual gift identifier and a transfer object identifier corresponding to the preset three-dimensional transfer operation, wherein the transfer object identifier is used for determining a transfer object of the three-dimensional virtual gift;
and sending a three-dimensional virtual gift transfer instruction to a server, wherein the three-dimensional virtual gift transfer instruction comprises the virtual gift identification and the transfer object identification, the server is used for acquiring the three-dimensional virtual gift corresponding to the virtual gift identification according to the pre-established corresponding relationship between the virtual gift identification and the three-dimensional virtual gift, and sending the three-dimensional virtual gift to a second terminal where the transfer object is located, and the second terminal is used for displaying the three-dimensional virtual gift.
8. A virtual gift display device, said device comprising:
the three-dimensional transfer instruction receiving module is used for receiving a three-dimensional virtual gift transfer instruction sent by a first terminal, wherein the three-dimensional virtual gift transfer instruction comprises a virtual gift identifier and a transfer object identifier, and the transfer object identifier is used for determining a transfer object of the virtual gift;
the virtual gift acquisition module is used for acquiring a three-dimensional virtual gift corresponding to a virtual gift identifier according to a pre-established corresponding relationship between the virtual gift identifier and the three-dimensional virtual gift;
and the virtual gift sending module is used for sending the three-dimensional virtual gift to a second terminal where the transfer object is located according to the transfer object identifier, so that the second terminal displays the three-dimensional virtual gift.
9. The apparatus of claim 8, further comprising:
the model establishing module is used for establishing a three-dimensional scene model for the two-dimensional virtual gift to obtain a three-dimensional virtual gift;
the identification distribution module is used for distributing virtual gift identification for the three-dimensional virtual gift;
and the corresponding relation establishing module is used for establishing the corresponding relation between the virtual gift identification and the three-dimensional virtual gift.
10. The apparatus according to claim 8, wherein the virtual gift sending module is configured to send the three-dimensional virtual gift to a terminal where the user identifier is located when the transfer object identifier is the user identifier; or when the transfer object identifier is a channel identifier, determining a main broadcast user identifier corresponding to the channel identifier according to the corresponding relation between the channel identifier and the main broadcast user identifier, and sending the three-dimensional virtual gift to a terminal where the main broadcast user identifier is located.
11. The apparatus of claim 8, further comprising: an appointed model building module;
the virtual gift acquisition module is further configured to, when the three-dimensional virtual gift transfer instruction includes a plurality of virtual gift identifiers, acquire a three-dimensional virtual gift corresponding to each virtual gift identifier according to the corresponding relationship;
the appointed model establishing module is used for establishing an appointed three-dimensional scene model for the obtained three-dimensional virtual gifts to obtain appointed three-dimensional virtual gifts;
correspondingly, the virtual gift sending module is further configured to send the specified three-dimensional virtual gift to the second terminal according to the transfer object identifier, so that the second terminal displays the specified three-dimensional virtual gift.
12. The apparatus of claim 8, further comprising:
a first processing module for deleting the three-dimensional virtual gift from the virtual gift library of the first terminal;
and the second processing module is used for adding the three-dimensional virtual gift into the virtual gift library of the second terminal.
13. A virtual gift display device, said device comprising:
the system comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a three-dimensional virtual gift sent by a server, and the three-dimensional virtual gift is obtained by the server according to a corresponding relation between a pre-established virtual gift identifier and the three-dimensional virtual gift and a virtual gift identifier sent by a terminal;
and the display module is used for displaying the three-dimensional virtual gift.
14. A virtual gift display device, said device comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a virtual gift identifier and a transfer object identifier corresponding to a preset three-dimensional transfer operation when the preset three-dimensional transfer operation is detected, and the transfer object identifier is used for determining a transfer object of a three-dimensional virtual gift;
the transfer instruction sending module is used for sending a three-dimensional virtual gift transfer instruction to a server, the three-dimensional virtual gift transfer instruction comprises the virtual gift identification and the transfer object identification, the server is used for obtaining a three-dimensional virtual gift corresponding to the virtual gift identification according to a pre-established corresponding relation between the virtual gift identification and the three-dimensional virtual gift, and sending the three-dimensional virtual gift to a second terminal where the transfer object is located, and the second terminal is used for displaying the three-dimensional virtual gift.
CN201410849797.2A 2014-12-30 2014-12-30 Virtual gift display method and device Pending CN104615421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410849797.2A CN104615421A (en) 2014-12-30 2014-12-30 Virtual gift display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410849797.2A CN104615421A (en) 2014-12-30 2014-12-30 Virtual gift display method and device

Publications (1)

Publication Number Publication Date
CN104615421A true CN104615421A (en) 2015-05-13

Family

ID=53149883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410849797.2A Pending CN104615421A (en) 2014-12-30 2014-12-30 Virtual gift display method and device

Country Status (1)

Country Link
CN (1) CN104615421A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516784A (en) * 2016-01-29 2016-04-20 广州酷狗计算机科技有限公司 Virtual good display method and device
CN105959127A (en) * 2016-06-28 2016-09-21 武汉斗鱼网络科技有限公司 Mobile terminal virtual gift effect showing method and device
CN106231397A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform main broadcaster's end method for changing scenes and device, Zhu Boduan
CN106231350A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform method for changing scenes and device thereof
CN106231349A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform server method for changing scenes and device, server
CN106231368A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform stage property rendering method and device, client
CN106231411A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 The switching of main broadcaster's class interaction platform client scene, loading method and device, client
WO2017041557A1 (en) * 2015-09-08 2017-03-16 腾讯科技(深圳)有限公司 Display control method and apparatus
CN108255304A (en) * 2018-01-26 2018-07-06 腾讯科技(深圳)有限公司 Video data handling procedure, device and storage medium based on augmented reality
US10332317B2 (en) 2016-10-25 2019-06-25 Microsoft Technology Licensing, Llc Virtual reality and cross-device experiences

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332570A1 (en) * 2009-06-30 2010-12-30 Verizon Patent And Licensing Inc. Methods and systems for automatically customizing an interaction experience of a user with a media content application
CN102598674A (en) * 2009-10-23 2012-07-18 高通股份有限公司 Depth map generation techniques for conversion of 2d video data to 3d video data
CN102655633A (en) * 2012-04-20 2012-09-05 华为技术有限公司 Method for sending blessing information and increment platform
CN102708433A (en) * 2011-03-18 2012-10-03 微软公司 Virtual closet for storing and accessing virtual representations of items
CN102801647A (en) * 2012-07-25 2012-11-28 上海量明科技发展有限公司 Realizing method of actual gift in instant communication, client end and system
CN102939763A (en) * 2010-06-14 2013-02-20 高通股份有限公司 Calculating disparity for three-dimensional images
CN103368824A (en) * 2013-04-08 2013-10-23 广州华多网络科技有限公司 Virtual item transmission method and device, and virtual studio control method and device
CN103414630A (en) * 2013-08-28 2013-11-27 腾讯科技(深圳)有限公司 Network interactive method and relative device and communication system
CN103414627A (en) * 2013-04-10 2013-11-27 广州华多网络科技有限公司 Virtual gift display method and system
CN103634681A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Method, device, client end, server and system for live broadcasting interaction
US20140344286A1 (en) * 2013-05-17 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method and apparatus for displaying webcast roomss
CN104243950A (en) * 2013-06-06 2014-12-24 索尼公司 Method and apparatus for real-time conversion of 2-dimensional content to 3-dimensional content

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100332570A1 (en) * 2009-06-30 2010-12-30 Verizon Patent And Licensing Inc. Methods and systems for automatically customizing an interaction experience of a user with a media content application
CN102598674A (en) * 2009-10-23 2012-07-18 高通股份有限公司 Depth map generation techniques for conversion of 2d video data to 3d video data
CN102939763A (en) * 2010-06-14 2013-02-20 高通股份有限公司 Calculating disparity for three-dimensional images
CN102708433A (en) * 2011-03-18 2012-10-03 微软公司 Virtual closet for storing and accessing virtual representations of items
CN102655633A (en) * 2012-04-20 2012-09-05 华为技术有限公司 Method for sending blessing information and increment platform
CN102801647A (en) * 2012-07-25 2012-11-28 上海量明科技发展有限公司 Realizing method of actual gift in instant communication, client end and system
CN103368824A (en) * 2013-04-08 2013-10-23 广州华多网络科技有限公司 Virtual item transmission method and device, and virtual studio control method and device
CN103414627A (en) * 2013-04-10 2013-11-27 广州华多网络科技有限公司 Virtual gift display method and system
US20140344286A1 (en) * 2013-05-17 2014-11-20 Tencent Technology (Shenzhen) Company Limited Method and apparatus for displaying webcast roomss
CN104243950A (en) * 2013-06-06 2014-12-24 索尼公司 Method and apparatus for real-time conversion of 2-dimensional content to 3-dimensional content
CN103414630A (en) * 2013-08-28 2013-11-27 腾讯科技(深圳)有限公司 Network interactive method and relative device and communication system
CN103634681A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Method, device, client end, server and system for live broadcasting interaction

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱仁成,孙爱芳编著: "《网页动画制作先锋-LiveMotion》", 31 May 2001, 西安电子科技大学出版社 *
许佳,王坤茜主编: "《多元•本土•国际 2011年全国高等院校工业设计教育研讨会暨国际学术论坛论文选编》", 30 November 2011, 北京理工大学出版社 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017041557A1 (en) * 2015-09-08 2017-03-16 腾讯科技(深圳)有限公司 Display control method and apparatus
US10271013B2 (en) 2015-09-08 2019-04-23 Tencent Technology (Shenzhen) Company Limited Display control method and apparatus
CN106231350B (en) * 2015-12-30 2019-03-26 深圳超多维科技有限公司 Main broadcaster's class interaction platform method for changing scenes and its device
CN106231397B (en) * 2015-12-30 2019-03-26 深圳超多维科技有限公司 Main broadcaster's class interaction platform main broadcaster end method for changing scenes and its device, Zhu Boduan
CN106231349A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform server method for changing scenes and device, server
CN106231368A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform stage property rendering method and device, client
CN106231411A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 The switching of main broadcaster's class interaction platform client scene, loading method and device, client
CN106231397A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform main broadcaster's end method for changing scenes and device, Zhu Boduan
CN106231349B8 (en) * 2015-12-30 2019-08-16 深圳超多维科技有限公司 Main broadcaster's class interaction platform server method for changing scenes and its device, server
CN106231350A (en) * 2015-12-30 2016-12-14 深圳超多维科技有限公司 Main broadcaster's class interaction platform method for changing scenes and device thereof
CN106231368B (en) * 2015-12-30 2019-03-26 深圳超多维科技有限公司 Main broadcaster's class interaction platform stage property rendering method and its device, client
CN106231349B (en) * 2015-12-30 2019-03-26 深圳超多维科技有限公司 Main broadcaster's class interaction platform server method for changing scenes and its device, server
CN106231411B (en) * 2015-12-30 2019-05-21 深圳超多维科技有限公司 Main broadcaster's class interaction platform client scene switching, loading method and device, client
CN105516784A (en) * 2016-01-29 2016-04-20 广州酷狗计算机科技有限公司 Virtual good display method and device
CN105959127A (en) * 2016-06-28 2016-09-21 武汉斗鱼网络科技有限公司 Mobile terminal virtual gift effect showing method and device
US10332317B2 (en) 2016-10-25 2019-06-25 Microsoft Technology Licensing, Llc Virtual reality and cross-device experiences
CN108255304A (en) * 2018-01-26 2018-07-06 腾讯科技(深圳)有限公司 Video data handling procedure, device and storage medium based on augmented reality
CN108255304B (en) * 2018-01-26 2022-10-04 腾讯科技(深圳)有限公司 Video data processing method and device based on augmented reality and storage medium

Similar Documents

Publication Publication Date Title
CN104615421A (en) Virtual gift display method and device
US10636221B2 (en) Interaction method between user terminals, terminal, server, system, and storage medium
US11025963B2 (en) Data processing method, apparatus, and system for live streaming page
CN109408223B (en) Resource allocation method, device, terminal and storage medium
US10341716B2 (en) Live interaction system, information sending method, information receiving method and apparatus
CN111913628B (en) Sharing method and device and electronic equipment
CN105554522B (en) Method, server and the terminal of audio are played in group
CN110035004B (en) User name card sharing method, friend adding method and related device
CN107333162B (en) Method and device for playing live video
KR102249197B1 (en) User terminal apparatus, communication system and control method thereof
WO2020156199A1 (en) Application login method and device, terminal and storage medium
CN106254910B (en) Method and device for recording image
WO2015058623A1 (en) Multimedia data sharing method and system, and electronic device
CN114816208A (en) Touch control method and device
CN110740346B (en) Video data processing method, device, server, terminal and storage medium
CN113504859A (en) Transmission method and device
CN110178111B (en) Image processing method and device for terminal
CN106330681B (en) Method, system and related equipment for sharing film watching information
CN111382039A (en) Method, device, electronic equipment and storage medium for reporting user behavior event
KR102263977B1 (en) Methods, devices, and systems for performing information provision
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN115225966A (en) Application starting method and device, terminal equipment and storage medium
CN113993164A (en) File transmission method and file transmission device
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN113268210A (en) Screen projection method, equipment and 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513