CN112685598B - Gift package pushing method and device in live broadcast - Google Patents

Gift package pushing method and device in live broadcast Download PDF

Info

Publication number
CN112685598B
CN112685598B CN201910991556.4A CN201910991556A CN112685598B CN 112685598 B CN112685598 B CN 112685598B CN 201910991556 A CN201910991556 A CN 201910991556A CN 112685598 B CN112685598 B CN 112685598B
Authority
CN
China
Prior art keywords
pushing
pushed
gift
target
window
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
CN201910991556.4A
Other languages
Chinese (zh)
Other versions
CN112685598A (en
Inventor
文建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910991556.4A priority Critical patent/CN112685598B/en
Publication of CN112685598A publication Critical patent/CN112685598A/en
Application granted granted Critical
Publication of CN112685598B publication Critical patent/CN112685598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a gift bag pushing method and device in live broadcast; the method comprises the following steps: acquiring a gift box set to be pushed corresponding to a target living room where a target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed; respectively obtaining pushing parameters corresponding to the gift bags to be pushed, wherein the pushing parameters are determined based on the user portraits of the target users and comprise at least one of the following: the number of pushing times corresponding to the pushing window, the weight of the pushing window position, the size of the pushing window position and the number of the pushing window positions; selecting the gift bags to be pushed which meet pushing conditions from the gift bag set to be pushed based on the obtained pushing parameters; pushing the gift bags to be pushed, which meet the pushing conditions, to the client corresponding to the target user; the invention can improve the accuracy of gift box pushing in live broadcast and meet the personalized requirements of users.

Description

Gift package pushing method and device in live broadcast
Technical Field
The invention relates to the technical field of communication, in particular to a gift box pushing method and device in live broadcast.
Background
The selling of gift bags in live broadcast is one of the main revenue sources of the developer of the live broadcast platform, and the reasonable gift bag design and pushing can also improve the user experience. The pushing system in the related art generally adopts a frequency limit method such as a barrel, a token ring and a sliding window to control the pushing frequency of the gift bag, however, the method can only carry out specific limit control on a certain time period and cannot meet the personalized requirements of users.
Disclosure of Invention
The embodiment of the invention provides a gift bag pushing method and device in live broadcast, which can improve the accuracy of gift bag pushing in live broadcast and meet the personalized demands of users.
The embodiment of the invention provides a gift box pushing method in live broadcast, which comprises the following steps:
acquiring a gift box set to be pushed corresponding to a target living room where a target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed;
respectively obtaining pushing parameters corresponding to the gift bags to be pushed, wherein the pushing parameters are determined based on the user portraits of the target users and comprise at least one of the following: the number of pushing times corresponding to the pushing window, the weight of the pushing window position, the size of the pushing window position and the number of the pushing window positions;
The pushing window comprises a plurality of pushing window bits, and is used for representing the pushing period of the corresponding gift bags to be pushed to the target user;
selecting the gift bags to be pushed which meet pushing conditions from the gift bag set to be pushed based on the obtained pushing parameters;
And pushing the gift bag to be pushed, which meets the pushing conditions, to the client corresponding to the target user.
The embodiment of the invention provides a gift bag pushing device in live broadcast, which comprises the following steps:
The first acquisition module is used for acquiring a gift box set to be pushed corresponding to a target living room where a target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed;
The second acquisition module is used for respectively acquiring push parameters corresponding to the gift bags to be pushed, wherein the push parameters are determined based on the user portrait of the target user and comprise at least one of the following: the number of pushing times corresponding to the pushing window, the weight of the pushing window position, the size of the pushing window position and the number of the pushing window positions;
The pushing window comprises a plurality of pushing window bits, and is used for representing the pushing period of the corresponding gift bags to be pushed to the target user;
The selecting module is used for selecting the gift bags to be pushed which accord with pushing conditions from the gift bag set to be pushed based on the obtained pushing parameters;
and the pushing module is used for pushing the gift bags to be pushed, which meet the pushing conditions, to the client corresponding to the target user.
In the above scheme, the first obtaining module is further configured to receive an entry request for the target live broadcast room sent by a client corresponding to the target user;
And responding to the entry request, and acquiring a gift box set to be pushed corresponding to the target live broadcasting room.
In the above scheme, the first obtaining module is further configured to obtain a duration of the target user in the target live broadcast room;
and when the duration reaches a duration threshold, acquiring a gift box set to be pushed corresponding to the target live broadcasting room.
In the above scheme, the second obtaining module is further configured to obtain a user portrait of the target user;
And selecting at least one gift bag to be pushed, which is matched with the user portrait, from the gift bag set to be pushed based on the user portrait.
In the above scheme, the selecting module is further configured to determine, for each gift package to be pushed, a number of target pushing window bits corresponding to a target time period; the target time period is a time period between the current time and the pushing time when the gift bag to be pushed is pushed last time;
determining the reference pushing times of the gift bags to be pushed based on the pushing times of the corresponding pushing windows, the weights of the pushing window positions and the number of the pushing window positions;
and selecting the gift bags to be pushed which meet pushing conditions from the gift bag set to be pushed based on the determined number of the target pushing window positions and the reference pushing times.
In the above scheme, the selecting module is further configured to determine, for each gift package to be pushed, a target pushing number corresponding to a pushing window bit to which the current moment belongs, based on the pushing number of the corresponding pushing window and a weight of the pushing window bit when the number of the target pushing window bits is 0 or greater than the number of the pushing window bits;
selecting the gift bags to be pushed, corresponding to the target pushing times larger than the reference pushing times, as the gift bags to be pushed meeting the pushing conditions.
In the above scheme, the selecting module is further configured to determine, for each gift bag to be pushed, a target pushing number corresponding to a pushing window bit to which the current moment belongs, based on the pushing number of the corresponding pushing window and the weight of the pushing window bit when the number of the target pushing window bits is smaller than the number of the pushing window bits;
respectively determining the residual pushing times of the target pushing window positions corresponding to the gift bags to be pushed;
selecting the gift bags to be pushed, wherein the sum of the target pushing times and the residual pushing times is larger than the reference pushing times, and the gift bags to be pushed, which meet the pushing conditions, are selected.
In the above scheme, the pushing module is further configured to push, when the number of gift bags to be pushed that meet the pushing condition is multiple, a gift bag set that includes the multiple gift bags to be pushed to a client corresponding to the target user, so that the client presents the gift bag set; or alternatively
And pushing the gift bags to be pushed, which are in accordance with the pushing conditions, to the client side sequentially according to the fixed time interval, so that the client side sequentially presents the gift bags to be pushed, which are in accordance with the pushing conditions, according to the time interval.
In the above scheme, the pushing module is further configured to, when the number of to-be-pushed gift bags meeting the pushing conditions is multiple, respectively obtain a matching degree between each to-be-pushed gift bag meeting the pushing conditions and the user portrait;
determining the pushing priority corresponding to each gift bag to be pushed based on the obtained matching degree;
and sequentially pushing the gift bags to be pushed, which meet the pushing conditions, to the client according to the pushing priority.
The embodiment of the invention provides a server, which comprises:
a memory for storing executable instructions;
and the processor is used for realizing the gift box pushing method in live broadcast provided by the embodiment of the invention when executing the executable instructions stored in the memory.
The embodiment of the invention provides a storage medium which stores executable instructions for realizing the gift box pushing method in live broadcast when a processor executes the executable instructions.
The embodiment of the invention has the following beneficial effects:
The method comprises the steps of obtaining pushing parameters corresponding to a gift bag to be pushed, wherein the pushing parameters are determined based on a user portrait of a target user, selecting the gift bag to be pushed meeting pushing conditions from the gift bag set to be pushed based on the obtained pushing parameters, and pushing the gift bag to be pushed to a client corresponding to the target user; therefore, the pushing parameters corresponding to the gift bags to be pushed are determined by the user portrait of the target user, so that the pushed gift bags to be pushed can improve the accuracy of gift bag pushing in live broadcast, and the personalized requirements of the user are met.
Drawings
FIGS. 1A-1B are schematic diagrams of a gift box pushing method in the related art;
Fig. 2A-2B are schematic diagrams of an alternative architecture of a gift box pushing system in live broadcast according to an embodiment of the present invention;
Fig. 3 is a schematic structural diagram of a gift box pushing server in live broadcast according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of an alternative method for pushing packages in live broadcast according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface presented by a gift bag provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of an interface presented by a gift bag provided by an embodiment of the present invention;
FIG. 7 is a schematic diagram of an interface presented by a gift bag provided by an embodiment of the present invention;
fig. 8 is a schematic flow chart of an alternative method for pushing packages in live broadcast according to an embodiment of the present invention;
fig. 9 is a flowchart of a mean value fallback algorithm according to an embodiment of the present invention;
fig. 10 is a schematic flow chart of an alternative method for pushing packages in live broadcast according to an embodiment of the present invention;
Fig. 11 is a schematic structural diagram of a gift box pushing device in live broadcast according to an embodiment of the present invention.
Detailed Description
The present invention will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present invention more apparent, and the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before describing embodiments of the present invention in further detail, the terms and terminology involved in the embodiments of the present invention will be described, and the terms and terminology involved in the embodiments of the present invention will be used in the following explanation.
1) And the client is used for providing various service application programs such as an instant messaging client and a live broadcast client which are operated in the terminal.
2) In response to a condition or state that is used to represent the condition or state upon which the performed operation depends, the performed operation or operations may be in real-time or with a set delay when the condition or state upon which it depends is satisfied; without being specifically described, there is no limitation in the execution sequence of the plurality of operations performed.
The related art gift bag pushing method generally controls the pushing frequency of the gift bags based on a frequency limit method, for example, a barrel-based method allocates a certain amount of limits for a certain time period, and when a user requests to acquire the gift bags, judges whether the amount of the gift bags requested by the user is greater than the allocated amount of limits, and does not push the gift bags if the amount of the gift bags requested by the user is greater than the allocated amount of limits; based on the method of the token bucket, the method issues a 'push ticket' for a certain period of time according to a fixed speed, and when a user requests to acquire gift bags each time, the user judges whether the 'push ticket' exists in the period of time, and if not, the user does not push the 'push ticket'; based on the sliding window method, a fixed limit is allocated to a window, the window moves along with time, when a user requests to acquire a gift bag, whether the pushing times for the user exceeds the limit of the window or not needs to be judged, and if the pushing times exceeds the limit of the window, pushing is not carried out.
Although the gift box pushing method in the related art described above can solve the control problem of the gift box pushing frequency to some extent, the gift box pushing method described above has at least the following problems:
1) Referring to fig. 1A, fig. 1A is a schematic diagram of a gift box pushing method in the related art, assuming that the number of times of pushing a gift box for a user is three, the gift box is pushed to the user only when the first day ends and the gift box is pushed to the user when the second day begins, and then the possible problems are: in the last 24-hour period, the user receives more than three pushing operations, thereby causing the phenomenon that the pushing frequency limit of the gift bag fails.
2) The total pushing (accessing) amount can only be effectively controlled, so that the pushing (pulling) amount is too much to be concentrated, see fig. 1B, and fig. 1B is a schematic diagram of a gift bag pushing method in the related art, as shown in fig. 1B, if a user frequently enters a living broadcast room at the beginning of a day, the number of times of pushing the gift bag is used up in the period, no corresponding gift bag can be pushed in the subsequent time, so that the pushing of the gift bag is concentrated to the moment when the user intensively enters the living broadcast room at the beginning.
3) The push (pull) limit problem of each time period cannot be configured in an individualized way, and the gift box push method can only carry out specific limit control on a certain time period and cannot meet individualized demands of users.
Based on the above, the embodiment of the invention provides a gift box pushing method in live broadcast, by acquiring the pushing parameters corresponding to the gift box to be pushed, wherein the pushing parameters are determined based on the user portrait of the target user, and based on the acquired pushing parameters, the gift box to be pushed meeting pushing conditions is selected from the gift box to be pushed in a centralized manner so as to be pushed to the client corresponding to the target user.
Firstly, a gift box pushing system in live broadcast provided by the embodiment of the invention is explained. Referring to fig. 2A, fig. 2A is a schematic diagram of an optional architecture of a package pushing system 100 in live broadcast provided by an embodiment of the present invention, and as shown in fig. 2A, the package pushing system in live broadcast provided by the embodiment of the present invention is composed of a client (such as a live broadcast client) and a background server (i.e. a background server of the client), and the components and functions of each component will be described one by one.
The client is used for pulling and presenting the pushed gift bags, when the target user enters the target live broadcast room, the client inquires the application background server whether the target live broadcast room pushes the gift bags meeting pushing conditions aiming at the target user, and if so, the gift bags are displayed.
The background server is in the form of two layers of four modules, wherein the two layers comprise a logic layer and a storage layer, the logic layer comprises a pushing module, a frequency limit module and a configuration module, and the storage layer comprises a storage module, and each module is described next.
The pushing module is used for assembling and pushing gift package information, and in actual implementation, the pushing module acquires pushing strategy information of the adaptive target user from information configured by the configuration module based on the user portrait of the target user, acquires the gift packages to be pushed of the adaptive target user according to the user portrait of the target user and the pushing strategy information, and then consults whether the frequency limit module meets pushing conditions for each gift package to be pushed; the frequency limit module is used for confirming whether the gift bag to be pushed meets pushing conditions for a target user, and in actual implementation, the frequency limit module acquires pushing parameters corresponding to the gift bag to be pushed, obtains pushing results of whether the gift bag to be pushed meets the pushing conditions or not based on the acquired pushing parameters, returns the pushing results of whether the gift bag to be pushed meets the pushing conditions to the pushing module, and pushes the gift bag to be pushed meeting the pushing conditions to the client side for the target user to select; the configuration module is used for providing a visual gift bag configuration interface and a frequency limit strategy corresponding to the gift bag for product personnel, and besides the good configuration interface, the configuration module also needs to be provided with an information floor storage module for product configuration for use by the frequency limit module and the pushing module; the storage module is used for storing the gift bag information configured by the configuration module, the frequency limit strategy corresponding to the gift bag and the frequency limit intermediate state information of the frequency limit storage module.
Specifically, based on the system architecture shown in fig. 2A, referring to fig. 2B, fig. 2B is a schematic diagram of an alternative architecture of the gift pushing system 100 in live broadcast provided by an embodiment of the present invention, in order to support an exemplary application, a terminal 400 (the terminal 400-1 and the terminal 400-2 are shown in an exemplary manner) is connected to the background server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two, and data transmission is implemented by using a wireless link.
The terminal 400 is provided with a client, such as a live client, for responding to a click operation of a target user on a target live broadcast room, generating an entry request for the target live broadcast room, and sending the generated entry request to the background server 200;
The background server 200 is configured to obtain a live broadcast data stream corresponding to the target live broadcast room based on the entry request, and return the live broadcast data stream to the client, so that the target user performs the target live broadcast room; acquiring a gift box set to be pushed corresponding to a target living room where a target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed; respectively acquiring pushing parameters corresponding to each gift bag to be pushed, wherein the pushing parameters are determined based on the user portrait of the target user and comprise at least one of the following: the number of pushing times corresponding to the pushing window, the weight of the pushing window position, the size of the pushing window position and the number of the pushing window positions; the pushing window comprises a plurality of pushing window bits used for representing the pushing period of the corresponding gift bags to be pushed to the target user; selecting the gift bags to be pushed which meet the pushing conditions from the gift bag set to be pushed based on the acquired pushing parameters; pushing the gift bags to be pushed, which meet the pushing conditions, to the client side on the terminal 400 corresponding to the target user;
The client on the terminal 400 presents the gift bag to be pushed, which meets the pushing condition, for the target user to select.
More specifically, the pushing module in the background server 200 obtains a to-be-pushed gift box set corresponding to a target living broadcast room where a target user is located from the storage module, queries whether to-be-pushed gift boxes in the to-be-pushed gift box set meet pushing conditions from the frequency limit module, respectively obtains pushing parameters corresponding to each to-be-pushed gift box in the to-be-pushed gift box set from the storage module, selects to-be-pushed gift boxes meeting the pushing conditions from the to-be-pushed gift box set based on the obtained pushing parameters, returns to the pushing module the to-be-pushed gift boxes meeting the pushing conditions, and pushes the to-be-pushed gift boxes meeting the pushing conditions to the client on the terminal 400 corresponding to the target user.
Based on the system architecture, the explanation of the gift box pushing server in live broadcast provided by the embodiment of the invention is as follows. Referring to fig. 3, fig. 3 is a schematic structural diagram of a gift box pushing server in live broadcast according to an embodiment of the present invention, where the server shown in fig. 3 includes: processor 310, memory 350, network interface 320, and user interface 330. The various components in the server are coupled together by a bus system 340. It is understood that the bus system 340 is used to enable connected communications between these components. The bus system 340 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled in fig. 3 as bus system 340.
The Processor 310 may be an integrated circuit chip with signal processing capabilities such as a general purpose Processor, such as a microprocessor or any conventional Processor, a digital signal Processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like.
The user interface 330 includes one or more output devices 331 that enable presentation of media content, including one or more speakers and/or one or more visual displays. The user interface 330 also includes one or more input devices 332, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
Memory 350 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 350 optionally includes one or more storage devices physically located remote from processor 310.
Memory 350 includes volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The non-volatile memory may be read only memory (ROM, read Only Me mory) and the volatile memory may be random access memory (RAM, random Access Memor y). The memory 450 described in embodiments of the present invention is intended to comprise any suitable type of memory.
In some embodiments, memory 350 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
The operating system 351 including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
Network communication module 352 for reaching other computing devices via one or more (wired or wireless) network interfaces 320, exemplary network interfaces 320 include: bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB, universal Serial Bus), etc.;
a display module 353 for enabling presentation of information (e.g., a user interface for operating peripheral devices and displaying content and information) via one or more output devices 431 (e.g., a display screen, speakers, etc.) associated with the user interface 330;
an input processing module 354 for detecting one or more user inputs or interactions from one of the one or more input devices 332 and translating the detected inputs or interactions.
In some embodiments, the package pushing device in live broadcast provided by the embodiments of the present invention may be implemented in a software manner, and fig. 3 shows the package pushing device 355 in live broadcast stored in the memory 350, which may be software in the form of a program and a plug-in, and includes the following software modules: the first acquiring module 3551, the second acquiring module 3552, the selecting module 3553 and the pushing module 3554 are logical, and thus any combination or further splitting may be performed according to the implemented functions, where the first acquiring module 3551, the second acquiring module 3552 and the pushing module 3554 are integrated in the pushing module shown in fig. 2A, and the selecting module 3553 is integrated in the frequency limiting module shown in fig. 2A, and functions of each module will be described below. The functions of the respective modules will be described hereinafter.
In other embodiments, the in-flight gift box pushing device provided by the embodiments of the present invention may be implemented in hardware, and by way of example, the in-flight gift box pushing device provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor that is programmed to perform the in-flight gift box pushing method provided by the embodiments of the present invention, for example, the processor in the form of a hardware decoding processor may use one or more Application specific integrated circuits (ASICs, applications SPECIFIC INTEGRATED circuits), DSPs, programmable logic devices (PLDs, programmable Logic Device), complex Programmable logic devices (CPLDs, complex Programmable Logic Device), field Programmable gate arrays (FPGAs, fi eld-Programmable GATE ARRAY), or other electronic components.
Methods of implementing embodiments of the present invention will be described in conjunction with the foregoing exemplary applications and implementations of an apparatus implementing embodiments of the present invention.
Referring to fig. 4, fig. 4 is a schematic flowchart of an alternative method for pushing packages in live broadcast according to an embodiment of the present invention, and will be described with reference to the steps shown in fig. 4.
Step 401: the background server acquires a gift box set to be pushed corresponding to a target live broadcast room where a target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed.
In practical application, a client, such as a live client, is arranged on the terminal, the client responds to click operation of a target user on a target live room, generates an entry request for the target live room, and sends the generated entry request to a background server, such as a background server of the live client.
The gift package is used for storing one or more gifts (namely virtual gifts), a background server of the live client can be used for configuring various gift package sets to be pushed for the live broadcasting room, the gift package sets to be pushed corresponding to different live broadcasting rooms can be the same or different, for example, the gift package sets to be pushed corresponding to the game live broadcasting room comprise various gift packages such as super rocket, air-drop replenishment box, super bomb and the like, and the gift package sets to be pushed corresponding to the make-up live broadcasting room comprise various gift packages such as love, perfume and fancy carp.
In some embodiments, the background server may obtain the gift box set to be pushed corresponding to the target live broadcast room where the target user is located by the following method:
receiving an entry request for a target live broadcasting room sent by a client corresponding to a target user; and responding to the entry request, and acquiring a gift box set to be pushed corresponding to the target living broadcast room.
In practical implementation, the background server acquires the live broadcast data stream corresponding to the target live broadcast room based on the received entry request, selects the to-be-pushed gift package set corresponding to the target live broadcast room from a plurality of to-be-pushed gift package sets, and returns the live broadcast data stream corresponding to the live broadcast room and the to-be-pushed gift package set to the live broadcast client, so that the live broadcast client plays the live broadcast data stream, and can present the corresponding to-be-pushed gift package for the target user to select for use while the user enters the live broadcast room.
In some embodiments, the background server may further obtain a gift box set to be pushed corresponding to a target live broadcast room where the target user is located by the following method:
Acquiring the time length of a target user in a target live broadcasting room; and when the duration reaches a duration threshold, acquiring a gift box set to be pushed corresponding to the target live broadcasting room.
In actual implementation, the background server acquires and returns a live broadcast data stream corresponding to the target live broadcast room to the live broadcast client based on the received entry request, the live broadcast client receives the live broadcast data stream, and the target user completes entry of the target live broadcast room; when the duration of the target user in the target live broadcasting room exceeds a time threshold, the background server acquires a gift box set to be pushed corresponding to the target live broadcasting room, if the duration of the target user in the target live broadcasting room exceeds 5 minutes, the target user is characterized as interested in the live broadcasting content of the target live broadcasting room, and in this case, the background server acquires the corresponding gift box set to be pushed for pushing to the target user; when the target user enters the target live broadcasting room and exits only by short stay, the live broadcasting content of the target live broadcasting room is characterized as not being interested by the target user, and in this case, the background server does not acquire the corresponding gift bag set to be pushed, so that invalid pushing is avoided.
In some embodiments, the entry request received by the background server further carries identification information of the target user, such as a login account, and the background server obtains a user portrait of the target user based on the entry request; and selecting at least one gift bag to be pushed, which is matched with the user portrait, from the gift bag set to be pushed based on the user portrait.
In practical application, the user portraits include user interest portraits and user base portraits; wherein the user interest portraits refer to virtual representations of real users, and a target user model is established on a series of attribute data and is used for indicating interest classification of the users; the user basic portrait abstracts the information overview of the tagged user according to the user basic information such as the real name, sex, age, resident login place and the like of the user.
In practical implementation, the background server selects the gift bags to be pushed which are matched with the user portrait from the gift bags to be pushed according to the personal data, the grade, the recharging record and other user portrait information of the target user, if the target user is an advanced member, the background server selects the advanced gift bags to be pushed which are matched with the advanced member from the gift bags to be pushed, and therefore, basic guarantee is provided for the follow-up pushing of the gift bags to be pushed which meet pushing conditions to the matched target user in a targeted manner, and the accuracy of gift bag pushing in live broadcasting is improved.
Step 402: respectively acquiring pushing parameters corresponding to each gift bag to be pushed, wherein the pushing parameters are determined based on the user portrait of the target user and comprise at least one of the following: the number of times of pushing corresponding to the pushing window, the weight of the pushing window bits, the size of the pushing window bits and the number of pushing window bits.
In practical application, the background server determines push parameters corresponding to the gift bags to be pushed based on user images of the target users, and the push window comprises a plurality of push window bits used for representing push periods of the corresponding gift bags to be pushed to the target users, wherein the sizes of weights of the push window bits represent the number of corresponding push times, for example, the target users frequently enter the target live broadcasting room on monday and thursday to watch live broadcasting, and the weights distributed on monday and thursday can be larger to distribute more push times.
The background server may set parameters corresponding to the gift package to be pushed based on the user portrait of the target user as follows: assuming that a week is pushed 20 times at most, taking a week as a push window (i.e. push period), the push times of the corresponding push window is 20, the size of the push window bits is 1 day, the number of push window bits is 7, and one push window consists of { Monday, tuesday, friday, saturday, sunday }7 push window bits, and correspondingly, the weights of the push window bits are as follows: {2, 1}.
Step 403: based on the obtained pushing parameters, selecting the gift bags to be pushed which meet pushing conditions from the gift bag set to be pushed.
In some embodiments, the background server may select the gift bag to be pushed that meets the pushing condition from the set of gift bags to be pushed by:
For each gift bag to be pushed, determining the number of target pushing window positions corresponding to the target time period respectively; the target time period is a time period between the current time and the pushing time when the gift bag to be pushed is pushed last time; determining the reference pushing times of the gift bags to be pushed based on the pushing times of the corresponding pushing windows, the weights of the pushing window positions and the number of the pushing window positions; and selecting the gift bags to be pushed which meet the pushing conditions from the gift bag set to be pushed based on the determined number of the target pushing window positions and the reference pushing times.
In practical application, the background server can judge whether the gift package to be pushed, corresponding to the pushing window position y, meets the pushing condition according to the frequency limit function shown in the formula (1):
Wherein y is a push window bit, beta i∈(0,n) is the weight and weight set of each push window bit, n is the number of push window bits, alpha is the number of push times of the corresponding push window, and t is the remaining number of push times corresponding to the target push window bit; j= -1 when the number of target push window bits is 0 or greater than n, j = 1 when the number of target push window bits is greater than 0 and less than n; and if the frequency limit function f returns to true, the fact that the gift bag to be pushed meets the pushing condition is indicated, and if the frequency limit function f returns to false, the fact that the gift bag to be pushed does not meet the pushing condition is indicated.
In actual implementation, for each gift bag to be pushed, the background server respectively acquires a pushing window position corresponding to the current time of the gift bag to be pushed, acquires a time period between the current time and the last pushed time of the gift bag to be pushed, and acquires the number of target window positions corresponding to the time period, for example, the pushing window position corresponding to the current time is Zhou, the pushing window position corresponding to the last pushed time of the gift bag to be pushed is Zhou, the number of target window positions corresponding to the time period from Zhou to Zhou is 2; the number of the target window positions represents whether the pushing of the gift bags to be pushed at the current moment is the first pushing of the corresponding pushing window positions, and the background server judges whether the corresponding gift bags to be pushed meet pushing conditions according to different branches shown in a formula (1) aiming at different conditions.
In some embodiments, the background server may select the gift bag to be pushed that meets the pushing condition from the set of gift bags to be pushed by:
For each gift bag to be pushed, when the number of target pushing window positions is 0 or greater than the number of pushing window positions, determining the target pushing times corresponding to the pushing window positions at the current moment based on the pushing times corresponding to the pushing windows and the weights of the pushing window positions; selecting the gift bags to be pushed, corresponding to the target pushing times larger than the reference pushing times, as the gift bags to be pushed which accord with pushing conditions.
In practical application, the background server determines the target pushing times corresponding to the pushing window positions to which the current time belongs according to the pushing times corresponding to the pushing windows and the weights of the pushing window positions, and when the number of the target pushing window positions is 0, namely the time of the latest pushing of the gift bag to be pushed and the current time are positioned at the same pushing window position, the pushing of the current time is the first pushing of the corresponding pushing window position; when the number of target pushing window bits is greater than the number n of pushing window bits, it means that a new pushing window is opened again, and the first pushing situation is processed according to the above-mentioned first pushing situation, in both cases, j= -1 is taken, that is, according to the j <0 branch shown in the formula (1), the target pushing times are compared with the reference pushing times, whether the gift bag to be pushed meets the pushing condition is judged, the gift bag to be pushed corresponding to the target pushing times greater than the reference pushing times is determined as the gift bag to be pushed meeting the pushing condition.
In some embodiments, the background server may select the gift bag to be pushed that meets the pushing condition from the set of gift bags to be pushed by:
For each gift bag to be pushed, when the number of target pushing window positions is smaller than that of pushing window positions, determining the target pushing times corresponding to the pushing window positions to which the current moment belongs based on the pushing times corresponding to the pushing windows and the weights of the pushing window positions; respectively determining the residual pushing times of the target pushing window positions corresponding to all the gift bags to be pushed; selecting the gift bags to be pushed, the sum of the target pushing times and the residual pushing times of which is larger than the reference pushing times, as the gift bags to be pushed which meet the pushing conditions.
In practical implementation, when the number of the target pushing window bits is smaller than the number of the pushing window bits, the pushing of the current time is not the first pushing of the corresponding pushing window bits, j=1 is taken, the remaining pushing times of the target pushing window bits are updated according to the corresponding branches shown in the formula (1), the sum of the target pushing times and the remaining pushing times is compared with the reference pushing times, whether the gift bag to be pushed meets pushing conditions is judged, and when the sum of the target pushing times and the remaining pushing times is larger than the reference pushing times, the gift bag to be pushed is determined to be the gift bag to be pushed which meets the pushing conditions.
For example, the above description is further given by taking the example that the background server determines the pushing parameters corresponding to the gift package to be pushed based on the user image of the target user, where the parameters corresponding to the gift package to be pushed, which are distributed by the background server to the target user in the target live broadcast room, are as follows: the number of pushing times of the corresponding pushing window is 20, the size of the pushing window bits is 1 day, the number of the pushing window bits is 7, one pushing window consists of { Monday, tuesday, wednesday, tuesday, friday, saturday, sunday }7 pushing window bits, correspondingly, the weights of all pushing window bits are {2, 1,2, 1}, assuming that whether the acquired gift package to be pushed meets the pushing condition or not is judged on Monday, according to the current time of acquiring the gift package to be pushed, determining that the pushing window bit corresponding to the current time is Monday, calling f (1, {2, 1},7, 20, 40/9, -1) in the formula (1) to return true, determining that the gift package to be pushed meets the pushing condition, updating the residual pushing times t=40/9-1 of the current pushing window bit, and globally remaining pushing times glob_b=t. When the gift bag to be pushed is pushed 4 times continuously on monday, at this time, t=40/9-1*4 =4/9, glob_b=4/9, assuming that the background server does not push the gift bag to be pushed to the client corresponding to the target user on friday, the friday judges whether the gift bag to be pushed meets the pushing condition, at this time, the pushing window bit corresponding to the current time is acquired to be friday, the number of target push window bits corresponding to the target time period between the current time (wednesday) and the last push time (monday) is 2, the glob_b=4/9+20/9=24/9 is updated, f (3, {2, 1},7, 20, 24/9, 1) in the formula (1) is called to return to true, and then the gift bag to be pushed can be determined to meet the push condition.
Step 404: pushing the gift bags to be pushed, which meet the pushing conditions, to the client corresponding to the target user.
In some embodiments, the background server may push the gift box to be pushed, which meets the pushing condition, to the client corresponding to the target user by:
when the number of the gift bags to be pushed which meet the pushing conditions is multiple, pushing the gift bag set containing the multiple gift bags to be pushed to the client corresponding to the target user, so that the client presents the gift bag set; or pushing the to-be-pushed gift bags meeting the pushing conditions to the client in sequence according to the fixed time interval, so that the client sequentially presents the to-be-pushed gift bags meeting the pushing conditions according to the time interval.
In practical application, when pushing gift bags, if the number of the determined gift bags to be pushed meeting the pushing conditions is multiple, the background server can push the determined gift bags to be pushed to the client corresponding to the target user at one time in the form of a gift bag set (i.e. big gift bags), the client presents the pushed gift bags in the form of the gift bag set, see fig. 5, fig. 5 is an interface schematic diagram of the presentation of the gift bags provided by the embodiment of the invention, as shown in fig. 5, the background server pushes the gift bags to be pushed to the client in the form of the gift bag set, the bottom right of the living broadcast interface of the client presents the gift bags to be pushed meeting the pushing conditions in the form of the gift bag set, and the target user can slide the gift bag set or the area where the gift bags are located left and right to check all the gift bags in the gift bag set.
The background server can push a plurality of gift bags to be pushed which meet pushing conditions one by one, for example, push one gift bag to be pushed at intervals, and sequentially push the plurality of gift bags to be pushed which meet pushing conditions to the client, so that the client sequentially presents the plurality of gift bags to be pushed which meet pushing conditions according to time intervals, see fig. 6, fig. 6 is an interface schematic diagram presented by the gift bags provided by the embodiment of the invention, as shown in fig. 6, the background server pushes the plurality of gift bags to be pushed which meet pushing conditions to the client according to time intervals, and the bottom right of a live interface of the client intermittently presents the gift bags to be pushed which meet pushing conditions according to time intervals sequentially.
In some embodiments, the background server may further push the gift box to be pushed, which meets the pushing condition, to the client corresponding to the target user by:
when the number of the gift bags to be pushed which meet the pushing conditions is multiple, respectively acquiring the matching degree of each gift bag to be pushed which meets the pushing conditions and the user image; determining the pushing priority corresponding to each gift bag to be pushed based on the obtained matching degree; and sequentially pushing the to-be-pushed gift bags meeting the pushing conditions to the client according to the determined pushing priority.
In practical application, the background server matches each gift bag to be pushed which accords with the pushing condition with the user image to obtain a corresponding matching degree, the higher the matching degree is, the higher the corresponding pushing priority is, the higher the probability that a target user purchases the corresponding gift bag to be pushed is represented, a plurality of gift bags to be pushed which accords with the pushing condition are sequentially pushed to the client side from the highest priority according to the sequence of the pushing priority, so that the client side presents the corresponding gift bags, see fig. 7, fig. 7 is an interface schematic diagram presented by the gift bags provided by the embodiment of the invention, as shown in fig. 7, the background server pushes a plurality of gift bags to be pushed which accords with the pushing condition to the client side according to the sequence of the pushing priority, and the right of the bottom of a live interface of the client side presents the gift bags to be pushed which accords with the pushing condition according to the corresponding sequence.
According to the embodiment of the invention, the pushing parameters corresponding to the gift bags to be pushed are obtained, wherein the pushing parameters are determined based on the user portrait of the target user, and the gift bags to be pushed meeting the pushing conditions are selected from the gift bags to be pushed in a centralized manner based on the obtained pushing parameters so as to be pushed to the client corresponding to the target user.
Next, continuing to describe the method for pushing packages in live broadcast provided by the embodiment of the present invention, referring to fig. 8, fig. 8 is a schematic flow diagram of an alternative method for pushing packages in live broadcast provided by the embodiment of the present invention, and is cooperatively implemented by a live broadcast client and a background server, and will be described with reference to fig. 2B and fig. 8.
Step 801: and the live client responds to clicking operation of the target user on the target live room, and generates an entry request for the target live room.
Step 802: and the live client sends an entry request to the background server.
Step 803: and the background server acquires the live broadcast data stream of the corresponding target live broadcast room based on the entry request.
Step 804: and the background server returns the live data stream to the live client.
Step 805: the background server responds to the target user entering the target living broadcast room, and acquires a gift box set to be pushed corresponding to the target living broadcast room where the target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed.
In practical application, when the duration of the target user in the target live broadcasting room exceeds a time threshold, the background server only acquires the gift box set to be pushed corresponding to the target live broadcasting room so as to avoid invalid pushing.
Step 806: the background server acquires the user portrait of the target user.
Step 807: the background server selects at least one gift bag to be pushed, which is matched with the user portrait, from the gift bag set to be pushed based on the user portrait.
In practical application, the background server selects the gift bags to be pushed which are matched with the user portraits from the gift bags to be pushed according to the personal data, the grade, the recharging record and other user portraits of the target user, if the target user is an advanced member, the background server selects the advanced gift bags to be pushed which are matched with the advanced member from the gift bags to be pushed, so that the gift bags to be pushed which meet the pushing conditions are pushed to the matched target user in a targeted manner, the accuracy of gift bag pushing in live broadcast is improved, and basic assurance is provided.
Step 808: the background server respectively acquires pushing parameters corresponding to each gift bag to be pushed.
Here, the push parameters are determined based on the user profile of the target user, including at least one of: the pushing window comprises a plurality of pushing window bits used for representing the pushing period of the corresponding gift bag to be pushed to the target user.
Step 809: the background server selects the gift bags to be pushed which meet the pushing conditions from the gift bag set to be pushed based on the acquired pushing parameters.
Here, in actual implementation, for each gift bag to be pushed, determining the number of target push window positions corresponding to the target time period respectively; the target time period is a time period between the current time and the pushing time when the gift bag to be pushed is pushed last time; determining the reference pushing times of the gift bags to be pushed based on the pushing times of the corresponding pushing windows, the weights of the pushing window positions and the number of the pushing window positions; and selecting the gift bags to be pushed which meet the pushing conditions from the gift bag set to be pushed based on the determined number of the target pushing window positions and the reference pushing times.
In some embodiments, the background server may select the gift bag to be pushed that meets the pushing condition from the set of gift bags to be pushed by:
For each gift bag to be pushed, when the number of target pushing window positions is 0 or greater than the number of pushing window positions, determining the target pushing times corresponding to the pushing window positions at the current moment based on the pushing times corresponding to the pushing windows and the weights of the pushing window positions; selecting the gift bags to be pushed, corresponding to the target pushing times larger than the reference pushing times, as the gift bags to be pushed which accord with pushing conditions.
In some embodiments, the background server may select the gift bag to be pushed that meets the pushing condition from the set of gift bags to be pushed by:
For each gift bag to be pushed, when the number of target pushing window positions is smaller than that of pushing window positions, determining the target pushing times corresponding to the pushing window positions to which the current moment belongs based on the pushing times corresponding to the pushing windows and the weights of the pushing window positions; respectively determining the residual pushing times of the target pushing window positions corresponding to all the gift bags to be pushed; selecting the gift bags to be pushed, the sum of the target pushing times and the residual pushing times of which is larger than the reference pushing times, as the gift bags to be pushed which meet the pushing conditions.
Step 810: and the background server pushes the gift bags to be pushed, which meet the pushing conditions, to the live client.
Here, in some embodiments, if the number of the determined packages to be pushed meeting the pushing condition is multiple, the background server may push the determined packages to be pushed to the live client corresponding to the target user at one time in the form of a package set (i.e., big packages), or push the determined packages to be pushed meeting the pushing condition to the live client sequentially at fixed time intervals.
In some embodiments, when the number of the gift bags to be pushed which meet the pushing conditions is multiple, the background server respectively obtains the matching degree of each gift bag to be pushed which meets the pushing conditions and the user image; determining the pushing priority corresponding to each gift bag to be pushed based on the obtained matching degree; and sequentially pushing the to-be-pushed gift bags meeting the pushing conditions to the live client according to the determined pushing priority.
Step 811: and the live client presents the gift bag to be pushed, which accords with the pushing condition.
In practical application, correspondingly, the bottom right of the live interface of the client presents a plurality of gift bags to be pushed which meet the pushing conditions in the form of gift bag sets, or sequentially presents the gift bags to be pushed which meet the pushing conditions at equal time intervals, or sequentially presents the gift bags to be pushed which meet the pushing conditions from the highest priority according to the order of pushing priority.
In the following, an exemplary application of the embodiment of the present invention in a practical application scenario will be described.
The gift bag pushing method in live broadcast provided by the embodiment of the invention can be cooperatively executed by the live broadcast client and the background server.
In practical application, a live broadcast client responds to clicking operation of a target user on a target live broadcast room, generates an entry request for the target live broadcast room, and sends the generated entry request to a background server, and the background server acquires a live broadcast data stream corresponding to the target live broadcast room based on the entry request and returns the live broadcast data stream to the live broadcast client so as to enable the target user to enter the target live broadcast room; the background server responds to the target user entering the target live broadcasting room, acquires a gift box set to be pushed corresponding to the target live broadcasting room where the target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed, acquires a user portrait of the target user, acquires pushing strategy information matched with the target user based on the user portrait, and then selects at least one gift box to be pushed matched with the user portrait from the gift box set to be pushed according to the user portrait and the pushing strategy information.
Further, the background server obtains push parameters corresponding to each gift package to be pushed respectively, wherein the push parameters are determined based on the user portrait of the target user and comprise at least one of the following: the pushing window comprises a plurality of pushing window bits used for representing the pushing period of the corresponding gift bag to be pushed to the target user, and the size of the weight of the pushing window bits represents the corresponding pushing times.
For example, assuming that the target user frequently enters the target live broadcasting room to watch live broadcasting on monday and thursday, the weights allocated on two days of monday and thursday may be larger to allocate more pushing times, and the background server may set parameters corresponding to gift bags to be pushed based on the user portraits of the target user as follows: assuming that a maximum of 20 times is pushed in a week, and one week is taken as one push window (i.e. push period), the number of times of pushing the corresponding push window is 20, the size of the push window bits is 1 day, the number of push window bits is 7, and one push window consists of { Monday, tuesday, friday, saturday, sunday }7 push window bits, and accordingly, the weights of the push window bits are as follows: {2, 1}.
Finally, the background server selects the gift bags to be pushed which meet the pushing conditions from the gift bag set to be pushed based on the acquired pushing parameters, specifically, for each gift bag to be pushed, whether the gift bags to be pushed meet the pushing conditions or not is judged through the average value rollback algorithm provided by the invention, wherein the average value rollback algorithm is as a frequency limit function shown in a formula (1):
Wherein y is a push window bit, beta i∈(0,n) is the weight and weight set of each push window bit, n is the number of push window bits, alpha is the number of push times of the corresponding push window, and t is the remaining number of push times corresponding to the target push window bit; j= -1 when the number of target push window bits is 0 or greater than n, j = 1 when the number of target push window bits is greater than 0 and less than n; and if the function f returns true, the fact that the gift bag to be pushed meets the pushing condition is indicated, and if the function f returns false, the fact that the gift bag to be pushed does not meet the pushing condition is indicated.
In practical implementation, referring to fig. 9, fig. 9 is a schematic flow chart of the mean-shift algorithm according to an embodiment of the present invention, and will be described with reference to fig. 9.
Step 901: the background server acquires the pushing window positions corresponding to the current moment of the gift bag to be pushed and the number of target pushing window positions corresponding to the target time period.
Here, the target time period is a time period between the current time and the pushing time when the gift bag to be pushed is pushed last time, for example, the pushing window bit corresponding to the current time is tuesday, the pushing window bit corresponding to the pushing time when the gift bag to be pushed last time is monday, and the number of target window bits corresponding to the time period from monday to friday is 2.
Step 902: initializing a residual push value of a push window position corresponding to the current moment of the gift bag to be pushed and a global residual push value.
Step 903: and judging whether the number of the target push window bits is 0 or larger than the number of the push window bits.
In practical application, when the number of target pushing window positions is 0, that is, the time when the gift bag to be pushed is pushed last time and the current time are located in the same pushing window position, the pushing of the current time is the first pushing of the corresponding pushing window position; when the number of target push window bits is greater than the number n of push window bits, meaning that a new push window is reopened, the first push is handled as described above, in both cases step 905 is performed.
When the number of target push window bits is smaller than the number of push window bits, it means that the push at the current time is not the first push corresponding to the push window bits, and the global remaining push value needs to be updated, i.e. step 904 is performed, and then step 905 is performed.
Step 904: the global remaining push value is updated.
Step 905: and calling a frequency limit function to obtain a function return value.
In actual implementation, when the number of target push window bits corresponding to the target time period is 0 or greater than the number of push window bits, the push at the current time is the first push corresponding to the push window bits, the global residual push times are not required to be updated, j= -1 is taken, a corresponding function return value is obtained through calculation according to a branching function of j <0 shown in a formula (1), and here, the reference push times of the gift package to be pushed are determined based on the push times corresponding to the push window, the weight of the push window bits and the number of push window bits; determining the target pushing times corresponding to the pushing window bit to which the current moment belongs based on the pushing times corresponding to the pushing window and the weight of the pushing window bit; comparing the target pushing times with the reference pushing times to obtain a function return value, and judging whether the gift bag to be pushed meets pushing conditions or not according to the authenticity of the function return value.
When the number of the target pushing window bits is smaller than that of the pushing window bits, j=1 is taken, a corresponding function return value is obtained according to a branching function with j being larger than or equal to 0 shown in a formula (1), wherein the residual pushing times of the target pushing window bits are updated, the sum of the target pushing times and the residual pushing times is compared with the reference pushing times to obtain a function return value, and whether the gift package to be pushed meets pushing conditions or not is judged according to the fact that the function return value is true or false.
Step 906: it is determined whether the function return value is true.
Here, if the function return value is true, characterizing that the gift bag to be pushed meets the pushing condition, the background server may push the gift bag to be pushed to the live client where the target user is located, and step 906 is executed; if the function return value is false, the fact that the gift bag to be pushed does not accord with the pushing condition is indicated, and the process is ended.
Step 907: and updating the residual push value of the push window bit corresponding to the current moment and the global residual push value.
For example, in conjunction with the algorithm flow chart shown in fig. 9, the above description is further given by taking the example that the background server determines, based on the user image of the target user, the push parameter corresponding to the gift bag to be pushed, and if it is determined in monday that the acquired gift bag to be pushed meets the push condition, according to the current time of acquiring the gift bag to be pushed, the push window bit corresponding to the current time is determined to be monday, f (1, {2, 1,2, 1},7, 20, 40/9, -1) in the formula (1) is called to return true, it may be determined that the gift bag to be pushed meets the push condition, and the remaining push times t=40/9-1 of the current push window bit and the global remaining push times glob_b=t are updated. When the gift package to be pushed is pushed 4 times on monday, at this time, t=40/9-1*4 =4/9, glob_b=4/9, assuming that the background server does not push the gift package to be pushed to the client corresponding to the target user on monday, the monday judges whether the gift package to be pushed meets the pushing condition, at this time, the number of target pushing window bits corresponding to the current time (monday) and the target time period between the last pushing time (monday) is 2, f (3, {2, 1, 20, 24/9, 1) in the formula (1) is called, and if the gift package to be pushed meets the pushing condition is returned to the true, the gift package to be pushed meeting the pushing condition can be determined to the client where the target user is located.
With continued reference to fig. 2A, the background server is in the form of two layers of four modules, where the two layers include a logic layer and a storage layer, where the logic layer includes a pushing module, a frequency limit module and a configuration module, and the storage layer includes a storage module, and the method for pushing the gift package in live broadcast provided by the embodiment of the present invention is described with reference to fig. 2A and fig. 10.
Step 1001: and pulling gift bag information by the live client.
Here, when the user performs the live broadcast room, the live broadcast client pulls the gift bag of the adapted user from the background server.
Step 1002: the pushing module of the background server requests to acquire the gift bags to be pushed, which are adapted to the target user.
In practical application, the pushing module of the background server responds to the target user entering the target live broadcasting room, obtains the user portrait of the target user, obtains pushing strategy information meeting the target user from information configured by the configuration module based on the user portrait of the target user, and obtains a gift bag to be pushed of the target user according to the user portrait of the target user and the pushing strategy information.
Step 1003: and the storage module of the background server returns the gift bag set to be pushed, which is adapted to the target user.
Here, the gift bag set to be pushed includes a plurality of gift bags to be pushed, and the storage module is used for storing the gift bag information configured by the configuration module, the frequency limit policy corresponding to the gift bags, and the frequency limit intermediate state information of the frequency limit storage module.
Step 1004: the pushing module of the background server inquires whether a plurality of gift bags to be pushed meet pushing conditions.
Here, for each gift bag to be pushed, the pushing module consults with the frequency limit module whether the pushing condition is satisfied.
Step 1005: the frequency limit module of the background server inquires the frequency limit information of the gift bag to be pushed.
Here, the frequency limit module queries the storage module for frequency limit intermediate state information of each gift bag to be pushed, including push parameters corresponding to the gift bags to be pushed.
Step 1006: and the storage module of the background server returns the frequency limit information of the gift bag to be pushed.
Step 1007: and the frequency limit module of the background server returns the gift bags meeting the pushing conditions to the pushing module.
In practical implementation, the frequency limit module obtains whether the gift bag to be pushed meets pushing conditions or not according to the obtained pushing parameters, and returns the gift bag to be pushed meeting the pushing conditions to the pushing module.
Step 1008: and the pushing module of the background server returns the detailed information of the gift package to the live client.
Here, the pushing module assembles the gift bag to be pushed, which accords with the pushing condition, to obtain the detailed information of the gift bag, and pushes the obtained detailed information of the gift bag to the live client, and the live client presents the received detailed information of the gift bag.
Aiming at the scene of pushing gift bags for users in the live broadcast industry, the embodiment of the invention provides a method for pushing the gift bags in live broadcast so as to control the pushing frequency limit of the gift bags.
Through the mode, the accuracy of the gift bag pushing frequency limit is improved, the fine granularity of the gift bag frequency limit is increased, and the gift bag can be pushed for a user more personally, so that the user experience is provided, and meanwhile, the conversion rate of the gift bag of the live broadcast platform is also improved.
Next, an exemplary structure of the in-live gift box pushing device 355 implemented as a software module according to an embodiment of the present invention will be described with reference to fig. 3 and 11, and in some embodiments, as shown in fig. 3 and 11, the in-live gift box pushing device 355: a first acquiring module 3551, a second acquiring module 3552, a selecting module 3553, and a pushing module 3554.
The first acquiring module 3551 is configured to acquire a gift box set to be pushed corresponding to a target live broadcast room where a target user is located, where the gift box set to be pushed includes a plurality of gift boxes to be pushed;
The second obtaining module 3552 is configured to obtain push parameters corresponding to the packages to be pushed respectively, where the push parameters are determined based on the user representation of the target user, and the push parameters include at least one of the following: the number of pushing times corresponding to the pushing window, the weight of the pushing window position, the size of the pushing window position and the number of the pushing window positions;
The pushing window comprises a plurality of pushing window bits, and is used for representing the pushing period of the corresponding gift bags to be pushed to the target user;
a selecting module 3553, configured to select, from the to-be-pushed gift bags set, to-be-pushed gift bags that meet a pushing condition based on the obtained pushing parameter;
And the pushing module 3554 is configured to push the gift box to be pushed, where the pushing condition is met, to a client corresponding to the target user.
In some embodiments, the first obtaining module is further configured to receive an entry request for the target live broadcast room sent by a client corresponding to the target user;
And responding to the entry request, and acquiring a gift box set to be pushed corresponding to the target live broadcasting room.
In some embodiments, the first obtaining module is further configured to obtain a duration that the target user is in the target live room;
and when the duration reaches a duration threshold, acquiring a gift box set to be pushed corresponding to the target live broadcasting room.
In some embodiments, the second obtaining module is further configured to obtain a user representation of the target user;
And selecting at least one gift bag to be pushed, which is matched with the user portrait, from the gift bag set to be pushed based on the user portrait.
In some embodiments, the selecting module is further configured to determine, for each gift package to be pushed, a number of target push window bits corresponding to a target time period; the target time period is a time period between the current time and the pushing time when the gift bag to be pushed is pushed last time;
determining the reference pushing times of the gift bags to be pushed based on the pushing times of the corresponding pushing windows, the weights of the pushing window positions and the number of the pushing window positions;
and selecting the gift bags to be pushed which meet pushing conditions from the gift bag set to be pushed based on the determined number of the target pushing window positions and the reference pushing times.
In some embodiments, the selecting module is further configured to determine, for each gift packet to be pushed, a target push number corresponding to a push window bit to which the current moment belongs, based on the push number of the corresponding push window and a weight of the push window bit when the number of the target push window bits is 0 or greater than the number of the push window bits;
selecting the gift bags to be pushed, corresponding to the target pushing times larger than the reference pushing times, as the gift bags to be pushed meeting the pushing conditions.
In some embodiments, the selecting module is further configured to determine, for each gift package to be pushed, a target push number corresponding to a push window bit to which the current time belongs, based on the push number of the corresponding push window and a weight of the push window bit when the number of the target push window bits is smaller than the number of the push window bits;
respectively determining the residual pushing times of the target pushing window positions corresponding to the gift bags to be pushed;
selecting the gift bags to be pushed, wherein the sum of the target pushing times and the residual pushing times is larger than the reference pushing times, and the gift bags to be pushed, which meet the pushing conditions, are selected.
In some embodiments, the pushing module is further configured to push, when the number of packages to be pushed that meets a pushing condition is multiple, a package set including the multiple packages to be pushed to a client corresponding to the target user, so that the client presents the package set; or alternatively
And pushing the gift bags to be pushed, which are in accordance with the pushing conditions, to the client side sequentially according to the fixed time interval, so that the client side sequentially presents the gift bags to be pushed, which are in accordance with the pushing conditions, according to the time interval.
In some embodiments, the pushing module is further configured to, when the number of to-be-pushed packages meeting the pushing condition is multiple, respectively obtain a matching degree between each to-be-pushed package meeting the pushing condition and the user portrait;
determining the pushing priority corresponding to each gift bag to be pushed based on the obtained matching degree;
and sequentially pushing the gift bags to be pushed, which meet the pushing conditions, to the client according to the pushing priority.
The embodiment of the invention provides a server, which comprises:
a memory for storing executable instructions;
and the processor is used for realizing the gift box pushing method in live broadcast provided by the embodiment of the invention when executing the executable instructions stored in the memory.
The embodiment of the invention provides a storage medium which stores executable instructions for realizing the gift box pushing method in live broadcast when a processor executes the executable instructions.
In some embodiments, the storage medium may be FRAM, ROM, PROM, EPROM, EE PROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, such as in one or more scripts in a hypertext markup language (HTML, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or distributed across multiple sites and interconnected by a communication network.
The foregoing is merely exemplary embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (9)

1. A method for pushing gift bags in live broadcast, the method comprising:
acquiring a gift box set to be pushed corresponding to a target living room where a target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed;
respectively obtaining pushing parameters corresponding to the gift bags to be pushed, wherein the pushing parameters are determined based on the user portraits of the target users and comprise at least one of the following: the number of pushing times corresponding to the pushing window, the weight of the pushing window position, the size of the pushing window position and the number of the pushing window positions;
The pushing window comprises a plurality of pushing window bits, and is used for representing the pushing period of the corresponding gift bags to be pushed to the target user;
Respectively determining the number of target pushing window positions corresponding to the target time periods aiming at each gift bag to be pushed; the target time period is a time period between the current time and the pushing time when the gift bag to be pushed is pushed last time;
Selecting the gift bags to be pushed which meet pushing conditions from the gift bag set to be pushed based on the obtained pushing parameters and the number of the target pushing window positions;
Pushing the gift bags to be pushed, which meet the pushing conditions, to the client corresponding to the target user;
the selecting the gift bag to be pushed, which meets the pushing condition, from the gift bag set to be pushed based on the obtained pushing parameters and the number of the target pushing window positions includes:
determining the reference pushing times of the gift bags to be pushed based on the pushing times of the corresponding pushing windows, the weights of the pushing window positions and the number of the pushing window positions;
for each gift bag to be pushed, when the number of the target pushing window positions is 0 or greater than the number of the pushing window positions, determining the target pushing times corresponding to the pushing window positions to which the current moment belongs based on the pushing times of the corresponding pushing window and the weight of the pushing window positions; selecting the gift bags to be pushed, corresponding to the target pushing times larger than the reference pushing times, as the gift bags to be pushed which meet the pushing conditions;
when the number of the target pushing window bits is smaller than that of the pushing window bits, determining the target pushing times corresponding to the pushing window bits to which the current moment belongs based on the pushing times of the corresponding pushing windows and the weights of the pushing window bits; respectively determining the residual pushing times of the target pushing window positions corresponding to the gift bags to be pushed; selecting the gift bags to be pushed, wherein the sum of the target pushing times and the residual pushing times is larger than the reference pushing times, and the gift bags to be pushed, which meet the pushing conditions, are selected.
2. The method of claim 1, wherein the obtaining the gift box set to be pushed corresponding to the target live broadcast room where the target user is located includes:
Receiving an entry request for the target live broadcasting room sent by a client corresponding to the target user;
And responding to the entry request, and acquiring a gift box set to be pushed corresponding to the target live broadcasting room.
3. The method of claim 1, wherein the obtaining the gift box set to be pushed corresponding to the target live broadcast room where the target user is located includes:
Acquiring the time length of the target user in the target live broadcasting room;
and when the duration reaches a duration threshold, acquiring a gift box set to be pushed corresponding to the target live broadcasting room.
4. The method as set forth in claim 1, wherein before the pushing parameters corresponding to the packages to be pushed are obtained respectively, the method further includes:
acquiring a user portrait of the target user;
And selecting at least one gift bag to be pushed, which is matched with the user portrait, from the gift bag set to be pushed based on the user portrait.
5. The method of claim 1, wherein pushing the gift box to be pushed that meets the pushing condition to the client corresponding to the target user includes:
When the number of the gift bags to be pushed which meet the pushing conditions is multiple, pushing the gift bag set containing the multiple gift bags to be pushed to the client corresponding to the target user, so that the client presents the gift bag set; or alternatively
And pushing the gift bags to be pushed, which are in accordance with the pushing conditions, to the client side sequentially according to the fixed time interval, so that the client side sequentially presents the gift bags to be pushed, which are in accordance with the pushing conditions, according to the time interval.
6. The method of claim 1, wherein pushing the gift box to be pushed that meets the pushing condition to the client corresponding to the target user includes:
When the number of the gift bags to be pushed which meet the pushing conditions is multiple, respectively acquiring the matching degree of each gift bag to be pushed which meets the pushing conditions and the user portrait;
determining the pushing priority corresponding to each gift bag to be pushed based on the obtained matching degree;
and sequentially pushing the gift bags to be pushed, which meet the pushing conditions, to the client according to the pushing priority.
7. A gift box pushing device in live broadcast, the device comprising:
The first acquisition module is used for acquiring a gift box set to be pushed corresponding to a target living room where a target user is located, wherein the gift box set to be pushed comprises a plurality of gift boxes to be pushed;
The second acquisition module is used for respectively acquiring push parameters corresponding to the gift bags to be pushed, wherein the push parameters are determined based on the user portrait of the target user and comprise at least one of the following: the number of pushing times corresponding to the pushing window, the weight of the pushing window position, the size of the pushing window position and the number of the pushing window positions;
The pushing window comprises a plurality of pushing window bits, and is used for representing the pushing period of the corresponding gift bags to be pushed to the target user;
The selecting module is used for respectively determining the number of target pushing window positions corresponding to the target time period for each gift bag to be pushed; the target time period is a time period between the current time and the pushing time when the gift bag to be pushed is pushed last time; selecting the gift bags to be pushed which meet pushing conditions from the gift bag set to be pushed based on the obtained pushing parameters and the number of the target pushing window positions;
The selecting module is further configured to determine a reference pushing number of times of the gift bag to be pushed based on the pushing number of times of the corresponding pushing window, the weight of the pushing window bits, and the number of pushing window bits; for each gift bag to be pushed, when the number of the target pushing window positions is 0 or greater than the number of the pushing window positions, determining the target pushing times corresponding to the pushing window positions to which the current moment belongs based on the pushing times of the corresponding pushing window and the weight of the pushing window positions; selecting the gift bags to be pushed, corresponding to the target pushing times larger than the reference pushing times, as the gift bags to be pushed which meet the pushing conditions; when the number of the target pushing window bits is smaller than that of the pushing window bits, determining the target pushing times corresponding to the pushing window bits to which the current moment belongs based on the pushing times of the corresponding pushing windows and the weights of the pushing window bits; respectively determining the residual pushing times of the target pushing window positions corresponding to the gift bags to be pushed; selecting the gift bags to be pushed, wherein the sum of the target pushing times and the residual pushing times is larger than the reference pushing times, and the gift bags to be pushed which meet the pushing conditions are selected;
and the pushing module is used for pushing the gift bags to be pushed, which meet the pushing conditions, to the client corresponding to the target user.
8. A server, comprising:
a memory for storing executable instructions;
a processor for implementing the method for pushing packages in live broadcast according to any one of claims 1 to 6 when executing the executable instructions stored in the memory.
9. A storage medium storing executable instructions for causing a processor to implement the method of pushing packages in live broadcast of any of claims 1 to 6 when executed.
CN201910991556.4A 2019-10-18 2019-10-18 Gift package pushing method and device in live broadcast Active CN112685598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910991556.4A CN112685598B (en) 2019-10-18 2019-10-18 Gift package pushing method and device in live broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910991556.4A CN112685598B (en) 2019-10-18 2019-10-18 Gift package pushing method and device in live broadcast

Publications (2)

Publication Number Publication Date
CN112685598A CN112685598A (en) 2021-04-20
CN112685598B true CN112685598B (en) 2024-04-26

Family

ID=75444801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910991556.4A Active CN112685598B (en) 2019-10-18 2019-10-18 Gift package pushing method and device in live broadcast

Country Status (1)

Country Link
CN (1) CN112685598B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999013424A1 (en) * 1997-09-12 1999-03-18 Amazon.Com, Inc. Method and system for placing a purchase order via a communications network
CN104462594A (en) * 2014-12-29 2015-03-25 北京奇虎科技有限公司 Method and device for providing user personalized resource message pushing
CN105049526A (en) * 2015-08-19 2015-11-11 网易(杭州)网络有限公司 Push method, device and system of game gift bag
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device
CN106127504A (en) * 2016-06-12 2016-11-16 北京三快在线科技有限公司 The method for pushing of electronic article certificate, generation method, device, user terminal and server
CN106296281A (en) * 2016-08-05 2017-01-04 中卓信(北京)科技有限公司 A kind of user individual travel information method for pushing, device and system
WO2017088688A1 (en) * 2015-11-25 2017-06-01 阿里巴巴集团控股有限公司 Information recommendation method and apparatus
CN107679246A (en) * 2017-10-31 2018-02-09 努比亚技术有限公司 A kind of present method for pushing, terminal and computer-readable recording medium based on social networking application
US20180101286A1 (en) * 2016-10-10 2018-04-12 Alibaba Group Holding Limited Processing method, aparatus, and client terminal for displaying user specified information of data item
CN108460629A (en) * 2018-02-10 2018-08-28 深圳壹账通智能科技有限公司 User, which markets, recommends method, apparatus, terminal device and storage medium
CN108809678A (en) * 2017-05-03 2018-11-13 腾讯科技(深圳)有限公司 A kind of method and server of information push
CN110278446A (en) * 2019-06-20 2019-09-24 北京字节跳动网络技术有限公司 Determine that virtual present shows the method, apparatus and electronic equipment of information

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999013424A1 (en) * 1997-09-12 1999-03-18 Amazon.Com, Inc. Method and system for placing a purchase order via a communications network
CN104462594A (en) * 2014-12-29 2015-03-25 北京奇虎科技有限公司 Method and device for providing user personalized resource message pushing
CN105049526A (en) * 2015-08-19 2015-11-11 网易(杭州)网络有限公司 Push method, device and system of game gift bag
WO2017088688A1 (en) * 2015-11-25 2017-06-01 阿里巴巴集团控股有限公司 Information recommendation method and apparatus
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device
CN106127504A (en) * 2016-06-12 2016-11-16 北京三快在线科技有限公司 The method for pushing of electronic article certificate, generation method, device, user terminal and server
CN106296281A (en) * 2016-08-05 2017-01-04 中卓信(北京)科技有限公司 A kind of user individual travel information method for pushing, device and system
US20180101286A1 (en) * 2016-10-10 2018-04-12 Alibaba Group Holding Limited Processing method, aparatus, and client terminal for displaying user specified information of data item
CN108809678A (en) * 2017-05-03 2018-11-13 腾讯科技(深圳)有限公司 A kind of method and server of information push
CN107679246A (en) * 2017-10-31 2018-02-09 努比亚技术有限公司 A kind of present method for pushing, terminal and computer-readable recording medium based on social networking application
CN108460629A (en) * 2018-02-10 2018-08-28 深圳壹账通智能科技有限公司 User, which markets, recommends method, apparatus, terminal device and storage medium
CN110278446A (en) * 2019-06-20 2019-09-24 北京字节跳动网络技术有限公司 Determine that virtual present shows the method, apparatus and electronic equipment of information

Also Published As

Publication number Publication date
CN112685598A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
WO2018083668A1 (en) Scene understanding and generation using neural networks
US10289390B2 (en) Interactive multimodal display platform
CN106970822A (en) A kind of container creation method and device
TW201923675A (en) Information recommendation method, device and apparatus
US10146665B2 (en) Systems and methods for providing dynamic and real time simulations of matching resources to requests
WO2021036589A1 (en) Feature processing method and apparatus for artificial intelligence recommendation model, electronic device, and storage medium
US11257217B2 (en) Image segmentation using neural networks
CN111240769A (en) Page starting method, device, equipment and storage medium
EP3161788B1 (en) System and method for classifying pixels
CN109597833A (en) Event prediction method, apparatus, computer equipment and storage medium based on big data
US11095957B2 (en) Method and apparatus for publishing information, and method and apparatus for processing information
EP4213097A1 (en) Image generation method and apparatus
CN112685598B (en) Gift package pushing method and device in live broadcast
CN116974676A (en) Page content sending method, device and equipment
CN110297904B (en) Event name generation method and device, electronic equipment and storage medium
CN110580648A (en) financial information processing method and device based on artificial intelligence
CN115185434A (en) Vehicle application scene processing method, device, equipment and storage medium
CN117043790A (en) On-device generation and personalization of zero prefix suggestions and use thereof
CN113761343A (en) Information pushing method and device, terminal equipment and storage medium
CN109584012B (en) Method and device for generating item push information
CN113761416A (en) Request processing method, device, server and storage medium
CN114117161A (en) Display method and device
US11429901B1 (en) Pitman-Yor process topic modeling pre-seeded by keyword groupings
CN115146775B (en) Edge device reasoning acceleration method, device and data processing system
JP2020510936A (en) Image correction method and system by correction pattern analysis

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