CN110830825A - Live broadcast room reward return method, storage medium, electronic equipment and server - Google Patents

Live broadcast room reward return method, storage medium, electronic equipment and server Download PDF

Info

Publication number
CN110830825A
CN110830825A CN201810909276.XA CN201810909276A CN110830825A CN 110830825 A CN110830825 A CN 110830825A CN 201810909276 A CN201810909276 A CN 201810909276A CN 110830825 A CN110830825 A CN 110830825A
Authority
CN
China
Prior art keywords
return
gift
preset
random number
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810909276.XA
Other languages
Chinese (zh)
Inventor
汪刚
张文明
陈少杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network 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 Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201810909276.XA priority Critical patent/CN110830825A/en
Publication of CN110830825A publication Critical patent/CN110830825A/en
Pending legal-status Critical Current

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/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/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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4784Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards

Abstract

The invention discloses a method for rewarding rewards of a live broadcast room, a storage medium, electronic equipment and a server, which relate to the field of application development, and comprise the following steps: orderly storing a plurality of preset return gift amounts in the server; the server counts the sum of the number of each preset return gift to obtain the sum of the number of the preset return gifts; the server randomly generates a first random number; the server randomly generates a second random number; when the first random number is not more than the number of the preset returned gift number, dividing the sum of the preset returned gift number by the second random number to obtain an integral division number; and when the integer is not greater than the number of the preset returned gift numbers, the server takes the preset returned gift numbers with the sequencing serial numbers consistent with the integer of the integer as the instant returned gift numbers, otherwise, the rewarding is not carried out. The invention is convenient for the staff to regulate and control the reward mechanism in time according to the work requirement, and improves the daily work efficiency.

Description

Live broadcast room reward return method, storage medium, electronic equipment and server
Technical Field
The invention relates to the field of application development, in particular to a live broadcast room reward return method, a storage medium, electronic equipment and a server.
Background
With the development of live broadcasting, more and more people watching the live broadcasting are provided, the content related to the live broadcasting is more and more extensive, users usually recharge or purchase gifts in a live broadcasting room and give the gifts to a host, and most live broadcasting platforms return certain amount of reward gifts for recharging or purchasing gifts;
the traditional return mechanism is that a return program is configured in a client, when a user recharges or purchases a gift, calculation is carried out according to the return program, a message is sent to a server, and then feedback is carried out through the server, so that the action of returning the gift is completed;
however, in the existing return mechanism, the version of the client needs to be kept to be the latest version, so that a user often needs to frequently update the client so as to obtain an updated configuration return program to facilitate rewarding and returning work, and thus the traditional return mechanism is difficult to regulate and control and complex to operate, and brings inconvenience to the use of the client and the work of workers.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a reward return method for a live broadcast room, which is convenient for workers to regulate and control a reward mechanism in time according to work requirements and improves the daily work efficiency.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a live broadcast room reward return method, which includes the following steps:
orderly storing a plurality of preset return gift amounts in the server;
the server counts the sum of the preset returned gift amounts to obtain the sum of the preset returned gift amounts;
the server randomly generates a first random number, wherein the first random number is a positive integer, the value range of the first random number is a first preset random range, and the first preset random range is used for controlling the return probability;
the server randomly generates a second random number, wherein the second random number is a positive integer, the second random number can be obtained by dividing the sum of the preset returned gift amounts by the second random number, and the value range of the second random number is a second preset random range;
when the first random number is not larger than the number of the preset returned gift numbers, dividing the sum of the preset returned gift numbers by the second random number to obtain an integer division number;
when the integer is not larger than the number of the preset returned gift amount, the server takes the sequencing sequence number as the integer of the integer as the preset returned gift amount, otherwise, the prize is not returned.
On the basis of the technical scheme, a returned gift configuration table is configured in the server and used for orderly storing a plurality of preset returned gift numbers.
On the basis of the technical scheme, the method further comprises the following steps:
the server generates instant return gift information according to the instant return gift amount and sends the instant return gift information to the corresponding client;
and the client extracts the original returned gift information and combines the instant returned gift information to obtain the current returned gift information.
On the basis of the technical scheme, the method also comprises the step of prompting the instant gift information return: and generating a popup prompt which is used for displaying the instant return gift information.
On the basis of the technical scheme, the method also comprises the step of prompting the current gift information return: and generating a gift panel which is used for displaying the current returned gift information.
In a second aspect, the present invention also provides a storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the live-room reward return method mentioned in the first aspect.
In a third aspect, the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement the live broadcast bonus return method of the first aspect.
In a fourth aspect, the present invention further provides a live broadcast room reward return server, including:
a plurality of preset return gift amounts stored in order;
the device comprises a first random generation unit, a second random generation unit and a control unit, wherein the first random generation unit is used for randomly generating a first random number, the first random number is a positive integer, the value range of the first random number is a first preset random range, and the first preset random range is used for controlling the return probability;
the second random generating unit is used for randomly generating a second random number, the second random number is a positive integer, the second random number can be used for dividing the sum of the preset returned gift numbers, and the value range of the second random number is a second preset random range;
the first calculating unit is used for dividing the sum of the preset return gift amounts by the second random number to obtain an integral division amount when the first random number is not larger than the number of the preset return gift amounts;
and the second calculation unit is used for when the integer division amount is not larger than the number of the preset return gift amount, the server takes the sequencing sequence number and the integer division amount as the preset return gift amount as the instant return gift amount, otherwise, the reward return is not carried out.
On the basis of the above technical solution, the server includes:
and the return gift configuration table is used for orderly storing a plurality of preset return gift amounts.
On the basis of the above technical solution, the server further includes:
the instant return gift information generating unit is used for generating instant return gift information according to the instant return gift amount and sending the instant return gift information to the corresponding client;
and the instant return gift information is used for generating current return gift information by combining the original return gift information stored by the client.
Compared with the prior art, the invention has the advantages that:
(1) according to the invention, the recharging behavior of the user live broadcast room is rewarded by presetting the number of the returned gifts, the first preset random range and the second preset random range, the probability and the number of the returned rewards can be regulated and controlled in the background, so that a worker can regulate and control a reward mechanism in time according to the work requirement, and the daily work efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating steps S1-S6 of a method for rewarding live telecast bonus material;
FIG. 2 is a flowchart illustrating steps S1-S8 of a method for rewarding live telecast bonus material;
FIG. 3 is a schematic diagram of a reward return server of a live broadcast room according to the present invention;
in the figure: 1. presetting a return gift amount; 2. a first random generation unit; 3. a second random generation unit; 4. a first calculation unit; 5. a second calculation unit; 6. returning the gift configuration table; 7. and returning the gift information generation unit instantly.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, the embodiment of the invention provides a live broadcast room reward returning method, a storage medium, an electronic device and a server, wherein a user live broadcast room recharging behavior is rewarded by presetting a returned gift amount, a first preset random range and a second preset random range, the returned reward probability and the returned reward quantity can be regulated and controlled in a background manner, a worker can conveniently regulate and control a reward mechanism according to work requirements in time, and the daily work efficiency is improved.
In order to achieve the technical effects, the general idea of the application is as follows:
a live room reward return method comprising the steps of:
s1, orderly storing a plurality of preset return gift amounts in the server;
s2, the server counts the sum of the number of each preset return gift to obtain the sum of the number of the preset return gifts;
s3, the server randomly generates a first random number, wherein the first random number is a positive integer, the value range of the first random number is a first preset random range, and the first preset random range is used for controlling the return probability;
s4, the server randomly generates a second random number, the second random number is a positive integer, the second random number can divide the sum of the number of the preset return gifts, and the value range of the second random number is a second preset random range;
s5, when the first random number is not more than the number of the preset returned gifts, dividing the sum of the preset returned gifts by the second random number to obtain the integer division number;
s6, when the integer is not larger than the number of the preset return gift amount, the server takes the preset return gift amount with the sequencing serial number consistent with the integer as the instant return gift amount, otherwise, the reward return is not carried out.
Example one
Referring to fig. 1 and fig. 2, an embodiment of the present invention provides a live broadcast bonus return method, including the following steps:
s1, orderly storing a plurality of preset return gift amounts in the server;
s2, the server counts the sum of the number of each preset return gift to obtain the sum of the number of the preset return gifts;
s3, the server randomly generates a first random number, wherein the first random number is a positive integer, the value range of the first random number is a first preset random range, and the first preset random range is used for controlling the return probability;
s4, the server randomly generates a second random number, the second random number is a positive integer, the second random number can divide the sum of the number of the preset return gifts, and the value range of the second random number is a second preset random range;
s5, when the first random number is not more than the number of the preset returned gifts, dividing the sum of the preset returned gifts by the second random number to obtain the integer division number;
s6, when the integer is not larger than the number of the preset return gift amount, the server takes the preset return gift amount with the sequencing serial number consistent with the integer as the instant return gift amount, otherwise, the reward return is not carried out.
According to the invention, the recharging behavior of the user live broadcast room is rewarded by presetting the number of the returned gifts, the first preset random range and the second preset random range, the probability and the number of the returned rewards can be regulated and controlled in the background, so that a worker can regulate and control a reward mechanism in time according to the work requirement, and the daily work efficiency is improved.
In the embodiment of the invention, a returned gift configuration table is configured in the server and used for orderly storing a plurality of preset returned gift amounts;
in the traditional reward return mechanism, a set return gift configuration table is written into a client side, and a subsequent client side performs reward return by combining the return gift configuration table according to consumption conditions or recharging conditions, but the return gift configuration table is placed in a server in the embodiment of the invention, so that the return gift configuration table can be directly modified in the server when needed;
if according to the traditional reward return mechanism, the normal use of the user is not influenced when the user does not update the client in time, but the return gift configuration table of the client of the old version is also of the old version, so that the reward return work is influenced.
It should be noted that, in step S1, a plurality of preset return gift amounts are stored in the server in order, so there is an order in the arrangement of the plurality of preset return gift amounts, such order follows a certain ordering rule, the ordering rule may be an order in time sequence according to the setting time of each preset return gift amount, or an order according to the amount of each preset return gift amount, or an order according to a self-defined ordering order, and after ordering according to the ordering rule, each preset return gift amount certainly has an ordering sequence number.
In the embodiment of the present invention, in a specific implementation, in step S1, N preset gift return amounts may be stored in the server in order, where N is 4, and specifically {50, 100, 200, and 1000}, that is, four reward return amounts are 50, 100, 200, and 1000 in turn, and the reward return may be a use property in a live broadcast room;
then, in step S2, the sum of the preset return gift amounts is calculated, denoted as sum, which is 1350,
in a specific operation, a summation function may be set to geyLotterSum, and an internal implementation process of the summation function is as follows:
firstly, defining an int-type variable sum, setting an initial value of the variable sum to be 0, carrying out for-loop traversal on N preset returned gift amounts, taking one preset returned gift amount in each loop, recording the sum as v, and executing sum as sum + v;
then, generating a first random number X, and firstly, setting a first preset random range, assuming that the setting range is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, and when X is one of 1, 2, 3, 4, then performing the next operation, considering that the winning probability of this link is 40%, assuming that the generated first random number X is 2, and entering the next step because 2 is less than N ═ 4;
generating a second random number Y, and still setting a second preset random range at first, wherein the setting range is assumed to be 135, 225, 270, 450, 675 and 1350, and the total number is 6;
dividing the sum of the preset returned gift numbers by using a second random number to obtain a whole-divided number, wherein the whole-divided number is marked as Z, when Y is 450, 675 and 1350, Z is correspondingly 3, 2 and 1, namely Z is less than N-4, corresponding rewards are respectively 200, 100 and 50, namely instant returned gift numbers are respectively 200, 100 and 50, wherein the winning probability of the link can be regarded as 50%, the winning probability of the link corresponding to the first preset random range is combined with 40%, and the returning probability of the reward returning is finally set to be 20%, so that the first preset random range and the second preset random range are both used for controlling the returning probability;
further, when Y is 135, 225, 270, Z is 10, 6, 5, and Z is larger than N, so that the bonus return is not performed.
In addition, in actual operation, the first preset random range and the second preset random range may be a continuous positive integer set or a discontinuous positive integer set.
In an embodiment of the present invention, the method further comprises the steps of:
s7, the server generates instant return gift information according to the instant return gift amount and sends the instant return gift information to the corresponding client;
s8, the client side extracts the original returned gift information and obtains the current returned gift information by combining the instant returned gift information;
after obtaining the number of the instant return gifts, the server needs to generate instant return gift information which is used for the client side as a basis to carry out reward return operation, and the instant return gift information at least comprises the number of reward return props won in the reward return operation;
after receiving the instant return gift information, the client extracts original return gift information, wherein the original return gift information refers to the reward return condition which is obtained by the user before, and specifically can include the number of specific reward return props;
and subsequently, specific returning work can be carried out according to the situation, the number of the reward returning props which the user should currently possess in the current returned gift information can be pushed to the server, and the server is used for updating the data.
In the embodiment of the invention, the method also comprises the step of prompting the instant return of the gift information: generating a popup prompt which is used for displaying instant return gift information;
the pop-up window prompt may be specifically generated in the client and used for informing the customer of instant return of gift information.
In the embodiment of the invention, the method also comprises the step of prompting the current gift information return: generating a gift panel for displaying the current returned gift information;
the gift panel can be generated in the client side and is used for informing the client to return the gift information instantly.
In addition, in the embodiment of the invention, when the reward return work is carried out, the client which is charged or consumed and needs to be rewarded is broadcasted for propaganda and rewarding, namely the user is informed of the charging or consumption condition in the live broadcast room through system broadcasting;
specifically, the name of a user, the name of a main broadcast of a current live broadcast room, the name of a transmitted gift, and the id of the transmitted gift are obtained, packaged, and then special effect display and broadcasting are performed.
Based on the same inventive concept, the application provides a live broadcast room reward return server corresponding to the embodiment, which is detailed in the second embodiment.
Example two
As shown in fig. 3, the second embodiment of the present invention further provides a live room bonus return server, which includes:
a plurality of preset return gift amounts 1 stored in order;
the first random generating unit 2 is configured to randomly generate a first random number, where the first random number is a positive integer, a value range of the first random number is a first preset random range, and the first preset random range is used to control the return probability;
a second random generating unit 3, configured to randomly generate a second random number, where the second random number is a positive integer, the second random number is capable of dividing the sum of the preset returned gift amounts, and a value range of the second random number is a second preset random range;
the first calculating unit 4 is used for dividing the sum of the preset return gift amounts by the second random number to obtain an integral division amount when the first random number is not larger than the number of the preset return gift amounts;
and the second calculating unit 5 is used for taking the preset return gift amount with the sequencing serial number consistent with the amount of the integer division as the instant return gift amount when the integer division amount is not larger than the number of the preset return gift amount, and otherwise, not rewarding and returning.
According to the invention, the recharging behavior of the user live broadcast room is rewarded by presetting the number of the returned gifts, the first preset random range and the second preset random range, the probability and the number of the returned rewards can be regulated and controlled in the background, so that a worker can regulate and control a reward mechanism in time according to the work requirement, and the daily work efficiency is improved.
In the embodiment of the present invention, the server further includes: a return gift configuration table 6 for storing a plurality of preset return gift amounts 1 in order;
in the traditional reward return mechanism, a set return gift configuration table is written into a client side, and a subsequent client side performs reward return by combining the return gift configuration table according to consumption conditions or recharging conditions, but the return gift configuration table is placed in a server in the embodiment of the invention, so that the return gift configuration table can be directly modified in the server when needed;
if according to the traditional reward return mechanism, the normal use of the user is not influenced when the user does not update the client in time, but the return gift configuration table of the client of the old version is also of the old version, so that the reward return work is influenced.
In the embodiment of the invention, during specific implementation, N preset return gift amounts can be stored in the server in order, at this time, N is 4, and specifically {50, 100, 200, 1000}, that is, four return reward amounts are 50, 100, 200, 1000 in turn, and return rewards can be a use prop in a live broadcast room;
then, the sum of the amount of each preset returned gift is calculated and is recorded as sum, and the sum is 1350,
in a specific operation, a summation function may be set to geyLotterSum, and an internal implementation process of the summation function is as follows:
firstly, defining an int-type variable sum, setting an initial value of the variable sum to be 0, carrying out for-loop traversal on N preset returned gift amounts, taking one preset returned gift amount in each loop, recording the sum as v, and executing sum as sum + v;
then, generating a first random number X, and firstly, setting a first preset random range, assuming that the setting range is 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, and when X is one of 1, 2, 3, 4, then performing the next operation, considering that the winning probability of this link is 40%, assuming that the generated first random number X is 2, and entering the next step because 2 is less than N ═ 4;
generating a second random number Y, and still setting a second preset random range at first, wherein the setting range is assumed to be 135, 225, 270, 450, 675 and 1350, and the total number is 6;
dividing the sum of the preset returned gift numbers by using a second random number to obtain a whole-divided number, wherein the whole-divided number is marked as Z, when Y is 450, 675 and 1350, Z is correspondingly 3, 2 and 1, namely Z is less than N-4, corresponding rewards are respectively 200, 100 and 50, namely instant returned gift numbers are respectively 200, 100 and 50, wherein the winning probability of the link can be regarded as 50%, the winning probability of the link corresponding to the first preset random range is combined with 40%, and the returning probability of the reward returning is finally set to be 20%, so that the first preset random range and the second preset random range are both used for controlling the returning probability;
further, when Y is 135, 225, 270, Z is 10, 6, 5, and Z is larger than N, so that the bonus return is not performed.
In addition, in actual operation, the first preset random range and the second preset random range may be a continuous positive integer set or a discontinuous positive integer set.
In the embodiment of the present invention, the server further includes: the instant return gift information generating unit 7 is used for generating instant return gift information according to the instant return gift amount and sending the instant return gift information to the corresponding client;
the instant return gift information is used for combining the original return gift information stored by the client side to generate the current return gift information.
Based on the same inventive concept, the present application provides an embodiment of a storage medium corresponding to the embodiment described in the third embodiment
EXAMPLE III
A third embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out all or part of the method steps of the first embodiment.
The present invention can implement all or part of the flow in the method of the first embodiment, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, the present application provides an embodiment of an electronic device corresponding to the first embodiment, which is detailed in the fourth embodiment
Example four
The fourth embodiment of the present invention further provides an electronic device, which includes a memory and a processor, wherein the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the first embodiment.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A live broadcast room reward return method is characterized by comprising the following steps:
orderly storing a plurality of preset return gift amounts in the server;
the server counts the sum of the preset returned gift amounts to obtain the sum of the preset returned gift amounts;
the server randomly generates a first random number, wherein the first random number is a positive integer, the value range of the first random number is a first preset random range, and the first preset random range is used for controlling the return probability;
the server randomly generates a second random number, wherein the second random number is a positive integer, the second random number can be obtained by dividing the sum of the preset returned gift amounts by the second random number, and the value range of the second random number is a second preset random range;
when the first random number is not larger than the number of the preset returned gift numbers, dividing the sum of the preset returned gift numbers by the second random number to obtain an integral division number;
when the integer is not larger than the number of the preset returned gift amount, the server takes the sequencing sequence number as the integer of the integer as the preset returned gift amount, otherwise, the prize is not returned.
2. The live broadcast room reward return method of claim 1, wherein a return gift configuration table is configured in the server, and the return gift configuration table is used for storing a plurality of preset return gift amounts in order.
3. A live room bonus return method as claimed in claim 1, said method further comprising the steps of:
the server generates instant return gift information according to the instant return gift amount and sends the instant return gift information to the corresponding client;
and the client extracts the original returned gift information and combines the instant returned gift information to obtain the current returned gift information.
4. The live room reward return method of claim 1, further comprising the step of prompting the instant return gift information to: and generating a popup prompt which is used for displaying the instant return gift information.
5. The live room bonus return method of claim 1, further comprising the step of prompting current return gift information: and generating a gift panel which is used for displaying the current returned gift information.
6. A storage medium having a computer program stored thereon, characterized in that: the computer program, when executed by a processor, implements the method of any of claims 1 to 5.
7. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that runs on the processor, characterized in that: the processor, when executing the computer program, implements the method of any of claims 1 to 5.
8. A live room reward return server, comprising:
a plurality of preset return gift amounts stored in order;
the device comprises a first random generation unit, a second random generation unit and a control unit, wherein the first random generation unit is used for randomly generating a first random number, the first random number is a positive integer, the value range of the first random number is a first preset random range, and the first preset random range is used for controlling the return probability;
the second random generating unit is used for randomly generating a second random number, the second random number is a positive integer, the second random number can be used for dividing the sum of the preset returned gift numbers, and the value range of the second random number is a second preset random range;
the first calculating unit is used for dividing the sum of the preset return gift amounts by the second random number to obtain an integral division amount when the first random number is not larger than the number of the preset return gift amounts;
and the second calculation unit is used for when the integer division amount is not larger than the number of the preset return gift amount, the server takes the sequencing sequence number and the integer division amount as the preset return gift amount as the instant return gift amount, otherwise, the reward return is not carried out.
9. A live room bonus return server of claim 8, said server comprising:
and the return gift configuration table is used for orderly storing a plurality of preset return gift amounts.
10. A live room bonus return server of claim 8, said server further comprising:
the instant return gift information generating unit is used for generating instant return gift information according to the instant return gift amount and sending the instant return gift information to the corresponding client;
and the instant return gift information is used for generating current return gift information by combining the original return gift information stored by the client.
CN201810909276.XA 2018-08-10 2018-08-10 Live broadcast room reward return method, storage medium, electronic equipment and server Pending CN110830825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810909276.XA CN110830825A (en) 2018-08-10 2018-08-10 Live broadcast room reward return method, storage medium, electronic equipment and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810909276.XA CN110830825A (en) 2018-08-10 2018-08-10 Live broadcast room reward return method, storage medium, electronic equipment and server

Publications (1)

Publication Number Publication Date
CN110830825A true CN110830825A (en) 2020-02-21

Family

ID=69541228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810909276.XA Pending CN110830825A (en) 2018-08-10 2018-08-10 Live broadcast room reward return method, storage medium, electronic equipment and server

Country Status (1)

Country Link
CN (1) CN110830825A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942871A (en) * 2014-04-22 2014-07-23 沈阳昊英特信息技术有限公司 Online game reward implementation method based on mobile terminal, server and system
US20140245375A1 (en) * 2013-02-28 2014-08-28 Nec Corporation Document authority management system, terminal device, document authority management method, and computer-readable recording medium
CN104615747A (en) * 2015-02-11 2015-05-13 腾讯科技(深圳)有限公司 Information processing method, client side and server
CN106157075A (en) * 2015-04-03 2016-11-23 阿里巴巴集团控股有限公司 The generation method and apparatus of application data
US20170270753A1 (en) * 2013-08-09 2017-09-21 Zynga Inc. Slots game with improving bonus-winning odds
CN107924520A (en) * 2015-08-04 2018-04-17 周天格 The system and method for providing compensation, discount, cash reimbursement and reward using mobile and wearable payment services

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140245375A1 (en) * 2013-02-28 2014-08-28 Nec Corporation Document authority management system, terminal device, document authority management method, and computer-readable recording medium
US20170270753A1 (en) * 2013-08-09 2017-09-21 Zynga Inc. Slots game with improving bonus-winning odds
CN103942871A (en) * 2014-04-22 2014-07-23 沈阳昊英特信息技术有限公司 Online game reward implementation method based on mobile terminal, server and system
CN104615747A (en) * 2015-02-11 2015-05-13 腾讯科技(深圳)有限公司 Information processing method, client side and server
CN106157075A (en) * 2015-04-03 2016-11-23 阿里巴巴集团控股有限公司 The generation method and apparatus of application data
CN107924520A (en) * 2015-08-04 2018-04-17 周天格 The system and method for providing compensation, discount, cash reimbursement and reward using mobile and wearable payment services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭佳佳: "游乐园微信公众平台的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN109743588A (en) Direct broadcasting room virtual present list generation method, device, server and storage medium
JP2015133133A5 (en)
CN109064219A (en) A kind of advertisement putting expense control method and device
CN110798696A (en) Live broadcast interaction method and device, electronic equipment and readable storage medium
CN111709776A (en) Advertisement putting method, system, terminal device and storage medium
CN109218754A (en) Information display method, device, equipment and medium in a kind of live streaming
CN106649695A (en) Commodity page generation method and device
CN109656595A (en) The method, apparatus and system that client-side program updates
CN108428161B (en) Method and device for predicting advertising throwing amount and electronic equipment
CN110750260A (en) Page content management method and device
CN110830825A (en) Live broadcast room reward return method, storage medium, electronic equipment and server
CN107613325A (en) Advertisement delivery method and device
CN109343880B (en) RN packet updating method and device and readable storage medium
CN110806874B (en) Analysis method, storage medium, electronic equipment and system for live broadcast room configuration file
CN108337572B (en) Advertisement putting method, terminal equipment and remote controller
CN111083567A (en) Live client home page configuration system, storage medium, electronic device and method
CN109358853B (en) Control showing method and device and readable storage medium
JP2020017868A5 (en)
CN112102005A (en) Electronic coupon generation method and system
US9934648B2 (en) Method and apparatus for providing off-line purchases in a computer implemented game
CN112001762A (en) Shared electrical appliance, control method thereof and computer readable storage medium
CN110971937A (en) Regulation and control method, storage medium, electronic device and system for screenshot service
CN117440214A (en) Continuous lottery method, apparatus, device and storage medium in lottery
CN108984287B (en) Sliding list processing method, device, equipment and medium
US11833425B2 (en) Information processing system, information processing apparatus, computer-readable non-transitory storage medium having stored therein information processing program, and information processing method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200221