Virtual gift display method, client device, server and system

文档序号:652436 发布日期:2021-04-23 浏览:6次 中文

阅读说明:本技术 虚拟礼物展示方法、客户端设备、服务器和系统 (Virtual gift display method, client device, server and system ) 是由 许英俊 于 2020-12-18 设计创作,主要内容包括:本申请提供了一种虚拟礼物展示方法、客户端设备、服务器和系统,方法包括:当用户打开虚拟礼物界面时,客户端设备从服务器下载虚拟礼物列表,遍历虚拟礼物列表的礼物类型信息来判断是否包含玩法礼物;如果是,获取玩法礼物对应的礼物初始信息,并根据礼物初始信息对玩法礼物进行更新并显示,发送玩法礼物赠送指令至服务器;服务器根据玩法礼物赠送指令统计用户赠送的每一种玩法礼物的总数量;当用户赠送的某一种玩法礼物的总数量大于或等于预设进化等级阈值时,发送相应等级的礼物进化信息至客户端设备,使得客户端设备对相应的玩法礼物进行升级并显示。该方法增加了用户赠送礼物后的反馈效果,从而提高用户的观看直播的留存率和观看时长。(The application provides a virtual gift display method, client equipment, a server and a system, wherein the method comprises the following steps: when a user opens the virtual gift interface, the client device downloads the virtual gift list from the server, and traverses the gift type information of the virtual gift list to judge whether the virtual gift list contains a play gift; if so, obtaining initial gift information corresponding to the play gift, updating and displaying the play gift according to the initial gift information, and sending a play gift giving instruction to the server; the server counts the total amount of each play gift given by the user according to the play gift giving instruction; when the total amount of a certain play gift given by the user is larger than or equal to a preset evolution grade threshold value, the gift evolution information of the corresponding grade is sent to the client device, so that the client device upgrades and displays the corresponding play gift. The method increases the feedback effect of the user after giving the gift, thereby improving the retention rate and watching time of watching the live broadcast of the user.)

1. A method of displaying a virtual gift, the method comprising:

when a user opens a live virtual gift interface, the client device downloads a virtual gift list from the server;

the client device traverses the gift type information of the virtual gift list to judge whether a play gift is contained;

if so, the client device acquires initial gift information corresponding to the play gift from the server, and updates and displays the play gift according to the initial gift information;

the client equipment sends a play gift giving instruction to the server, and the server counts the total amount of each play gift given by the user according to the play gift giving instruction;

when the total quantity of a certain play gift given by a user is larger than or equal to a preset evolution grade threshold value, the server sends gift evolution information of a corresponding grade to the client device, and the client device upgrades and displays the corresponding play gift according to the gift evolution information.

2. A method of displaying a virtual gift, the method comprising:

receiving a virtual gift list downloading request sent by client equipment, and sending a virtual gift list to the client equipment, wherein the virtual gift list stores virtual gift type information which is used for indicating the client equipment to judge whether a play gift is included;

receiving a gift initial information acquisition request of the play gift sent by client equipment, and sending gift initial information to the client equipment, wherein the gift initial information is used for indicating the client equipment to update and display the play gift;

receiving a play gift giving instruction sent by client equipment, and counting the total amount of each play gift given by a user according to the play gift giving instruction;

when the total quantity of a certain play gift given by a user is larger than or equal to a preset evolution grade threshold value, sending gift evolution information of a corresponding grade to the client device, wherein the gift evolution information is used for indicating the client device to upgrade and display the corresponding play gift.

3. The method of claim 2, wherein the preset evolution level threshold comprises a plurality of evolution level thresholds, and different evolution level thresholds correspond to different gift evolution information; when the total number of a certain play gift given by a user is greater than or equal to a preset evolution grade threshold value, the step of sending the gift evolution information of the corresponding grade to the client device includes:

when the total quantity of a certain play gift given by the user is larger than or equal to the plurality of evolution level thresholds, selecting gift evolution information corresponding to the largest evolution level threshold from the plurality of evolution level thresholds larger than or equal to the plurality of evolution level thresholds to the client device.

4. The method of claim 3, further comprising:

counting the time length that a user does not give a certain play gift, calculating a total degradation value according to the time length, and sending gift degradation information of a corresponding level to the client device when the total degradation value is greater than or equal to a first preset degradation level threshold, wherein the gift degradation information is used for indicating the client device to degrade and display the corresponding play gift.

5. The method of claim 4, further comprising:

and in a preset time period, when the total quantity of a certain play gift given by a user is smaller than a second preset degradation level threshold, sending gift degradation information of a corresponding level to the client device, wherein the gift degradation information is used for indicating the client device to degrade and display the corresponding play gift.

6. The method of any of claims 2-5, further comprising:

and when judging that the user has continuous delivery of a certain play gift according to the play gift giving instruction, receiving a play gift withdrawing instruction sent by the client equipment, and withdrawing a corresponding number of the play gifts which are queued to be delivered according to the play gift withdrawing instruction.

7. The method of claim 6, further comprising:

receiving a play gift degrading instruction sent by the client device, and returning gift degrading information and a reward gift package corresponding to the play gift degrading instruction to the client device, wherein the gift degrading information is used for indicating the client device to degrade the corresponding play gift from the current level to the target level and display the corresponding play gift.

8. A method of displaying a virtual gift, the method comprising:

when a user opens a live virtual gift interface, sending a virtual gift list downloading request to a server, and downloading a virtual gift list from the server;

traversing gift type information of the virtual gift list to judge whether a play gift is contained;

if so, obtaining initial gift information corresponding to the play gift from the server, and updating and displaying the play gift according to the initial gift information;

sending a play gift giving instruction to the server, wherein the play gift giving instruction is used for instructing the server to count the total amount of each play gift given by the user;

and receiving gift evolution information of the corresponding level sent by the server, and upgrading and displaying the corresponding play gift according to the gift evolution information.

9. The method as claimed in claim 8, wherein in the step of updating and displaying the play gifts according to the gift initial information or upgrading and displaying the corresponding play gifts according to the gift evolution information, comprising:

displaying a gift icon, a gift special effect and a progress bar of the playing method according to the gift initial information or the gift evolution information; wherein the total length of the progress bar represents the total number of the play gifts which need to be given by a user when a certain play gift is evolved from the current level to the next level, and the progress bar is updated and displayed when the user gives one play gift.

10. The method of claim 8 or 9, wherein the progress bar comprises a first progress and a second progress;

when a user continuously sends a certain play gift, the first progress represents the play gift which is sent out, the second progress represents the play gift which is queued to be sent out, a play gift withdrawing instruction is sent to the server, and the play gift withdrawing instruction is used for instructing the server to withdraw a corresponding number of the play gifts which are queued to be sent out.

11. A server, comprising:

a download request receiving module, configured to receive a virtual gift list download request sent by a client device;

a list sending module, configured to send a virtual gift list to the client device, where the virtual gift list stores virtual gift type information, and the virtual gift type information is used to instruct the client device to determine whether a play gift is included;

an initial information acquisition request receiving module, configured to receive a gift initial information acquisition request of a play gift sent by a client device;

an initial information sending module, configured to send initial gift information to the client device, where the initial gift information is used to instruct the client device to update and display the play gift;

the presentation instruction receiving module is used for receiving a play gift presentation instruction sent by the client equipment;

the total number counting module is used for counting the total number of each play gift given by the user according to the play gift giving instruction;

and the evolution information sending module is used for sending the gift evolution information of the corresponding grade to the client equipment when the total quantity of the certain play gift given by the user is greater than or equal to a preset evolution grade threshold, and the gift evolution information is used for indicating the client equipment to upgrade and display the corresponding play gift.

12. A client device, comprising:

the downloading request sending module is used for sending a virtual gift list downloading request to the server when a user opens a live virtual gift interface;

a downloading module for downloading a virtual gift list from the server;

the traversing module is used for traversing the gift type information of the virtual gift list to judge whether the gift list contains a play gift;

an obtaining module, configured to obtain, from the server, gift initial information corresponding to the play gift if the gift initial information is positive;

the updating display module is used for updating and displaying the play gift according to the initial information of the gift;

the system comprises a presentation instruction sending module, a presentation instruction sending module and a presentation instruction sending module, wherein the presentation instruction sending module is used for sending a play gift presentation instruction to the server, and the play gift presentation instruction is used for indicating the server to count the total amount of each play gift presented by a user;

the evolution information receiving module is used for receiving the gift evolution information of the corresponding level sent by the server;

and the upgrading display module is used for upgrading and displaying the corresponding play gifts according to the gift evolution information.

13. A virtual gift display system is characterized by comprising a client device and a server;

the client device is configured to perform the method of any one of claims 8-10;

the server is adapted to perform the method of any of claims 2-7.

14. A computer-readable storage medium, in which a program code is stored, which program code can be invoked by a processor to perform the method according to any of claims 2-7, and/or the method according to any of claims 8-10.

Technical Field

The present application relates to the field of computer technologies, and in particular, to a virtual gift display method, a client device, a server, a system, and a computer-readable storage medium.

Background

With the development of network technology, live webcast is becoming an important entertainment mode. In live broadcasting, viewers can give away virtual items to a viewing live broadcasting room. Generally, in the live broadcast process, a user can give a virtual gift to a main broadcast through a client, the main broadcast can obtain income, and for the client, only a special effect of the gift is usually displayed, the display effect is poor, and therefore poor experience of the user is easily caused.

Content of application

In view of this, embodiments of the present application provide a virtual gift display method, a client device, a server, a system, and a computer-readable storage medium, so as to overcome the problem in the prior art that a gift display effect is poor at a client during a live broadcast process.

In a first aspect, an embodiment of the present application provides a virtual gift display method, where the method includes:

when a user opens a live virtual gift interface, the client device downloads a virtual gift list from the server;

the client device traverses the gift type information of the virtual gift list to judge whether a play gift is contained;

if so, the client device acquires initial gift information corresponding to the play gift from the server, and updates and displays the play gift according to the initial gift information;

the client equipment sends a play gift giving instruction to the server, and the server counts the total amount of each play gift given by the user according to the play gift giving instruction;

when the total quantity of a certain play gift given by a user is larger than or equal to a preset evolution grade threshold value, the server sends gift evolution information of a corresponding grade to the client device, and the client device upgrades and displays the corresponding play gift according to the gift evolution information.

In a second aspect, an embodiment of the present invention provides a virtual gift display method, where the method includes:

receiving a virtual gift list downloading request sent by client equipment, and sending a virtual gift list to the client equipment, wherein the virtual gift list stores virtual gift type information which is used for indicating the client equipment to judge whether a play gift is included;

receiving a gift initial information acquisition request of the play gift sent by client equipment, and sending gift initial information to the client equipment, wherein the gift initial information is used for indicating the client equipment to update and display the play gift;

receiving a play gift giving instruction sent by client equipment, and counting the total amount of each play gift given by a user according to the play gift giving instruction;

when the total quantity of a certain play gift given by a user is larger than or equal to a preset evolution grade threshold value, sending gift evolution information of a corresponding grade to the client device, wherein the gift evolution information is used for indicating the client device to upgrade and display the corresponding play gift.

In a third aspect, an embodiment of the present application provides a virtual gift display method, where the method includes:

when a user opens a live virtual gift interface, sending a virtual gift list downloading request to a server, and downloading a virtual gift list from the server;

traversing gift type information of the virtual gift list to judge whether a play gift is contained;

if so, obtaining initial gift information corresponding to the play gift from the server, and updating and displaying the play gift according to the initial gift information;

sending a play gift giving instruction to the server, wherein the play gift giving instruction is used for instructing the server to count the total amount of each play gift given by the user;

and receiving gift evolution information of the corresponding level sent by the server, and upgrading and displaying the corresponding play gift according to the gift evolution information.

In a fourth aspect, an embodiment of the present application provides a server, including:

a download request receiving module, configured to receive a virtual gift list download request sent by a client device;

a list sending module, configured to send a virtual gift list to the client device, where the virtual gift list stores virtual gift type information, and the virtual gift type information is used to instruct the client device to determine whether a play gift is included;

an initial information acquisition request receiving module, configured to receive a gift initial information acquisition request of a play gift sent by a client device;

an initial information sending module, configured to send initial gift information to the client device, where the initial gift information is used to instruct the client device to update and display the play gift;

the presentation instruction receiving module is used for receiving a play gift presentation instruction sent by the client equipment;

the total number counting module is used for counting the total number of each play gift given by the user according to the play gift giving instruction;

and the evolution information sending module is used for sending the gift evolution information of the corresponding grade to the client equipment when the total quantity of the certain play gift given by the user is greater than or equal to a preset evolution grade threshold, and the gift evolution information is used for indicating the client equipment to upgrade and display the corresponding play gift.

In a fifth aspect, an embodiment of the present invention provides a client device, including:

the downloading request sending module is used for sending a virtual gift list downloading request to the server when a user opens a live virtual gift interface;

a downloading module for downloading a virtual gift list from the server;

the traversing module is used for traversing the gift type information of the virtual gift list to judge whether the gift list contains a play gift;

an obtaining module, configured to obtain, from the server, gift initial information corresponding to the play gift if the gift initial information is positive;

the updating display module is used for updating and displaying the play gift according to the initial information of the gift;

the system comprises a presentation instruction sending module, a presentation instruction sending module and a presentation instruction sending module, wherein the presentation instruction sending module is used for sending a play gift presentation instruction to the server, and the play gift presentation instruction is used for indicating the server to count the total amount of each play gift presented by a user;

the evolution information receiving module is used for receiving the gift evolution information of the corresponding level sent by the server;

and the upgrading display module is used for upgrading and displaying the corresponding play gifts according to the gift evolution information.

In a sixth aspect, an embodiment of the present application provides a virtual gift display system, including a client device and a server;

the client device is configured to execute the virtual gift display method provided by the third aspect;

the server is configured to execute the virtual gift display method provided by the second aspect.

In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code may be invoked by a processor to execute the virtual gift display method provided in the second aspect and/or the virtual gift display method provided in the third aspect.

In the embodiment of the application, when a user uses a client device to print a live virtual gift interface, the client device sends a virtual gift list downloading request to a server and downloads a virtual gift list from the server, and the client device traverses gift type information of the virtual gift list to judge whether a play gift is included; if the gift comprises the play gift, acquiring initial gift information corresponding to the play gift from the server, and updating and displaying the play gift according to the initial gift information; the client equipment sends a play gift giving instruction to the server, and the server counts the total amount of each play gift given by the user according to the play gift giving instruction; when the total amount of a certain play gift given by the user is larger than or equal to a preset evolution grade threshold value, the server sends gift evolution information of a corresponding grade to the client device, and the client device upgrades and displays the corresponding play gift according to the gift evolution information. In the embodiment of the application, the virtual gifts are set as the play gifts and are updated and displayed according to the initial information of the gifts, when the users present the play gifts, the total number of the presented play gifts is counted, judgment is carried out according to the total number, when the conditions are met, the play gifts are upgraded and displayed, feedback after the users present the gifts is increased through an interactive method, namely, the display effect of the virtual gifts is increased, and therefore the retention rate and the viewing duration of the users viewing live broadcast are improved.

Drawings

In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.

Fig. 1 is a schematic view of an application scenario (i.e., a virtual gift display system) of a virtual gift display method according to an embodiment of the present disclosure;

fig. 2 is a schematic flow chart of a virtual gift display method according to an embodiment of the present application;

FIG. 3 is a diagram of a virtual gift visualization interface provided by one embodiment of the present application;

fig. 4 is a diagram of a virtual gift visualization interface provided in accordance with another embodiment of the present application;

fig. 5 is a schematic flow chart of a virtual gift presentation method (performed by a server) according to another embodiment of the present application;

fig. 6 is a schematic flow chart of a virtual gift presentation method (performed by a client device) according to another embodiment of the present application;

fig. 7 is a diagram of a virtual gift visualization interface provided in accordance with yet another embodiment of the present application;

FIG. 8 is a schematic diagram of a server provided in an embodiment of the present application;

FIG. 9 is a schematic diagram of a client device provided in one embodiment of the present application;

fig. 10 is a schematic structural diagram of a computer-readable storage medium provided in an embodiment of the present application.

Detailed Description

The technical solutions in the embodiments of the present application will be described clearly and completely below, and it should be understood that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

To explain the present application in more detail, a virtual gift presenting method, apparatus, client device and computer storage medium provided by the present application are described in detail below with reference to the accompanying drawings.

Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application scenario of a virtual gift presentation method provided by an embodiment of the present application, where the application scenario includes a client device 102, a server 104, and a live end device 106 provided by an embodiment of the present application. Both the client device 102 and the live device 106 are terminal devices and may be various electronic devices with display screens, including but not limited to smart phones and computer devices, wherein the computer devices may be at least one of desktop computers, portable computers, laptop computers, tablet computers, and the like. Wherein a network is arranged among the server 104, the client device 102 and the live device 106. The network is used to provide a medium for communication links between the client device 102, the server 104, and the live-end device 106. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.

The client device 102 is a terminal for a viewer to watch a live video, the live device 106 is a terminal for a main broadcast user to perform live broadcast, and the server 104 is configured to provide a service, such as a live service, for the client device 102 and the live device 106, specifically, the server 104 may provide a service to the client device 102 and the live device 106 through an application (e.g., YY) installed in the client device 102 and the live device 106. The anchor user may be able to live a video in a live room (live channel) through the live device 106, and the viewer user of the client device 102 may log in to the server 104 and enter the live room to view the live video of the anchor user. For example, during the live video broadcast process of the anchor user, the live device 106 may send the live video of the anchor user to the server 104 in real time, and the server 104 sends the live video to the client device 102, and the client device 102 may play the live video, so that the viewer user may watch the live video of the anchor user. During viewing of a live video, an audience user may present a virtual gift to a main user.

It should be understood that the number of the client device 102 and the live device 106 may be plural, may be only a few, or may be several tens or hundreds, and the number and the type of the client devices are not limited in the embodiment of the present application. For convenience of description, only one client device 102, a plurality of live devices 106, and one server 104 are taken as examples for description.

Based on this, the embodiment of the application provides a virtual gift display method. Referring to fig. 2, fig. 2 is a schematic flow chart illustrating a virtual gift presenting method according to an embodiment of the present application, which is described by taking the method as an example applied to the client device and the server in fig. 1, and includes the following steps:

step S102, when a user opens a live virtual gift interface, the client device downloads a virtual gift list from a server;

in the present embodiment, the virtual gift presentation manner is described from two execution bodies of the client device and the server. Specifically, when a click-to-visit application (for example, YY) installed on the client device is used, the client device can choose to enter any one live broadcast room to watch live broadcast, and at this time, the client device, the server and the live broadcast end device establish connection. Optionally, the user may log in with a registered account and password when using the live application, or may access the live application in the form of a guest.

When a user watches live broadcast, gifts can be given to the main broadcast, the virtual gift interface needs to be opened, and some virtual gifts can be displayed on the virtual gift interface. Alternatively, the user may open the virtual gift interface by clicking on a gift mark on the live interface.

In this embodiment, the client device may send a virtual gift list download request to the server, and download the virtual gift list from the server, where the virtual gift list stores gift type information, where the gift type information is used to determine the type of the virtual gift, and the type of the virtual gift may include a normal gift and a play gift. The common gift refers to a virtual gift whose gift icon, gift special effect and the like are kept fixed or do not change with the presentation mode and the like in the presentation process of the user (except the situation that the administrator modifies the virtual gift); the play gift is a novel virtual gift configured by a manager, and the novel virtual gift can be changed (for example, a gift icon is updated, a gift special effect is achieved, and the like) according to a certain rule (for example, a user giving way). For example, a manager may configure a hot air balloon with a value of 0.1Y coins as a play gift by the back office.

Step S104, the client device traverses the gift type information of the virtual gift list to judge whether a play gift is contained;

step S106, if yes, the client device obtains initial gift information corresponding to the play gift from the server, and updates and displays the play gift according to the initial gift information;

specifically, when the client device traverses gift type information of virtual gift types to judge whether the current virtual gift contains a play gift, when the current virtual gift contains the play gift, a gift initial information acquisition request of the play gift is sent to a server, the server searches for gift initial information according to the gift initial information acquisition request and sends the gift initial information to the client device, and the client device updates and displays the corresponding play gift according to the gift initial information.

The gift initial information obtaining request usually includes identification information (e.g., uid) of the play gift, and is used for instructing the server to index or search for the gift initial information corresponding to the play gift. uid (user identification) user identification, the system will automatically give the user a value of uid after the user registers with the network platform in normal circumstances. The uid in this embodiment refers to an identification of the play gift, and may be a number or the like. The number of the play gifts can be one or more, and each play gift has corresponding initial gift information.

Secondly, the initial information of the gift is usually some information used for determining the display effect of the gift with a certain playing method; may include a gift icon, a gift special effect when gifting the gift, a gift evolution level, a required number of gifts to evolve to a next level, and a number of gifts currently being gifted. Specifically, taking fig. 3 as an example for explanation, it is assumed that the hot air balloon is a play gift, and other types of virtual gifts are common gifts; when the client device determines that the hot air balloon is a play gift, the number of presented hot air balloons (for example, 0), the gift evolution level (for example, 1), a gift icon (for example, url), a gift special effect (for example, url) when the hot air balloon is presented, the number of presented hot air balloons reaching the evolution (that is, the number of presented hot air balloons required to be presented to the next level) (for example, 100) are determined according to the gift initial information of the hot air balloon, and after the information is determined, a current progress bar 0/100 is displayed above the gift of the client device, wherein the level is represented by the icon and the gift special effect.

Step S108, the client device sends a play gift giving instruction to the server;

step S110, the server counts the total amount of each play gift given by the user according to the play gift giving instruction;

when a user wants to give a play gift to a certain anchor, sending a play gift giving instruction to a server through client equipment; the play gift giving instruction generally comprises identification information and quantity information of the play gift, the identification information is mainly used for determining which kind of the play gift is given by the user (namely determining the type of the play gift, such as a hot air balloon or a pumpkin cart), and the quantity information is used for determining the quantity of the given play gift.

In addition, the total number of each play gift given by the user is counted.

Optionally, after the user successfully presents a certain play gift, the server records the number of the current play gifts presented by the user according to the uid of the user, returns the current number of the present gifts in real time, and displays the current number of the present gifts on the progress bar. Taking fig. 4 as an example for explanation, assuming that the hot air balloons are the gift for play, the user a gives 5 hot air balloons to a certain anchor, and at this time, the server records that the user a gives 5 hot air balloons and displays the hot air balloons on a progress bar of the hot air balloons. The server may then obtain the total number of hot air balloons by counting the number of hot air balloons given away by user a over a period of time.

Step S112, when the total amount of a certain play gift given by the user is greater than or equal to a preset evolution grade threshold value, the server sends the gift evolution information of the corresponding grade to the client device;

and step S114, the client device upgrades and displays the corresponding play gift according to the gift evolution information.

Specifically, the server may compare the total amount of a certain play gift given by the user with a preset evolution level threshold, and when the total amount of the certain play gift given by the user is greater than or equal to the preset evolution level threshold, it indicates that the play gift has reached the condition of the evolution level, the server sends gift evolution information of the corresponding level to the client device, and the client device upgrades and displays the corresponding play gift according to the gift evolution information.

The preset evolution level threshold may include a plurality of evolution level thresholds, each of the evolution level thresholds corresponding to a different level, and the different levels corresponding to different gift evolution information. For example, the 2 nd evolution level threshold may be 100, the 3 rd evolution level threshold may be 500, and so on, the nth evolution level threshold may be m, where the higher the level the higher the evolution level threshold, and so on.

The gift evolution information is some information which is generally used for determining the display effect of a play gift after evolution; may include a gift icon, a gift special effect when gifting the gift, a gift evolution level, a required number of gifts to evolve to a next level, and a number of gifts currently being gifted.

For convenience of understanding, a detailed embodiment is given, assuming that the hot air balloons are play gifts, the user a gives a total of 100 hot air balloons to the host in a period of time, at this time, the server determines that the total number of the hot air balloons given by the user a is equal to the 2 nd evolution level threshold (for example, 100), the server sends 2 nd-level gift evolution information to the client device, and the client device updates and displays the current hot air balloon (i.e., the 1 st-level hot air balloon) according to the 2 nd-level gift evolution information; at this time, the current gift icon of the hot-air balloon becomes a new icon, and a new progress bar appears, the progress is 0/500, at this time, if the updated (or evolved) hot-air balloon is given, a new animation special effect is displayed at the client, and if the current gift icon is fully sent to 500, a new level is evolved.

In the embodiment of the application, when a user uses a client device to print a live virtual gift interface, the client device sends a virtual gift list downloading request to a server and downloads a virtual gift list from the server, and the client device traverses gift type information of the virtual gift list to judge whether a play gift is included; if the gift comprises the play gift, acquiring initial gift information corresponding to the play gift from the server, and updating and displaying the play gift according to the initial gift information; the client equipment sends a play gift giving instruction to the server, and the server counts the total amount of each play gift given by the user according to the play gift giving instruction; when the total amount of a certain play gift given by the user is larger than or equal to a preset evolution grade threshold value, the server sends gift evolution information of a corresponding grade to the client device, and the client device upgrades and displays the corresponding play gift according to the gift evolution information. In the embodiment of the application, the virtual gifts are set to be the play gifts and are updated and displayed according to the initial information of the gifts, when the users present the play gifts, the total number of the presented play gifts is counted, judgment is carried out according to the total number, when the conditions are met, the play gifts are upgraded and displayed, feedback after the users present the gifts is increased through an interactive method, the virtual gift display effect is increased, and therefore the live broadcast watching retention rate and the live broadcast watching duration of the users are improved.

Fig. 5 is a flowchart of a virtual gift display method according to another embodiment of the invention, the virtual gift display method is mainly executed by the server in fig. 1, as shown in fig. 5, the method includes the following steps:

step S202, receiving a downloading request of a virtual gift list sent by a client device, and sending the virtual gift list to the client device, wherein the virtual gift list stores virtual gift type information which is used for indicating the client device to judge whether a play gift is included;

in this embodiment, the virtual gift list stores gift type information, wherein the gift type information is used to determine the type of the virtual gift, and the type of the virtual gift may include a common gift and a play gift. The common gift refers to a virtual gift whose gift icon, gift special effect and the like are kept fixed or do not change with the presentation mode and the like in the presentation process of the user (except the situation that the administrator modifies the virtual gift); the play gift is a novel virtual gift configured by a manager, and the novel virtual gift can be changed (for example, a gift icon is updated, a gift special effect is achieved, and the like) according to a certain rule (for example, a user giving way). For example, a manager may configure a hot air balloon with a value of 0.1Y coins as a play gift by the back office.

Step S204, receiving a gift initial information acquisition request of the play gift sent by the client device, and sending the gift initial information to the client device, wherein the gift initial information is used for indicating the client device to update and display the play gift;

the request for obtaining the initial gift information usually includes identification information (e.g., uid) of the play gift, and is used to instruct the server to index or search the initial gift information corresponding to the play gift. May be a number, etc.

The initial information of the gift is some information which is used for determining the display effect of the gift in a certain playing method; may include a gift icon, a gift special effect when gifting the gift, a gift rating, a required number of gifts to evolve to a next rating, and a number of gifts currently being gifted. Specifically, please refer to fig. 3, which refers to relevant parts of the first embodiment (i.e., step S102 to step S110) for detailed description, and will not be described again here.

Step S206, receiving a play gift giving instruction sent by the client device, and counting the total amount of each play gift given by the user according to the play gift giving instruction;

the play gift giving instruction generally includes identification information of the play gift and quantity information, the identification information is mainly used for determining which kind of the play gift is given by the user (namely determining the kind of the play gift, such as hot air balloon or pumpkin cart), and the quantity information is used for determining the quantity of the given play gift.

And step S208, when the total amount of a certain play gift given by the user is greater than or equal to a preset evolution grade threshold value, sending gift evolution information of a corresponding grade to the client device, wherein the gift evolution information is used for indicating the client device to upgrade and display the corresponding play gift.

In one embodiment, the preset evolution level threshold comprises a plurality of evolution level thresholds, and different evolution level thresholds correspond to different gift evolution information; when the total number of a certain play gift is greater than or equal to a preset evolution grade threshold value, the step of sending the gift evolution information of the corresponding grade to the client device comprises the following steps: when the total quantity of a certain play gift given by a user is larger than or equal to a plurality of evolution level thresholds, selecting gift evolution information corresponding to the largest evolution level threshold from the evolution level thresholds larger than or equal to the plurality of evolution level thresholds to the client device.

Specifically, the total amount of a certain play gift given by the user is compared with a preset evolution level threshold, when the total amount of the certain play gift given by the user is greater than or equal to the preset evolution level threshold, it is indicated that the play gift has reached the condition of the evolution level, then the server sends the gift evolution information of the corresponding level to the client device, and the client device upgrades and displays the corresponding play gift according to the gift evolution information.

In this embodiment, the gift evolution information is generally some information used to determine the display effect of a play gift after evolution; may include a gift icon, a gift special effect when gifting the gift, a gift rating, a required number of gifts to evolve to a next rating, and a number of gifts currently being gifted.

The preset evolution level threshold may include a plurality of evolution level thresholds, each of the evolution level thresholds corresponding to a different level, and the different levels corresponding to different gift evolution information. For example, the 2 nd evolution level threshold may be 100, the 3 rd evolution level threshold may be 500, and so on, the nth evolution level threshold may be m, where the higher the level the higher the evolution level threshold, and so on.

If the number of the play gifts given by a certain user at one time is larger than or equal to the multiple evolution level thresholds, the possibility of cross-level or level evolution can exist, and at the moment, gift evolution information corresponding to the maximum evolution level threshold is selected to the client device, so that cross-level evolution can be realized. For convenience of understanding, a detailed example is given, assuming that the hot-air balloon is a play gift, and is currently at a 1 st level, a 2 nd evolutionary level threshold value is 100, a 3 rd evolutionary level threshold value is 500, and a 4 th evolutionary level threshold value is 1200; a user a donates 520 hot air balloons to a anchor B (or anchors B, C and D) at a time, the total number of hot air balloons is 520 in total, which is greater than 100 and 500, and selects 500 (i.e., level 3) corresponding gift evolution information to the client device of the user a, so that the hot air balloons of the user a evolve from level 1 to level 3. By adopting the method, the play gift can be upgraded in a cross-level manner, and rich play and interaction are increased.

In the embodiment of the application, a virtual gift list downloading request sent by client equipment is received, and the virtual gift list is returned to the client equipment, wherein the initial gift information is used for indicating the client equipment to update and display the play gift; receiving a play gift giving instruction sent by client equipment, and counting the total amount of each play gift given by a user according to the play gift giving instruction; when the total amount of a certain play gift given by a user is larger than or equal to a preset evolution level threshold value, gift evolution information of a corresponding level is sent to the client device, and the gift evolution information is used for indicating the client device to upgrade and display the corresponding play gift. In the embodiment of the application, the virtual gifts are set to be the play gifts and are updated and displayed according to the initial information of the gifts, when the users present the play gifts, the total number of the presented play gifts is counted, judgment is carried out according to the total number, when the conditions are met, the play gifts are upgraded and displayed, feedback after the users present the gifts is increased through an interactive method, the virtual gift display effect is increased, and therefore the live broadcast watching retention rate and the live broadcast watching duration of the users are improved.

In one embodiment, further comprising: counting the time length that a user does not give a certain play gift, calculating a total degradation value according to the time length, and sending gift degradation information of a corresponding level to the client device when the total degradation value is greater than or equal to a first preset degradation level threshold, wherein the gift degradation information is used for indicating the client device to degrade and display the corresponding play gift.

In this embodiment, a manner of grade degradation of the play gift is given, and if the user does not give the play gift for a long time, the gift may have grade degradation. The specific process is as follows: the duration that the user does not give a certain play gift can be counted, then the total degradation value is calculated according to the duration, and then whether grade degradation is to be carried out or not is judged according to the total degradation value. The duration may be counted in days, and may be calculated in hours, etc. The degradation value may be set every day or every several hours (for example, every 10 hours), and then the degradation values are summed to calculate a degradation total value. The degradation values may be the same (i.e., degradation is performed according to the same degradation value every day), or may be different, and for example, the number of days may be set to increase or the degradation value may be increased.

The first predetermined degradation level threshold may be a plurality of degradation level thresholds, each degradation level threshold corresponding to a different level corresponding to different gift degradation information. For example, the 2 nd degradation level threshold may be-100, the 3 rd degradation level threshold may be-500, etc., and so on, the nth evolution level threshold may be-m, where a higher level results in a higher degradation level threshold, etc., "-" represents only degradation.

Gift degeneration information is generally some information used to determine the display effect of a gift after degeneration of a play method; may include a gift icon, a gift special effect when gifting the gift, a gift rating, a required number of gifts degenerating to a previous rating, and a number of gifts currently being gifted.

For ease of understanding, a detailed embodiment is given. Assuming that the hot air balloon is a play gift, wherein the hot air balloon is at a low evolution level of 2, a user A has not sent the hot air balloon within 5 days, the daily degradation value of the hot air balloon is-20, and the level 2 degradation level threshold value is-100; when the user opens the gift interface next time, when the hot air balloon is inquired, the server judges that the current user does not send the hot air balloon within 1 day, the hot air balloon performs corresponding degradation performance, the hot air balloon starts to decrease according to the number of days multiplied by 20, if the fifth day is the number of- (5 multiplied by 20), the total degradation value is-100 at the moment and is exactly equal to the 2 nd degradation level threshold value, the hot air balloon of the user A degrades from the 2 nd level to the 1 st level, the client device receives the broadcast notice of the server at the moment, the information of a new gift icon, a new gift progress, a new gift special effect and the like is sent to the client device, and the client device performs corresponding display.

In some embodiments, the first preset degradation level threshold comprises a plurality of degradation level thresholds, different degradation level thresholds corresponding to different gift degradation information; when the total degradation value is greater than or equal to a first preset degradation level threshold value, the step of sending the gift degradation information of the corresponding level to the client device comprises the following steps: and when the total degradation value is greater than or equal to the plurality of degradation level thresholds, selecting gift degradation information corresponding to the minimum degradation level threshold from the plurality of degradation level thresholds which are greater than or equal to the plurality of degradation level thresholds to the client device.

Specifically, if a user does not give a play gift for a long time, cross-level or level degradation may occur, and at this time, cross-level evolution may be achieved by selecting gift degradation information corresponding to the maximum degradation level threshold value to the client device. For ease of understanding, a detailed example is given, assuming that the hot-air balloon is a play gift, and is currently at a 3 rd level, a 2 nd degradation level threshold is-100, a 3 rd degradation level threshold is-500, a 4 th degradation level threshold is-1200, a degradation value for not giving the hot-air balloon is-20 a day, and a user a has not sent the hot-air balloon for 30 consecutive days, and then the total degradation value is-600, which is greater than-100 and-500 (only comparing the numerical sizes), then the gift degradation information corresponding to-100 (i.e., level 1) is selected to the client device of the user a, so that the hot-air balloon of the user a degrades from the 3 rd level to the level 1. By adopting the method, the cross-level degradation of the play gifts can be realized, and richer play and interaction are increased.

In some embodiments, when a certain play gift is at the 1 st level, when the total amount of the play gift given by the user is less than the 2 nd evolution level threshold and the total degradation value is greater than or equal to the 1 st degradation level threshold, gift clearing information may be sent to the client device so that the client clears the total amount of the play gift to 0. For example, the play gift is a hot air balloon, currently at level 1, with an evolution level 2 threshold of 100, a degeneration level 1 threshold of-50, and a daily degeneration value of-20; a user a who had given 80 hot air balloons and had not given the gift for 3 consecutive days, at which time the total degradation value was-60, which was greater than-50; the server will issue a gift-clearing 0 command to the client user so that user a has a hot-air-balloon comp number of 0.

In some embodiments, the time length for which the user does not present a certain play gift is counted, the total degradation value is calculated according to the time length, when the total degradation value is smaller than a first preset degradation level threshold value, a play gift presenting instruction sent by the terminal device is received, and when the user starts to present the play gift according to the play gift presenting instruction, the calculation of the total degradation value is stopped.

For ease of understanding, a detailed embodiment is given. Assuming that the play gift is a hot air balloon, the current level is 2, the threshold value of the 2 nd degradation level is-100, and the degradation value of each day is-20; a user A gifted the gift for 3 consecutive days, when the total degradation value is-60; when the user A starts giving the hot air balloon again at the 4 th day, the total degradation value is stopped to be calculated, namely the play gift stops secondary degradation; until the next time user a stops gifting the gift again, the total degradation value is calculated at the restart of the degradation routine.

In some embodiments, in counting the time duration that the user does not give a certain play gift, and calculating the total degradation value according to the time duration, the method may further include: and sending alarm information to the client server for prompting the user that the play gift is degrading. The form of the warning information can be various, and can be characters, voice, images and the like; the alarm information can be in a mode of information pushing, and can also be directly acted on the play gift, and the play gift is instantaneously changed when the user opens the gift interface, such as the change of color and the like.

By adopting the mode, the diversity of the presentation of the play gift is increased, and the interactivity with the user is further increased.

In one embodiment, further comprising:

and in a preset time period, when the total quantity of a certain play gift given by the user is smaller than a second preset degradation level threshold value, sending gift degradation information of a corresponding level to the client device, wherein the gift degradation information is used for indicating the client device to degrade and display the corresponding play gift.

In this embodiment, another way of playing with the gift degeneration is presented. The preset time period is a preset time, and can be several days, dozens of days, or dozens of hours, and the like, and can be adjusted according to actual needs.

The second predetermined degradation level threshold may be a plurality of degradation level thresholds, each degradation level threshold corresponding to a different level corresponding to different gift degradation information. For example, the 2 nd degradation level threshold may be 50, the 3 rd degradation level threshold may be 100, etc., and so on, the nth evolution level threshold may be m, where the higher the level the higher the degradation level threshold, etc. The degradation level threshold here represents the required number of lowest gifts for the level.

In practice, the predetermined time period is not usually set too small, and the degradation level threshold is not set too large, because it is ensured that the play is as little or slow as possible.

For ease of understanding, a detailed embodiment is given. Assuming that the play gift is a hot air balloon, the current level is 2, the preset time period is 20 days, the 2 nd degradation level threshold is 50, and a user a donates 40 hot air balloons in 20 days, which are less than 50 (i.e., the minimum required donation quantity of the level 2); at which point the server sends gift degradation information to the client device causing the hot-air balloon to degrade from level 2 to level 1. By adopting the mode, the diversity of the presentation of the play gift is increased, and the interactivity with the user is further increased.

In one embodiment, further comprising:

and when judging that the user has continuous delivery to a certain play gift according to the play gift giving instruction, receiving a play gift withdrawing instruction sent by the client equipment, and withdrawing a corresponding number of play gifts which are queued to be delivered according to the play gift withdrawing instruction.

Specifically, when a user presents a certain play gift at a time and the number of the play gifts is multiple, the multiple gifts are queued up and sent out one by one. At this time, the user may send a play gift withdrawing instruction to the server through the client device, which may instruct the server to withdraw the play gift that is being queued for delivery. Wherein the number of the withdrawn play gifts is less than or equal to the number of the play gifts which are queued to be delivered. By adopting the mode, on one hand, misoperation of the user is avoided, loss of the user is reduced, on the other hand, feedback of the user in direct-broadcasting of the gifts can be increased, and gift sending behaviors of the user are stimulated, so that watching retention rate and watching duration of the user are improved.

In one embodiment, further comprising:

receiving a play gift degrading instruction sent by the client device, and returning gift degrading information and a reward gift package corresponding to the play gift degrading instruction to the client device, wherein the gift degrading information is used for indicating the client device to degrade the corresponding play gift from the current level to the target level and display the corresponding play gift.

Specifically, when the playing gift level of the user is higher, the user can send a playing gift degrading instruction to the server through the client device and receive gift reducing information returned by the server, so that the active degradation of the playing gift is realized; in this process, the server also gives the user a bonus gift package. During active demotion, the user may select to go from the current level to any level below the current level. The bonus gift packages are rare virtual gifts and the like, the bonus gift packages corresponding to different degradation modes are different, and the types, the numbers and the like of the rare virtual gifts contained in the different bonus gift packages can be different.

Fig. 6 is a flowchart illustrating a virtual gift presentation method according to another embodiment of the invention, the virtual gift presentation method being mainly performed by the client device in fig. 1; as shown in fig. 6, the method comprises the steps of:

step S302, when the user opens the live virtual gift interface, a virtual gift list downloading request is sent to the server, and the virtual gift list is downloaded from the server;

step S304, traversing the gift type information of the virtual gift list to judge whether a play gift is included;

step S306, if yes, obtaining initial gift information corresponding to the play gift from the server, and updating and displaying the play gift according to the initial gift information;

step S308, sending a play gift giving instruction to the server, wherein the play gift giving instruction is used for indicating the server to count the total amount of each play gift given by the user;

and step S310, the receiving server sends the gift evolution information of the corresponding level, and the corresponding play gift is upgraded and displayed according to the gift evolution information.

In the present embodiment, the explanation is made from the single-ended perspective of the client device. For the related limitation or description in step S302 to step S310, please refer to step S102 to step S110, or step S202 to step S208, which will not be described herein again.

In one embodiment, the step of updating and displaying the play gift according to the gift initial information or upgrading and displaying the corresponding play gift according to the gift evolution information comprises the following steps:

displaying a gift icon, a gift special effect and a progress bar of the playing method according to the initial information or the evolution information of the gift; the total length of the progress bar represents the total number of the play gifts which need to be given by a user from the current level to the next level, and when the user gives one play gift, the progress bar is updated and displayed.

Specifically, the initial information of the gift is some information that is used to determine the display effect of the gift in a certain play method; may include a gift icon, a gift special effect when gifting the gift, a gift evolution level, a required number of gifts to evolve to a next level, and a number of gifts currently being gifted. Specifically, taking fig. 3 as an example for explanation, it is assumed that the hot air balloon is a play gift, and other types of virtual gifts are common gifts; when the client device determines that the hot air balloon is a play gift, the number of presented hot air balloons (for example, 0), the gift evolution level (for example, 1), a gift icon (for example, url), a gift special effect (for example, url) when the hot air balloon is presented, the number of presented hot air balloons reaching the evolution (that is, the number of presented hot air balloons required to be presented to the next level) (for example, 100) are determined according to the gift initial information of the hot air balloon, and after the information is determined, a current progress bar 0/100 is displayed above the gift of the client device, wherein the level is represented by the icon and the gift special effect.

In addition, after the user successfully presents a certain play gift, the server records the number of the current play gifts presented by the user according to the uid of the user, returns the current number of the present gifts in real time, and displays the number on the progress bar. Taking fig. 4 as an example for explanation, assuming that the hot air balloons are the gift for play, the user a gives 5 hot air balloons to a certain anchor, and at this time, the server records that the user a gives 5 hot air balloons and displays the hot air balloons on a progress bar of the hot air balloons.

In addition, the gift evolution information is some information which is generally used for determining the display effect of a play gift after evolution; may include a gift icon, a gift special effect when gifting the gift, a gift evolution level, a required number of gifts to evolve to a next level, and a number of gifts currently being gifted.

In one embodiment, the progress bar includes a first progress and a second progress;

when a user continuously sends a certain play gift, the first progress represents the already sent play gift, the second progress represents the play gift which is queued to be sent out, a play gift withdrawing instruction is sent to the server, and the play gift withdrawing instruction is used for instructing the server to withdraw a corresponding number of the play gifts which are queued to be sent out.

In particular, the progress bar may include a first progress and a second progress, wherein the first progress indicates completed information and the second progress indicates buffered information, for example, the first progress indicates a video that has completed playing while the video is playing and the second progress indicates a buffered or downloaded video. In this embodiment, when the user has a continuous delivery of a certain play gift (i.e., a plurality of such play gifts are delivered at one time), the first progress indicates that the play gift has been delivered, and the second progress indicates that the play gift is being queued for delivery. At this time, the user may withdraw the play gifts queued for delivery by sending a play gift withdrawal instruction to the server via the client device, where the instruction may instruct the server to withdraw the play gifts queued for delivery. Wherein the number of the withdrawn play gifts is less than or equal to the number of the play gifts which are queued to be delivered. By adopting the mode, on one hand, misoperation of the user is avoided, loss of the user is reduced, on the other hand, feedback of the user in direct-broadcasting of the gifts can be increased, and gift sending behaviors of the user are stimulated, so that watching retention rate and watching duration of the user are improved.

A detailed embodiment is given for ease of understanding, and is illustrated by way of example in fig. 7. Assuming that the play gifts are hot air balloons, a user A presents 20 hot air balloons to a main broadcaster B at one time, the 20 hot air balloons are queued to be sent out at a client, the special effects of the gifts are played one by one, then the first progress of the progress bar shows the gifts which are currently sent out (such as 5), the second progress bar shows the gifts which are queued to be sent out (such as 15), at this time, a withdrawal button appears above the gifts, and the user can click the withdrawal button to withdraw the gifts which are queued to be sent out to 15.

It should be understood that although the various steps in the flowcharts of fig. 2 and 5-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and fig. 5-6 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

The embodiment disclosed in the application describes a virtual gift display method in detail, and the method disclosed in the application can be implemented by devices in various forms, so that the application also discloses a server corresponding to the method, and specific embodiments are given below for detailed description.

Please refer to fig. 8, which is a server disclosed in the embodiment of the present application, and the server mainly includes:

a download request receiving module 802, configured to receive a virtual gift list download request sent by a client device;

a list sending module 804, configured to send a virtual gift list to the client device, where the virtual gift list stores virtual gift type information, and the virtual gift type information is used to instruct the client device to determine whether a play gift is included;

an initial information obtaining request receiving module 806, configured to receive a gift initial information obtaining request of a play gift sent by a client device;

an initial information sending module 808, configured to send initial gift information to the client device, where the initial gift information is used to instruct the client device to update and display the play gift;

a presentation instruction receiving module 810, configured to receive a play gift presentation instruction sent by a client device;

a total number counting module 812 for counting the total number of each play gift given by the user according to the play gift giving instruction;

the evolution information sending module 814 is configured to send, when the total amount of a certain play gift given by the user is greater than or equal to a preset evolution level threshold, gift evolution information of a corresponding level to the client device, where the gift evolution information is used to instruct the client device to upgrade and display the corresponding play gift.

In one embodiment, the preset evolution level threshold comprises a plurality of evolution level thresholds, and different evolution level thresholds correspond to different gift evolution information; and the evolution information sending module is further used for selecting the gift evolution information corresponding to the maximum evolution level threshold value from the multiple evolution level threshold values which are greater than or equal to the multiple evolution level threshold values to the client device when the total number of the certain play gift given by the user is greater than or equal to the multiple evolution level threshold values.

In one embodiment, further comprising:

the duration counting module is used for counting the duration that a user does not give a certain play gift;

the total degradation value calculating module is used for calculating a total degradation value according to the duration;

and the degradation information sending module is used for sending gift degradation information of a corresponding grade to the client equipment when the degradation total value is greater than or equal to a first preset degradation grade threshold value, and the gift degradation information is used for indicating the client equipment to degrade and display a corresponding play gift.

In an embodiment, the degradation information sending module is further configured to send, to the client device, the gift degradation information of a corresponding level when the total amount of a certain play gift given by the user is smaller than a second preset degradation level threshold within a preset time period, where the gift degradation information is used to instruct the client device to degrade and display the corresponding play gift.

In one embodiment, further comprising:

the gift withdrawing instruction receiving module is used for receiving a play gift withdrawing instruction sent by the client equipment when judging that the user continuously sends a certain play gift according to the play gift giving instruction;

and the gift withdrawing module is used for withdrawing a corresponding number of play gifts which are queued to be sent out according to the play gift withdrawing instruction.

In one embodiment, further comprising:

the demotion instruction receiving module is used for receiving a playing gift demotion instruction sent by the client equipment;

and the gift degrading information is used for indicating the client device to degrade the corresponding play gift from the current level to the target level and display the corresponding play gift.

For the specific definition of the server, reference may be made to the above definition of the method, which is not described herein again. The various modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of a processor in the client device, and can also be stored in a memory in the client device in a software form, so that the processor can call and execute operations corresponding to the modules.

The embodiment disclosed in the application describes a virtual gift display method in detail, and the method disclosed in the application can be implemented by devices in various forms, so that the application also discloses a client device corresponding to the method, and specific embodiments are given below for detailed description.

Please refer to fig. 9, which is a client disclosed in the embodiment of the present application, and mainly includes:

a download request sending module 902, configured to send a virtual gift list download request to a server when a user opens a live virtual gift interface;

a download module 904 for downloading a list of virtual gifts from the server;

a traversing module 906, configured to traverse the gift type information of the virtual gift list to determine whether a play gift is included;

an obtaining module 908, configured to obtain, from the server, gift initial information corresponding to the play gift if the gift initial information is positive;

an update display module 910, configured to update and display the play gift according to the initial gift information;

a presentation instruction sending module 912, configured to send a presentation instruction of the play gifts to the server, where the presentation instruction of the play gifts is used to instruct the server to count the total amount of each of the play gifts presented by the user;

the evolution information receiving module 914 is used for receiving the gift evolution information sent by the server at the corresponding level;

the upgrade display module 916 is configured to upgrade and display the corresponding play gift according to the gift evolution information.

In one embodiment, the updating display module is used for displaying gift icons, gift special effects and progress bars of the playing methods according to the gift evolution information;

the upgrading display module is used for displaying gift icons, gift special effects and progress bars of the playing methods according to the gift evolution information;

the total length of the progress bar represents the total number of the play gifts which need to be given by a user from the current level to the next level, and when the user gives one play gift, the progress bar is updated and displayed.

In one embodiment, the progress bar includes a first progress and a second progress;

and the withdrawal instruction sending module is used for sending a play gift withdrawal instruction to the server when the user continuously sends a certain play gift, wherein the first progress represents the already sent play gift, the second progress represents the play gift which is queued to be sent out, and the play gift withdrawal instruction is used for indicating the server to withdraw a corresponding number of the play gifts which are queued to be sent out.

For specific limitations of the client device, reference may be made to the above limitations of the method, which are not described in detail herein. The various modules in the above-described apparatus may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent of a processor in the client device, and can also be stored in a memory in the client device in a software form, so that the processor can call and execute operations corresponding to the modules.

In addition, the present application further provides an embodiment of a virtual gift display system, and the specific schematic diagram can refer to fig. 1; the virtual gift display system comprises client equipment and a server, wherein the client equipment is used for executing the method provided in the embodiment of the virtual gift display mode with the client as the main body; the server is used for executing the method provided in the embodiment of the virtual gift display method taking the service as the main body. For specific limitations, reference may be made to the above limitations of the related methods, which are not described in detail herein.

Referring to fig. 10, a block diagram of a computer-readable storage medium according to an embodiment of the present disclosure is shown. The computer-readable storage medium 100 stores program codes, which can be called by a processor to execute the methods described in the above embodiments of the virtual gift display method, and can also be called by the processor to execute the methods described in the above embodiments of the virtual gift display method executed by the server and/or the client device.

The computer-readable storage medium 100 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable and programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 100 includes a non-transitory computer-readable storage medium. The computer readable storage medium 100 has storage space for program code 1002 for performing any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code 1002 may be compressed, for example, in a suitable form.

In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.

The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:信息处理装置、存储介质及信息处理方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类