CN112333458B - Live room display method, device, equipment and storage medium - Google Patents
Live room display method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112333458B CN112333458B CN202011176637.8A CN202011176637A CN112333458B CN 112333458 B CN112333458 B CN 112333458B CN 202011176637 A CN202011176637 A CN 202011176637A CN 112333458 B CN112333458 B CN 112333458B
- Authority
- CN
- China
- Prior art keywords
- anchor
- interaction
- accounts
- live
- online
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 238000003860 storage Methods 0.000 title claims abstract description 28
- 230000003993 interaction Effects 0.000 claims abstract description 225
- 238000012163 sequencing technique Methods 0.000 claims abstract description 13
- 238000004590 computer program Methods 0.000 claims description 11
- 230000002452 interceptive effect Effects 0.000 description 15
- 238000012545 processing Methods 0.000 description 15
- 238000004891 communication Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000002093 peripheral effect Effects 0.000 description 12
- 230000001133 acceleration Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 230000006835 compression Effects 0.000 description 4
- 238000007906 compression Methods 0.000 description 4
- 238000009826 distribution Methods 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 239000004984 smart glass Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000010408 film Substances 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/258—Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
- H04N21/25866—Management of end-user data
- H04N21/25891—Management of end-user data being end-user preferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Graphics (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a live broadcast room display method, a live broadcast room display device, live broadcast room display equipment and a storage medium, and belongs to the field of online live broadcast. The method comprises the following steps: acquiring the optimal interaction quantity of N anchor accounts, and acquiring the online account number of live rooms of the N anchor accounts, wherein the optimal interaction quantity is used for indicating the audience account number when the historical interaction indexes of the anchor accounts and the audience accounts reach an optimal interval; calculating interaction allowance of live rooms of the N anchor accounts, wherein the interaction allowance is equal to a difference value between the optimal interaction amount and the online account number; and sequencing the live rooms of the N anchor accounts according to the interaction allowance, and then sending the live rooms to a client of a spectator for display. The method and the device can reasonably arrange the number of online people in the live room according to the interaction allowance.
Description
Technical Field
The embodiment of the application relates to the field of live webcasting, in particular to a live room display method, device and equipment and a storage medium.
Background
The network live broadcast is an internet entertainment mode that a live broadcast user uses a live broadcast client to generate a live broadcast stream, and a server multicasts the live broadcast stream to a plurality of audience clients belonging to a current live broadcast room for a plurality of audience users to watch. The live room is a virtual logical space formed by the anchor client and the audience client on a live platform.
Multiple live rooms exist on the same live platform, and when a user of a spectator opens a live hall page by using the spectator client, the live client displays the multiple live rooms, and the multiple live rooms are ordered according to the number of online people. For example, the more live rooms that are online, the earlier the ranking in the live lobby page.
Because the interaction capability of each anchor user has an upper limit, when the number of online people in the same live broadcast room exceeds the upper limit of the interaction capability of the anchor user, the anchor user and a part of audience users cannot achieve good interaction, so that precious live broadcast resources are wasted.
Disclosure of Invention
The application provides a live room display method, a live room display device and a live room display terminal, which can reasonably distribute the number of online people in a live room under the condition that the interaction capability of a host user is limited. The technical scheme is as follows:
according to an aspect of the present application, there is provided a live room display method, the method including:
acquiring the optimal interaction quantity of N anchor accounts, and acquiring the online account number of live rooms of the N anchor accounts, wherein the optimal interaction quantity is used for indicating the audience account number when the historical interaction indexes of the anchor accounts and the audience accounts reach an optimal interval;
Calculating interaction allowance of live rooms of the N anchor accounts, wherein the interaction allowance is equal to a difference value between the optimal interaction amount and the online account number;
and sequencing the live rooms of the N anchor accounts according to the interaction allowance, and then sending the live rooms to a client of a spectator for display.
According to an aspect of the present application, there is provided a display method of a live room, the method including:
receiving a triggering operation for triggering and displaying a live hall page;
responding to the triggering operation, acquiring live rooms of N anchor accounts, wherein the live rooms of the N anchor accounts are obtained by the server according to the interaction allowance sequence of the N anchor accounts, and the interaction allowance is equal to the difference value between the optimal interaction amount and the online account number;
and displaying the live broadcast hall page, wherein the live broadcast hall page comprises live broadcast rooms of the N main broadcast accounts.
According to another aspect of the present application, there is provided a display device of a live room, the device comprising:
the acquisition module is used for acquiring the optimal interaction quantity of N anchor accounts and the number of online accounts of live rooms of the N anchor accounts, wherein N is an integer greater than 1;
The computing module is used for computing interaction margins of the N anchor accounts, wherein the interaction margins are equal to the difference value between the optimal interaction quantity and the online account number;
and the sending module is used for sequencing the live rooms of the N anchor accounts according to the interaction allowance and then sending the live rooms to the audience client for display.
According to another aspect of the present application, there is provided a display device of a live room, the device comprising:
the interaction module is used for receiving triggering operation for triggering and displaying the live broadcast hall page;
the acquisition module is used for responding to the triggering operation, acquiring live rooms of N anchor accounts, wherein the live rooms of the N anchor accounts are obtained by the server according to the interaction allowance sequence of the N anchor accounts, and the interaction allowance is equal to the difference value of the optimal interaction amount and the online account number;
the display module is used for displaying the live broadcast hall page, and the live broadcast hall page comprises live broadcast rooms of the N main broadcast accounts.
According to another aspect of the present application, there is provided a server including: a processor and a memory storing a computer program that is loaded and executed by the processor to implement the live room display method as described above.
According to another aspect of the present application, there is provided a terminal including: a processor and a memory storing a computer program that is loaded and executed by the processor to implement the live room display method as described above.
According to another aspect of the present application, there is provided a computer readable storage medium storing a computer program loaded and executed by a processor to implement the live room display method as described above.
According to another aspect of the present application, there is provided a computer program product storing a computer program loaded and executed by a processor to implement the live room display method as described above.
The beneficial effects that technical scheme that this application embodiment provided include at least:
by sequencing the live rooms according to the interaction allowance of the anchor user, live rooms with more interaction allowance can be recommended to audience users preferentially, so that the number of online people in the live rooms can be increased properly under the condition that the anchor user has the residual interaction allowance, and the anchor user can exert optimal interaction ability.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 illustrates a block diagram of a live broadcast system provided in one exemplary embodiment of the present application;
FIG. 2 illustrates a flowchart of a live room display method provided by another exemplary embodiment of the present application;
FIG. 3 illustrates a flowchart of a live room display method provided by another exemplary embodiment of the present application;
FIG. 4 illustrates a block diagram of a live server provided by an exemplary embodiment of the present application;
FIG. 5 illustrates a flowchart of a live room display method provided by another exemplary embodiment of the present application;
FIG. 6 illustrates a block diagram of a live room display device provided in one exemplary embodiment of the present application;
FIG. 7 illustrates a block diagram of a live room display device provided in one exemplary embodiment of the present application;
FIG. 8 illustrates a block diagram of a server provided by an exemplary embodiment of the present application;
Fig. 9 shows a block diagram of a terminal provided in an exemplary embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, at least one noun related to the embodiment of the present application is profiled:
network live broadcast: the technology is a whole set of technology for displaying vivid and visual real pictures to users through the Internet by using rich elements such as images, sounds and characters through a streaming media technology, and relates to a series of service modules such as a coding tool, streaming media data, a server, a network, a player and the like.
The anchor user: in internet programming or events, it is responsible for participating in a series of planning, editing, recording, production, audience interaction, etc. and by itself, acting as a person or occupation hosting the work. A chairman user is a highly comprehensive professional, and an excellent chairman user is often faced with tens of thousands, hundreds of thousands, or even millions of viewers online, and interacts with online viewers in real time.
The anchor account number: is the account number that the anchor user registers and uses on the live platform. A host user is a user that generates a live information stream on a live platform.
Audience account number: is the account number that the viewer user registers and uses on the live platform. The viewer user is a user viewing a live information stream on a live platform.
Captions: the text is non-image content such as dialogue or side white displayed in the form of text in network video, television, movie, stage and live broadcast works, and also refers to the text processed in the later stage of the film and television works.
Live room: at least one anchor account and at least one viewer account form a virtual logical space on the live platform. Live rooms may also be referred to as: live broadcast room, live broadcast channel, live broadcast room, live broadcast community, live broadcast circle, and other names.
Optimum amount of interaction: in the interactive live scene, the in-home performance of the anchor, such as the chat rate (the number of users in the room that are on a bullet screen divided by the number of users in the anchor) varies with the number of people in the room, and it is assumed that there is an optimal interval (or optimal value) for each of the people in the anchor, i.e., when this interval is reached, the interaction effect of the anchor (such as the chat rate) is optimal. This optimal interval (or optimal value) is referred to herein as the optimal amount of interaction for the anchor.
Interaction margin: in a real-time scene, the difference between the optimal interaction amount of the anchor and the number of people in the current room of the anchor is the interaction allowance of the anchor. The interaction allowance can be positive, zero or negative three conditions: when the value of the interaction allowance is positive, the anchor has the interaction allowance, namely the number of the room in the anchor does not reach the maximum value, and the number of the room is properly increased, so that the interaction allowance is reduced, and the anchor achieves the optimal interaction capability; when the interaction allowance of the anchor is zero, the anchor does not have the interaction allowance, and the optimal interaction capability is reached; when the interaction residual value of the anchor is negative, the number of people in the anchor room is excessive at the moment, and the number of people in the room should be properly reduced, so that the anchor achieves the optimal interaction capability.
Fig. 1 illustrates an architecture diagram of a live broadcast system 100 provided in an exemplary embodiment of the present application. The live broadcast system 100 includes: at least one anchor client 120, a live server 140, and at least one viewer client 160.
The anchor client 120 may be a cell phone, tablet computer, electronic book reader, smart glasses, smart watch, MP3 player (Moving Picture Experts Group Audio Layer III, moving picture experts compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compression standard audio layer 4) player, laptop and desktop computer, etc.
The anchor client 120 corresponds to an image acquisition component and an audio acquisition component. The image capturing component and the audio capturing component may be part of the anchor client 120, for example, the image capturing component and the audio capturing component may be a camera and a microphone built in the anchor client 120, respectively; alternatively, the image capturing component and the audio capturing component may also be connected to the user terminal as peripheral devices of the anchor client 120, for example, the image capturing component and the audio capturing component may be a camera and a microphone connected to the anchor client 120, respectively; alternatively, the image capturing component and the audio capturing component may be partially built in the anchor client 120 and partially used as a peripheral device of the anchor client 120, for example, the image capturing component may be a camera built in the anchor client 120 and the audio capturing component may be a microphone in a headset connected to the anchor client 120. The implementation forms of the image acquisition component and the audio acquisition component are not limited in the embodiment of the application.
The viewer client 160 may be a terminal device having a video playing function, for example, the user terminal may be a mobile phone, a tablet computer, an electronic book reader, smart glasses, a smart watch, an MP3/MP4 player, a laptop portable computer, a desktop computer, and the like.
The anchor client 120 and the viewer client 160 are connected to the live server 140 via a communication network, respectively. Optionally, the communication network is a wired network or a wireless network.
In the embodiment of the present application, the anchor client 120 may upload the live video stream recorded locally to the live server 140, and the live server 140 performs related processing on the live video stream and pushes the live video stream to the viewer client 160.
Live server 140 is a server, or is formed by several servers, or is a virtualized platform, or is a cloud computing service center.
Optionally, the system may further include a management device (not shown in fig. 2) connected to the live server 140 through a communication network. Optionally, the communication network is a wired network or a wireless network.
Alternatively, the wireless network or wired network described above uses standard communication techniques and/or protocols. The network is typically the Internet, but may be any network including, but not limited to, a local area network (Local Area Network, LAN), metropolitan area network (Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or wireless network, private network, or any combination of virtual private networks. In some embodiments, data exchanged over the network is represented using techniques and/or formats including HyperText Mark-up Language (HTML), extensible markup Language (Extensible Markup Language, XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as secure socket layer (Secure Socket Layer, SSL), transport layer security (Transport Layer Security, TLS), virtual private network (Virtual Private Network, VPN), internet protocol security (Internet Protocol Security, IPsec), and the like. In other embodiments, custom and/or dedicated data communication techniques may also be used in place of or in addition to the data communication techniques described above.
For interactive live scenes, the carrying capacity of the anchor user to the audience user is also an important factor, and the interactive carrying capacity of each anchor user to the audience user is different. If the traditional popular recommendation algorithm is simply used, some popular anchor users with strong interaction capability but non-popular anchor users cannot quickly obtain due flow exposure in the initial stage of the start-up or when the interaction allowance exists; in addition, after the host user reaches or approaches the upper limit of the personal interaction capability of the host user, the interaction residual quantity of the host user to the audience user is reduced, and the exposure to the host user can be correspondingly reduced, but the information cannot be fed back quickly in the traditional hot recommendation algorithm, so that the excessive problem of live broadcast flow distribution is caused.
The recommendation algorithm for live broadcast recommendation based on the interaction allowance of the anchor user effectively relieves the problem of waste in flow distribution in a live broadcast scene and the problem that the anchor user cannot quickly obtain due exposure in the initial stage of the opening.
Fig. 2 shows a flowchart of a live room display method according to an exemplary embodiment of the present application. The present embodiment is illustrated with the method being performed by a live server. The method comprises the following steps:
Step 202: acquiring the optimal interaction quantity of N anchor account numbers;
the optimal interaction amount is used for indicating the number of audience accounts when the interaction index of the anchor account and the audience account reaches an optimal interval. In an interactive live scene, the interaction index of the anchor user is changed along with the change of the number of online people in a live room. If it is assumed that there is an optimal interval or an optimal value for the number of online people in a live room, when the optimal interval is reached, the interaction index of the anchor account is optimal, then the optimal interval or the optimal value is called the optimal interaction amount of the anchor account.
Interaction metrics include, but are not limited to: at least one of chat rate and consumption rate. Illustratively, the chat rate is equal to the number of accounts in the live room that sent chat messages divided by the number of online accounts, or the chat rate is equal to the number of accounts in the live room that sent barrage messages divided by the number of online accounts. The consumption rate is equal to the number of accounts in the live room giving the gift to the anchor account divided by the number of online accounts.
Illustratively, the optimal mutual amounts of the N anchor accounts are calculated in an offline stage. Illustratively, the optimal interaction amount of the anchor account is calculated according to the historical live broadcast data of the anchor account, wherein the historical live broadcast data comprises: the method comprises the steps of enabling the user to play live rooms of a main broadcast account to have historical online people and historical interaction indexes.
Step 204: acquiring the number of online accounts of live rooms of N anchor accounts;
the number of online accounts in the live room can be the number of real-time online accounts or the average number of online accounts in the last time unit. The last time unit includes: the size of the time unit is not limited in this embodiment, but 30 seconds, 1 minute, 2 minutes, 5 minutes, and the like.
The execution timing of step 202 and step 204 may be independent of each other, step 202 may be performed before step 204, step 204 may be performed before step 202, and step 202 and step 204 may be performed simultaneously, which is not limited in this embodiment.
Step 206: calculating the interaction allowance of live rooms of N anchor accounts, wherein the interaction allowance is equal to the difference between the optimal interaction amount and the number of online accounts;
and for any anchor account, the difference value between the optimal interaction quantity of the anchor account and the number of the online accounts is the interaction allowance of the anchor account. Optionally, the interactive margin has a positive value, a zero value and a negative value.
When the value of the interaction allowance is positive, the anchor account has residual interaction capability, which means that the number of online people in the live room of the anchor account does not reach the maximum value, and the number of online people in the live room can be properly improved, so that the anchor user can exert optimal interaction capability.
When the value of the interaction allowance is zero, the anchor account has no residual interaction capacity, and the optimal interaction capacity is reached.
When the value of the interaction allowance is a negative value, the anchor account does not have the residual interaction capability, which means that the number of online people in the live room of the anchor account is excessive, and the number of online people in the live room can be properly reduced, so that the anchor user can exert the optimal interaction capability.
Step 208: and sequencing live rooms of the N anchor accounts according to the interaction allowance, and then sending the live rooms to the audience client for display.
After the live broadcast server acquires the interaction allowance of each of the N anchor accounts, sequencing live broadcast rooms of the N anchor accounts according to the sequence of the interaction allowance from high to low, and sending the sequenced N live broadcast rooms to the audience client for display; or ordering the live rooms of the N anchor accounts according to the order of the interaction allowance from low to high, and sending the ordered N live rooms to the audience client for display.
In other embodiments, live rooms of the N anchor accounts are ordered according to at least two ordering conditions, the at least two ordering conditions including an interaction margin. The at least two ordering conditions may further optionally include: the level of the anchor account, the type of the live room, the number of online live rooms, the popularity of live rooms, and the like, which are not limited in this embodiment.
In summary, according to the method provided by the embodiment, by sequencing the plurality of live rooms according to the interaction allowance of the anchor user, live rooms with more interaction allowance can be recommended to the audience user preferentially, so that the number of online people in the live rooms can be increased properly under the condition that the anchor user has the residual interaction allowance, and the anchor user can exert optimal interaction ability.
Fig. 3 shows a flowchart of a display method of a live room according to an exemplary embodiment of the present application. The present embodiment is illustrated with the method being performed by a live server. The method comprises the following steps:
step 301: acquiring historical logs of N anchor accounts, wherein the historical logs comprise the number of the historical online accounts and the historical interaction indexes of the N anchor accounts in at least one time slice;
the history log is log data generated by the live broadcast platform in the history live broadcast process of the N anchor accounts. The history log includes: the number of the historical online accounts and the historical interaction indexes of the N anchor accounts in at least one time slice. The historical online account number is an average of the number of online accounts in a single time slice.
The time slices may also be referred to as time windows or time units, and multiple time slices may be connected end to end and not overlap each other. For example, each time slice may be 30 seconds, 1 minute, 2 minutes, etc.
The historical interaction indexes comprise: chat rate; or, a consumption rate; or, a weighted sum of chat rate and consumption rate. For example, in some scenes, the chat situation of the live broadcast platform is watched, the consumption situation is also concerned, the weight factor of the chat rate can be designated as 0.8, the weight factor of the consumption rate is 0.2, and the performance score of the anchor account in the current time slice is obtained by weighting. And finally, obtaining the number of simultaneous online accounts of each anchor account in a plurality of unit pieces (2 minutes), and a sample of the performance score.
Step 302: and calculating the optimal interaction quantity of the N anchor accounts according to the number of the historical online accounts and the historical interaction indexes of the N anchor accounts in at least one time slice.
Illustratively, this step includes steps 302-1 through 302-5 as follows:
302-1: acquiring a plurality of anchor samples of an ith anchor account in N anchor accounts;
and the live broadcast server sorts out a plurality of anchor samples of the ith anchor account from the history log. Each anchor sample includes: the number of the historical online accounts and the historical interaction index of the ith anchor account in a time slice.
302-2: sorting a plurality of anchor samples of the ith anchor account according to the number of the historical online accounts from small to large, and dividing the anchor samples into M sub-buckets; the range intervals of the historical online account numbers in each sub-bucket are not overlapped, and the proportion of the sample numbers in each sub-bucket to the total sample numbers is larger than a first threshold;
For example, taking the first threshold value as 5%, the multiple anchor samples of the ith anchor account are sorted according to the number of the historical online accounts from less to more (or from more to less) sequential messages, and then divided into M sub-buckets. The proportion of the number of samples in each sub-bucket to the total number of samples is not less than 5%, and the range intervals of the number of historical online accounts in each sub-bucket are not overlapped.
In each anchor sample in each sub-bucket, there are a minimum number of historical online accounts and a maximum number of historical online accounts.
302-3: marking a host sample of which the historical interaction index in each sub-bucket reaches a second threshold as a positive sample, and marking a host sample of which the historical interaction index in each sub-bucket does not reach the second threshold as a negative sample;
illustratively, with a second threshold of 25%, if the historical interaction index in the anchor sample reaches more than 25% of the quantiles, then it is noted as a positive sample (1); if the historical interaction index in the anchor sample does not reach more than 25% of the quantiles, the anchor sample is marked as a negative sample (0).
302-4: according to the positive sample and the negative sample in each sub-bucket, calculating the interaction index score in each sub-bucket;
and calculating the Wilson score in each sub-bucket as an interaction index score according to the positive sample and the negative sample in each sub-bucket.
The wilson score is also called wilson score sorting algorithm, which is an algorithm for quality sorting, and comprehensively considers the number of samples and the number of positive samples, wherein the higher the score is, the higher the quality is. Illustratively, the wilson score n is calculated using the following formula:
n=u+v;
p=u/n;
where u represents the positive number of samples, v represents the negative number of samples, and n represents the total number of samples. p represents the score of merit, z is the quantile (parameter) of the normal distribution, α is the confidence, and S represents the final wilson score. Illustratively, z takes an approximation 1.959963984540 of about 2 with a confidence of 95%. Wherein, the quantile table of normal distribution is as follows:
list one
p | z | p | z |
0.80 | 1.281551565545 | 0.999 | 3.290526731492 |
0.90 | 1.644853626951 | 0.9999 | 3.890591886413 |
0.95 | 1.959963984540 | 0.99999 | 4.417173413469 |
0.98 | 2.326347874041 | 0.999999 | 4.891638475699 |
0.99 | 2.575829303549 | 0.9999999 | 5.326723886384 |
0.995 | 2.807033768344 | 0.99999999 | 5.730728868236 |
0.998 | 3.090232306168 | 0.999999999 | 6.109410204869 |
302-5: and determining the average online account number in the sub-bucket with the highest interaction index score as the optimal interaction amount of the anchor account.
Among the plurality of anchor samples within the bucket are: a minimum number of historical online accounts and a maximum number of historical online accounts. The live server will calculate the average of the minimum historical online account number and the maximum historical online account number in the bucket with the highest interaction index score, and determine the average as the optimal amount of interaction for the anchor account.
Step 303: acquiring the number of online accounts of live rooms of N anchor accounts;
Illustratively, the live broadcast server acquires the real-time online account numbers of live broadcast rooms of the N anchor accounts; or, acquiring the average online account number of the live rooms of the N anchor accounts in the last time slice.
The live broadcast server acquires current log data of N anchor accounts, and acquires the number of online accounts of live broadcast rooms of the N anchor accounts according to the current log data of the N anchor accounts.
Step 304: calculating the interaction allowance of live rooms of N anchor accounts, wherein the interaction allowance is equal to the difference between the optimal interaction amount and the number of online accounts;
and for any anchor account, the difference value between the optimal interaction quantity of the anchor account and the number of the online accounts is the interaction allowance of the anchor account. Optionally, the interactive margin has a positive value, a zero value and a negative value.
When the value of the interaction allowance is positive, the anchor account has residual interaction capability, which means that the number of online people in the live room of the anchor account does not reach the maximum value, and the number of online people in the live room can be properly improved, so that the anchor user can exert optimal interaction capability.
When the value of the interaction allowance is zero, the anchor account has no residual interaction capacity, and the optimal interaction capacity is reached.
When the value of the interaction allowance is a negative value, the anchor account does not have the residual interaction capability, which means that the number of online people in the live room of the anchor account is excessive, and the number of online people in the live room can be properly reduced, so that the anchor user can exert the optimal interaction capability.
Step 305: and sequencing live rooms of the N anchor accounts according to the sequence of the interaction allowance from high to low, and then sending the live rooms to the audience client for display.
In summary, according to the method provided by the embodiment, by sequencing the plurality of live rooms according to the interaction allowance of the anchor user, live rooms with more interaction allowance can be recommended to the audience user preferentially, so that the number of online people in the live rooms can be increased properly under the condition that the anchor user has the residual interaction allowance, and the anchor user can exert optimal interaction ability.
According to the method provided by the embodiment, the various anchor samples in the history log data of the anchor account are split into the plurality of sub-buckets from high to low according to the number of the history online accounts, the Wilson score of each sub-bucket is calculated as the interaction index score, and the optimal interaction quantity of the anchor account can be calculated more accurately.
FIG. 4 illustrates a block diagram of a computer system 400 provided in an exemplary embodiment of the present application. Computer system 400 includes: an offline system 420, an online system 440, and an interactive margin calculation system 460. Wherein:
offline system 420 includes: a first background service reporting system 422, a hosting optimal mutual capability computing system 424, and a first database 426. The offline system 420 is used to output the optimal amount of interaction for the anchor account.
The online system 440 includes: a second background service reporting system 442, an average number of people in live room computing system 444, and a second database 446. The presence system 440 is used to output the real-time average number of online people in the live room of the anchor account.
The interactive margin calculation system 460 is configured to calculate a difference between an optimal interaction amount of the anchor account and a real-time average online number of people, i.e., an interactive margin. The interactive allowance calculation system 460 is configured to output a real-time ordering result, where the real-time ordering result is obtained by ordering live rooms of a plurality of anchor accounts according to the interactive allowance. For example, the real-time ordering result is obtained by ordering live rooms of a plurality of anchor accounts according to the order of the interaction allowance from high to low.
The offline system 420 functions to calculate the optimal amount of interaction of the anchor account in each time interval based on the log reported by the first background service reporting system 422. The time intervals are time windows divided according to preset time units, and the time windows can be cascaded but not overlapped.
Illustratively, the anchor optimal interaction ability calculation system 424 counts the average online population and interaction index of each anchor account in a time unit of 2 minutes. Interaction metrics include, but are not limited to: chat rate, consumption rate, bullet screen rate, etc. The technician can assign the weight of each interaction index factor according to the service index, such as watching the chat condition of the live broadcast platform under some application scenes, and also pay attention to the consumption condition, can assign the factor of the chat rate to be 0.8 and the consumption rate factor to be 0.2, and weight to obtain the performance score of each anchor account in the time unit. Finally, the anchor optimal interaction ability computing system 424 may obtain anchor samples of the number of simultaneous online people and the interaction indicators for each anchor account over multiple units of time (2 minutes). Each anchor sample includes: one anchor account number is the number of people and the interaction index simultaneously in one unit time.
The offline system 420 divides each anchor sample into segments according to the number of simultaneous online people, and ensures that the number of anchor samples in each segment is not less than 5% of the total number of anchor samples (less than 5% of the segments need to be combined with other segments), each segment has a minimum value and a maximum value of the number of simultaneous online people, and the number ranges of online people of each segment do not overlap. The performance score in each anchor sample is scored as 4 if it is at the 25% quantile of the anchor performance score, and as 0 otherwise. The wilson score is calculated for each sub-bin according to the wilson score algorithm. And selecting the bucket with the highest Wilson score, and taking the average of the lowest value and the highest value of the bucket as the optimal interaction amount of the anchor account.
Illustratively, the table fields of the first database 426 of the offline system 420 are described as follows:
watch II
Field name | Type(s) | Description of the invention |
anchor_id | varchar(256) | Anchor account (ID) |
down | int | Minimum value of optimal interaction interval of anchor account |
up | int | Maximum value of optimal interaction interval of anchor account |
Avg_bst_pcu | int | Optimal interaction value (average of up and down) of anchor account |
Online system 440
The online system functions include calculating the number of online people in the live room of the anchor account in real time according to the log reported by the second background service reporting system 442.
Illustratively, the table fields of the second database 446 of the online system 440 are described as follows:
watch III
Field name | Type(s) | Description of the invention |
anchor_id | varchar(256) | Anchor account (ID) |
Online_pcu | Int | Real-time online population of live rooms of a anchor account |
Interactive margin calculation system 460
The interactive allowance calculation system 460 subtracts the real-time online number from the optimal interaction amount according to the optimal interaction amount of the anchor account and the real-time online number of the live room input by the offline system 420 and the online system 440, so as to obtain the real-time interactive allowance of the anchor account. And outputting a real-time sequencing result according to the sequence of the real-time interaction allowance of each anchor account from large to small.
For example, three on-line anchor accounts A, B and C in an on-line state are shared on the live platform, the optimal interaction amount of anchor account a is 400, the real-time on-line number of anchor account a is 50, and the real-time interaction allowance of anchor account a is 400-50=50; the optimal interaction quantity of the anchor account B is 400, the real-time online number of the anchor account B is 400, and the real-time interaction allowance of the anchor account B is 400-400=0; the optimal interaction amount of the anchor account number C is 400, the real-time online number of the anchor account number C is 450, and the interaction allowance of the anchor account number C is 400-450= -50. The final ordering result is A > B > C.
Fig. 5 shows a flowchart of a display method of a live room according to an exemplary embodiment of the present application. The present embodiment is exemplified by the method applied to a terminal in which an audience client used by an audience user is operated. The method comprises the following steps:
step 520: receiving a triggering operation for triggering and displaying a live hall page;
the triggering operation is a man-machine interaction operation for triggering and displaying the live hall page. Triggering operations include, but are not limited to: clicking at least one of an icon of the viewer client, clicking a button or icon to enter the live lobby page, clicking a button or icon to return to the live lobby page, clicking a button or icon to refresh the live lobby page.
Step 540: responding to triggering operation, acquiring live rooms of N anchor accounts, wherein the live rooms of the N anchor accounts are obtained by the server according to the interaction allowance sequence of the N anchor accounts, and the interaction allowance is equal to the difference value between the optimal interaction amount and the number of online accounts;
in response to the triggering operation, the viewer client sends an acquisition request to the live server. And after receiving the acquisition request, the live broadcast server transmits live broadcast rooms of the N anchor accounts to the audience client. Optionally, the live room in this step includes: at least one of the identification of the live room, the identification of the main broadcast account, the thumbnail of the live room and the thumbnail of the main broadcast account.
The live rooms of the N anchor accounts are obtained by the live server at least according to the interactive allowance ordering of the N anchor accounts, which can be referred to the description in the above embodiment.
Step 560: and displaying a live broadcast hall page, wherein the live broadcast hall page comprises live broadcast rooms of N anchor accounts.
And displaying the ordered live rooms of the N main broadcasting accounts in the live broadcasting hall page according to the sequence from left to right and from top to bottom. Or displaying the ordered live rooms of the N main broadcasting accounts in the live broadcasting hall page according to the sequence from top to bottom. Or displaying the ordered live rooms of the N anchor accounts in the order from right to left and from bottom to top. Or displaying the ordered live rooms of the N main broadcasting accounts in the live broadcasting hall page from bottom to top.
In summary, according to the method provided by the embodiment, by sequencing the plurality of live rooms according to the interaction allowance of the anchor user, live rooms with more interaction allowance can be recommended to the audience user preferentially, so that the number of online people in the live rooms can be increased properly under the condition that the anchor user has the residual interaction allowance, and the anchor user can exert optimal interaction ability.
Fig. 6 shows a block diagram of a display device of a live room provided in an exemplary embodiment of the present application, which may be implemented as a live server, or as all or part of a live server, the device comprising:
the acquiring module 620 is configured to acquire an optimal interaction amount of N anchor accounts, and acquire an online account number of live rooms of the N anchor accounts, where N is an integer greater than 1;
the calculating module 640 is configured to calculate interaction margins of the N anchor accounts, where the interaction margins are equal to a difference between the optimal interaction amount and the online account number;
and the sending module 660 is configured to sort the live rooms of the N anchor accounts according to the interaction margin, and send the live rooms to the audience client for display.
In an optional implementation of the present application, the obtaining module 620 is configured to obtain a history log of the N anchor accounts, where the history log includes a number of historical online accounts and a historical interaction index of the N anchor accounts in at least one time slice; and calculating the optimal interaction quantity of the N anchor accounts according to the historical online account number and the historical interaction index of the N anchor accounts in at least one time slice.
In an optional implementation of the present application, the obtaining module 620 is configured to obtain a plurality of anchor samples of an ith anchor account in the N anchor accounts, where the anchor samples include: the number of the historical online accounts and the historical interaction index of the ith anchor account in a time slice; sorting a plurality of anchor samples of the ith anchor account according to the number of the historical online accounts from small to large, and dividing the anchor samples into M sub-buckets; the range intervals of the historical online account numbers in each sub-bucket are not overlapped, and the proportion of the sample number in each sub-bucket to the total sample number is larger than a first threshold; marking a host sample of which the historical interaction index in each sub-bucket reaches a second threshold as a positive sample, and marking a host sample of which the historical interaction index in each sub-bucket does not reach the second threshold as a negative sample; calculating an interaction index score in each sub-bucket according to the positive sample and the negative sample in each sub-bucket; and determining the average online account number in the sub-bucket with the highest interaction index score as the optimal interaction amount of the anchor account.
In an optional implementation of the present application, the obtaining module 620 is configured to calculate, as the interaction indicator score, a wilson score in each of the sub-buckets according to the positive samples and the negative samples in each of the sub-buckets.
In an optional implementation of the present application, the plurality of anchor samples in the sub-bucket include: the minimum historical online account number and the maximum historical online account number; the obtaining module 620 is configured to calculate an average of the minimum number of historical online accounts and the maximum number of historical online accounts in the sub-bucket with the highest interaction index score, and determine the average as the optimal interaction amount of the anchor account.
In an optional implementation of the present application, the historical interaction indicators include: chat rate; or, a consumption rate; or, a weighted sum of the chat rate and the consumption rate.
In an optional implementation of the present application, the obtaining module 620 is configured to obtain the real-time online account numbers of live rooms of the N anchor accounts; or, acquiring the average online account number of the live rooms of the N anchor accounts in the last time slice.
In an optional implementation of the present application, the sending module 660 is configured to order the live rooms of the N anchor accounts according to the order of the interaction margin from high to low, and send the live rooms to the audience client for displaying.
Fig. 7 shows a block diagram of a display device of a live room, which may be implemented as a terminal, or as all or part of a terminal, according to an exemplary embodiment of the present application, the device comprising:
an interaction module 720, configured to receive a triggering operation for triggering display of a live hall page;
the acquiring module 740 is configured to respond to the triggering operation, and acquire live rooms of N anchor accounts, where the live rooms of the N anchor accounts are obtained by the server according to an order of interaction margins of the N anchor accounts, and the interaction margins are equal to a difference value between the optimal interaction amount and the online account number;
and a display module 760, configured to display the live hall page, where the live hall page includes live rooms of the N main broadcasting accounts.
Fig. 8 shows a structural framework diagram of a server according to an embodiment of the present application. Specifically, the present invention relates to a method for manufacturing a semiconductor device. The server 700 includes a Central Processing Unit (CPU) 701, a system memory 704 including a Random Access Memory (RAM) 702 and a Read Only Memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The server 700 also includes a basic input/output system (I/O system) 706, for aiding in the transfer of information between the various devices within the computer, and a mass storage device 707 for storing an operating system 713, application programs 714, and other program modules 715.
The basic input/output system 706 includes a display 708 for displaying information and an input device 709, such as a mouse, keyboard, or the like, for a user to input information. Wherein the display 708 and the input device 709 are coupled to the central processing unit 701 through an input output controller 710 coupled to a system bus 705. The basic input/output system 706 may also include an input/output controller 710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input output controller 710 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer readable media provide non-volatile storage for the server 700. That is, the mass storage device 707 may include a computer readable medium (not shown) such as a hard disk or CD-ROM drive.
The computer readable medium may include computer storage media and communication media without loss of generality. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the one described above. The system memory 704 and mass storage device 707 described above may be collectively referred to as memory.
According to various embodiments of the present application, the server 700 may also operate by being connected to a remote computer on a network, such as the Internet. I.e. the server 700 may be connected to the network 712 via a network interface unit 711 connected to the system bus 705, or alternatively, the network interface unit 711 may be used to connect to other types of networks or remote computer systems (not shown).
The memory also includes one or more programs stored in the memory, the one or more programs including instructions for performing the live room display methods provided by embodiments of the present application.
Fig. 9 shows a block diagram of a terminal 800 according to an exemplary embodiment of the present application. The terminal 800 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. Terminal 800 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, and the like.
In general, the terminal 800 includes: a processor 801 and a memory 802.
Processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 801 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 801 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 801 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 801 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 802 is used to store at least one instruction for execution by processor 801 to implement the live room display method provided by the method embodiments herein.
In some embodiments, the terminal 800 may further optionally include: a peripheral interface 803, and at least one peripheral. The processor 801, the memory 802, and the peripheral interface 803 may be connected by a bus or signal line. Individual peripheral devices may be connected to the peripheral device interface 803 by buses, signal lines, or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 804, a display 805, a camera assembly 806, audio circuitry 807, a positioning assembly 808, and a power supply 809.
Peripheral interface 803 may be used to connect at least one Input/Output (I/O) related peripheral to processor 801 and memory 802. In some embodiments, processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 804 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 804 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 804 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: the world wide web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or Wi-Fi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 804 may also include NFC (Near Field Communication ) related circuitry, which is not limited in this application.
The display 805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to collect touch signals at or above the surface of the display 805. The touch signal may be input as a control signal to the processor 801 for processing. At this time, the display 805 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 805 may be one, providing a front panel of the terminal 800; in other embodiments, the display 805 may be at least two, respectively disposed on different surfaces of the terminal 800 or in a folded design; in still other embodiments, the display 805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 800. Even more, the display 805 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 805 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 806 is used to capture images or video. Optionally, the camera assembly 806 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 806 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
Audio circuitry 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals, inputting the electric signals to the processor 801 for processing, or inputting the electric signals to the radio frequency circuit 804 for voice communication. For stereo acquisition or noise reduction purposes, a plurality of microphones may be respectively disposed at different portions of the terminal 800. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, audio circuit 807 may also include a headphone jack.
The location component 808 is utilized to locate the current geographic location of the terminal 800 to enable navigation or LBS (Location Based Service, location-based services). The positioning component 808 may be a positioning component based on the United states GPS (Global Positioning System ), the Beidou system of China, or the Galileo system of Russia.
A power supply 809 is used to power the various components in the terminal 800. The power supply 809 may be an alternating current, direct current, disposable battery, or rechargeable battery. When the power supply 809 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyroscope sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815, and proximity sensor 816.
The acceleration sensor 811 can detect the magnitudes of accelerations on three coordinate axes of the coordinate system established with the terminal 800. For example, the acceleration sensor 811 may be used to detect components of gravitational acceleration in three coordinate axes. The processor 801 may control the touch display screen 805 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal acquired by the acceleration sensor 811. Acceleration sensor 811 may also be used for the acquisition of motion data of a game or user.
The gyro sensor 812 may detect a body direction and a rotation angle of the terminal 800, and the gyro sensor 812 may collect a 3D motion of the user to the terminal 800 in cooperation with the acceleration sensor 811. The processor 801 may implement the following functions based on the data collected by the gyro sensor 812: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
The pressure sensor 813 may be disposed at a side frame of the terminal 800 and/or at a lower layer of the touch display 805. When the pressure sensor 813 is disposed on a side frame of the terminal 800, a grip signal of the terminal 800 by a user may be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at the lower layer of the touch display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 805. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 814 is used to collect a fingerprint of a user, and the processor 801 identifies the identity of the user based on the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user based on the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 801 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 814 may be provided on the front, back, or side of the terminal 800. When a physical key or vendor Logo is provided on the terminal 800, the fingerprint sensor 814 may be integrated with the physical key or vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, the processor 801 may control the display brightness of the touch display screen 805 based on the intensity of ambient light collected by the optical sensor 815. Specifically, when the intensity of the ambient light is high, the display brightness of the touch display screen 805 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 805 is turned down. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera module 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also referred to as a distance sensor, is typically provided on the front panel of the terminal 800. The proximity sensor 816 is used to collect the distance between the user and the front of the terminal 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front of the terminal 800 gradually decreases, the processor 801 controls the touch display 805 to switch from the bright screen state to the off screen state; when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 gradually increases, the processor 801 controls the touch display 805 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 9 is not limiting and that more or fewer components than shown may be included or certain components may be combined or a different arrangement of components may be employed.
The application also provides a computer readable storage medium, wherein the storage medium stores a computer program, and the computer program is loaded and executed by the processor to realize the live room display method provided by the method embodiment.
Optionally, the present application also provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the live room display method of the above aspects.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, since it is intended that all modifications, equivalents, improvements, etc. that fall within the spirit and scope of the invention.
Claims (13)
1. A live room display method, the method comprising:
Acquiring the optimal interaction quantity of N anchor accounts, and acquiring the online account number of live rooms of the N anchor accounts, wherein the optimal interaction quantity is used for indicating the audience account number when the historical interaction indexes of the anchor accounts and the audience accounts reach an optimal interval;
calculating interaction allowance of live rooms of the N anchor accounts, wherein the interaction allowance is equal to a difference value between the optimal interaction amount and the online account number;
and sequencing the live rooms of the N anchor accounts according to the sequence of the interaction allowance from high to low, and then sending the live rooms to the audience client for display.
2. The method of claim 1, wherein the obtaining the optimal amount of interactions for the N anchor accounts comprises:
acquiring history logs of the N anchor accounts, wherein the history logs comprise the number of the history online accounts and the history interaction indexes of the N anchor accounts in at least one time slice;
and calculating the optimal interaction quantity of the N anchor accounts according to the historical online account number and the historical interaction index of the N anchor accounts in at least one time slice.
3. The method according to claim 2, wherein the calculating the optimal interaction amounts of the N anchor accounts according to the number of the N anchor accounts in at least one time slice and the historical interaction index includes:
Obtaining a plurality of anchor samples of an ith anchor account in the N anchor accounts, wherein the anchor samples comprise: the number of the historical online accounts and the historical interaction index of the ith anchor account in a time slice;
sorting a plurality of anchor samples of the ith anchor account according to the number of the historical online accounts from small to large, and dividing the anchor samples into M sub-buckets; the range intervals of the historical online account numbers in each sub-bucket are not overlapped, and the proportion of the sample number in each sub-bucket to the total sample number is larger than a first threshold;
marking a host sample of which the historical interaction index in each sub-bucket reaches a second threshold as a positive sample, and marking a host sample of which the historical interaction index in each sub-bucket does not reach the second threshold as a negative sample;
calculating an interaction index score in each sub-bucket according to the positive sample and the negative sample in each sub-bucket;
and determining the average online account number in the sub-bucket with the highest interaction index score as the optimal interaction amount of the anchor account.
4. A method according to claim 3, wherein said calculating an interaction indicator score in each of said sub-buckets from said positive and negative samples in each of said sub-buckets comprises:
And calculating a Wilson score in each sub-bucket as the interaction index score according to the positive sample and the negative sample in each sub-bucket.
5. The method of claim 3, wherein the plurality of anchor samples within the cask comprise: the minimum historical online account number and the maximum historical online account number;
the determining the average online account number in the sub-bucket with the highest interaction index score as the optimal interaction amount of the anchor account includes:
and calculating the average of the minimum historical online account number and the maximum historical online account number in the sub-bucket with the highest interaction index score, and determining the average as the optimal interaction amount of the anchor account.
6. The method of any one of claims 2 to 5, wherein the historical interaction indicators comprise:
chat rate;
or alternatively, the first and second heat exchangers may be,
consumption rate;
or alternatively, the first and second heat exchangers may be,
and a weighted sum of the chat rate and the consumption rate.
7. The method according to any one of claims 1 to 5, wherein the obtaining the online account number of live rooms of the N anchor accounts includes:
acquiring the number of real-time online accounts of live rooms of the N anchor accounts;
Or alternatively, the first and second heat exchangers may be,
and acquiring the average online account number of the live rooms of the N anchor accounts in the last time slice.
8. A method for displaying a live room, the method comprising:
receiving a triggering operation for triggering and displaying a live hall page;
responding to the triggering operation, acquiring live rooms of N anchor accounts, wherein the live rooms of the N anchor accounts are obtained by the server according to the sequence from high to low of interaction allowance of the N anchor accounts, the interaction allowance is equal to the difference value of the optimal interaction amount and the number of online accounts, the optimal interaction amount is used for indicating the number of audience accounts when the historical interaction indexes of the anchor accounts and the audience accounts reach an optimal interval, and the number of online accounts is the number of online accounts of the live rooms of the anchor accounts;
and displaying the live broadcast hall page, wherein the live broadcast hall page comprises live broadcast rooms of the N main broadcast accounts.
9. A display device for a live room, the device comprising:
the acquisition module is used for acquiring the optimal interaction quantity of N anchor accounts and the online account number of live rooms of the N anchor accounts, wherein the optimal interaction quantity is used for indicating the audience account number when the historical interaction indexes of the anchor accounts and the audience accounts reach an optimal interval, and N is an integer larger than 1;
The computing module is used for computing interaction margins of the N anchor accounts, wherein the interaction margins are equal to the difference value between the optimal interaction quantity and the online account number;
and the sending module is used for sequencing the live rooms of the N anchor accounts according to the sequence of the interaction allowance from high to low and then sending the live rooms to the audience client for display.
10. A display device for a live room, the device comprising:
the interaction module is used for receiving triggering operation for triggering and displaying the live broadcast hall page;
the acquisition module is used for responding to the triggering operation, acquiring live rooms of N anchor accounts, wherein the live rooms of the N anchor accounts are obtained by the server according to the sequence from high to low of the interaction allowance of the N anchor accounts, and the interaction allowance is equal to the difference value between the optimal interaction amount and the number of online accounts; the optimal interaction quantity is used for indicating the number of audience accounts when the historical interaction indexes of the anchor account and the audience account reach an optimal interval, and the number of online accounts is the number of online accounts of live rooms of the anchor account;
the display module is used for displaying the live broadcast hall page, and the live broadcast hall page comprises live broadcast rooms of the N main broadcast accounts.
11. A server, the server comprising: a processor and a memory storing a computer program that is loaded and executed by the processor to implement the live room display method of any of claims 1 to 7.
12. A terminal, the terminal comprising: a processor and a memory storing a computer program that is loaded and executed by the processor to implement the live room display method of claim 8.
13. A computer readable storage medium storing a computer program loaded and executed by a processor to implement the live room display method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011176637.8A CN112333458B (en) | 2020-10-28 | 2020-10-28 | Live room display method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011176637.8A CN112333458B (en) | 2020-10-28 | 2020-10-28 | Live room display method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112333458A CN112333458A (en) | 2021-02-05 |
CN112333458B true CN112333458B (en) | 2024-02-09 |
Family
ID=74297109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011176637.8A Active CN112333458B (en) | 2020-10-28 | 2020-10-28 | Live room display method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112333458B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113163221A (en) * | 2021-03-15 | 2021-07-23 | 北京城市网邻信息技术有限公司 | Interactive processing method and device, electronic equipment and storage medium |
CN113660502B (en) * | 2021-08-16 | 2024-03-15 | 广州繁星互娱信息科技有限公司 | Information display method and device, storage medium and electronic equipment |
CN116726487A (en) * | 2022-03-01 | 2023-09-12 | 深圳市腾讯网络信息技术有限公司 | Method, device, equipment, storage medium and program product for interaction of sightseeing |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9667790B1 (en) * | 2015-04-08 | 2017-05-30 | Jpmorgan Chase Bank, N.A. | Method and system for conveying context data in a multi-channel and omni-channel environment |
WO2018086417A1 (en) * | 2016-11-10 | 2018-05-17 | 广州华多网络科技有限公司 | Microphone alternating live broadcast method, apparatus and system |
CN109451326A (en) * | 2018-11-13 | 2019-03-08 | 广州虎牙科技有限公司 | A kind of methods of exhibiting, device, server and the storage medium of main broadcaster's information |
CN110248203A (en) * | 2019-07-10 | 2019-09-17 | 广州虎牙科技有限公司 | A kind of processing method of interactive service, device, equipment and storage medium |
CN110798694A (en) * | 2019-10-09 | 2020-02-14 | 北京达佳互联信息技术有限公司 | Live broadcast room data processing method and device, electronic equipment and storage medium |
CN111432266A (en) * | 2020-03-31 | 2020-07-17 | 北京达佳互联信息技术有限公司 | Interactive information display method, device, terminal and storage medium |
CN111556327A (en) * | 2020-04-02 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Live broadcast room recommendation method, device, terminal, server, system and storage medium |
CN111626816A (en) * | 2020-05-10 | 2020-09-04 | 石伟 | Image interaction information processing method based on e-commerce live broadcast and cloud computing platform |
CN111741334A (en) * | 2020-06-16 | 2020-10-02 | 广州酷狗计算机科技有限公司 | Live broadcast data generation method, live broadcast data display method, device and equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20200128286A1 (en) * | 2018-10-17 | 2020-04-23 | International Business Machines Corporation | Live streaming social interaction to trigger product search |
-
2020
- 2020-10-28 CN CN202011176637.8A patent/CN112333458B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9667790B1 (en) * | 2015-04-08 | 2017-05-30 | Jpmorgan Chase Bank, N.A. | Method and system for conveying context data in a multi-channel and omni-channel environment |
WO2018086417A1 (en) * | 2016-11-10 | 2018-05-17 | 广州华多网络科技有限公司 | Microphone alternating live broadcast method, apparatus and system |
CN109451326A (en) * | 2018-11-13 | 2019-03-08 | 广州虎牙科技有限公司 | A kind of methods of exhibiting, device, server and the storage medium of main broadcaster's information |
CN110248203A (en) * | 2019-07-10 | 2019-09-17 | 广州虎牙科技有限公司 | A kind of processing method of interactive service, device, equipment and storage medium |
CN110798694A (en) * | 2019-10-09 | 2020-02-14 | 北京达佳互联信息技术有限公司 | Live broadcast room data processing method and device, electronic equipment and storage medium |
CN111432266A (en) * | 2020-03-31 | 2020-07-17 | 北京达佳互联信息技术有限公司 | Interactive information display method, device, terminal and storage medium |
CN111556327A (en) * | 2020-04-02 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Live broadcast room recommendation method, device, terminal, server, system and storage medium |
CN111626816A (en) * | 2020-05-10 | 2020-09-04 | 石伟 | Image interaction information processing method based on e-commerce live broadcast and cloud computing platform |
CN111741334A (en) * | 2020-06-16 | 2020-10-02 | 广州酷狗计算机科技有限公司 | Live broadcast data generation method, live broadcast data display method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112333458A (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109600678B (en) | Information display method, device and system, server, terminal and storage medium | |
CN112333458B (en) | Live room display method, device, equipment and storage medium | |
CN110278464B (en) | Method and device for displaying list | |
CN111835531B (en) | Session processing method, device, computer equipment and storage medium | |
CN109729372B (en) | Live broadcast room switching method, device, terminal, server and storage medium | |
CN111327953B (en) | Live broadcast voting method and device and storage medium | |
CN111083516B (en) | Live broadcast processing method and device | |
CN112118477B (en) | Virtual gift display method, device, equipment and storage medium | |
CN110971925B (en) | Display method, device and system of live broadcast interface | |
CN113490010B (en) | Interaction method, device and equipment based on live video and storage medium | |
CN111787407B (en) | Interactive video playing method and device, computer equipment and storage medium | |
CN111327916B (en) | Live broadcast management method, device and equipment based on geographic object and storage medium | |
CN111628925B (en) | Song interaction method, device, terminal and storage medium | |
CN114245218B (en) | Audio and video playing method and device, computer equipment and storage medium | |
CN111669640B (en) | Virtual article transfer special effect display method, device, terminal and storage medium | |
CN112261481A (en) | Interactive video creating method, device and equipment and readable storage medium | |
CN111031391A (en) | Video dubbing method, device, server, terminal and storage medium | |
CN111083513B (en) | Live broadcast picture processing method and device, terminal and computer readable storage medium | |
CN113596499A (en) | Live broadcast data processing method and device, computer equipment and medium | |
CN114302160B (en) | Information display method, device, computer equipment and medium | |
CN111382355A (en) | Live broadcast management method, device and equipment based on geographic object and storage medium | |
CN112257594B (en) | Method and device for displaying multimedia data, computer equipment and storage medium | |
CN110163835B (en) | Method, device, equipment and computer readable storage medium for detecting screenshot | |
CN113407774B (en) | Cover determination method, device, computer equipment and storage medium | |
CN113763932B (en) | Speech processing method, device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40038258 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |