Live broadcast room popularization method, storage medium, electronic device and system
Technical Field
The invention relates to the field of popularization of live broadcast rooms of network live broadcasts, in particular to a live broadcast room popularization method, a storage medium, electronic equipment and a system.
Background
With the rapid development of the live broadcast industry, more and more users enjoy watching live broadcast; meanwhile, with the rapid increase of live broadcast rooms, more and more live broadcast contents are added to the live broadcast industry; as the content of the live broadcast is more and more, the selection range of the user is wider and wider.
The live broadcast platform can promote the high-quality live broadcast room under the flag (for example, the live broadcast room is linked and placed on the home page of the live broadcast platform, etc.), and the method for promoting the high-quality live broadcast room under the flag (namely, the high-quality live broadcast room) by the existing live broadcast platform generally comprises the following steps:
(1) in a specified period (for example, 1 week), counting the number of concerned users in the live broadcast rooms, and taking the live broadcast rooms with the number of concerned users in the same partition as the high-quality live broadcast rooms, and then popularizing the high-quality live broadcast rooms. The disadvantages of this method are: the user-focused restriction conditions are: the users actively pay attention to the live broadcast room, so the number of concerned users does not include users who pay attention but often watch the live broadcast room, and the definition of the live broadcast field for the high-quality live broadcast room is as follows: there are a large number of live rooms that users watch. Therefore, the quality of the direct broadcast media counted by the method is not accurate enough, and the popularization quality cannot be guaranteed.
(2) In a specified period, counting the values of all the virtual gifts received by the live broadcast rooms (namely the money amount required by recharging the virtual gifts), taking the live broadcast rooms with the values of all the virtual gifts received by the same partition as high-quality live broadcast rooms, and then popularizing the high-quality live broadcast rooms. The disadvantages of this method are: as already mentioned above, the definition of the live domain for a premium live room is: there are live rooms where a large number of users watch. In this condition, the above method does not take into account the user who did not give a gift, but watched the live room. Therefore, the quality of the live broadcast room counted by the method is still not accurate enough, and accordingly, the popularization quality cannot be guaranteed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention solves the technical problems that: according to the method and the device, the quality of the live broadcast room can be identified according to the number of people watching the live broadcast room, and the counted quality of the live broadcast room and the subsequent popularization quality of the live broadcast room can be guaranteed.
In order to achieve the purpose, the live broadcast room popularization method provided by the invention comprises the following steps:
s1: when the user watches the live broadcast room, if the server monitors that the user pays attention to the current live broadcast room, the server distributes the attention number of the user in the current live broadcast room to +1 and issues an attention identifier for the current user, and after the attention identifier is added to a link of the current live broadcast room, the server is bound with the user ID of the current user and goes to S2;
s2: after monitoring that the current user inputs the barrage in other live broadcast rooms except the current live broadcast room, the server side simultaneously displays the user ID, the attention identification and the input barrage of the current user, and then the S3 is switched to;
s3: when other users click the attention identification of the current user, the client sides of other users automatically display the corresponding live broadcast rooms according to the live broadcast room links in the attention identification, and the server side turns to S4 the number of favorite users +1 in the live broadcast rooms corresponding to the attention identification;
s4: the server side counts the attention number and the favorite user number of the users in the live broadcast room within the specified time limit, obtains the popularity value of the live broadcast room according to the attention number and the favorite user number of the users, takes the live broadcast room n before popularity value ranking in the same partition as a high-quality live broadcast room, and populates the high-quality live broadcast room, wherein n is a positive number.
On the basis of the foregoing technical solution, the process that the server side pays attention to the number of favorite users +1 in the live broadcast room corresponding to the identifier in S3 includes: and after monitoring that the other users stay in the live broadcast room corresponding to the attention identification for a specified time, the server side adds +1 to the number of favorite users in the live broadcast room.
On the basis of the technical scheme, when the corresponding live broadcast room is displayed in the S3, the live broadcast room is displayed in a form of a floating window.
On the basis of the technical scheme, the popularity value in S4 is defined as S, S is (p1 · x + p2 · y)/z, where p1 is the user attention number of the live broadcast room corresponding to S, x is a user attention constant, p2 is the favorite user number of the live broadcast room corresponding to S, y is a favorite user constant, z is a calculation base number, x, y, and z are preset, 0 < x < 1, 0 < y < 1, and 1000 < z < 5000.
The storage medium provided by the invention is stored with a computer program, and the computer program realizes the live broadcast room promotion method when being executed by a processor.
The electronic equipment provided by the invention comprises a memory and a processor, wherein the memory is stored with a computer program running on the processor, and the processor executes the computer program to realize the live broadcast room popularization method.
The live broadcast room promotion system provided by the invention comprises an attention identifier issuing module, an attention identifier display module, a favorite user number counting module and a live broadcast room promotion module which are arranged on a server side;
the concerned mark sending module is used for: when monitoring that a user pays attention to a live broadcast room, the user attention amount of the current live broadcast room is plus 1, an attention identifier is issued to the current user, the attention identifier is bound with a user ID of the current user after being added with a link of the current live broadcast room, and an attention identifier display signal is sent to an attention identifier display module;
the attention mark display module is used for: after receiving the attention identification display signal, when monitoring that the current user inputs the barrage in other live broadcast rooms except the current live broadcast room, simultaneously displaying the user ID, the attention identification and the input barrage of the current user, and sending a favorite user number counting signal to a favorite user number counting module;
the favorite users number counting module is used for: after receiving the number counting signal of the favorite users, when other users click the attention identification of the current user, sending a promotion signal of the live broadcast room to a live broadcast room promotion module by the number of the favorite users +1 of the live broadcast room corresponding to the attention identification;
the live broadcast room promotion module is used for: after receiving a live broadcast room popularization signal, counting the user attention quantity and the favorite user quantity of the live broadcast room in a specified time limit, obtaining the popularity value of the live broadcast room according to the user attention quantity and the favorite user quantity, taking the live broadcast room n before popularity value ranking in the same partition as a high-quality live broadcast room, wherein n is a positive number, and popularizing the high-quality live broadcast room.
On the basis of the above technical solution, the process that the favorite user number counting module counts +1 favorite users in the live broadcast room corresponding to the attention identifier includes: and after monitoring that the other users stay in the live broadcast room corresponding to the attention identification for a specified time, counting the number of favorite users in the live broadcast room by + 1.
On the basis of the technical scheme, the system further comprises a floating window display module arranged on the client, and the floating window display module is used for: and when the user clicks the attention mark, displaying the live broadcast room corresponding to the live broadcast room link in the attention mark in a form of a floating window.
On the basis of the technical scheme, the popularity value in the live broadcast room promotion module is defined as S, S is (p1 · x + p2 · y)/z, wherein p1 is the user attention number of the live broadcast room corresponding to S, x is a user attention constant, p2 is the favorite user number of the live broadcast room corresponding to S, y is a favorite user constant, z is a calculation base number, x, y and z are preset, x is greater than 0 and less than 1, y is greater than 0 and less than 1, and z is greater than 1000 and less than 5000.
Compared with the prior art, the invention has the advantages that:
(1) it can be known from S1 to S3 of the present invention that, after the user pays attention to the live broadcast, when the user sends the barrage in another live broadcast room, the present invention displays the attention identifier with the link of the attention live broadcast room; because the attention mark can visually display the information corresponding to the live broadcast room, only the user interested in the live broadcast room can click the attention mark, and the user interested in the live broadcast room is also a factor for counting the quality of the live broadcast room, so that the method and the device fully consider the users related to the quality of the live broadcast room but not related to the live broadcast room.
On the basis, as can be seen from the invention S4, the popularity value of the live broadcast room is calculated according to the user attention quantity and the favorite user quantity of the live broadcast room within the specified time limit, and both the user attention quantity and the favorite user quantity are related to the quality of the live broadcast room.
(2) It can be known from S3 that, according to the present invention, when the user clicks the attention identifier and stays in the live broadcast room corresponding to the attention identifier for a specified duration, the user is brought into the number of viewing users in the live broadcast room, so as to achieve the purpose of filtering users who enter the live broadcast room by mistake due to an operation error or enter the live broadcast room to find users who do not like the content of the live broadcast room (the users are actually non-favorite users), thereby improving the precision of favorite users, and consequently, improving the precision of subsequent live broadcast room quality statistics.
(3) It can be known from S3 that, when the user clicks the attention mark, the client of the user displays the corresponding live broadcast room in the form of a floating window, so that the displayed live broadcast room does not cover the original live broadcast room being watched, the user can watch the contents of multiple live broadcast rooms at the same time, and the user experience is remarkably improved.
(4) It can be known from S4 that, when calculating the popularity value, the present invention calculates the percentage of the concerned users and the favorite users, and divides the calculated percentage by the designated calculation base number.
Drawings
Fig. 1 is a flowchart of a live broadcast room promotion method in an embodiment of the present invention;
fig. 2 is a link block diagram of an electronic device in an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Referring to fig. 1, the live broadcast room promotion method in the embodiment of the present invention includes the following steps:
s1: when the user watches the live broadcast room, if the server monitors that the user pays attention to the current live broadcast room, the server distributes the attention amount of the user in the current live broadcast room plus 1 and the attention identifier for the current user, adds the attention identifier to the link of the current live broadcast room, binds the attention identifier with the user ID of the current user, and turns to S2.
S2: and after monitoring that the current user inputs the barrage in other live broadcast rooms except the current live broadcast room, the server side simultaneously displays the user ID, the attention identification and the input barrage of the current user, and the step goes to S3.
S3: when other users click the attention identification of the current user in the process of watching the bullet screen, the client sides of other users automatically display the corresponding live broadcast rooms in a floating window mode according to the live broadcast room links in the attention identification, the displayed live broadcast rooms do not cover the original live broadcast rooms being watched, and the users can watch the contents of multiple live broadcast rooms at the same time; after the other users (i.e., the users who jump to the live broadcast room by clicking the attention identifier) stay in the live broadcast room for a specified time (for example, 300S), the server side filters the number of favorite users +1 in the live broadcast room corresponding to the attention identifier, so that users who mistakenly enter the live broadcast room due to misoperation or enter the live broadcast room and find that the users do not like the content of the live broadcast room are filtered, and the process goes to S4.
It can be known from S1 to S3 that, after the user pays attention to the live broadcast, when the user sends a barrage to another live broadcast room, an attention identifier with a link to the attention live broadcast room is displayed; because the attention mark can visually display the information corresponding to the live broadcast room, only the user interested in the live broadcast room can click the attention mark, and the user interested in the live broadcast room is also a consideration factor for counting the quality of the live broadcast room, so that the embodiment of the invention fully considers the users related to the quality of the live broadcast room but not related to the live broadcast room.
S4: the server side counts the attention number and the favorite user number of the users in the live broadcast room within the specified time limit, obtains the popularity value of the live broadcast room according to the attention number and the favorite user number of the users, takes the live broadcast room with popularity value ranking n (n is a positive number, for example, 5) before the popularity value in the same partition as a high-quality live broadcast room, and popularizes the high-quality live broadcast room.
On the basis of S1 to S3, as can be seen from S4, in the embodiment of the present invention, the popularity value of the live broadcast room is calculated according to the number of users concerned about and the number of favorite users in the live broadcast room within a specified time limit, and both the number of users concerned about and the number of favorite users are related to the quality of the live broadcast room.
The calculation formula of the human gas value S in S4 is as follows: s ═ p1 · x + p2 · y)/z, where p1 is the user attention number of the live broadcast room corresponding to S, x is a user attention constant, p2 is the favorite user number of the live broadcast room corresponding to S, y is a favorite user constant, z is a calculation base number, x, y, and z are all preset positive numbers, x, y, and z may be the same or different, and in this embodiment, 0 < x < 1, 0 < y < 1, 1000 < z < 5000. Therefore, when the popularity value S is calculated, the user attention number p1 and the favorite user number p2 are respectively calculated in percentage, and divided by the specified calculation base number z, so that the numeric digit of the popularity value obtained in the manner is small, and statistics is facilitated.
The embodiment of the invention also provides a storage medium, wherein a computer program is stored on the storage medium, and when being executed by a processor, the computer program realizes the live broadcast room popularization method. The storage medium includes various media capable of storing program codes, such as a usb disk, a removable hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a magnetic disk, or an optical disk.
Referring to fig. 2, an embodiment of the present invention further provides an electronic device, which includes a memory and a processor, where the memory stores a computer program running on the processor, and the processor executes the computer program to implement the live broadcast room promotion method.
The live broadcast room promotion system in the embodiment of the invention comprises an attention identifier issuing module, an attention identifier display module, a favorite user number counting module and a live broadcast room promotion module which are arranged on a server side, and further comprises a floating window display module arranged on a client side.
The concerned mark sending module is used for: when monitoring that the user pays attention to the live broadcast room, the user attention amount of the current live broadcast room is plus 1, an attention identifier is issued to the current user, the attention identifier is bound with the user ID of the current user after being added to the current live broadcast room link, and an attention identifier display signal is sent to an attention identifier display module.
The attention mark display module is used for: after receiving the attention identification display signal, when monitoring that the current user inputs the barrage in other live broadcast rooms except the current live broadcast room, simultaneously displaying the user ID, the attention identification and the input barrage of the current user, and sending a favorite user number counting signal to a favorite user number counting module.
The favorite users number counting module is used for: after receiving the count signal of the number of favorite users, when other users click the attention mark of the current user, monitoring that the other users stay for a specified time length in the live broadcast room corresponding to the attention mark, and sending a live broadcast room promotion signal to a live broadcast room promotion module by adding 1 to the number of favorite users in the live broadcast room.
The floating window display module is used for: and when the user clicks the attention mark, displaying the live broadcast room corresponding to the live broadcast room link in the attention mark in a form of a floating window.
The live broadcast room promotion module is used for: after receiving a live broadcast room popularization signal, counting the user attention quantity and the favorite user quantity of the live broadcast room in a specified time limit, obtaining the popularity value of the live broadcast room according to the user attention quantity and the favorite user quantity, taking the live broadcast room n before popularity value ranking in the same partition as a high-quality live broadcast room, wherein n is a positive number, and popularizing the high-quality live broadcast room.
The popularity value is defined as S, S is (p1 x + p2 y)/z, wherein p1 is the user attention number of the live broadcast room corresponding to S, x is a user attention constant, p2 is the favorite user number of the live broadcast room corresponding to S, y is a favorite user constant, z is a calculation base number, x, y and z are preset, 0 < x < 1, 0 < y < 1, and 1000 < z < 5000.
It should be noted that: in the system provided in the embodiment of the present invention, when performing inter-module communication, only the division of each functional module is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the system is divided into different functional modules to complete all or part of the above described functions.
Further, the present invention is not limited to the above-mentioned embodiments, and it will be apparent to those skilled in the art that various modifications and improvements can be made without departing from the principle of the present invention, and these modifications and improvements are also considered to be within the scope of the present invention. Those not described in detail in this specification are within the skill of the art.