CN109728918B - Virtual article transmission method, virtual article reception method, device, and storage medium - Google Patents

Virtual article transmission method, virtual article reception method, device, and storage medium Download PDF

Info

Publication number
CN109728918B
CN109728918B CN201711024801.1A CN201711024801A CN109728918B CN 109728918 B CN109728918 B CN 109728918B CN 201711024801 A CN201711024801 A CN 201711024801A CN 109728918 B CN109728918 B CN 109728918B
Authority
CN
China
Prior art keywords
virtual article
sending
virtual
user
message
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
Application number
CN201711024801.1A
Other languages
Chinese (zh)
Other versions
CN109728918A (en
Inventor
何芬
符德恩
吴俊�
汤标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711024801.1A priority Critical patent/CN109728918B/en
Publication of CN109728918A publication Critical patent/CN109728918A/en
Application granted granted Critical
Publication of CN109728918B publication Critical patent/CN109728918B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a virtual article sending method, a virtual article receiving method, a device and a storage medium, and belongs to the technical field of internet. The method comprises the following steps: when a virtual article sending request is received, generating a virtual article release message, and sending the virtual article release message to users in the group, wherein the virtual article sending request comprises a virtual article identifier and a virtual article sending condition; receiving a virtual article acquisition request, wherein the virtual article acquisition request comprises operation information and a virtual article identifier, and the operation information is information which is acquired by a second terminal and is related to a virtual article sending condition; and when the operation information is determined to accord with the virtual article sending condition, sending the virtual article to a second user. The method and the device do not depend on the receiving sequence of the virtual article obtaining request, and the virtual article is sent to the second user by setting the virtual article sending condition when the operation information of the second user accords with the virtual article sending condition, so that the sending mode of the virtual article is enriched.

Description

Virtual article transmission method, virtual article reception method, device, and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a virtual article sending method, a virtual article receiving method, a virtual article sending device, a virtual article receiving device, and a storage medium.
Background
With the development of internet technology, social applications gradually become a main tool for user communication. Based on a group creating function of the social application, multi-user communication can be realized by creating a group; based on the virtual article sending function of the social application, the interactivity and the interestingness of the users in the group can be improved by sending the virtual articles to other users in the group.
The virtual article sending process in the related art is as follows: a first terminal logging in a first user account displays virtual articles on a group communication interface, and sends a virtual article sending request to a social application server when the selection operation of any virtual article is detected, wherein the virtual article sending request comprises the first user account, a virtual article identifier, a group identifier and the like; the social application server generates a virtual article publishing message according to the virtual article sending request, and then sends the virtual article publishing message to the first user and the at least one second user according to the group identifier; when receiving a virtual article release message, a second terminal logging in each second user account displays the virtual article release message, and when detecting a click operation on the virtual article release message, sends a virtual article acquisition request to a server, wherein the virtual article acquisition request comprises the second user account, a group identifier and a virtual article identifier; and the social application server sends the virtual articles to a first second user sending the virtual article acquisition request in the group according to the receiving sequence of the virtual article acquisition requests.
However, in the related art, the virtual goods are transmitted only according to the receiving order of the virtual goods acquisition requests, and thus the transmission manner is single.
Disclosure of Invention
In order to solve the problems of the related art, embodiments of the present invention provide a virtual article sending method, a virtual article receiving method, an apparatus, and a storage medium. The technical scheme is as follows:
in a first aspect, a virtual article sending method is provided, where the method includes:
receiving a virtual article sending request, wherein the virtual article sending request is sent by a first terminal logging in a first user account, and comprises the first user account, a group identifier, a virtual article identifier and a virtual article sending condition;
generating a virtual article release message according to the virtual article sending request, and sending the virtual article release message to a first user and at least one second user according to the group identifier;
receiving a virtual article acquisition request, wherein the virtual article acquisition request is sent by a second terminal which logs in any second user account when detecting that the virtual article release message is selected and operation information is acquired, the virtual article acquisition request comprises the second user account, the operation information and the virtual article identifier, and the operation information is information which is acquired by the second terminal and is related to the virtual article sending condition;
and when the operation information is determined to meet the virtual article sending condition, sending the virtual article to the second user.
In a second aspect, a virtual article sending method is provided, and the method includes:
displaying at least one virtual item on the group communication interface;
when the selection operation of any virtual article is detected, displaying a virtual article sending interface;
acquiring a virtual article sending condition input on the virtual article sending interface;
sending a virtual article sending request to a server, wherein the virtual article sending request comprises a first user account number, a group identifier, a virtual article identifier and virtual article sending conditions, the first user account number, the group identifier, the virtual article identifier and the virtual article sending conditions are logged in by the server, the virtual article sending request is used for the server to generate a virtual article publishing message, the virtual article publishing message is sent to a first user and at least one second user, the virtual article publishing message is used for logging in a second terminal of any second user account number to return a virtual article obtaining request, the virtual article obtaining request comprises the second user account number, operation information and the virtual article identifier, and the virtual article is sent to the second user when the operation information meets the virtual article sending conditions.
In a third aspect, a virtual article receiving method is provided, the method including:
displaying a virtual article issuing message, wherein the virtual article sending message comprises a virtual article identifier and a virtual article sending condition;
when the selection operation of the virtual article sending message is detected, operation information is obtained, wherein the operation information is information related to the virtual article sending condition;
sending a virtual article acquisition request to a server, wherein the virtual article acquisition request comprises the operation information, the virtual article identifier and a second user account number logged in by the local terminal;
receiving a virtual article, the virtual article being transmitted by the server upon determining that the operation information conforms to the virtual article transmission condition.
In another embodiment of the present invention, the method further comprises:
and displaying the virtual article sending message, wherein the virtual article sending message is generated by the server according to second user attribute information and the virtual article, and the second user attribute information comprises a second user head portrait and a second user nickname.
In another embodiment of the present invention, the virtual item transmission message includes the virtual item, and the displaying the virtual item transmission message includes:
in the display process of the virtual article, controlling the size of the virtual article to be enlarged to a preset size within a second preset time length;
and when the time length of the virtual article with the size of the preset size reaches a third preset time length, gradually reducing the size of the virtual article until the virtual article disappears.
In another embodiment of the present invention, the virtual article sending message includes a virtual article sending notification frame, the second user attribute information and sending prompt information are displayed in the virtual article sending notification frame, and the displaying the virtual article sending message includes:
and in the display process of the virtual article sending notification frame, controlling the virtual article sending notification frame to move by adopting a preset track until the virtual article sending notification frame moves out of the screen.
In a fourth aspect, a server for virtual item delivery is provided, the server comprising:
the virtual article sending method comprises the steps that a receiving module is used for receiving a virtual article sending request, wherein the virtual article sending request is sent by a first terminal which logs in a first user account, and comprises the first user account, a group identifier, a virtual article identifier and a virtual article sending condition;
the message generating module is used for generating a virtual article release message according to the virtual article sending request and according to the group identifier;
the sending module is used for sending the virtual article issuing message to a first user and at least one second user;
the receiving module is configured to receive a virtual article acquisition request, where the virtual article acquisition request is sent by a second terminal, which logs in any second user account, when detecting that the virtual article release message is selected and acquires operation information, the virtual article acquisition request includes the second user account, the operation information, and the virtual article identifier, and the operation information is information that is acquired by the second terminal and is related to a virtual article sending condition;
and the sending module is used for sending the virtual article to the second user when the operation information is determined to meet the virtual article sending condition.
In a fifth aspect, a terminal for virtual item delivery is provided, the terminal comprising:
a display module to display at least one virtual item on a group communication interface;
the display module is used for displaying a virtual article sending interface when the selected operation of any virtual article is detected;
the acquisition module is used for acquiring the virtual article sending conditions input on the virtual article sending interface;
the sending module is used for sending a virtual article sending request to a server, wherein the virtual article sending request comprises a first user account number, a group identifier, a virtual article identifier and a virtual article sending condition, the first user account number, the group identifier, the virtual article identifier and the virtual article sending condition are logged in by the server, the virtual article sending request is used for the server to generate a virtual article publishing message, the virtual article publishing message is sent to a first user and at least one second user, the virtual article publishing message is used for a second terminal which logs in any second user account number to return a virtual article obtaining request, the virtual article obtaining request comprises the second user account number, operation information and the virtual article identifier, and when the operation information meets the virtual article sending condition, the virtual article is sent to the second user.
In a sixth aspect, a terminal for virtual article reception is provided, the terminal comprising:
the display module is used for displaying a virtual article release message, and the virtual article sending message comprises a virtual article identifier and a virtual article sending condition;
an obtaining module, configured to obtain operation information when a selection operation for sending a message to the virtual article is detected, where the operation information is information related to a virtual article sending condition;
the sending module is used for sending a virtual article obtaining request to a server, wherein the virtual article obtaining request comprises the operation information, the virtual article identifier and a second user account number logged in by the local terminal;
a receiving module, configured to receive a virtual article, where the virtual article is sent by the server when it is determined that the operation information meets the virtual article sending condition.
In a seventh aspect, a server is provided, which includes a processor and a memory, where at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the memory, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the virtual article sending method according to the first aspect.
In an eighth aspect, there is provided a terminal comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the virtual item sending method according to the second aspect.
In a ninth aspect, there is provided a terminal comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes or set of instructions, the at least one instruction, the at least one program, set of codes or set of instructions being loaded and executed by the processor to implement the virtual article reception method according to the third aspect.
In a tenth aspect, a computer-readable storage medium is provided, where at least one instruction, at least one program, a code set, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the virtual article sending method according to the first aspect, or implement the virtual article sending method according to the second aspect, or implement the virtual article receiving method according to the third aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the virtual article sending method and the virtual article sending system have the advantages that the receiving sequence of the virtual article obtaining requests is not depended on, the virtual article sending conditions are added in the virtual article sending requests, the second user needs to execute the operation required by the virtual article sending conditions to obtain the virtual articles, the sending modes of the virtual articles are enriched, the time for executing the operation by each second user is uncertain, the situation that a large number of users send the virtual article sending requests to the server at the same time is avoided, and the processing pressure of the server is greatly reduced.
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 an implementation environment related to a virtual article sending method and a virtual article receiving method according to an embodiment of the present invention;
fig. 2 is a flowchart of a virtual article sending method and a virtual article receiving method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a group communication interface provided by another embodiment of the present invention;
FIG. 4 is a schematic diagram of a virtual good delivery interface provided by another embodiment of the present invention;
FIG. 5 is a schematic diagram of a group communication interface provided by another embodiment of the present invention;
FIG. 6 is a schematic diagram of a group communication interface provided by another embodiment of the present invention;
FIG. 7 is a schematic diagram of a group communication interface provided by another embodiment of the present invention;
FIG. 8 is a schematic diagram of a group communication interface provided by another embodiment of the present invention;
FIG. 9 is a schematic diagram of a group communication interface provided by another embodiment of the present invention;
FIG. 10 is a schematic diagram of a virtual article sending and receiving process according to another embodiment of the present invention;
fig. 11 is a schematic diagram of an expiration display for a virtual good publication message according to another embodiment of the present invention;
fig. 12 is a schematic structural diagram of a server for virtual item delivery according to another embodiment of the present invention;
fig. 13 is a schematic structural diagram of a terminal for virtual item delivery according to another embodiment of the present invention;
fig. 14 is a schematic structural diagram of a terminal for virtual article reception according to another embodiment of the present invention;
fig. 15 is a schematic diagram showing a configuration of a terminal according to an embodiment of the present invention;
fig. 16 is an illustration of a server for virtual item delivery, in accordance with an example embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, an implementation environment related to a virtual article sending method and a virtual article receiving method according to an embodiment of the present invention is shown, where the implementation environment includes: a first terminal 101, a server 102 and a second terminal 103.
The first terminal 101 is a terminal for logging in a first user account, the second terminal 103 is a terminal for logging in a second user account, the first user account is an account of a user sending a virtual article, the second user account is an account of a user receiving the virtual article, the first terminal 101 and the second terminal 103 can be smart phones, tablet computers, notebook computers and the like, and the product types of the first terminal 101 and the second terminal 103 are not specifically limited in the embodiment of the present invention. In order to meet the communication requirements of the user, at least one social application is installed in the first terminal 101 and the second terminal 103.
The server 102 is a social application server, and the server 102 may include a virtual item information database and a user information database. Specifically, the virtual article information database is used for storing virtual article identifiers, user identifiers, virtual article acquisition conditions and the like, and numbering the virtual articles; the user information database is used for storing each user attribute information of the social application, including a user nickname, a user head portrait and the like.
The first terminal 101 and the server 102 may communicate with each other through a wired network or a wireless network, and the second terminal 103 and the server 102 may communicate with each other through a wired network or a wireless network.
An embodiment of the present invention provides a virtual article sending method and a virtual article receiving method, and referring to fig. 2, a method flow provided by the embodiment of the present invention includes:
201. the first terminal displays at least one virtual article on the group communication interface, and when the selection operation of any virtual article is detected, the virtual article sending interface is displayed.
The group is a special group in social application, and data such as texts, pictures, audios and videos can be shared among a plurality of users. The group usually has a form, and can be a long-term stable resource group, a temporary session group, and the like. The group communication interface is a display interface of group messages in the social application, and a message input dialog box for realizing group communication and a plurality of function entries for enriching the group communication are displayed on the group communication interface and comprise an expression input function entry, a screenshot function entry, a virtual article display function entry and the like.
In order to enhance the interactivity among the group members and increase the interest of the communication in the group, the first user in the group can send the virtual item to other users in the group based on the virtual item sending function provided by the social application. Specifically, when a selection operation of the virtual article display function entry is detected, a virtual article display window is displayed on the group communication interface, and at least one virtual article and a virtual article sending condition setting option are displayed in the virtual article display window. The at least one virtual item is provided by the server, requiring the first user to exchange the corresponding value for the server. When the selection operation of the first user on any virtual article is detected, and the selection operation of the first user on the virtual article sending condition setting option is detected, the first terminal displays a virtual article sending interface, the virtual article sending interface is used for setting the virtual article sending condition, and based on the set virtual article sending condition, the interactivity between the users in the group and other users can be increased in the process of obtaining the virtual article. In addition, in order to intuitively display the selected virtual item to the first user, the first terminal may further display the selected virtual item and the unselected virtual item in a differentiated manner, for example, a selection mark or the like may be provided on the selected virtual item.
Fig. 3 is a schematic diagram of a group communication interface, where communication records of users in a group are displayed on the group communication interface, and at least one virtual article including "fresh flowers", "candies", "lucky stars", "bears", "dog food", "love", and the like is also displayed on the group communication interface, and when a selection operation of the virtual article "lucky star" is detected and a selection operation of the "set topic" option is detected, the first terminal displays a virtual article sending interface.
202. The first terminal acquires the virtual article sending conditions input on the virtual article sending interface and sends a virtual article sending request to the server.
The virtual article sending condition is a condition required to be met by obtaining a virtual article, and the virtual article sending condition includes a preset answer corresponding to a preset question, a picture of a preset specification, a video of preset content and the like, and also includes a preset task, such as inputting 50 Chinese characters within set 30 seconds and the like.
When acquiring a virtual article sending condition input by a first user on a virtual article sending interface and receiving a sending instruction, a first terminal generates a virtual article sending request and sends the generated virtual article sending request to a server, wherein the virtual article sending request comprises a first user account, a group identifier, a virtual article sending condition and the like, and the virtual article identifier is the identifier of a selected virtual article.
Fig. 4 is a virtual item sending interface, where the selected virtual item, a preset question input box, a preset answer input box, and an immediate sending option are displayed on the virtual item sending interface, where the preset question input box is used for a first user to input a question that needs to be answered by other users in the group, and the preset answer input box is used for the first user to input an answer corresponding to a preset question. When a preset question is acquired from a preset question input box, a preset answer is acquired from a preset answer input box, and it is detected that an immediate sending option is selected, the first terminal generates a virtual article sending request, wherein the virtual article sending request comprises a first user account, a group identifier, a 'lucky star' identifier, a preset question, a preset answer and the like.
203. And when receiving the virtual article sending request, the server generates a virtual article release message according to the virtual article sending request, and sends the virtual article release message to the first user and the at least one second user according to the group identifier.
When a virtual article sending request is received, the server acquires first user attribute information corresponding to a first user account from a user attribute information database according to the first user account, wherein the first user attribute information comprises a first user nickname, a first user head portrait and the like; the server acquires each user account in the group according to the group identification, wherein the user accounts comprise a first user account and at least one second user account, and the second user is other users except the first user in the group; the server analyzes the virtual article sending condition, if the virtual article sending condition is a preset question and a preset answer, the server extracts the preset question and generates a virtual article release message comprising first user attribute information, the preset question, a virtual article identifier and the like; if the virtual article sending condition is a picture with a preset specification, a video with a preset content, a preset task and the like, the server generates a virtual article publishing message of the first user attribute information, the picture with the preset specification, the video with the preset content, the preset task and the virtual article identifier.
Generally, each user in a group has a virtual article sending authority, and the same virtual article can be sent for multiple times in and among the group, so that in order to avoid sending errors of the virtual article, the server can number the virtual article. In a specific implementation, the server may number the virtual item received this time according to the receiving time of the virtual item transmission request and the receiving frequency of the virtual item transmission request. For example, when the reception time of the virtual item transmission request by the server is 2017, 9/12/11, and the number of times of reception of the virtual item transmission request by the server is 1000, the number of the virtual item is 20170912111000.
Based on the numbers set for the virtual articles, when the server sends the virtual article release message to the first user and the at least one second user, the numbers of the virtual article identifications can be carried in the virtual article release message. Meanwhile, the server can also store the corresponding relation among the virtual article identification, the virtual article number and the virtual article sending condition. Based on the stored corresponding relation, when a virtual article obtaining request sent by a second user is received, the server can quickly find out the virtual article sending condition, and then when the second user is determined to accord with the virtual article sending condition, the virtual article is sent to the second user.
204. When receiving the virtual item release message, the first terminal and the second terminal display the virtual item release message.
For a sender of a virtual article, when receiving a virtual article release message, a first terminal displays the virtual article release message on the other side of the group communication record, wherein the virtual article release message comprises a virtual article identifier, a virtual article acquisition condition, a head portrait of a first user, a nickname of the first user, a virtual article acquisition entry and the like. Fig. 5 is a group communication interface of the first terminal, on which an avatar of the first user, a nickname of the first user, a virtual article identifier, and a virtual article transmission condition "who is the smartest person in the group? "and virtual item acquisition portal.
And for the receiving party of the virtual article, when receiving the virtual article release message, the second terminal displays the virtual article release message on the same side of the group communication record, wherein the virtual article release message comprises the virtual article identifier, the virtual article acquisition condition, the head portrait of the first user, the nickname of the first user, the virtual article acquisition entry and the like. Fig. 6 is a group communication interface of the first terminal, on which an avatar of the first user, a nickname of the first user, a virtual article identification, and a virtual article sending condition "who is the smartest person in the group? "and virtual item acquisition portal.
205. And when the selection operation of the virtual article sending message is detected, the second terminal acquires the operation information and sends a virtual article acquisition request to the server.
When the operation of selecting the virtual article acquisition entry in the virtual article acquisition message is detected, the second terminal acquires operation information of second user input operation, generates a virtual article acquisition request, and further sends the virtual article acquisition request to the server, wherein the virtual article acquisition request may include the operation information, a virtual article identifier, a group identifier, a second user account number logged in at the local terminal, and the like, and may further include a virtual article number.
The operation information is information which is acquired by the second terminal and is related to the virtual article acquisition condition. When the virtual article acquisition condition is a preset problem, the operation information is an answer input by a second user for the preset problem; when the virtual article acquisition condition is a picture of a preset specification, the operation information is the picture uploaded according to the preset specification; when the virtual article acquisition condition is a video of the preset content, the operation information is a video uploaded aiming at the preset content; when the virtual article acquisition condition is a preset task, the operation information is task information executed for the preset task, and the like.
Fig. 7 is a group communication interface, and when detecting a selection operation of "answer and rob gifts" to a virtual article acquisition entry, the second terminal acquires operation information of the second user by detecting an input operation of the second user, and further sends a virtual article acquisition request including at least the operation information to the server.
206. And when the virtual article acquisition request is received, the server judges whether the operation information meets the virtual article sending condition.
In an embodiment of the present invention, when receiving a virtual article acquisition request from the second terminal, the server may acquire a virtual article acquisition condition corresponding to the group identifier and the virtual article identifier according to the group identifier and the virtual article identifier, and further determine whether the operation information conforms to the virtual article sending condition according to the virtual article acquisition condition. If the virtual article acquiring request comprises the virtual article number, the server can acquire the virtual article acquiring condition corresponding to the virtual article number and the virtual article identifier according to the virtual article number and the virtual article identifier when receiving the virtual article acquiring request of the second terminal, and further judge whether the operation information accords with the virtual article sending condition according to the virtual article acquiring condition.
In order to ensure the integrity of communication, when receiving a virtual article acquisition request from a second terminal, the server may send the virtual article acquisition request to the first user and at least one second user in the group according to the group identifier, and the virtual article acquisition request is displayed by the first terminal and each second terminal.
207. And when the operation information is determined to accord with the virtual article sending condition, the server sends the virtual article to the second user.
In the embodiment of the present invention, when the operation information meets the virtual article sending condition, the server may send the virtual article to the second user. Specifically, when the virtual article sending condition is a preset question, the server obtains a preset answer corresponding to the preset question according to the preset question, and when the operation information is matched with the preset answer, the server sends the virtual article to the second user; when the virtual article obtaining condition is a picture in a preset format or a video with preset content or a preset task, the server matches the operation information with the picture in the preset format or the video with the preset content or the preset task, and when the operation information is matched with the picture in the preset format or the video with the preset content or the preset task, the server sends the virtual article to a second user.
It should be noted that, when at least one second terminal in the group sends a virtual article acquisition request to the server, and the operation information of the at least one second terminal meets the virtual article acquisition condition, the server may send the virtual article to the first second user sending the virtual article acquisition request according to the receiving time sequence of the virtual article acquisition request. Of course, when the virtual article sending condition is set, the first terminal may set a second user having the virtual article acquisition authority, and when the operation information of the second user having the virtual article acquisition authority conforms to the virtual article acquisition condition, the server sends the virtual article to the second user, and for the other second users, the server does not send the virtual article to the second user even if the operation information conforms to the virtual article sending condition.
In the embodiment of the invention, when the operation information of the second user is determined to meet the virtual article sending condition, the server acquires the second user attribute information from the user attribute information database according to the second user account, wherein the second user attribute information comprises the second user head portrait, the second user nickname and the like, and further generates the virtual article sending message according to the second user attribute information, the virtual article identifier and the attribute information of the first user.
In one embodiment of the present invention, the virtual item sending message includes a virtual item, and the server may adopt the following manner when displaying the virtual item sending message: in the display process of the virtual article, the server controls the size of the virtual article to be enlarged to a preset size within a second preset time length, and when the time length that the size of the virtual article is the preset size reaches a third preset time length, the size of the virtual article is gradually reduced until the virtual article disappears. The second preset time and the third preset time are set by the server, the second preset time may be 2 seconds, 3 seconds, and the like, and the third preset time may be 1 second, 2 seconds, and the like. The preset size can be 1.5 times, 2 times, etc. of the original size of the virtual article.
In another embodiment of the present invention, the virtual article sending message includes a virtual article sending notification frame, the virtual article sending notification frame displays the second user attribute information and the sending prompt information, and the server may adopt the following method when displaying the virtual article sending message: and in the display process of the virtual article sending notification frame, the server controls the virtual article sending notification frame to move by adopting a preset track until the virtual article sending notification frame moves out of the screen. The prompt message may be "the second user has received the gift of the first user," or the like. The preset trajectory may be set by the server.
In another embodiment of the present invention, the virtual item transmission message includes a virtual item and a virtual item transmission notification box, and the server may adopt the following modes when displaying the virtual item transmission message: in the display process of the virtual article, the server controls the size of the virtual article to be enlarged to a preset size within a second preset time length, and when the time length that the size of the virtual article is the preset size reaches a third preset time length, the size of the virtual article is gradually reduced until the virtual article disappears. And meanwhile, the server also displays a virtual article sending notification frame, and in the display process of the virtual article sending notification frame, the server controls the virtual article sending notification frame to move by adopting a preset track until the virtual article sending notification frame moves out of the screen.
In addition, after the virtual article is sent to the second user, the server also triggers the virtual article acquisition entry in the virtual article release message of the first user to be changed into the nickname of the second user, and displays a notification message on the display position of the original virtual article acquisition entry, wherein the notification message is 'the second user acquires the virtual article', and the like.
Fig. 9 is a group communication interface of the second terminal, where the second preset time is set to be 2 seconds, the third preset time is set to be 1 second, the preset size is 2 times of the original size of the virtual article, and the preset trajectory may be a parabola. When receiving the virtual article sending message, the second terminal displays a virtual article sending notification frame, a second user head portrait and a sending prompt message 'Jim robs the gift of Sam' are displayed in the virtual article sending notification frame, and a virtual article 'lucky star' is also displayed on the second terminal. In the display process of the virtual article 'lucky star', the server controls the size of the virtual article 'lucky star' to be enlarged to 2 times of the original size of the virtual article in 2 seconds, and when the duration that the size of the virtual article 'lucky star' is 2 times of the original size reaches 1 second, the size of the virtual article 'lucky star' is gradually reduced until the virtual article 'lucky star' disappears. And in the display process of the virtual article sending notification frame, the server controls the virtual article sending notification frame to move according to the parabola until the virtual article sending notification frame moves out of the screen.
The virtual article sending process and the virtual article receiving process described in the above steps 201 to 207 will be described below by taking fig. 10 as an example.
Referring to fig. 10, a first terminal displays at least one virtual gift on a group communication interface, when a selection operation of a first user on any virtual gift is detected, the first terminal displays a virtual article sending interface, based on the virtual article sending interface, the first terminal obtains a preset question and a preset answer input by the first user, and sends a virtual gift identifier, a first user account, the preset question and the preset answer to a server, the server stores a corresponding relationship among the virtual gift identifier, the first user account, the preset question and the preset answer in a gift information database, numbers the virtual gift, and obtains first user attribute information from a user information database according to the first user account, wherein the first user attribute information includes a nickname of the first user, a head portrait of the first user, and the like. The server generates a virtual article release message based on the nickname of the first user, the head portrait of the first user, the virtual gift number, the virtual article identification and the like, and sends the virtual article release message to each user in the group. When the selection operation of a second user on the virtual article issuing message is detected, the second terminal obtains answer content input by the second user, sends a virtual article obtaining request comprising a second user account, a virtual gift number, the answer content and the like to the server, when the virtual article obtaining request is received, the server obtains a preset answer according to the virtual gift number, matches the answer content of the second user with the preset answer, when the answer content of the second user is consistent with the preset answer, the server obtains second user attribute information from the user information database according to the second user account, generates a gift playing animation according to the second user attribute information and the virtual gift identification, and then sends the gift playing animation to each user in the group for playing.
In another embodiment of the present invention, the server further records the sending time of the virtual article sending message, and counts down with the sending time as the starting time, and when the virtual article obtaining request is not received within a first preset time duration with the sending time as the starting time, the server sends the virtual article expiration message to the first user and the at least one second user. The virtual article expiration message is used to notify the first user and the at least one second user to perform expiration display on the virtual article posting message, for example, change a virtual article acquisition entry in the virtual article posting message of the first user to an expiration notification, where the expiration notification may be "no answer over 24 hours, expired" or the like.
In another embodiment of the present invention, the server further records the sending time of the virtual article sending message, and counts down with the sending time as the starting time, and when the operation information received within the first preset time period with the sending time as the starting time does not meet the virtual article sending condition, the server sends the virtual article expiration message to the first user and the at least one second user. For example, the virtual item acquisition entry in the virtual item publication message of the first user is changed to an expiration notification, which may be "no answer over 24 hours, expired" or the like, see fig. 11.
The method provided by the embodiment of the invention does not depend on the receiving sequence of the virtual article obtaining request, the virtual article sending condition is added in the virtual article sending request, and the second user needs to execute the operation required by the virtual article sending condition to obtain the virtual article, so that the sending form of the virtual article is enriched, and the condition that a large number of users send the virtual article sending request to the server at the same time is avoided because the time for executing the operation by each second user is uncertain, and the processing pressure of the server is greatly reduced.
Referring to fig. 12, an embodiment of the present invention provides a server for virtual item transmission, where the server includes:
a receiving module 1201, configured to receive a virtual article sending request, where the virtual article sending request is sent by a first terminal that logs in a first user account, and the virtual article sending request includes the first user account, a group identifier, a virtual article identifier, and a virtual article sending condition;
a message generating module 1202, configured to generate a virtual article release message according to the virtual article sending request, and according to the group identifier;
a sending module 1203, configured to send the virtual item publishing message to the first user and the at least one second user;
a receiving module 1201, configured to receive a virtual article acquisition request, where the virtual article acquisition request is sent by a second terminal, which logs in any second user account, when detecting that a virtual article release message is selected and acquires operation information, the virtual article acquisition request includes the second user account, the operation information, and a virtual article identifier, and the operation information is information related to a virtual article sending condition acquired by the second terminal;
the sending module 1203 is further configured to send the virtual item to the second user when it is determined that the operation information meets the virtual item sending condition.
In another embodiment of the present invention, the server further comprises:
the storage module is used for storing the corresponding relation between the virtual article identification and the virtual article sending condition;
the sending module 1203 is further configured to, when receiving the virtual article obtaining request, obtain a virtual article sending condition corresponding to the virtual article identifier according to the virtual article identifier; and when the operation information is determined to accord with the virtual article sending condition, sending the virtual article to a second user.
In another embodiment of the present invention, the sending module 1203 is further configured to obtain second user attribute information according to a second user account, where the second user attribute information includes a second user head portrait and a second user nickname; generating a virtual article sending message according to the second user attribute information and the virtual article; and sending the virtual article sending message to the first user and the at least one second user, and displaying the virtual article sending message by the first terminal and the at least one second terminal.
In another embodiment of the present invention, the server further comprises:
the time recording module is used for recording the sending time of the virtual article sending message;
the sending module 1203 is further configured to send a virtual article expiration message to the first user and the at least one second user when the virtual article acquisition request is not received within a first preset duration taking the sending time as the starting time, where the virtual article expiration message is used to notify the first user and the at least one second user of performing expiration display on the virtual article publishing message.
In another embodiment of the present invention, the time recording module is configured to record a sending time of the virtual item sending message;
a sending module 1203, configured to send a virtual article expiration message to the first user and the at least one second user when the operation information received within a first preset time period taking the sending time as a starting time does not meet the virtual article sending condition, where the virtual article expiration message is used to notify the first user and the at least one second user of performing expiration display on the virtual article publishing message.
The server provided by the embodiment of the invention does not depend on the receiving sequence of the virtual article obtaining request, the virtual article sending condition is added in the virtual article sending request, and the second user needs to execute the operation required by the virtual article sending condition to obtain the virtual article, so that the sending form of the virtual article is enriched, and the condition that a large number of users send the virtual article sending request to the server at the same time is avoided because the time for executing the operation by each second user is uncertain, and the processing pressure of the server is greatly reduced.
Referring to fig. 13, an embodiment of the present invention provides a terminal for virtual item transmission, where the terminal includes:
a display module 1301, configured to display at least one virtual item on the group communication interface;
the display module 1301 is further configured to display a virtual article sending interface when a selection operation on any virtual article is detected;
an obtaining module 1302, configured to obtain a virtual item sending condition input on a virtual item sending interface;
a sending module 1303, configured to send a virtual article sending request to a server, where the virtual article sending request includes a first user account, a group identifier, a virtual article identifier, and a virtual article sending condition, where the virtual article sending request is used by the server to generate a virtual article publishing message, and send the virtual article publishing message to the first user and at least one second user, where the virtual article publishing message is used to log in a second terminal of any second user account to return a virtual article obtaining request, where the virtual article obtaining request includes the second user account, operation information, and the virtual article identifier, and when the operation information meets the virtual article sending condition, send the virtual article to the second user.
In another embodiment of the present invention, the display module 1301 is further configured to display a virtual article sending message, where the virtual article sending message is generated by the server according to the second user attribute information and the virtual article, and the second user attribute information includes a second user avatar and a second user nickname.
In another embodiment of the present invention, the virtual article sending message includes a virtual article, and the display module 1301 is further configured to control, during the display process of the virtual article, the size of the virtual article to be enlarged to a preset size within a second preset time period; and when the time length that the size of the virtual article is the preset size reaches a third preset time length, gradually reducing the size of the virtual article until the time length disappears.
In another embodiment of the present invention, the virtual article sending message includes a virtual article sending notification frame, the virtual article sending notification frame displays the second user attribute information and the sending prompt information, and the display module 1301 is further configured to control the virtual article sending notification frame to move along a preset track until the virtual article sending notification frame moves out of the screen during the displaying process of the virtual article sending notification frame.
The terminal provided by the embodiment of the invention does not depend on the receiving sequence of the virtual article obtaining request, and the virtual article sending condition is added in the virtual article sending request, so that the second user needs to execute the operation required by the virtual article sending condition to obtain the virtual article, the sending forms of the virtual article are enriched, and the condition that a large number of users send the virtual article sending request to the server at the same time is avoided because the time for executing the operation by each second user is uncertain, and the processing pressure of the server is greatly reduced.
Referring to fig. 14, an embodiment of the present invention provides a terminal for receiving a virtual article, where the terminal includes:
a display module 1401, configured to display a virtual item publishing message, where the virtual item sending message includes a virtual item identifier and a virtual item sending condition;
an obtaining module 1402, configured to obtain operation information when a selection operation for sending a message to a virtual article is detected, where the operation information is information related to a virtual article sending condition;
a sending module 1403, configured to send a virtual article obtaining request to the server, where the virtual article obtaining request includes operation information, a virtual article identifier, and a second user account registered by the home terminal;
a receiving module 1404, configured to receive the virtual article, where the virtual article is sent by the server when it is determined that the operation information meets the sending condition of the virtual article.
In another embodiment of the present invention, the display module 1401 is further configured to display a virtual article sending message, where the virtual article sending message is generated by the server according to the second user attribute information and the virtual article, and the second user attribute information includes a second user avatar and a second user nickname.
In another embodiment of the present invention, the virtual article sending message includes a virtual article, and the display module 1401 is further configured to, during the displaying process of the virtual article, control the size of the virtual article to be enlarged to a preset size within a second preset time period; and when the time length that the size of the virtual article is the preset size reaches a third preset time length, gradually reducing the size of the virtual article until the time length disappears.
In another embodiment of the present invention, the virtual article sending message includes a virtual article sending notification frame, the virtual article sending notification frame displays the second user attribute information and the sending prompt information, and the display module 1401 is further configured to control the virtual article sending notification frame to move along a preset trajectory until the virtual article sending notification frame moves out of the screen during the displaying process of the virtual article sending notification frame.
The terminal provided by the embodiment of the invention does not depend on the receiving sequence of the virtual article obtaining request, and the virtual article sending condition is added in the virtual article sending request, so that the second user needs to execute the operation required by the virtual article sending condition to obtain the virtual article, the sending forms of the virtual article are enriched, and the condition that a large number of users send the virtual article sending request to the server at the same time is avoided because the time for executing the operation by each second user is uncertain, and the processing pressure of the server is greatly reduced.
Referring to fig. 15, a schematic structural diagram of a terminal according to an embodiment of the present invention is shown, where the terminal may be used to implement the virtual article sending method and the virtual article receiving method provided in the foregoing embodiments. Specifically, the method comprises the following steps:
the terminal 1500 may include RF (Radio Frequency) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a WiFi (Wireless Fidelity) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the terminal structure shown in fig. 15 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 120 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 120. The memory 120 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 1500, and the like. Further, the memory 120 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 120 may further include a memory controller to provide the processor 180 and the input unit 130 with access to the memory 120.
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 1500, 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. 15, 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.
The terminal 1500 can also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 141 and/or the backlight when the terminal 1500 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 1500, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between a user and terminal 1500. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuitry 160 may also include an earbud jack to provide communication of peripheral headphones with the terminal 1500.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 1500 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 170, and provides wireless broadband internet access for the user. Although fig. 15 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the terminal 1500 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 1500, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal 1500 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby performing overall monitoring of the mobile phone. Optionally, processor 180 may include one or more processing cores; optionally, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The terminal 1500 also includes a power supply 190 (e.g., a battery) that provides power to the various components, which may preferably be logically coupled to the processor 180 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 1500 may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the terminal 1500 is a touch screen display, the memory 120 of the terminal 1500 stores at least one instruction, at least one section of program, a code set, or the instruction set, and the at least one instruction, the at least one section of program, the code set, or the instruction set is loaded and executed by the processor to implement the virtual article receiving method shown in fig. 2.
The terminal provided by the embodiment of the invention does not depend on the receiving sequence of the virtual article obtaining request, and the virtual article sending condition is added in the virtual article sending request, so that the second user needs to execute the operation required by the virtual article sending condition to obtain the virtual article, the sending forms of the virtual article are enriched, and the condition that a large number of users send the virtual article sending request to the server at the same time is avoided because the time for executing the operation by each second user is uncertain, and the processing pressure of the server is greatly reduced.
Fig. 16 is an illustration of a server for virtual item delivery, in accordance with an example embodiment. Referring to fig. 16, server 1600 includes a processing component 1622 that further includes one or more processors and memory resources, represented by memory 1632, for storing at least one instruction, at least one program, set of code, or set of instructions executable by processing component 1622. The application programs stored in memory 1632 may include one or more modules that each correspond to a set of instructions. Further, processing component 1622 is configured with the at least one instruction, the at least one program, the set of codes, or the set of instructions to perform the functions performed by the server in virtual good delivery in fig. 2, as described above.
The server 1600 may also include a power component 1626 configured to perform power management for the server 1600, a wired or wireless network interface 1650 configured to connect the server 1600 to a network, and an input/output (I/O) interface 1658. The Server 1600 may operate based on an operating system stored in memory 1632, such as Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
The server provided by the embodiment of the invention does not depend on the receiving sequence of the virtual article obtaining request, the virtual article sending condition is added in the virtual article sending request, and the second user needs to execute the operation required by the virtual article sending condition to obtain the virtual article, so that the sending form of the virtual article is enriched, and the condition that a large number of users send the virtual article sending request to the server at the same time is avoided because the time for executing the operation by each second user is uncertain, and the processing pressure of the server is greatly reduced.
An embodiment of the present invention further provides a computer-readable storage medium, where at least one instruction, at least one program, a code set, or the instruction set is stored in the computer-readable storage medium, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the virtual article sending method and the virtual article receiving method shown in fig. 2.
The computer-readable storage medium provided by the embodiment of the invention does not depend on the receiving sequence of the virtual article obtaining request, and the virtual article sending condition is added in the virtual article sending request, so that the second user needs to execute the operation required by the virtual article sending condition to obtain the virtual article, the sending modes of the virtual article are enriched, the time for executing the operation by each second user is uncertain, the situation that a large number of users send the virtual article sending request to the server at the same time is avoided, and the processing pressure of the server is greatly reduced.
It should be noted that: the server for sending a virtual article, the terminal for sending a virtual article, and the terminal for receiving a virtual article provided in the above embodiments are only illustrated by the division of the above functional modules when sending a virtual article and receiving a virtual article, and in practical applications, the above function allocation may be completed by different functional modules according to needs, that is, the internal structures of the server for sending a virtual article, the terminal for sending a virtual article, and the terminal for receiving a virtual article may be divided into different functional modules to complete all or part of the above described functions. In addition, embodiments of the server for sending the virtual article, the terminal for receiving the virtual article, the sending method for the virtual article, and the receiving method for the virtual article provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in method embodiments and are not described herein again.
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 (17)

1. A method for sending a virtual item, the method comprising:
receiving a virtual article sending request, wherein the virtual article sending request is sent by a first terminal logging in a first user account, the virtual article sending request comprises the first user account, a group identifier, a virtual article identifier and a virtual article sending condition, and the virtual article sending condition is at least one of a picture with a preset specification, a video with preset content and a preset number of characters input in a specified time;
numbering the virtual articles received this time according to the receiving time of the virtual article sending request and the receiving times of the virtual article sending request;
generating a virtual article release message carrying the virtual article number according to the virtual article sending request, and sending the virtual article release message to a first user and at least one second user according to the group identifier;
receiving a virtual article acquisition request, wherein the virtual article acquisition request is sent by a second terminal which logs in any second user account when detecting that the virtual article release message is selected and operation information is acquired, the virtual article acquisition request comprises the second user account, the operation information, a virtual article identifier and a virtual article number, and the operation information is information which is acquired by the second terminal and is related to the virtual article sending condition;
and when the operation information is determined to meet the virtual article sending condition, sending the virtual article to the second user, and sending a notification message to the first terminal and the second terminal, wherein the notification message is used for changing a virtual article acquisition entry in the virtual article issuing message to a nickname of the second user by the first terminal and the second terminal, and displaying the notification message at a display position of the virtual article acquisition entry.
2. The method of claim 1, wherein before sending the virtual item send message to the first user and the at least one second user based on the group identifier, further comprising:
storing the corresponding relation between the virtual article identification and the virtual article sending condition;
when the operation information meets the virtual article sending condition, sending the virtual article to the second user, including:
when the virtual article obtaining request is received, obtaining a virtual article sending condition corresponding to the virtual article identification according to the virtual article identification;
and when the operation information is determined to meet the virtual article sending condition, sending the virtual article to the second user.
3. The method of claim 1, wherein said sending the virtual item to the second user comprises:
acquiring second user attribute information according to the second user account, wherein the second user attribute information comprises a second user head portrait and a second user nickname;
generating a virtual article sending message according to the second user attribute information and the virtual article;
and sending the virtual article sending message to the first user and the at least one second user, and displaying the virtual article sending message by the first terminal and the at least one second terminal.
4. The method of claim 1, further comprising:
recording the sending time of the virtual article sending message;
and when the virtual article acquisition request is not received within a first preset time period taking the sending time as the starting time, sending a virtual article expiration message to the first user and the at least one second user, wherein the virtual article expiration message is used for informing the first user and the at least one second user of performing expiration display on the virtual article release message.
5. The method of claim 1, further comprising:
recording the sending time of the virtual article sending message;
and when the operation information received within a first preset time period taking the sending time as the starting time does not accord with the virtual article sending condition, sending the virtual article expiration message to the first user and at least one second user, wherein the virtual article expiration message is used for informing the first user and the at least one second user of performing expiration display on the virtual article issuing message.
6. A method for sending a virtual item, the method comprising:
displaying at least one virtual item on the group communication interface;
when the selection operation of any virtual article is detected, displaying a virtual article sending interface;
acquiring a virtual article sending condition input on the virtual article sending interface, wherein the virtual article sending condition is at least one of a picture with a preset specification, a video with a preset content and a preset number of characters input in a specified time;
sending a virtual article sending request to a server, wherein the virtual article sending request comprises a first user account number, a group identifier, a virtual article identifier and a virtual article sending condition, the first user account number, the group identifier, the virtual article identifier and the virtual article sending condition are logged in by the server, the virtual article sending request is used for numbering the virtual article received this time by the server according to the receiving time of the virtual article sending request and the receiving times of the virtual article sending request, generating a virtual article issuing message carrying the virtual article number, and sending the virtual article issuing message to a first user and at least one second user, the virtual article issuing message is used for a second terminal logged in any second user account number to return a virtual article acquiring request, and the virtual article acquiring request comprises the second user account number, operation information, the virtual article identifier and the virtual article number, when the operation information accords with the virtual article sending condition, the virtual article is sent to the second user;
and when receiving the notification message sent by the server, changing the virtual article acquisition entry in the virtual article publishing message to a second user nickname, and displaying the notification message at the display position of the virtual article acquisition entry.
7. The method of claim 6, further comprising:
and displaying the virtual article sending message, wherein the virtual article sending message is generated by the server according to second user attribute information and the virtual article, and the second user attribute information comprises a second user head portrait and a second user nickname.
8. The method of claim 7, wherein the virtual item send message comprises the virtual item, and wherein the displaying the virtual item send message comprises:
in the display process of the virtual article, controlling the size of the virtual article to be enlarged to a preset size within a second preset time length;
and when the time length of the virtual article with the size of the preset size reaches a third preset time length, gradually reducing the size of the virtual article until the virtual article disappears.
9. The method according to claim 7 or 8, wherein the virtual article sending message includes a virtual article sending notification box, the second user attribute information and a sending prompt message are displayed in the virtual article sending notification box, and the displaying the virtual article sending message includes:
and in the display process of the virtual article sending notification frame, controlling the virtual article sending notification frame to move by adopting a preset track until the virtual article sending notification frame moves out of the screen.
10. A virtual article receiving method, the method comprising:
displaying a virtual article release message, wherein the virtual article release message comprises a virtual article identifier, a virtual article sending condition and a virtual article number, the virtual article sending condition is at least one of a picture with a preset specification, a video with preset content and a character with a preset number input in a specified time, and the virtual article number is obtained by numbering the virtual article received this time by a server according to the receiving time of the virtual article sending request and the receiving times of the virtual article sending request;
when the selected operation of the virtual article release message is detected, acquiring operation information, wherein the operation information is information related to the virtual article sending condition;
sending a virtual article acquisition request to a server, wherein the virtual article acquisition request comprises the operation information, the virtual article identifier, a second user account number logged in by a local terminal and the virtual article number;
receiving a virtual article, wherein the virtual article is sent by the server when the operation information is determined to accord with the sending condition of the virtual article;
and when receiving the notification message sent by the server, changing the virtual article acquisition entry in the virtual article publishing message to a second user nickname, and displaying the notification message at the display position of the virtual article acquisition entry.
11. An apparatus for virtual item delivery, the apparatus comprising:
the virtual article sending request comprises the first user account, a group identifier, a virtual article identifier and a virtual article sending condition, wherein the virtual article sending condition is at least one of a picture with a preset specification, a video with preset content and a preset number of characters input in a specified time;
the message generation module is used for numbering the virtual articles received this time according to the receiving time of the virtual article sending request and the receiving times of the virtual article sending request; generating a virtual article release message carrying the virtual article number according to the virtual article sending request, and according to the group identifier;
the sending module is used for sending the virtual article issuing message to a first user and at least one second user;
the receiving module is further configured to receive a virtual article acquisition request, where the virtual article acquisition request is sent by a second terminal, which logs in any second user account, when detecting that the virtual article release message is selected and acquires operation information, the virtual article acquisition request includes the second user account, the operation information, the virtual article identifier, and the virtual article number, and the operation information is information related to the virtual article sending condition acquired by the second terminal;
the sending module is further configured to send the virtual article to the second user and send a notification message to the first terminal and the second terminal when it is determined that the operation information meets the virtual article sending condition, where the notification message is used by the first terminal and the second terminal to change a virtual article acquisition entry in the virtual article release message to a nickname of a second user, and the notification message is displayed at a display position of the virtual article acquisition entry.
12. An apparatus for virtual item delivery, the apparatus comprising:
a display module to display at least one virtual item on a group communication interface;
the display module is further used for displaying a virtual article sending interface when the selected operation of any virtual article is detected;
the virtual article sending interface is used for receiving a virtual article sending condition input on the virtual article sending interface, wherein the virtual article sending condition is at least one of a picture with a preset specification, a video with a preset content and a preset number of characters input within a specified time;
a sending module, configured to send a virtual article sending request to a server, where the virtual article sending request includes a first user account, a group identifier, a virtual article identifier, and a virtual article sending condition, where the virtual article sending request is used for the server to number a virtual article received this time according to a receiving time of the virtual article sending request and a receiving frequency of the virtual article sending request, generate a virtual article release message carrying a virtual article number, and send the virtual article release message to a first user and at least one second user, where the virtual article release message is used for a second terminal, which logs in any second user account, to return a virtual article acquisition request, where the virtual article acquisition request includes the second user account, operation information, the virtual article identifier, and the virtual article number, when the operation information accords with the virtual article sending condition, the virtual article is sent to the second user; and when receiving the notification message sent by the server, changing the virtual article acquisition entry in the virtual article publishing message to a second user nickname, and displaying the notification message at the display position of the virtual article acquisition entry.
13. An apparatus for virtual item reception, the apparatus comprising:
the virtual article issuing message comprises a virtual article identifier, a virtual article sending condition and a virtual article number, wherein the virtual article sending condition is at least one of a picture with a preset specification, a video with preset content and a preset number of characters input within a specified time, and the virtual article number is obtained by numbering the virtual article received this time by the server according to the receiving time of the virtual article sending request and the receiving times of the virtual article sending request;
the acquisition module is used for acquiring operation information when the selected operation of the virtual article release message is detected, wherein the operation information is information related to the virtual article sending condition;
a sending module, configured to send a virtual article acquisition request to a server, where the virtual article acquisition request includes the operation information, the virtual article identifier, a second user account logged in by a home terminal, and the virtual article number;
a receiving module, configured to receive a virtual article, where the virtual article is sent by the server when it is determined that the operation information meets the virtual article sending condition; and when receiving the notification message sent by the server, changing the virtual article acquisition entry in the virtual article publishing message to a second user nickname, and displaying the notification message at the display position of the virtual article acquisition entry.
14. A computer-readable storage medium, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the virtual article transmission method according to any one of claims 1 to 5, or to implement the virtual article transmission method according to any one of claims 6 to 9, or to implement the virtual article reception method according to claim 10.
15. A server, characterized in that the server comprises a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the virtual article transmission method according to any one of claims 1 to 5.
16. A terminal, characterized in that the terminal comprises a processor and a memory, in which at least one program code is stored, which is loaded and executed by the processor to implement the virtual article transmission method according to any of claims 6 to 9.
17. A terminal, characterized in that the terminal comprises a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the virtual object receiving method according to claim 10.
CN201711024801.1A 2017-10-27 2017-10-27 Virtual article transmission method, virtual article reception method, device, and storage medium Active CN109728918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711024801.1A CN109728918B (en) 2017-10-27 2017-10-27 Virtual article transmission method, virtual article reception method, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711024801.1A CN109728918B (en) 2017-10-27 2017-10-27 Virtual article transmission method, virtual article reception method, device, and storage medium

Publications (2)

Publication Number Publication Date
CN109728918A CN109728918A (en) 2019-05-07
CN109728918B true CN109728918B (en) 2021-07-27

Family

ID=66292104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711024801.1A Active CN109728918B (en) 2017-10-27 2017-10-27 Virtual article transmission method, virtual article reception method, device, and storage medium

Country Status (1)

Country Link
CN (1) CN109728918B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117897680A (en) * 2021-09-01 2024-04-16 斯纳普公司 Augmented reality communication exchange based on physical actions
CN114760262A (en) * 2022-04-07 2022-07-15 湖南快乐阳光互动娱乐传媒有限公司 Virtual information processing method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156228A (en) * 2015-04-24 2016-11-23 腾讯科技(深圳)有限公司 Resource delivery system, resource payment method and resource get method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120150600A1 (en) * 2010-12-14 2012-06-14 Moneyhoney Llc System and method for confirming application of a gift to a transaction
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation
CN106559306B (en) * 2015-09-24 2020-09-04 腾讯科技(深圳)有限公司 Information processing method and device based on group video
CN106709705A (en) * 2016-12-30 2017-05-24 腾讯科技(深圳)有限公司 Virtual goods packet sending method, receiving method, devices and system
CN111654473B (en) * 2016-12-13 2022-07-19 创新先进技术有限公司 Virtual object distribution method and device based on augmented reality
CN106845958A (en) * 2017-01-07 2017-06-13 上海洪洋通信科技有限公司 A kind of interactive red packet distribution method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106156228A (en) * 2015-04-24 2016-11-23 腾讯科技(深圳)有限公司 Resource delivery system, resource payment method and resource get method

Also Published As

Publication number Publication date
CN109728918A (en) 2019-05-07

Similar Documents

Publication Publication Date Title
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
TWI565315B (en) Method of interactions based on video, terminal, server and system thereof
WO2016169465A1 (en) Method, apparatus and system for displaying screen information
KR101978590B1 (en) Message updating method, device and terminal
CN106059894B (en) Message processing method and device
CN104852885B (en) Method, device and system for verifying verification code
WO2016150270A1 (en) Method and apparatus for processing group session message
CN106254910B (en) Method and device for recording image
CN110166439B (en) Equipment sharing method, terminal, router and server
EP3249857B1 (en) Chat history display method and apparatus
CN107908765B (en) Game resource processing method, mobile terminal and server
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN107786424B (en) Audio and video communication method, terminal and server
CN108900407B (en) Method and device for managing session record and storage medium
CN109495638B (en) Information display method and terminal
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
US20160307216A1 (en) Electronic information collection method and apparatus
CN105320532B (en) Method, device and terminal for displaying interactive interface
CN105159655B (en) Behavior event playing method and device
CN108366167B (en) Message reminding method and mobile terminal
CN108040003B (en) Reminding method and device
CN108234275B (en) Method and device for releasing communication information
CN110750318A (en) Message reply method and device and mobile terminal
US10419816B2 (en) Video-based check-in method, terminal, server and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant