CN110267059B - Live broadcast method and device, electronic equipment and storage medium - Google Patents

Live broadcast method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110267059B
CN110267059B CN201910651518.4A CN201910651518A CN110267059B CN 110267059 B CN110267059 B CN 110267059B CN 201910651518 A CN201910651518 A CN 201910651518A CN 110267059 B CN110267059 B CN 110267059B
Authority
CN
China
Prior art keywords
treasure box
virtual
server
movable
video
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
CN201910651518.4A
Other languages
Chinese (zh)
Other versions
CN110267059A (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.)
Guangzhou Huya Technology Co Ltd
Original Assignee
Guangzhou Huya Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huya Technology Co Ltd filed Critical Guangzhou Huya Technology Co Ltd
Priority to CN201910651518.4A priority Critical patent/CN110267059B/en
Publication of CN110267059A publication Critical patent/CN110267059A/en
Application granted granted Critical
Publication of CN110267059B publication Critical patent/CN110267059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data

Abstract

The invention discloses a live broadcast method, a live broadcast device, electronic equipment and a storage medium, wherein the method comprises the following steps: responding to a query request of the movable treasure box sent by the client, sending the query request to a second server, wherein the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting an opening condition, and the second server is used for judging whether the movable treasure box is displayed or not according to the query request; receiving a query result fed back by the second server; if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box; and sending the active treasure box element to the client. Can be at the live in-process, show the precious case of activity for spectator's user, spectator's user can open the precious case of activity when having carried out the interactive operation who satisfies the condition of opening, and then the precious case of activity can provide more diversified mode of opening, improves resource utilization. In addition, the audience user watches the video content displayed by the activity treasure box, and the exposure rate of the video content can be improved.

Description

Live broadcast method and device, electronic equipment and storage medium
Technical Field
The present invention relates to data processing technologies, and in particular, to a live broadcast method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of the live platform, more and more users of the live platform are. After the time that a user watches live content of a certain anchor reaches a certain time, in order to reward the watching behavior of the user, a plurality of treasure boxes are generated based on the time, and after the watching time of the user accords with preset time, the virtual treasure boxes meeting the time condition can be opened.
However, the user watches the live program watch time accord with the time of opening virtual treasure case after, just can trigger virtual treasure case's opening mechanism, and this kind of incentive mode is comparatively single, can't be effectual combines together treasure case and other system media resources, and virtual treasure case function singleness, virtual treasure case's utilization ratio is lower.
Disclosure of Invention
The invention provides a live broadcast method, a live broadcast device, electronic equipment and a storage medium, and aims to improve the utilization rate of a virtual treasure box.
In a first aspect, an embodiment of the present disclosure provides a live broadcast method, applied to a first server, including:
responding to a query request of the movable treasure box sent by the client, sending the query request to a second server, wherein the second server is used for judging whether the movable treasure box is displayed or not according to the query request, and the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting opening conditions;
receiving a query result fed back by the second server;
if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box;
and sending the active treasure box element to the client.
In a second aspect, an embodiment of the present disclosure further provides a live broadcast method, applied to a second server, including:
receiving a query request sent by a first server;
responding to the query request, judging whether the movable treasure box is displayed or not, and obtaining a query result, wherein the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting an opening condition;
and feeding back the query result to the first server.
In a third aspect, an embodiment of the present disclosure further provides a live broadcasting method, applied to a client, including:
receiving a triggering instruction of a virtual treasure box interface triggered by a user;
responding to a trigger instruction, and sending a query request of the movable treasure box to a first server;
receiving an active treasure box element returned by the first server;
the mobile treasure box is displayed according to the mobile treasure box elements, and the mobile treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting opening conditions.
In a fourth aspect, embodiments of the present disclosure also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the live broadcast method as shown in the first aspect.
In a fifth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the live broadcasting method as shown in the first aspect.
According to the live broadcast method, the live broadcast device, the electronic equipment and the storage medium, the first server can respond to the query request of the movable treasure box sent by the client, send the query request to the second server and receive the query result fed back by the second server; if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box; and sending the active treasure box element to the client so that the client displays the active treasure box. For virtual precious case function singleness at present, intelligence is according to time trigger, and the live broadcast scheme that this disclosed embodiment provided can show the precious case of activity for spectator's user at the live broadcast in-process, and spectator's user can open the precious case of activity when having carried out the interactive operation who satisfies the opening condition, and then the precious case of activity can provide more diversified opening mode, improves resource utilization. In addition, the audience user watches the content displayed by the activity treasure box, and the exposure rate of the displayed content can be improved.
Drawings
FIG. 1 is a system architecture diagram in which embodiments of the present invention are applicable;
fig. 2 is a schematic flow chart of a live broadcast method in an embodiment of the present invention;
fig. 3 is a flow chart of another live broadcasting method in the embodiment of the present invention;
fig. 4 is a flow chart illustrating another live broadcasting method in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a system architecture diagram applicable to the live broadcast method according to the embodiment of the present invention, which includes a first server 020, a second server 030, and a client 010.
First server 020, also known as a treasure box server, is configured to send virtual treasure box elements, such as active treasure box elements, to client 010 in response to a virtual treasure box operation of client 010. The first server 020 is further used for executing virtual treasure box opening operation; for the active treasure box, when receiving the virtual money issue message sent by the second server 030, the first server 020 opens the active treasure box, and obtains the virtual money obtained by opening the active treasure box. The movable treasure box is displayed in the virtual treasure box interface, after the audience user clicks the movable treasure box, the client 010 shows the opening condition carried in the movable treasure box, and when the audience user executes the interactive operation meeting the opening condition, the movable treasure box can be opened. When the user visits the virtual treasure box interface, in addition to showing the active treasure box, can also show a plurality of virtual timing treasure boxes, the virtual timing treasure box is based on audience user online time's virtual treasure box. In virtual treasure case interface, can show a plurality of virtual timing treasured casees, when spectator's user's online time reaches the time threshold value of opening virtual timing treasured case, spectator's user can click virtual timing treasured case and open in order to open virtual timing treasured case. For the virtual timing treasure box, the first server 020 obtains watching time of a user watching a live program, determines whether to open the corresponding virtual timing treasure box, and when the watching time accords with the opening time of the virtual timing treasure box, if the audience user clicks the corresponding virtual timing treasure box, the virtual timing treasure box is opened, and virtual currency is obtained.
The second server 030 stores virtual treasure box content and virtual treasure box elements that are sent to the first server 020 when necessary, where the virtual treasure box includes an active treasure box and a virtual time treasure box. The second server 030 is further provided with a function of configuring the movable treasure box, which is used for configuring the opening condition of the movable treasure box, an amount mechanism for acquiring the virtual money after the movable treasure box is opened, and the like.
The client 010 is configured to send an inquiry request of the active treasure box to the first server 020 when the audience user triggers the treasure box panel, and then receive the treasure box elements returned by the first server 020, where the treasure box elements include virtual timing treasure box elements, and the first server 020 also returns the active treasure box elements when a preset display condition is met. The client 010 displays the treasure box according to the received treasure box elements, and responds to the opening operation of the audience user on the virtual treasure box.
For the movable treasure box, the client 010 tracks the interactive operation executed by the user on the opening condition carried by the movable treasure box, and sends the execution progress of the interactive operation to the second server 030 through the first server 020, so that the second server 030 judges whether the audience user has the permission to open the movable treasure box according to the completion progress of the interactive operation. For example, the active treasure box may be a virtual video treasure box, at this time, the client 010 tracks the browsing progress of the video content provided by the user to the active treasure box, and sends the browsing progress to the second server 030 through the first server 020, so that the second server 030 judges whether the audience user has the right to open the active treasure box according to the browsing progress.
The following describes the present disclosure from the perspective of the first server 020, the second server 030, and the client 010, respectively, and fig. 2 is a schematic flow chart of a live broadcast method provided in the present disclosure, where the method is applied to the first server, is suitable for processing a treasure box in a live broadcast process, and can be executed by a server disposed on a network side, and the method includes:
and step 110, responding to a query request of the activity treasure box sent by the client, and sending the query request to a second server, wherein the second server is used for judging whether the activity treasure box is displayed according to the query request.
The movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting the opening condition. The client displays a virtual treasure box icon in the live broadcast application, and after the audience user clicks the virtual treasure box icon, the client needs to display a virtual treasure box interface for the user to select. Before a virtual treasure box interface for a user to select is displayed, a client sends a query request of an active treasure box to a first server, a virtual treasure box is generated according to virtual treasure box elements returned by the first server, and the generated virtual treasure box is displayed in the virtual treasure box interface.
The inquiry request of the activity treasure box is used for inquiring whether the activity treasure box is displayed. When the first server receives the query request, the client needs to display a virtual treasure box interface. Virtual treasure box interface not only includes the precious case of activity, still includes the precious case of virtual timing. The first server sends the query request to the second server, and the second server judges whether the movable treasure box is displayed or not.
And step 120, receiving the query result fed back by the second server.
The inquiry request carries the anchor information or category information of the live broadcast room where the audience user is located. The anchor information may include an anchor identification (anchor ID). The category information may refer to a live type of a live room, such as a game type, a food type, an outdoor type, a quadratic type, and the like. And the second server generates a query result according to the configuration data of the activity treasure box stored in the second server. The query results include displaying the active treasure box or not displaying the active treasure box.
And step 130a, if the query result is that the display of the movable treasure box is cancelled, the display of the movable treasure box in the virtual treasure box interface is cancelled.
And step 130b, if the query result is that the activity treasure box is displayed, obtaining the activity treasure box element.
If the query result fed back by the second server is to display the movable treasure box, it indicates that the movable treasure box can be displayed in the virtual treasure box interface. The pre-acquired active treasure box elements can be read locally. The active treasure box elements comprise display icons of the active treasure box, video data carried by the active treasure box, virtual currency available for opening the treasure box, and the like. The display icon of the movable treasure box and the display icon of the virtual timing treasure box can be the same or different.
Optionally, before responding to the query request of the virtual video treasure box sent by the client in step 110, the virtual video treasure box elements may be obtained in advance, including: and accessing the second server to obtain the active treasure box elements.
The first server may communicate with the second server in advance, obtain the active treasure box elements from the second server, and store the active treasure box elements locally.
Step 140, sending the active treasure box element and the virtual timing treasure box element to the client.
The activity treasure box element can be sent to the client through a wireless network. The client generates and displays the active treasure box according to the active treasure box elements.
Further, after the event treasure box element is sent to the client in step 140, the client obtains the opening condition carried by the event treasure box for the spectator user, performs the interactive operation based on the opening condition, the client sends the execution progress of the interactive operation performed by the spectator user to the first server, and the first server forwards the execution progress to the second server. When the execution progress satisfies the opening condition of the active treasure box, the second server sends a virtual money issuing message to the first server. The first server receives the virtual money issuance message sent by the second server.
For example, the activity treasure box can be a virtual video treasure box, and video data for the audience users to watch is carried in the activity treasure box at the moment. After the event treasure box element is sent to the client at step 140, the client sends the viewing progress of the audience user on the video content in the event treasure box to the first server, and the first server forwards the playing progress to the second server. And when the playing progress meets the opening progress of the movable treasure box, the second server sends a virtual currency issuing message to the first server. The first server receives the virtual money issuance message sent by the second server.
In response to the virtual currency-dispensing message, the amount of virtual currency dispensed is determined based on the virtual currency information carried by the virtual currency-dispensing message. The movable treasure box obtains the virtual currency after being opened. Prior to receiving the query request from the first server at step 210, a plurality of active totes may be configured to open levels of virtual currency consumed, each level configured with a different amount of virtual currency.
When acquiring the virtual currency, the amount of the virtual currency is divided into a plurality of levels, and each level corresponds to a certain amount of the virtual currency. The greater the number of virtual currencies in each level, the lower the opening probability corresponding to the level. The sum of the opening probabilities of all the levels of one movable treasure box is 1. For example, three levels are divided, level a, level B and level C. The opening probability corresponding to the level A is 10%, and the amount of the virtual currency obtained after opening is 100 virtual currency units; the opening probability corresponding to the level B is 40%, and the amount of the virtual currency obtained after opening is 40 virtual currency units; the opening probability corresponding to the level C is 50%, and the amount of the virtual currency obtained after opening is 10 virtual currency units.
Sending a virtual currency dispensing message to the client matching the virtual currency amount.
When the amount of the virtual currency is determined, the virtual currency is distributed to the account number of the audience user logged in by the client. And sending the virtual currency distribution message to the client so that the client can acquire the corresponding virtual currency after knowing that the treasure box is opened.
Furthermore, except for displaying the movable treasure box, the virtual treasure box interface can also display a virtual timing treasure box. On the basis of the above embodiment, if the query result is that the display of the active treasure box is cancelled, the virtual time keeping treasure box element is obtained.
The first server may pre-store the virtual time keeping box element locally. The virtual time treasure box element includes: display icons of the virtual timing treasure box, the timing duration required by opening the virtual currency available when the treasure box is opened, and the like. The virtual time box can be the content inherently displayed by the virtual time box interface, and the first server can locally store the virtual time box elements of the commonly used virtual time box.
If the query result is that the movable treasure box is displayed, acquiring the elements of the movable treasure box and the elements of the virtual timing treasure box.
Virtual precious case of timing is the precious case of inherent demonstration in the virtual precious case interface. The time keeping box element can be pre-stored in the first server. Before responding to the query request of the active treasure box sent by the client in step 110, the treasure box elements of the virtual time keeping treasure box can be obtained in advance, further comprising: and acquiring virtual timing treasure box elements.
The first server may communicate with the second server in advance, obtain the virtual time keeping box element from the second server, and store the virtual time keeping box element locally.
In step 140, in addition to sending the active treasure box elements to the client, the virtual time keeping treasure box elements can also be sent to the client.
The active treasure box elements and the virtual timing treasure box elements can be sent to the client through a wireless network. The client generates and displays the movable treasure box according to the movable treasure box element, and generates and displays the virtual timing treasure box according to the virtual timing treasure box element.
According to the live broadcast method provided by the embodiment of the disclosure, the first server can respond to the query request of the movable treasure box sent by the client, send the query request to the second server, and receive the query result fed back by the second server; if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box; and sending the active treasure box element to the client so that the client displays the active treasure box. Compared with the existing virtual treasure box with single function and intelligent triggering according to time, the live broadcast method provided by the embodiment of the disclosure can display the active treasure box for audience users in a live broadcast process through the first server, and the active treasure box can be opened when the audience users execute interactive operation meeting opening conditions, so that the active treasure box can provide a more diversified opening mode, and the resource utilization rate is improved. In addition, the audience user watches the content displayed by the activity treasure box, and the exposure rate of the displayed content can be improved. In addition, can provide the storage and the demonstration of virtual precious case of timing, for audience user provides the virtual precious case of timing based on online duration, richen virtual precious case interface.
Fig. 3 is a schematic flow chart of a live broadcasting method provided by an embodiment of the present disclosure, where the method is applied to a second server, and is suitable for processing a treasure box in a live broadcasting process, and can be executed by a server disposed on a network side, and the method includes:
step 210, receiving a query request sent by a first server.
The second server is connected to the first server on the network side. Optionally, the second server and the first server may be merged by a server with a higher load, and the second server and the first server are respectively used as two modules in the merged server.
Step 220, responding to the query request, and judging whether the movable treasure box is displayed or not to obtain a query result.
The movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting the opening condition. The second server stores the display conditions and the starting conditions of the virtual treasure boxes (including the movable treasure box and the virtual timing treasure box) which are configured in advance. In step 220, it is first determined whether the query request carries conditional data that is consistent with displaying the active treasure box.
Optionally, the query request includes item information or anchor information of the virtual treasure box interface. The query request may contain only live broadcast information or only category information. The second server stores the association relationship between the anchor information and the activity treasure box and the association relationship between the item information and the activity treasure box.
Further, the query request may carry only anchor information or only item information. Correspondingly, before receiving the query request sent by the first server in step 210, the method further includes:
configuring the corresponding relation between the movable treasure box and the category information; configuring the corresponding relation between the movable treasure box and the anchor information; the configuration of the anchor information and the category information of the same movable treasure box are in a mutual exclusion relationship.
Step 220, responding to the query request, judging whether the activity treasure box is displayed or not, obtaining a query result, and implementing the method in the following way:
and step 221, judging whether the activity treasure box corresponding to the item information or the anchor information exists.
And the second server searches whether an activity treasure box corresponding to the category information or the anchor information carried by the query request exists in a pre-stored database. Not all categories or all anchor are configured with active treasure boxes. For example, a video virtual treasure box can be configured for a higher traffic category or anchor, and thus with the traffic of the category or anchor. Furthermore, a virtual timing treasure box can be displayed in the virtual treasure box interface, and when the audience user gets the virtual timing treasure box, the audience user watches the content displayed in the movable treasure box, such as the pushed video, so that the access efficiency of the displayed content (such as the pushed video) is improved.
Step 222, judging whether the current server virtual currency meets the setting condition for opening the virtual treasure box.
The current server may be the second server or the first server, and the amount of virtual money that can be served in the current server per day or for a certain period of time (e.g., multiple days or multiple hours) may be manually set. After the client opens the active treasure box, if the client opens the virtual currency, the amount of the virtual currency which can be distributed in the current server is consumed. And if the virtual currency required by opening the virtual treasure box is larger than the current server virtual currency, judging that the current server virtual currency does not meet the setting condition for opening the virtual treasure box. And if the virtual currency required by opening the virtual treasure box is less than or equal to the current server virtual currency, judging that the current server virtual currency meets the setting condition for opening the virtual treasure box.
Thus, before displaying the active treasure box, it is determined whether there is sufficient virtual currency in the server for the active treasure box to open.
The execution sequence of step 221 and step 222 is not sequential, and step 223 is executed after the judgment result of step 221 and step 222 is obtained.
And step 223, if the two conditions are met, judging that the movable treasure box is displayed.
And only if the conditions are met simultaneously, the movable treasure boxes corresponding to the item information or the anchor information exist, and the second server can determine to display the movable treasure boxes when the current server virtual currency does not meet the setting condition for opening the virtual treasure boxes. Otherwise, if the movable treasure box corresponding to the category information or the anchor information does not exist, or the current server virtual currency does not meet the setting condition for opening the virtual treasure box, the movable treasure box is determined not to be displayed, and the reliability of the movable treasure box is further improved.
When the movable treasure box is configured, different movable treasure boxes can be configured according to different operating systems, and even the movable treasure box can be cancelled to some operating systems. Specifically, judge whether to show the precious case of activity, obtain the inquiry result, still include:
and judging whether the operating system of the client is matched with the operating system configured by the movable treasure box. And if the operating system of the client is matched with the operating system configured by the movable treasure box, the movable treasure box corresponding to the category information or the anchor information exists, and the current server virtual currency meets the setting condition for opening the virtual treasure box, namely the two conditions are met, judging to display the movable treasure box.
The operating system may include, for example, an android system, a mac system, and the like. When configuring the activity treasure box, the configuration dimension of a client operating system can be increased. When judging whether the movable treasure box is displayed, only the condition that the operating system of the client is matched with the operating system configured by the movable treasure box, the movable treasure box corresponding to the category information or the anchor information exists, and the number of the virtual money consumed by opening the movable treasure box is matched with the virtual money left in the current server can be judged to display the movable treasure box. Otherwise, when any one or more of the three parts do not accord with the display device, the movable treasure box is judged not to be displayed. Through the screening condition that increases operating system, the precious case of activity of dispatching that can be more accurate improves the accuracy.
Further, if the plurality of active treasure boxes meet the condition, the active treasure boxes which are allowed to be displayed are determined according to a preset priority order, in the preset priority order, the priority of the anchor information is greater than the priority of the category information, and the priority of the category information is greater than the priority of the operating system.
The query request may also include both item information and anchor information. At this time, a plurality of event boxes can be determined based on the genre information and the anchor information. In order to more orderly display a plurality of activity treasure boxes, the activity treasure boxes can be sorted according to the priority.
Further, in use, it is found that some audience users have cheating behavior of refreshing the reward a plurality of times, and based on this, before receiving the query request sent by the first server in step 210, the method further includes:
and configuring the opening times of the activity treasure box corresponding to the user information logged in by each client.
The first server is only responsible for issuing the virtual money, and whether the virtual money is issued or not can be executed by the second server. In the second server, the number of times each audience user receives the reward may be configured by the background, for example, 1 time, 2 times, 5 times, and the like. Further, the number of requests by the client for the activity treasure box may be determined based on the network address of the client. Illustratively, using IP restrictions, a single IP is restricted to initiating a maximum of 50 query requests within a minute. A single IP is restricted to initiate up to 1000 query requests in a day.
Furthermore, the time interval for dispensing the movable treasure box can be set, and then the user is prevented from brushing the treasure box for many times in a short time to obtain the reward. Illustratively, there is a limit to the total amount of rewards that are dispensed every 30 minutes. When the quota has been completely released within 30 minutes, the activity treasure box will not be displayed within the 30 minutes. The next 30 minutes the video treasure box will be redisplayed and available.
Step 230, feeding back the query result to the first server.
And feeding back the judgment result of the step 220 as a query result to the first server.
Further, the active treasure box is a virtual video treasure box, and the virtual video treasure box carries a video, and after the query result is fed back to the first server in step 230, the method further includes:
and step 240, receiving the video playing progress sent by the client.
The client can send the video playing progress to the second server through the first server. And the second server determines whether to allow the audience user logged in the client to open the virtual video treasure box according to the video playing progress.
And step 250, determining whether the video is played completely according to the video playing progress.
When the audience user clicks the virtual video treasure box, the client plays the video data in the virtual video treasure box, and the playing progress can be the time information of the video data being played. And judging whether the time information is matched with the total video duration. And if the time information is matched with the total video duration, namely the time information is the same as the total video duration, determining that the playing is finished.
And step 260, when the video playing is finished, opening the virtual video treasure box to obtain the virtual currency information obtained by opening the virtual video treasure box.
The operation of opening the virtual video treasure box can be executed by the first server or the second server. The second server may send a virtual currency dispensing message to the first server so that the first server opens the virtual video treasure box according to the virtual currency dispensing message. The second server can also open the virtual video treasure box by itself, and after the virtual video treasure box is opened, the virtual currency amount obtained by opening the treasure box is used as the virtual currency information.
Step 270, sending a virtual currency dispensing message to the first server, the virtual currency dispensing message including the virtual currency information.
And sending the virtual money information obtained in the step 260 to the first server in the form of a virtual money issuing message, so that the first server issues the virtual money according to the virtual money information.
Further, if the audience user still stores the remaining virtual treasure box picking times, the client is informed to display the movable treasure box again. The user clicks the button and re-executes step 240 and subsequent steps. And if the audience user does not have the opportunity to get the treasure box again, displaying a virtual currency icon for the audience user to start the virtual video acquisition, and displaying the amount of the virtual currency under the icon. And if the user successfully receives the silverbeans for multiple times, accumulating and displaying the silverbeans below the virtual currency icon. For example, the first time the user receives 100 virtual currency units, X100 is shown below the virtual currency icon. Accumulate the second pickup, then pick up the double (multiple server configuration) interface display X200, and so on.
Optionally, if it is determined whether the spectator user has to open the activity treasure box again, the pop-up window displays a "get again" button and a close button. If not, only showing a closing button. Clicking the once more getting button to re-execute the process of getting the movable treasure box. And when the closing button is clicked, closing the popup window, and ending the process.
In the live broadcasting method provided by the embodiment of the invention, the second server receives the query request sent by the first server; responding to the query request, and judging whether the movable treasure box is displayed or not to obtain a query result; and feeding back the query result to the first server. The response to the query request can be realized in the second server, whether the movable treasure box is displayed at the client side or not is judged, and then the display judgment and the configuration of the movable treasure box are set in the second server, so that the resource utilization rate is improved. Simultaneously, make first server can be at the live in-process, for audience user provides the precious case of activity based on video content, make virtual precious case can provide more diversified opening mode, improve resource utilization. In addition, the audience user watches the video content displayed by the activity treasure box, and the exposure rate of the video content can be improved.
Furthermore, the activity treasure box comprises an activity link of the activity content; after the query result is fed back to the first server, the method further comprises the following steps:
receiving activity completion information sent by a client, wherein the interaction completion information is used for indicating whether activity content related to an activity link is completed or not; determining whether to finish the active content according to the active link access information; when the activity content is finished, opening the movable treasure box to obtain the virtual currency information obtained by opening the movable treasure box; sending a virtual currency issuance message to the first server, the virtual currency issuance message including the virtual currency information.
The active treasure box can nest active links in the video data except for taking the playing completion as an opening condition. The active link is associated with an active page. And the audience users access the interactive page through the activity link, and after participating in completing the activity content, the client sends activity completion information to the second server. If the user successfully participates in the activity content, the activity completion information carries an identifier for completing the activity; and if the user does not successfully participate in the activity content, the activity completion information carries the identifier of the uncompleted activity. The second server can determine whether the activity content is completed according to the identifier carried in the activity completion information. And when the audience user finishes the activity content, determining to open the activity treasure box.
Optionally, the second server may obtain the playing progress and the interaction completion information at the same time, and when the audience user finishes watching and successfully participates in the activity, the activity treasure box is determined to be opened.
Fig. 4 is a schematic flow chart of a live broadcasting method provided by an embodiment of the present disclosure, where the method is applied to a client, and is suitable for processing a treasure box in a live broadcasting process, and can be executed by an electronic device operated by an audience user, such as a mobile terminal, and the method includes:
and step 310, receiving a triggering instruction of the virtual treasure box interface triggered by the user.
Audience users can see the treasure box icon in the screen after entering a live broadcast room of a certain anchor of a certain category of live broadcast software, and click a trigger instruction of a virtual treasure box interface triggered by the treasure box icon.
And step 320, responding to the trigger instruction, and sending a query request of the movable treasure box to the first server.
When the trigger instruction is detected, the client sends a query request of the movable treasure box to the first server. The query request contains the category information or anchor information of the audience user currently located.
And step 330, receiving the active treasure box element returned by the first server.
The client receives the treasure box elements returned by the first server, and generates a virtual treasure box according to the treasure box elements.
And 340, displaying the movable treasure box according to the movable treasure box elements.
The movable treasure box is a virtual treasure box which can be opened when the audience user executes the interactive operation meeting the opening condition. The user can click according to the activity treasure box displayed by the client, and then watches the content displayed by the activity treasure box.
In one implementation, the active treasure box is a virtual video treasure box, and the virtual video treasure box carries a video, and after the active treasure box is displayed, the method further comprises:
and 350, when the user clicks the virtual video treasure box to play the video, sending the video progress to the second server, and judging whether the video is played completely by the second server according to the video progress.
The client can send the video progress to the second server through the first server, and can also directly send the video progress to the second server.
And step 360, receiving the virtual money allocation message sent by the first server when the video playing is finished.
The virtual currency allocation message is used for indicating the amount of the virtual currency obtained after the audience user successfully opens the video treasure box, and the like.
In one implementation, the virtual treasure box interface displays a virtual timing treasure box in addition to the active treasure box. In this case, the above embodiment may be implemented as follows:
step one, receiving a triggering instruction of a virtual treasure box interface triggered by a user.
And step two, responding to the trigger instruction, and sending a query request of the virtual video treasure box to the first server.
And step three, receiving the treasure box elements returned by the first server, wherein the treasure box elements comprise virtual timing treasure box elements.
And step four, displaying the virtual timing treasure box according to the virtual timing treasure box elements.
And step five, if the treasure box elements further comprise virtual video treasure box elements, displaying the virtual video treasure box according to the virtual video treasure box elements.
Further, in the above embodiment, if the virtual currency award has been distributed, the user can no longer pick up the event treasure box. When the movable treasure box is clicked, a prompt popup window of 'all issued today' is popped up. And closing the popup window after the popup window clicking is determined, and ending the process.
Optionally, the client does not request an active resource, and the active resource is video data played by the active treasure box, and a popup prompt is popped up. Prompt "no video available for playback, please try later". And closing the popup window after the popup window clicking is determined, and ending the process.
Optionally, if the viewer user clicks the close button in the process of watching the video, the pop-up window prompts that the complete video can be watched to receive the reward. If the popup is clicked on the popup and continuously watched, the popup is closed, and the video is continuously played; and if the advertisement is clicked to be closed, closing the video, returning to the treasure box panel, and ending the process.
According to the live broadcast method provided by the embodiment of the invention, in the process that the audience user watches live broadcast, if the audience user clicks the virtual treasure box interface, the movable treasure box is displayed in the virtual treasure box interface, and after the user watches the content displayed by the movable treasure box, corresponding rewards can be obtained, so that the virtual treasure box can provide a more diversified opening mode, and the resource utilization rate is improved. For example, the exposure rate of the video content can be increased when the audience user watches the video content displayed by the virtual video treasure box.
The embodiment of the present invention further provides a live broadcasting device, which is applied to a first server, and includes:
the system comprises a query request response module, a second server and a virtual treasure box starting module, wherein the query request response module is used for responding to a query request of the movable treasure box sent by a client and sending the query request to the second server, the second server is used for judging whether the movable treasure box is displayed or not according to the query request, and the movable treasure box is a virtual treasure box which can be started when audience users execute interactive operation meeting starting conditions;
the query result receiving module is used for receiving the query result fed back by the second server;
the treasure box element obtaining module is used for obtaining the active treasure box element if the query result shows that the active treasure box is displayed;
and the treasure box element sending module is used for sending the active treasure box element to the client.
On the basis of the above-mentioned embodiment, the treasure box element obtaining module is further configured to,
and accessing the second server to obtain the active treasure box elements.
On the basis of the above embodiment, the method further includes: a virtual currency-dispensing module to:
receiving a virtual money issuance message sent by the second server;
in response to the virtual currency issuing message, determining the amount of the issued virtual currency according to the virtual currency information carried by the virtual currency issuing message;
sending a virtual currency dispensing message to the client matching the virtual currency amount.
According to the live broadcast device provided by the embodiment of the disclosure, the first server can respond to the query request of the movable treasure box sent by the client, send the query request to the second server, and receive the query result fed back by the second server; if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box; and sending the active treasure box element to the client so that the client displays the active treasure box. Compared with the existing virtual treasure box with single function and intelligent triggering according to time, the live broadcast method provided by the embodiment of the disclosure can display the active treasure box for audience users in a live broadcast process through the first server, and the active treasure box can be opened when the audience users execute interactive operation meeting opening conditions, so that the active treasure box can provide a more diversified opening mode, and the resource utilization rate is improved. In addition, the audience user watches the content displayed by the activity treasure box, and the exposure rate of the displayed content can be improved. In addition, can provide the storage and the demonstration of virtual precious case of timing, for audience user provides the virtual precious case of timing based on online duration, richen virtual precious case interface.
The embodiment of the invention also provides a live broadcast device, which is applied to a second server and comprises the following components:
the query request receiving module is used for receiving a query request sent by a first server;
the judging module is used for responding to the query request, judging whether the movable treasure box is displayed or not to obtain a query result, wherein the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting the opening condition;
and the query result sending module is used for feeding back the query result to the first server.
On the basis of the embodiment, the query request comprises the item information or the anchor information of the virtual treasure box interface; the judgment module is used for:
judging whether an activity treasure box corresponding to the item information or the anchor information exists or not;
judging whether the current server virtual currency meets the setting condition for opening the virtual treasure box;
if the two conditions are met, the movable treasure box is judged to be displayed.
On the basis of the embodiment, the system further comprises a configuration module, a display module and a display module, wherein the configuration module is used for configuring the corresponding relation between the movable treasure box and the category information;
configuring the corresponding relation between the movable treasure box and the anchor information;
the configuration of the anchor information and the category information of the same movable treasure box are in a mutual exclusion relationship.
On the basis of the above embodiment, the determining module is configured to:
if the plurality of active treasure boxes meet the conditions, determining the active treasure boxes which are allowed to be displayed according to a preset priority sequence, wherein in the preset priority sequence, the priority of the anchor information is greater than the priority of the category information, and the priority of the category information is greater than the priority of the operating system.
On the basis of the foregoing embodiment, the configuration module is further configured to:
configuring a plurality of levels of virtual currency consumed by the opening of the active totes, each level configured with a different amount of virtual currency.
On the basis of the foregoing embodiment, the configuration module is further configured to:
and configuring the opening times of the activity treasure box corresponding to the user information logged in by each client.
On the basis of the above embodiment, still include virtual treasure case processing module, the precious case of activity is the precious case of virtual video, and the precious case of virtual video carries the video, and virtual precious case processing module is used for:
receiving a video playing progress sent by a client;
determining whether the video is played completely according to the video playing progress;
when the video playing is finished, opening the virtual video treasure box to obtain virtual currency information obtained by opening the virtual video treasure box;
sending a virtual currency issuance message to the first server, the virtual currency issuance message including the virtual currency information.
In the live broadcast device provided by the embodiment of the invention, the second server receives the query request sent by the first server; responding to the query request, and judging whether the movable treasure box is displayed or not to obtain a query result; and feeding back the query result to the first server. The response to the query request can be realized in the second server, whether the movable treasure box is displayed at the client side or not is judged, and then the display judgment and the configuration of the movable treasure box are set in the second server, so that the resource utilization rate is improved. Simultaneously, make first server can be at the live in-process, for audience user provides the precious case of activity based on video content, make virtual precious case can provide more diversified opening mode, improve resource utilization. In addition, the audience user watches the video content displayed by the activity treasure box, and the exposure rate of the video content can be improved.
The embodiment of the invention also provides a live broadcast device, which is applied to the client and comprises the following components:
the trigger instruction receiving module is used for receiving a trigger instruction of the virtual treasure box interface triggered by a user;
the query request sending module is used for responding to the trigger instruction and sending a query request of the movable treasure box to the first server;
the treasure box element receiving module is used for receiving the active treasure box elements returned by the first server;
the display module is used for displaying the movable treasure box according to the movable treasure box elements, and the movable treasure box can be opened when the interactive operation meeting the opening condition is executed for audience users.
On the basis of the embodiment, the mobile video treasure box further comprises a playing progress detection module, the mobile treasure box is a virtual video treasure box, the virtual video treasure box carries a video, the playing progress detection module is used for sending a video progress to a second server when a user clicks the virtual video treasure box to play the video, and the second server judges whether the video is played completely according to the video progress;
and when the video is played, receiving the virtual money allocation message sent by the first server.
According to the live broadcast device provided by the embodiment of the invention, in the process that audience users watch live broadcast, if the audience users click the virtual treasure box interface, the movable treasure box is displayed in the virtual treasure box interface, and after the users watch the contents displayed by the movable treasure box, corresponding rewards can be obtained, so that the virtual treasure box can provide a more diversified opening mode, and the resource utilization rate is improved. For example, the exposure rate of the video content can be increased when the audience user watches the video content displayed by the virtual video treasure box.
The device can execute the methods provided by all the embodiments of the invention, and has corresponding functional modules and beneficial effects for executing the methods. For details not described in detail in this embodiment, reference may be made to the methods provided in all the foregoing embodiments of the present invention. It should be noted that, in the embodiment of the live broadcasting device, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of processors 70 in the computer device may be one or more, and one processor 70 is taken as an example in fig. 5; the processor 70, the memory 71, the input device 72 and the output device 73 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 5.
The memory 71 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the live broadcast method in the embodiment of the present invention. The processor 70 executes various functional applications of the computer device and data processing by running software programs, instructions and modules stored in the memory 71, that is, implements the live broadcast method described above.
Optionally, the electronic device may be a first server, and the method includes:
responding to a query request of the movable treasure box sent by the client, sending the query request to a second server, wherein the second server is used for judging whether the movable treasure box is displayed or not according to the query request, and the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting opening conditions;
receiving a query result fed back by the second server;
if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box;
and sending the active treasure box element to the client.
Further, before responding to the query request of the activity treasure box sent by the client, the method further comprises the following steps:
and accessing the second server to obtain the active treasure box elements.
Further, after sending the active treasure box element and the virtual timing treasure box element to the client, the method further comprises:
receiving a virtual money issuance message sent by the second server;
in response to the virtual currency issuing message, determining the amount of the issued virtual currency according to the virtual currency information carried by the virtual currency issuing message;
sending a virtual currency dispensing message to the client matching the virtual currency amount.
Optionally, the electronic device may be a second server, and the method includes:
receiving a query request sent by a first server;
responding to the query request, judging whether the movable treasure box is displayed or not, and obtaining a query result, wherein the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting an opening condition;
and feeding back the query result to the first server.
Further, the query request comprises the category information or anchor information of the virtual treasure box interface; responding to the inquiry request, judging whether the movable treasure box is displayed or not, and obtaining an inquiry result, wherein the inquiry result comprises the following steps:
judging whether an activity treasure box corresponding to the item information or the anchor information exists or not;
judging whether the current server virtual currency meets the setting condition for opening the virtual treasure box;
if the two conditions are met, the movable treasure box is judged to be displayed.
Further, before receiving the query request sent by the first server, the method further includes:
configuring the corresponding relation between the movable treasure box and the category information;
configuring the corresponding relation between the movable treasure box and the anchor information;
the configuration of the anchor information and the category information of the same movable treasure box are in a mutual exclusion relationship.
Further, judge whether to show the precious case of activity, obtain the inquiry result, still include:
judging whether an operating system of the client is matched with an operating system configured by the movable treasure box;
and if the operating system of the client is matched with the operating system configured by the movable treasure box, the movable treasure box corresponding to the category information or the anchor information exists, and the current server virtual currency meets the setting condition for opening the virtual treasure box, judging to display the movable treasure box.
Further, judge and show the precious case of activity, include:
if the plurality of active treasure boxes meet the conditions, determining the active treasure boxes which are allowed to be displayed according to a preset priority sequence, wherein in the preset priority sequence, the priority of the anchor information is greater than the priority of the category information, and the priority of the category information is greater than the priority of the operating system.
Further, before receiving the query request sent by the first server, the method further includes:
configuring a plurality of levels of virtual currency consumed by the opening of the active totes, each level configured with a different amount of virtual currency.
Further, before receiving the query request sent by the first server, the method further includes:
and configuring the opening times of the activity treasure box corresponding to the user information logged in by each client.
Further, the precious case of activity is the precious case of virtual video, and the precious case of virtual video carries the video, after feeding back the inquiry result to first server, still includes:
receiving a video playing progress sent by a client;
determining whether the video is played completely according to the video playing progress;
when the video playing is finished, opening the virtual video treasure box to obtain virtual currency information obtained by opening the virtual video treasure box;
sending a virtual currency issuance message to the first server, the virtual currency issuance message including the virtual currency information.
Optionally, the electronic device may be a client, and the method includes:
receiving a triggering instruction of a virtual treasure box interface triggered by a user;
responding to a trigger instruction, and sending a query request of the movable treasure box to a first server;
receiving an active treasure box element returned by the first server;
displaying the virtual timing treasure box according to the virtual timing treasure box elements;
the mobile treasure box is displayed according to the mobile treasure box elements, and the mobile treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting opening conditions.
Further, the precious case of activity is the precious case of virtual video, and the precious case of virtual video carries the video, after showing the precious case of activity, still includes:
when a user clicks the virtual video treasure box to play a video, sending a video progress to a second server, and judging whether the video is played completely by the second server according to the video progress;
and when the video is played, receiving the virtual money allocation message sent by the first server.
The memory 71 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 for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 71 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 non-volatile solid state storage device. In some examples, the memory 71 may further include memory located remotely from the processor 70, which may be connected to a computer device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive input numeric or character information and generate key signal inputs relating to user settings and function controls of the computer apparatus. The output device 73 may include a display device such as a display screen.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when executed by a computer processor is configured to perform a live broadcast method. Optionally, when the execution device is a first server, the method includes:
responding to a query request of the movable treasure box sent by the client, sending the query request to a second server, wherein the second server is used for judging whether the movable treasure box is displayed or not according to the query request, and the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting opening conditions;
receiving a query result fed back by the second server;
if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box;
and sending the active treasure box element to the client.
Further, before responding to the query request of the activity treasure box sent by the client, the method further comprises the following steps:
and accessing the second server to obtain the active treasure box elements.
Further, after sending the active treasure box element and the virtual timing treasure box element to the client, the method further comprises:
receiving a virtual money issuance message sent by the second server;
in response to the virtual currency issuing message, determining the amount of the issued virtual currency according to the virtual currency information carried by the virtual currency issuing message;
sending a virtual currency dispensing message to the client matching the virtual currency amount.
Optionally, the electronic device may be a second server, and the method includes:
receiving a query request sent by a first server;
responding to the query request, judging whether the movable treasure box is displayed or not, and obtaining a query result, wherein the movable treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting an opening condition;
and feeding back the query result to the first server.
Further, the query request comprises the category information or anchor information of the virtual treasure box interface; responding to the inquiry request, judging whether the movable treasure box is displayed or not, and obtaining an inquiry result, wherein the inquiry result comprises the following steps:
judging whether an activity treasure box corresponding to the item information or the anchor information exists or not;
judging whether the current server virtual currency meets the setting condition for opening the virtual treasure box;
if the movable treasure box corresponding to the item information or the anchor information exists and the current server virtual currency meets the setting condition for opening the virtual treasure box, the movable treasure box is judged to be displayed if the two conditions are met.
Further, before receiving the query request sent by the first server, the method further includes:
configuring the corresponding relation between the movable treasure box and the category information;
configuring the corresponding relation between the movable treasure box and the anchor information;
the configuration of the anchor information and the category information of the same movable treasure box are in a mutual exclusion relationship.
Further, judge whether to show the precious case of activity, obtain the inquiry result, still include:
judging whether an operating system of the client is matched with an operating system configured by the movable treasure box;
and if the operating system of the client is matched with the operating system configured by the movable treasure box, the movable treasure box corresponding to the category information or the anchor information exists, and the current server virtual currency meets the setting condition for opening the virtual treasure box, judging to display the movable treasure box.
Further, judge and show the precious case of activity, include:
if the plurality of active treasure boxes meet the conditions, determining the active treasure boxes which are allowed to be displayed according to a preset priority sequence, wherein in the preset priority sequence, the priority of the anchor information is greater than the priority of the category information, and the priority of the category information is greater than the priority of the operating system.
Further, before receiving the query request sent by the first server, the method further includes:
configuring a plurality of levels of virtual currency consumed by the opening of the active totes, each level configured with a different amount of virtual currency.
Further, before receiving the query request sent by the first server, the method further includes:
and configuring the opening times of the activity treasure box corresponding to the user information logged in by each client.
Further, the precious case of activity is the precious case of virtual video, and the precious case of virtual video carries the video, after feeding back the inquiry result to first server, still includes:
receiving a video playing progress sent by a client;
determining whether the video is played completely according to the video playing progress;
when the video playing is finished, opening the virtual video treasure box to obtain virtual currency information obtained by opening the virtual video treasure box;
sending a virtual currency issuance message to the first server, the virtual currency issuance message including the virtual currency information.
Optionally, the electronic device may be a client, and the method includes:
receiving a triggering instruction of a virtual treasure box interface triggered by a user;
responding to a trigger instruction, and sending a query request of the movable treasure box to a first server;
receiving an active treasure box element returned by the first server;
the mobile treasure box is displayed according to the mobile treasure box elements, and the mobile treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting opening conditions.
Further, the precious case of activity is the precious case of virtual video, and the precious case of virtual video carries the video, after showing the precious case of activity, still includes:
when a user clicks the virtual video treasure box to play a video, sending a video progress to a second server, and judging whether the video is played completely by the second server according to the video progress;
and when the video is played, receiving the virtual money allocation message sent by the first server.
Of course, the computer program of the computer-readable storage medium storing the computer program provided in the embodiments of the present invention is not limited to the above method operations, and may also perform related operations in the live broadcast method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (14)

1. A live broadcast method is applied to a first server and comprises the following steps:
responding to a query request of an active treasure box sent by a client, and sending the query request to a second server, wherein the second server is used for judging whether the active treasure box is displayed or not according to the query request, and the active treasure box is a virtual treasure box which can be opened when an audience user executes interactive operation meeting an opening condition;
the query request includes:
the audience user is in the main broadcasting information or category information of the live broadcasting room;
receiving a query result fed back by the second server;
if the query result is that the movable treasure box is displayed, acquiring elements of the movable treasure box;
and sending the active treasure box element to the client.
2. The live broadcast method of claim 1, further comprising, prior to responding to a query request sent by a client for an active treasure box:
and accessing the second server to obtain the active treasure box elements.
3. The live method of claim 1, further comprising, after sending the active treasure box element to the client:
receiving a virtual money issuance message sent by the second server;
responding to the virtual currency issuing message, and determining the amount of the issued virtual currency according to the virtual currency information carried by the virtual currency issuing message;
sending a virtual currency allotment message to the client matching the virtual currency amount.
4. A live broadcast method is applied to a second server and comprises the following steps:
receiving a query request sent by a first server;
the query request includes:
the item information or the anchor information of the virtual treasure box interface;
responding to the query request, judging whether to display an active treasure box or not, and obtaining a query result, wherein the active treasure box is a virtual treasure box which can be opened when the audience user executes interactive operation meeting an opening condition;
and feeding back the query result to the first server.
5. A live broadcast method according to claim 4, wherein the query request comprises item information or anchor information of a virtual treasure box interface; the responding to the query request, judging whether the movable treasure box is displayed or not, and obtaining a query result, comprising:
judging whether an activity treasure box corresponding to the item information or the anchor information exists or not;
judging whether the current server virtual currency meets the setting condition for opening the virtual treasure box;
if the two conditions are met, the movable treasure box is judged to be displayed.
6. The live broadcasting method according to claim 4, wherein before receiving the query request sent by the first server, the live broadcasting method further comprises:
configuring the corresponding relation between the movable treasure box and the category information;
configuring the corresponding relation between the movable treasure box and the anchor information;
the configuration of the anchor information and the category information of the same movable treasure box are in a mutual exclusion relationship.
7. A live method according to claim 5, wherein the determining to display an activity treasure box comprises:
if the plurality of the active treasure boxes meet the conditions, determining the active treasure boxes which are allowed to be displayed according to a preset priority sequence, wherein the priority of the anchor information is greater than the priority of the category information in the preset priority sequence.
8. The live broadcasting method according to claim 7, wherein before receiving the query request sent by the first server, the live broadcasting method further comprises:
configuring a plurality of levels of virtual currency consumed by the opening of the active totes, each level configured with a different amount of virtual currency.
9. A live broadcast method according to claim 8, wherein before receiving the query request sent by the first server, the method further comprises:
and configuring the opening times of the activity treasure box corresponding to the user information logged in by each client.
10. The live broadcast method according to claim 4, wherein the active treasure box is a virtual video treasure box, the virtual video treasure box carries a video, and after the query result is fed back to the first server, the method further comprises:
receiving a video playing progress sent by a client;
determining whether the video is played completely according to the video playing progress;
when the video playing is finished, opening a virtual video treasure box to obtain virtual currency information obtained by opening the virtual video treasure box;
sending a virtual currency issuance message to the first server, the virtual currency issuance message including the virtual currency information.
11. A live broadcast method is applied to a client and comprises the following steps:
receiving a triggering instruction of a virtual treasure box interface triggered by a user;
responding to the trigger instruction, and sending a query request of the movable treasure box to a first server;
the query request includes:
the audience user is in the main broadcasting information or category information of the live broadcasting room;
receiving an active treasure box element returned by the first server;
and displaying the movable treasure box according to the movable treasure box element, wherein the movable treasure box is a virtual treasure box which can be opened when the audience user executes the interactive operation meeting the opening condition.
12. The live broadcast method of claim 11, wherein the active treasure box is a virtual video treasure box, the virtual video treasure box carries video, and after displaying the active treasure box, the method further comprises:
when a user clicks the virtual video treasure box to play a video, sending a video progress to a second server, and judging whether the video is played completely by the second server according to the video progress;
and when the video is played, receiving the virtual money allocation message sent by the first server.
13. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the live method of any of claims 1-12 when executing the program.
14. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out a live method as claimed in any one of the claims 1-12.
CN201910651518.4A 2019-07-18 2019-07-18 Live broadcast method and device, electronic equipment and storage medium Active CN110267059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910651518.4A CN110267059B (en) 2019-07-18 2019-07-18 Live broadcast method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910651518.4A CN110267059B (en) 2019-07-18 2019-07-18 Live broadcast method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110267059A CN110267059A (en) 2019-09-20
CN110267059B true CN110267059B (en) 2021-08-03

Family

ID=67927125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910651518.4A Active CN110267059B (en) 2019-07-18 2019-07-18 Live broadcast method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110267059B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602534B (en) * 2019-09-23 2022-02-11 咪咕文化科技有限公司 Information processing method and device and computer readable storage medium
CN110769302B (en) * 2019-10-28 2022-03-22 广州方硅信息技术有限公司 Live broadcast interaction method, device, system, terminal equipment and storage medium
CN111212314B (en) * 2020-01-17 2021-09-21 广州方硅信息技术有限公司 Method and device for displaying special effect of virtual gift and electronic equipment
CN111586423B (en) * 2020-04-24 2021-09-10 腾讯科技(深圳)有限公司 Live broadcast room interaction method and device, storage medium and electronic device
CN112235647B (en) * 2020-10-13 2021-08-17 北京达佳互联信息技术有限公司 Network data processing method and device, terminal and server
CN112162671B (en) 2020-10-13 2022-03-25 北京达佳互联信息技术有限公司 Live broadcast data processing method and device, electronic equipment and storage medium
CN113781022A (en) * 2021-09-10 2021-12-10 北京快来文化传播集团有限公司 Interactive live broadcast system based on virtual gift
CN116389784A (en) * 2023-06-06 2023-07-04 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070136776A1 (en) * 2005-12-09 2007-06-14 Michael Findlay Television viewers interation and voting method
CN104519124B (en) * 2014-11-27 2018-11-23 广州华多网络科技有限公司 A kind of distribution method and device of virtual resource

Also Published As

Publication number Publication date
CN110267059A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN110267059B (en) Live broadcast method and device, electronic equipment and storage medium
CN108235102B (en) Service processing method, device and storage medium
CN112291632B (en) Live broadcast interaction method and device, electronic equipment and computer readable storage medium
CN112672175A (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN110784751B (en) Information display method and device
CN111935554A (en) Live broadcast information processing method, device, equipment and computer readable storage medium
US20010034654A1 (en) Interactive internet advertising and e-commerce method and system
JP2023164603A (en) Method for operating user terminal and computer program
CN110807668A (en) Live broadcast reward method, device, equipment and storage medium
CN108156470B (en) Interaction method and device based on network live broadcast
CN110324649A (en) Interaction control method, device, storage medium and electronic device in live streaming
CN113438496A (en) Live broadcast service processing method and device, electronic equipment and storage medium
CN112346632B (en) Virtual item processing method and device, electronic equipment and storage medium
CN113784223B (en) Live broadcast room transmission method, device, storage medium, computer equipment and system
CN106559312A (en) Group management and device based on controlled plant
CN106713272A (en) Live broadcast reminder method and device
CN113191820A (en) Reward issuing method and device based on live broadcast, electronic equipment and storage medium
CN112714329A (en) Display control method and device for live broadcast room, storage medium and electronic equipment
CN113170216A (en) Live broadcast-based gift delivery method and device, equipment and storage medium
CN112546621A (en) Voting method and device for live game, computer storage medium and electronic equipment
CN114053723A (en) Rights and interests recommendation method, device, medium and computing equipment
CN113965796A (en) Interface display method and display equipment
CN112950294A (en) Information sharing method and device, electronic equipment and storage medium
US20100058379A1 (en) Method and system for selecting a movie for viewing
CN111353455A (en) Video content determination method and device, storage medium and electronic equipment

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