CN111836068A - Live broadcast interaction method and device, server and storage medium - Google Patents

Live broadcast interaction method and device, server and storage medium Download PDF

Info

Publication number
CN111836068A
CN111836068A CN202010724760.2A CN202010724760A CN111836068A CN 111836068 A CN111836068 A CN 111836068A CN 202010724760 A CN202010724760 A CN 202010724760A CN 111836068 A CN111836068 A CN 111836068A
Authority
CN
China
Prior art keywords
account
interaction
target
score
pool
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010724760.2A
Other languages
Chinese (zh)
Inventor
段勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010724760.2A priority Critical patent/CN111836068A/en
Publication of CN111836068A publication Critical patent/CN111836068A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4784Supplemental services, e.g. displaying phone caller identification, shopping application receiving rewards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to a live broadcast interaction method, a live broadcast interaction device, a server and a storage medium. Wherein, the method comprises the following steps: receiving first answer information fed back by a first account, wherein the first answer information corresponds to a target question issued by a second account; if the first answer information is matched with a preset answer, adding the first account into a target account pool when the first number of the currently stored accounts in the target account pool does not exceed a preset number and the interaction parameter corresponding to the first account meets a preset condition, wherein the interaction parameter is used for indicating the interaction behavior data corresponding to the first account; and extracting the target account from the target account pool according to the extraction instruction initiated by the second account. According to the embodiment of the disclosure, the account data total amount serving as the basis for extracting the target account in the live broadcast interaction process can be ensured to be smaller, and the duration consumed by data acquisition and calculation of the extracted account in the live broadcast interaction process is reduced.

Description

Live broadcast interaction method and device, server and storage medium
Technical Field
The present disclosure relates to the field of internet live broadcast technologies, and in particular, to a live broadcast interaction method, apparatus, server, and storage medium.
Background
At present, with the development of internet technology, online live broadcast is more and more popular with users. The anchor client can establish an online live broadcast room on a website through the internet, and the audience user can enter the live broadcast room of the current online broadcast through the audience client to watch.
In the live broadcast process, the anchor can improve enthusiasm and liveness of audiences in a lottery manner so as to improve popularity in the live broadcast process. Therefore, how to efficiently extract lucky audience users who win a prize and timely feed back the lucky audience to ensure the lucky experience of the audience becomes a technical problem to be solved urgently.
Disclosure of Invention
The present disclosure provides a live broadcast interaction method, device, server and storage medium, so as to achieve the purpose of reducing data acquisition and calculating the time consumed by a withdrawn account in the live broadcast interaction process by reducing the cardinality of candidate accounts in the live broadcast interaction process. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, a live broadcast interaction method is provided, including:
receiving first answer information fed back by a first account, wherein the first answer information corresponds to a target question issued by a second account; if the first answer information is matched with a preset answer, adding the first account into a target account pool when the first number of the currently stored accounts in the target account pool does not exceed a preset number and the interaction parameter corresponding to the first account meets a preset condition, wherein the interaction parameter is used for indicating the interaction behavior data corresponding to the first account; and extracting the target account from the target account pool according to the extraction instruction initiated by the second account.
Optionally, when the first number of accounts currently stored in the target account pool does not exceed a preset number, before the adding the first account into the target account pool, the live interaction method further includes:
obtaining a first interaction score corresponding to the first account according to a result of weighted summation calculation of the interaction parameters corresponding to the first account; if the first quantity is smaller than the preset quantity and the first interaction score is larger than or equal to a target score, determining that the interaction parameter corresponding to the first account meets the preset condition, wherein the target score is the minimum value of all interaction scores corresponding to the accounts stored in the target account pool.
Optionally, the live interaction method further includes:
if the first quantity is smaller than the preset quantity, the first interaction score is smaller than the target score and larger than a second interaction score, it is determined that the interaction parameters corresponding to the first account meet the preset condition, wherein the second interaction score is the maximum value of all interaction scores corresponding to the stored candidate accounts in the candidate account pool, the second interaction score is smaller than the target score, and answer information corresponding to the stored candidate accounts in the candidate account pool is matched with the preset answer.
Optionally, the live interaction method further includes:
if the first number is smaller than the preset number and the first interaction score is smaller than the second interaction score, determining that the interaction parameter corresponding to the first account does not meet the preset condition; and adding the candidate account corresponding to the second interaction score into the target account pool.
Optionally, the live interaction method further includes:
if the first number is equal to the preset number and the first interaction score is larger than the target score, determining that the interaction parameter corresponding to the first account meets the preset condition.
Optionally, when the first interaction score is greater than the target score, the step of adding the first account to the pool of target accounts comprises: replacing accounts in the target account pool corresponding to the target score with the first account.
Optionally, the interaction parameters corresponding to the first account include: the first interaction parameter is used for indicating the history selected state corresponding to the first account; a second interaction parameter indicating whether the first account is focused on the second account; the third interaction parameter is used for indicating the answer duration corresponding to the first account; the step of obtaining a first interaction score corresponding to the first account according to a result of weighted summation calculation of the interaction parameters corresponding to the first account includes:
acquiring the first interaction parameter, the second interaction parameter and the third interaction parameter corresponding to the first account; generating a target random number, wherein the value of the target random number is more than 0 and less than 1; and obtaining the first interaction score according to the result of weighted summation calculation of the first interaction parameter, the second interaction parameter, the third interaction parameter and the target random number.
Optionally, the live interaction method further includes: and adding a drawing mark for the target account.
Optionally, the live interaction method further includes:
receiving an extraction result query request from a third account; and feeding back response information corresponding to the extraction result query request to the third account, wherein the response information is used for indicating whether the third account belongs to the target account.
According to a second aspect of the embodiments of the present disclosure, there is provided a live broadcast interaction apparatus, including:
the receiving module is configured to execute receiving of first answer information fed back by a first account, wherein the first answer information corresponds to a target question issued by a second account; the processing module is configured to add the first account to a target account pool when a first number of accounts currently stored in the target account pool does not exceed a preset number and an interaction parameter corresponding to the first account meets a preset condition if the first answer information is matched with a preset answer, wherein the interaction parameter is used for indicating interaction behavior data corresponding to the first account; an extraction module configured to perform extraction of a target account from the pool of target accounts according to an extraction instruction initiated by the second account.
Optionally, the processing module includes: a calculation submodule and a determination submodule.
The calculation sub-module is configured to perform, when a first number of currently stored accounts in the target account pool does not exceed a preset number, before the first account is added to the target account pool, a first interaction score corresponding to the first account is obtained according to a result of weighted summation calculation on interaction parameters corresponding to the first account; the determining submodule is configured to determine that the interaction parameter corresponding to the first account meets the preset condition if the first quantity is smaller than the preset quantity and the first interaction score is greater than or equal to a target score, wherein the target score is the minimum value of all interaction scores corresponding to the accounts stored in the target account pool.
Optionally, the determining sub-module is further configured to perform:
if the first quantity is smaller than the preset quantity, the first interaction score is smaller than the target score and larger than a second interaction score, it is determined that the interaction parameters corresponding to the first account meet the preset condition, wherein the second interaction score is the maximum value of all interaction scores corresponding to the stored candidate accounts in the candidate account pool, the second interaction score is smaller than the target score, and answer information corresponding to the stored candidate accounts in the candidate account pool is matched with the preset answer.
Optionally, the processing module further comprises an adding submodule.
Wherein the determining sub-module is further configured to perform: if the first number is smaller than the preset number and the first interaction score is smaller than the second interaction score, determining that the interaction parameter corresponding to the first account does not meet the preset condition; the add sub-module configured to perform: and adding the candidate account corresponding to the second interaction score into the target account pool.
Optionally, the determining sub-module is further configured to perform:
if the first number is equal to the preset number and the first interaction score is larger than the target score, determining that the interaction parameter corresponding to the first account meets the preset condition.
Optionally, the processing module further includes a replacement submodule configured to replace an account in the target account pool corresponding to the target score with the first account when the first interaction score is greater than the target score.
Optionally, the interaction parameters corresponding to the first account include: the first interaction parameter is used for indicating the history selected state corresponding to the first account; a second interaction parameter indicating whether the first account is focused on the second account; and the third interaction parameter is used for indicating the answer duration corresponding to the first account.
Wherein the computing submodule is specifically configured to perform:
acquiring the first interaction parameter, the second interaction parameter and the third interaction parameter corresponding to the first account; generating a target random number, wherein the value of the target random number is more than 0 and less than 1; and obtaining the first interaction score according to the result of weighted summation calculation of the first interaction parameter, the second interaction parameter, the third interaction parameter and the target random number.
Optionally, the live interaction apparatus further includes: an adding module configured to perform adding a drawing identifier for the target account.
Optionally, the live interaction apparatus further includes:
a receiving module configured to execute receiving an extraction result query request from a third account; a feedback module configured to perform feedback of response information corresponding to the extraction result query request to the third account, where the response information is used to indicate whether the third account belongs to the target account.
According to a third aspect of the embodiments of the present disclosure, there is provided a server, including:
a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a live interaction method as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a storage medium, wherein instructions, when executed by a processor in a server, enable the server to perform a live interaction method as described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising at least one non-transitory computer readable medium storing instructions interpretable by at least one processor for implementing the aforementioned live interaction method.
The embodiment of the present disclosure adopts at least one technical scheme that can achieve the following beneficial effects:
in the process that the anchor broadcasts are live broadcast through the corresponding account, namely the second account, in order to improve the enthusiasm, liveness and the like of audiences, the live broadcast interaction can be initiated by a mode of issuing question and answer questions to online audience users in a live broadcast room, and the accuracy of the answer questions is judged when answer information of target questions sent by the online audience users in the live broadcast room through the corresponding account, namely the first account, is received. Further, when the first answer information fed back by the first account is matched with a correct preset answer of the target question, namely, the audience user who is currently involved in answering answers the question, a target account pool for storing an account for answering the question does not exceed a storage upper limit, namely a preset number, and the first account for currently answering the question meets requirements, namely, the interaction parameters for indicating the corresponding interaction behavior data meet preset conditions, the first account can be added into the target account pool for standby, so that after answer interaction is finished, extraction of the target account can be performed on the basis of the limited account in the target account pool according to an extraction instruction initiated by the main broadcast through the account. Therefore, in order to extract the target account efficiently, live audience users are fed back in time to watch live broadcasts, the experience that the audience participates in live broadcast interaction is guaranteed, the total number of the standby extracted accounts which can be contained in the target account pool can be limited, the total amount of account data serving as the basis for extracting the target account in the live broadcast interaction process is smaller, and the duration consumed by the extracted account in the data acquisition and calculation in the live broadcast interaction process is reduced.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this disclosure, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a flow diagram illustrating a method of live interaction in accordance with an exemplary embodiment.
Fig. 2 is a diagram illustrating an application scenario of a live interaction method according to an exemplary embodiment.
Fig. 3 is an interaction flow diagram illustrating a method of live interaction in accordance with an exemplary embodiment.
Fig. 4 is a block diagram illustrating a live interaction device, according to an example embodiment.
FIG. 5 is a block diagram illustrating a server in accordance with an example embodiment.
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, the following embodiments of the present disclosure will be clearly and completely described in conjunction with the accompanying drawings. It is to be understood that the described embodiments are merely a subset of the disclosed embodiments and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Technical solutions provided by the embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 1, a flow chart of a live interaction method according to an exemplary embodiment is shown, where the live interaction method may be executed by a server. Referring to fig. 1, the live interaction method may include the following steps:
s11, receiving first answer information fed back by the first account, wherein the first answer information corresponds to the target questions issued by the second account.
Optionally, there may be one or more accounts which enter the live broadcast room corresponding to the second account and participate in the interactive answer, where the first account is one of the accounts participating in the interactive answer. After the second account corresponding to the anchor program initiates the live broadcast interaction, the server can receive answer information for the target title fed back by each account participating in interactive answer.
S13, if the first answer information matches a preset answer, adding the first account to a target account pool when a first quantity of accounts currently stored in the target account pool does not exceed a preset quantity and an interaction parameter corresponding to the first account meets a preset condition, where the interaction parameter is used to indicate interaction behavior data corresponding to the first account.
Optionally, the preset answer corresponds to a target question, a correct answer is set for the target question in advance, after first answer information fed back by a first account is received, the first answer information and the preset answer corresponding to the target question can be compared in accuracy, under the condition that the first answer information is determined to be matched with the preset answer, whether an account with a new residual space is contained in a target account pool and whether an interaction parameter corresponding to the first account and used for indicating interaction behavior data of the account meets requirements needs to be further considered, and if yes, the first account can be added into the target account pool to serve as a candidate account for extracting the target account.
The preset number may be the number of candidate accounts for extracting the target account, which is specified by the anchor corresponding to the second account through the client before the answer interaction activity starts. Optionally, the preset number may be related to at least one of the number of accounts currently entering the live broadcast for participating in the interaction, the number of prepared prizes, and the like.
It should be noted that, in some cases, the preset number may be greater than or equal to the total number of accounts answering the target topic, at this time, all accounts answering the target topic may enter the target account pool as candidate accounts, which indicates that the accounts answering the target topic need not be screened and directly stored in the target account pool. In other cases, the preset number may be smaller than the total number of accounts answering the target topic, and at this time, only some accounts answering the target topic may enter the target account pool as candidate accounts, which indicates that the preset number of accounts needing to be screened from the accounts answering the topic is added to the target account pool. In addition, the preset number should be greater than or equal to the number of target accounts that are eventually drawn. The value of the preset number is not particularly limited in this embodiment.
And S15, extracting the target account from the target account pool according to the extraction instruction initiated by the second account.
It can be understood that after the audience user answering links are finished, the anchor can initiate a lottery link. Optionally, the anchor may set the length of time reserved for each audience user to answer through the anchor client. After the reserved answering time is over, the anchor can manually initiate a link of extracting the target account and can automatically trigger the link of extracting the target account.
In this embodiment, in order to improve enthusiasm and liveness of viewers during live broadcasting by the anchor program through the corresponding account, i.e., the second account, live broadcasting interaction may be initiated by issuing a question and answer program to an online viewer user in the live broadcasting room, and when receiving answer information for a target question sent by the online viewer user in the live broadcasting room through the corresponding account, i.e., the first account, the answer information is judged to be accurate. Further, when the first answer information fed back by the first account is matched with a correct preset answer of the target question, namely, the audience user who is currently involved in answering answers the question, a target account pool for storing an account for answering the question does not exceed a storage upper limit, namely a preset number, and the first account for currently answering the question meets requirements, namely, the interaction parameters for indicating the corresponding interaction behavior data meet preset conditions, the first account can be added into the target account pool for standby, so that after answer interaction is finished, extraction of the target account can be performed on the basis of the limited account in the target account pool according to an extraction instruction initiated by the main broadcast through the account. Therefore, in order to extract the target account efficiently, live audience users are fed back in time to watch live broadcasts, the experience that the audience participates in live broadcast interaction is guaranteed, the total number of the standby extracted accounts which can be contained in the target account pool can be limited, the total amount of account data serving as the basis for extracting the target account in the live broadcast interaction process is smaller, and the duration consumed by the extracted account in the data acquisition and calculation in the live broadcast interaction process is reduced.
Further, in this embodiment, if the answer information is not matched with the preset answer, the relevant information of the answer error may be fed back to the corresponding audience client.
Further, in this embodiment, when the first number of accounts currently stored in the target account pool does not exceed the preset number in the step S13, before the adding the first account to the target account pool, the method may further implement the following process:
obtaining a first interaction score corresponding to the first account according to a result of weighted summation calculation of the interaction parameters corresponding to the first account; if the first quantity is smaller than the preset quantity and the first interaction score is larger than or equal to a target score, determining that the interaction parameter corresponding to the first account meets the preset condition, wherein the target score is the minimum value of all interaction scores corresponding to the accounts stored in the target account pool.
In this embodiment, if the target account pool still has a space for accommodating the first account of the answer-to-question, a first interaction score corresponding to the first account may be calculated by performing weighted summation on the interaction parameter corresponding to the first account of the answer-to-question title, and when it is determined that the first interaction parameter is greater than or equal to the target score, it is determined that the interaction parameter corresponding to the first account satisfies a requirement that the first account can enter the target account pool, that is, a preset condition is satisfied, that is, the first account is qualified to enter the target account pool. Therefore, the accounts with higher corresponding interactive scores in the accounts for the target questions can be screened out and added into the target account pool, so that audience users of the live broadcast platform can be fed back better, and the enthusiasm and activeness of the audience users are further improved.
It should be noted that the target score is not a fixed value, but is dynamically changeable, and when the minimum value of all interaction scores corresponding to the accounts stored in the target account pool is changed, the target score is changed accordingly.
Further, in the live interaction method of this embodiment, the following contents may also be included:
if the first quantity is smaller than the preset quantity, the first interaction score is smaller than the target score and larger than a second interaction score, it is determined that the interaction parameters corresponding to the first account meet the preset condition, wherein the second interaction score is the maximum value of all interaction scores corresponding to the stored candidate accounts in the candidate account pool, the second interaction score is smaller than the target score, and answer information corresponding to the stored candidate accounts in the candidate account pool is matched with the preset answer.
In this embodiment, if the target account pool still has a space for accommodating the first account for answering the question, in order to ensure that the interaction score corresponding to the account that enters the target account pool is a higher part of all the interaction scores corresponding to the accounts that answer the target question, the first interaction score corresponding to the first account for answering the question is smaller than the minimum value of the interaction scores in the target account pool, but is the interaction score that temporarily does not enter the target account pool and is the largest of the interaction scores corresponding to the accounts that answer the question, and it may still be considered that the interaction parameter corresponding to the first account meets the requirement of being able to enter the target account pool, that is, the interaction parameter corresponding to the first account meets the preset condition, that is, the first account still has the qualification of entering the target account pool temporarily. Therefore, in the answering interaction process, the target account pool can always store a part of accounts with higher interaction scores and answering questions.
Further, in the live interaction method of this embodiment, the following contents may also be included:
if the first number is smaller than the preset number and the first interaction score is smaller than the second interaction score, determining that the interaction parameter corresponding to the first account does not meet the preset condition; and adding the candidate account corresponding to the second interaction score into the target account pool.
In this embodiment, if the target account pool still has a space for accommodating the first account for answering the question, in order to ensure that the interaction score corresponding to the account entering the target account pool is a higher part of all the interaction scores corresponding to the accounts for answering the target question, the first interaction score corresponding to the first account for answering the question is smaller than the minimum value of the interaction scores in the target account pool, and is not in the target account pool and is the largest of the interaction scores corresponding to the accounts for answering the question, it may be considered that the interaction parameter corresponding to the first account does not satisfy the requirement of being able to enter the target account pool, that is, the interaction parameter does not satisfy the preset condition, that is, the first account temporarily does not have the qualification of entering the target account pool. At this time, the candidate account corresponding to the second interaction score, which is the largest interaction score among the interaction scores corresponding to the accounts which do not enter the target account pool temporarily and answer the questions, needs to be added to the target account pool temporarily, so as to ensure that the target account pool always stores a part of accounts which answer the questions and have higher interaction scores in the process of answering the questions and interacting.
Further, in the live interaction method of this embodiment, the following contents may also be included:
if the first number is equal to the preset number and the first interaction score is larger than the target score, determining that the interaction parameter corresponding to the first account meets the preset condition.
In this embodiment, if the target account pool does not have a space for accommodating a first account for answering questions, in order to ensure that the target account pool always stores a part of accounts for answering questions with higher interaction scores in the answering interaction process, when the first interaction score is larger than the minimum value of the interaction scores in the target account pool, it may be considered that the interaction parameter corresponding to the first account meets the requirement of being able to enter the target account pool, that is, meets a preset condition, that is, the first account is qualified to enter the target account pool.
Further, in the live interaction method of this embodiment, when the first interaction score is greater than the target score, the step of adding the first account to the target account pool in S13 may be implemented as the following process:
replacing accounts in the target account pool corresponding to the target score with the first account.
In this embodiment, if the target account pool does not have a space for accommodating the first account for answering the question, but the first interaction score is greater than the minimum value of the interaction scores in the target account pool, that is, when the interaction parameter corresponding to the first account meets the requirement of being able to enter the target account pool, that is, meets the preset condition, the account corresponding to the target score in the target account pool needs to be deleted from the target account pool, and the first account is complemented into the target account pool.
Further, in the live broadcast interaction method of this embodiment, the interaction parameters corresponding to the first account include: the first interaction parameter is used for indicating the history selected state corresponding to the first account; a second interaction parameter indicating whether the first account is focused on the second account; and the third interaction parameter is used for indicating the answer duration corresponding to the first account.
The step of obtaining the first interaction score corresponding to the first account according to the result of performing weighted summation calculation on the interaction parameters corresponding to the first account may be implemented as the following process:
acquiring the first interaction parameter, the second interaction parameter and the third interaction parameter corresponding to the first account; generating a target random number, wherein the value of the target random number is more than 0 and less than 1; and obtaining the first interaction score according to the result of weighted summation calculation of the first interaction parameter, the second interaction parameter, the third interaction parameter and the target random number.
In this embodiment, when determining the first interaction score corresponding to the first account, at least the historical selected state corresponding to the first account, that is, whether the first account has been selected, whether the second account which initiates the current live interaction activity has been concerned, and the answer duration used by the first account to answer the target title, and other interaction parameters, may be considered at least comprehensively, and the interaction parameters are combined to perform weighted summation calculation on the target random number generated by the first account, so as to obtain the attention degree that can accurately reflect the audience user corresponding to the first account to the live broadcast platform, the corresponding anchor broadcast and the live broadcast thereof, thereby screening the accounts which can enter the target account pool preferentially, and further improving the enthusiasm and liveness of the audience user; meanwhile, the corresponding random number is distributed to each answer-target title account, so that fairness and fairness in the lottery drawing process can be ensured.
Optionally, when performing weighted summation calculation based on the first interaction parameter, the second interaction parameter, the third interaction parameter, and the target random number, each lottery parameter and the target random number may be multiplied by a corresponding weight, and then the results of the multiplication of each two may be summed to obtain a corresponding candidate lottery score. Alternatively, the sum of the weights respectively corresponding to the lottery parameters and the target random numbers is 1.
In an example, the total time length set in the answer link in the live broadcast answer interaction activity is 120 minutes, if the answer time length (i.e., the time difference between the moment of issuing the target question and the moment of answering the target question by the user) for the audience user corresponding to the current first account to answer the target question is 30 minutes, the audience user pays attention to the second account corresponding to the current anchor, and the audience user has no selected record in the live broadcast interaction activity initiated by the current anchor history. Further, a parameter "1" corresponding to the non-selected record may be used as a first interaction parameter, a parameter "1" corresponding to the current second account that has been paid attention to may be used as a second interaction parameter, a difference between "1" and a ratio of the answer time length to the total time length, that is, "1-0.25 ═ 0.75" may be used as a third interaction parameter, and the target random number randomly allocated to the first account may be "0.8". Further, the weights respectively corresponding to the lottery parameters and the target random numbers are all 0.25, and after the weighted sum calculation, the first interaction score obtained by the first account is as follows: 1 × 0.25+1 × 0.25+0.75 × 0.25+0.8 × 0.25 ═ 0.8875. And the shorter the time length for the audience user corresponding to the first account to answer the target question, the larger the value of the corresponding third interaction parameter.
It should be noted that the history selected state of the first account may be historical live broadcast interaction activity initiated by the anchor corresponding to the current second account and/or historical live broadcast interaction activity initiated by the current live broadcast platform; the historical selected state may include at least one of whether selected, the number of times selected, the frequency of selection within a period of time, and the like. In addition, the interaction parameters for determining the first interaction score corresponding to the first account include, but are not limited to, the three parameters, for example, the time length for the first account to pay attention to the current second account, the registration time length of the first account on the current live platform, the frequency of logging in the live platform, and the like may be set according to actual conditions. Further, the weights respectively corresponding to the interaction parameters and the target random numbers can be set according to actual conditions such as the degree of influence on the extraction result.
Further, in this embodiment, when the first account for answering the target title is selected as the candidate account for extracting the target account and added to the target account pool, the following process may be implemented:
adding the first account and the first interaction score association to the pool of target accounts.
It can be understood that the screened account identification for extracting the target account and the corresponding interaction score thereof are stored in the target account pool, so that the extraction of the target account is facilitated.
Further, in the live broadcast interaction method of this embodiment, the following process may also be implemented: and adding a drawing mark for the target account.
In this embodiment, to facilitate identifying the selected target accounts, a raffle identifier may be added to the abstracted target accounts.
Further, in the live broadcast interaction method of this embodiment, the following process may also be implemented:
receiving an extraction result query request from a third account; and feeding back response information corresponding to the extraction result query request to the third account, wherein the response information is used for indicating whether the third account belongs to the target account.
In the implementation, the query requirement of the extraction result of the audience user, that is, the audience user corresponding to the third account, can be responded in time, and specifically, whether the third account has the extraction identifier or not can be queried based on the account identifier of the third account, so that whether the third account is an accurate query of the extracted target account or not is realized.
In order to clearly introduce the implementation process of the live broadcast interaction method provided in this embodiment, as shown in fig. 2, the implementation process is a schematic diagram of a possible Application scenario of the live broadcast interaction method shown in an exemplary embodiment, where the Application scenario may include a live broadcast server (corresponding to an execution subject server of the method shown in fig. 1, such as a background Application Programming Interface (API) server of a live broadcast platform), a reissue (Redis) server, a database server (such as a MySQL database), a plurality of anchor clients (corresponding to a second account), and a plurality of audience clients (corresponding to a first account), where the live broadcast server is connected with a Redis server, the database server, and the plurality of anchor clients respectively, where the Redis operable and maintainable on the live broadcast server, and the Redis server is configured to cache live broadcast operation data of each live broadcast room (such as to cache answer to lottery-question-purpose audience user information, etc.), where the Redis configured to cache live broadcast operation data of each live broadcast room, The database server is used for storing the running state of the live broadcast room, such as storing the title information of live broadcast interaction.
In this embodiment, the anchor client and the audience client may include rich media integrating functions of group chat, live video, channel karaoke, online game, online movie and television, and the like. The live broadcast room may be a virtual space (or a virtual room) created by a live broadcast server, the anchor client and at least one audience client may enter the virtual space, and the audience client located in the virtual space may not only watch the live broadcast content of the anchor client, but also perform voice or text interaction with the anchor client, for example, the anchor client may interact with an audience user currently watching the live broadcast in a lottery manner in a current online channel. The live room may have corresponding identification information, which may be, but is not limited to, a room number of the live room, etc.
In the application scenario shown in fig. 2, in the live broadcast process, two connections may be established between the anchor client and the live broadcast server, one connection is established based on a Real Time Messaging Protocol (RTMP) or a fast hand Transport Protocol (KTP) and is used to push and pull data streams such as video and audio (push video stream and pull video stream, which correspond to video recording behavior and video playing behavior of the anchor and audience, respectively). The other is a long connection service established based on a Transmission Control Protocol (TCP) and the like, and is used for realizing some self-defined services, such as services of sending a red packet, sending a gift, and performing a question and answer. The anchor client and the audience client comprise electronic equipment such as a desktop computer, a smart phone, a mobile computer, a tablet computer, a media player, a smart television and smart glasses, but are not limited to the desktop computer; each client may initiate an API request to the live server through a short connection service established based on a hypertext transfer Protocol (HTTP). Of course, the method provided in the embodiment of the present application is not limited to be used in the application scenario shown in fig. 1, and may also be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 1 will be described in the following method embodiments, and will not be described in detail herein.
It is to be understood that in practical applications, the application scenario described above may include more or less devices, for example, all functions related to the Redis server, the database server, and the live server shown in fig. 2 may be implemented by one independent server, and the like.
Further optionally, with reference to fig. 2 and fig. 3, the live broadcast interaction method provided in this embodiment is described with reference to a possible implementation manner. Wherein, the live broadcast server is an API server. The method mainly comprises the following stages:
(1) the first stage is as follows: main topic broadcasting stage
In the stage, the anchor can send a question sending request to the API server through the anchor client, after the anchor sends the question, the back-end API server sends the question to add the question to the question bank storage server for standby, the API server is informed after the addition is completed, and the message that the question is successfully added is fed back to the anchor client by the API server. Furthermore, the questions can be pulled from the question bank storage server through the long connection service and are gradually issued to the audience client, so that the audience users participating in the lottery drawing in the live broadcast room can answer the questions.
(2) And a second stage: audience answering stage
In this stage, the audience user selects an option for answering a lottery question (corresponding to a target question) issued by the main broadcasting, submits an answer (corresponding to first answer information) through a back-end API server, and the API server judges whether the audience user answers the lottery question according to the option selected by the audience user and the question information (at least including lottery question content and corresponding answers) acquired from the question bank cache server; for the audience users who answer in error, the judgment result, that is, the answer in error, can be optionally returned directly to the corresponding audience client.
For the audience users who answer the question, param1 (corresponding to the first interaction parameter) can be obtained based on the query result of whether the prize is paid or not obtained from the Redis cache server, param2 (corresponding to the second interaction parameter) can be obtained based on the query result of whether the user who answers the main broadcast or not obtained from the Redis cache server, param3 (corresponding to the third interaction parameter) can be obtained based on the response time of the audience users who answer the question obtained from the Redis cache server, and a target random number in the interval (0, 1) can be generated, furthermore, a corresponding weight value can be calculated by weighted summation based on the above parameters, the generated target random number and the corresponding weight, further, the weight value can be the answer score (corresponding to the first interaction score) of the audience user who answers the question, the user identification ID is field key, the two associated updates are stored in a reds zset data structure as candidate lottery/audience Users (candidate Users) in a candidate lottery pool (corresponding to the pool of target accounts). Judging whether the number of candidate Users in the candidate lottery pool exceeds a specified length, if so, only keeping the highest L Users in the score-high ranking, wherein L is a specified parameter, such as 100, and updating and storing the L in a redis zset data structure.
(3) And a third stage: lottery stage
At this stage, the anchor initiates a lottery through the back-end API server, and extracts candidate Users in the candidate lottery pool from the redis storage server, because the above-mentioned process ensures that only a maximum of L audience Users who answer a question are stored in the candidate lottery pool, the pulled candidate audience Users can be returned more efficiently. Further, K Users are randomly selected from the candidate Users as lucky audience Users (corresponding to the target account), stored as luck Users, and can return the luck Users to the anchor client for presentation. The feedback to the lucky audience user at least comprises two modes of virtual object feedback and offline feedback in a wired on-line distribution system.
In the embodiment, the user scores are calculated according to conditions, probabilities and weights, a strategy for extracting high-score users in advance is adopted, namely audience users in a lottery candidate pool are screened in advance, the number of candidate audience users in the lottery candidate pool is effectively reduced, and the problem of large key is solved, so that the data volume needing to be acquired in the lottery drawing process is smaller, the lottery drawing candidate pool and the lottery drawing calculation process are faster, and the problem of long time consumption in the lottery drawing process is effectively solved.
Compared with the related art, the stored audience users with the full amount of correct answers are directly used as the lottery candidate pool of the lucky audience winning the prize, and after the anchor prompts stop answering and start to draw the lucky audience, the specified number of audience is randomly drawn from the lottery candidate pool to be used as the lucky audience. Therefore, when too many audience users answer correctly, the number of candidate audience users in the lottery candidate pool is too large, and a large key problem exists, and the process of calculating the winning audience user is too time-consuming due to the fact that the number of single-point calculation pulling is too large.
Further, in this embodiment, a stage of user query result may be further included, where the viewer user requests a back-end API interface, that is, sends a request for querying whether a prize is won to the API server, and the API server queries lucksuers from the redis storage server and returns a result of determination whether the user is in the lucksuers to the viewer client.
Example two
Fig. 4 is a block diagram of a live interaction apparatus 400 according to an exemplary embodiment, which is applied to a live server, where the live interaction apparatus 400 is used to implement the live interaction method described above. Referring to fig. 4, the live interaction apparatus 400 includes a receiving module 41, a processing module 43, and an extracting module 45. Wherein:
the receiving module 41 is configured to execute receiving first answer information fed back by a first account, where the first answer information corresponds to a target question issued by a second account; the processing module 43 is configured to execute, if the first answer information matches a preset answer, adding the first account to a target account pool when a first number of accounts currently stored in the target account pool does not exceed a preset number and an interaction parameter corresponding to the first account meets a preset condition, where the interaction parameter is used to indicate interaction behavior data corresponding to the first account; the extraction module 45 is configured to perform extraction of a target account from the pool of target accounts according to the extraction instruction initiated by the second account.
In this embodiment, in order to improve enthusiasm and liveness of viewers during live broadcasting by the anchor program through the corresponding account, i.e., the second account, live broadcasting interaction may be initiated by issuing a question and answer program to an online viewer user in the live broadcasting room, and when receiving answer information for a target question sent by the online viewer user in the live broadcasting room through the corresponding account, i.e., the first account, the answer information is judged to be accurate. Further, when the first answer information fed back by the first account is matched with a correct preset answer of the target question, namely, the audience user who is currently involved in answering answers the question, a target account pool for storing an account for answering the question does not exceed a storage upper limit, namely a preset number, and the first account for currently answering the question meets requirements, namely, the interaction parameters for indicating the corresponding interaction behavior data meet preset conditions, the first account can be added into the target account pool for standby, so that after answer interaction is finished, extraction of the target account can be performed on the basis of the limited account in the target account pool according to an extraction instruction initiated by the main broadcast through the account. Therefore, in order to extract the target account efficiently, live audience users are fed back in time to watch live broadcasts, the experience that the audience participates in live broadcast interaction is guaranteed, the total number of the standby extracted accounts which can be contained in the target account pool can be limited, the total amount of account data serving as the basis for extracting the target account in the live broadcast interaction process is smaller, and the duration consumed by the extracted account in the data acquisition and calculation in the live broadcast interaction process is reduced.
As a possible implementation, the processing module 43 may include a calculation sub-module and a determination sub-module.
The calculation sub-module is configured to perform, when a first number of currently stored accounts in the target account pool does not exceed a preset number, before the first account is added to the target account pool, a first interaction score corresponding to the first account is obtained according to a result of weighted summation calculation on interaction parameters corresponding to the first account; the determining submodule is configured to determine that the interaction parameter corresponding to the first account meets the preset condition if the first quantity is smaller than the preset quantity and the first interaction score is greater than or equal to a target score, wherein the target score is the minimum value of all interaction scores corresponding to the accounts stored in the target account pool.
In this embodiment, if the target account pool still has a space for accommodating the first account of the answer-to-question, a first interaction score corresponding to the first account may be calculated by performing weighted summation on the interaction parameter corresponding to the first account of the answer-to-question title, and when it is determined that the first interaction parameter is greater than or equal to the target score, it is determined that the interaction parameter corresponding to the first account satisfies a requirement that the first account can enter the target account pool, that is, a preset condition is satisfied, that is, the first account is qualified to enter the target account pool. Therefore, the accounts with higher corresponding interactive scores in the accounts for the target questions can be screened out and added into the target account pool, so that audience users of the live broadcast platform can be fed back better, and the enthusiasm and activeness of the audience users are further improved. It should be noted that the target score is not a fixed value, but is dynamically changeable, and when the minimum value of all interaction scores corresponding to the accounts stored in the target account pool is changed, the target score is changed accordingly.
Further, as a possible implementation manner, the determining sub-module may be further configured to perform:
if the first quantity is smaller than the preset quantity, the first interaction score is smaller than the target score and larger than a second interaction score, it is determined that the interaction parameters corresponding to the first account meet the preset condition, wherein the second interaction score is the maximum value of all interaction scores corresponding to the stored candidate accounts in the candidate account pool, the second interaction score is smaller than the target score, and answer information corresponding to the stored candidate accounts in the candidate account pool is matched with the preset answer.
In this embodiment, if the target account pool still has a space for accommodating the first account for answering the question, in order to ensure that the interaction score corresponding to the account that enters the target account pool is a higher part of all the interaction scores corresponding to the accounts that answer the target question, the first interaction score corresponding to the first account for answering the question is smaller than the minimum value of the interaction scores in the target account pool, but is the interaction score that temporarily does not enter the target account pool and is the largest of the interaction scores corresponding to the accounts that answer the question, and it may still be considered that the interaction parameter corresponding to the first account meets the requirement of being able to enter the target account pool, that is, the interaction parameter corresponding to the first account meets the preset condition, that is, the first account still has the qualification of entering the target account pool temporarily. Therefore, in the answering interaction process, the target account pool can always store a part of accounts with higher interaction scores and answering questions.
Further, as a possible implementation manner, the processing module 43 further includes an adding sub-module.
Wherein the determining sub-module is further configured to perform: if the first number is smaller than the preset number and the first interaction score is smaller than the second interaction score, determining that the interaction parameter corresponding to the first account does not meet the preset condition; the add sub-module configured to perform: and adding the candidate account corresponding to the second interaction score into the target account pool.
In this embodiment, if the target account pool still has a space for accommodating the first account for answering the question, in order to ensure that the interaction score corresponding to the account entering the target account pool is a higher part of all the interaction scores corresponding to the accounts for answering the target question, the first interaction score corresponding to the first account for answering the question is smaller than the minimum value of the interaction scores in the target account pool, and is not in the target account pool and is the largest of the interaction scores corresponding to the accounts for answering the question, it may be considered that the interaction parameter corresponding to the first account does not satisfy the requirement of being able to enter the target account pool, that is, the interaction parameter does not satisfy the preset condition, that is, the first account temporarily does not have the qualification of entering the target account pool. At this time, the candidate account corresponding to the second interaction score, which is the largest interaction score among the interaction scores corresponding to the accounts which do not enter the target account pool temporarily and answer the questions, needs to be added to the target account pool temporarily, so as to ensure that the target account pool always stores a part of accounts which answer the questions and have higher interaction scores in the process of answering the questions and interacting.
Further, as a possible implementation manner, the determining sub-module is further configured to perform:
if the first number is equal to the preset number and the first interaction score is larger than the target score, determining that the interaction parameter corresponding to the first account meets the preset condition.
In this embodiment, if the target account pool does not have a space for accommodating a first account for answering questions, in order to ensure that the target account pool always stores a part of accounts for answering questions with higher interaction scores in the answering interaction process, when the first interaction score is larger than the minimum value of the interaction scores in the target account pool, it may be considered that the interaction parameter corresponding to the first account meets the requirement of being able to enter the target account pool, that is, meets a preset condition, that is, the first account is qualified to enter the target account pool.
Further, as a possible implementation manner, the processing module 43 further includes a replacing sub-module configured to replace an account corresponding to the target score in the target account pool with the first account when the first interaction score is greater than the target score.
In this embodiment, if the target account pool does not have a space for accommodating the first account for answering the question, but the first interaction score is greater than the minimum value of the interaction scores in the target account pool, that is, when the interaction parameter corresponding to the first account meets the requirement of being able to enter the target account pool, that is, meets the preset condition, the account corresponding to the target score in the target account pool needs to be deleted from the target account pool, and the first account is complemented into the target account pool.
Further, as a possible implementation manner, the interaction parameter corresponding to the first account includes: the first interaction parameter is used for indicating the history selected state corresponding to the first account; a second interaction parameter indicating whether the first account is focused on the second account; and the third interaction parameter is used for indicating the answer duration corresponding to the first account.
Wherein the computing submodule is specifically configured to execute: acquiring the first interaction parameter, the second interaction parameter and the third interaction parameter corresponding to the first account; generating a target random number, wherein the value of the target random number is more than 0 and less than 1; and obtaining the first interaction score according to the result of weighted summation calculation of the first interaction parameter, the second interaction parameter, the third interaction parameter and the target random number.
In this embodiment, when determining the first interaction score corresponding to the first account, at least the historical selected state corresponding to the first account, that is, whether the first account has been selected, whether the second account which initiates the current live interaction activity has been concerned, and the answer duration used by the first account to answer the target title, and other interaction parameters, may be considered at least comprehensively, and the interaction parameters are combined to perform weighted summation calculation on the target random number generated by the first account, so as to obtain the attention degree that can accurately reflect the audience user corresponding to the first account to the live broadcast platform, the corresponding anchor broadcast and the live broadcast thereof, thereby screening the accounts which can enter the target account pool preferentially, and further improving the enthusiasm and liveness of the audience user; meanwhile, the corresponding random number is distributed to each answer-target title account, so that fairness and fairness in the lottery drawing process can be ensured.
Further, as a possible implementation manner, the live interaction apparatus 400 may further include an adding module configured to perform adding the drawing identifier to the target account.
In this embodiment, to facilitate identifying the selected target accounts, a raffle identifier may be added to the abstracted target accounts.
Further, as a possible implementation manner, the live interactive apparatus 400 may further include: a receiving module 41 and a feedback module.
Wherein, the receiving module 41 is configured to execute receiving an extraction result query request from a third account; the feedback module is configured to perform feedback of response information corresponding to the extraction result query request to the third account, where the response information is used to indicate whether the third account belongs to the target account.
In the implementation, the query requirement of the extraction result of the audience user, that is, the audience user corresponding to the third account, can be responded in time, and specifically, whether the third account has the extraction identifier or not can be queried based on the account identifier of the third account, so that whether the third account is an accurate query of the extracted target account or not is realized.
Since the modules, units, or sub-units related in the live broadcast interaction apparatus 400 have the same or corresponding technical features as the live broadcast interaction method in the first embodiment, the detailed description of each module, unit, or sub-unit in this embodiment can refer to the description of the live broadcast interaction method in the first embodiment, and will not be repeated herein. For example, the detailed description about the receiving module 41 may refer to the detailed description about S11 in the first embodiment, the detailed description about the processing module 43 may refer to the detailed description about S13 in the first embodiment, the detailed description about the extracting module 45 may refer to the detailed description about S15 in the first embodiment, and the like.
EXAMPLE III
Fig. 5 is a block diagram illustrating a server 500 in accordance with an example embodiment. The server 500 may perform, but is not limited to, the live interaction method provided by the embodiment of the present disclosure. It should be noted that, since the live broadcast interaction method executed by the server 500 in this embodiment has the same or corresponding technical features as the live broadcast interaction method in the first embodiment, for a detailed description of the live broadcast interaction method in this embodiment, reference may be made to the description of the live broadcast interaction method in the first embodiment, and this embodiment is not repeated herein.
Further, in one possible implementation, the server 500 may include, but is not limited to, the processor 51 and the memory 53 shown in fig. 5. The processor 51 and the memory 53 are electrically connected directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines.
The memory 53 is used for storing programs or data, such as instructions executable by the processor 51. The Memory 53 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like.
The processor 51 is used to read/write data or programs stored in the memory and perform corresponding functions.
As one possible implementation, the server 500 may also include a power component configured to perform power management of the server 500, a wired or wireless network interface configured to connect the server 500 to a network, and an input/output (I/O) interface. Server 500 may operate based on an operating system stored in memory 53, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
It should be understood that the configuration shown in fig. 5 is merely a schematic diagram of the configuration of the server 500, and that the server 500 may include more or less components than shown in fig. 5, or have a different configuration than shown in fig. 5. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof. In addition, in the embodiment of the present disclosure, the server 500 may be, but is not limited to, a computer, a mobile phone, an IPad, a mobile internet device, and the like.
Example four
In an exemplary embodiment, a storage medium is further provided, and when executed by the processor 51 in the server 500, the instructions in the storage medium enable the server 500 to execute to implement the live interaction method in the first embodiment. Alternatively, the storage medium may be a non-transitory storage medium, for example, the non-transitory storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It should be noted that, since the live broadcast interaction method executed by the server 500 in this embodiment has the same or corresponding technical features as the live broadcast interaction method in the first embodiment, for a detailed description of the live broadcast interaction method in this embodiment, reference may be made to the description of the live broadcast interaction method in the first embodiment, and this embodiment is not repeated herein.
EXAMPLE five
In an exemplary embodiment, a computer program product is also provided that includes at least one non-transitory computer-readable medium storing instructions interpretable by at least one processor for executing the live interaction method of the first embodiment.
It should be noted that, since the live broadcast interaction method executed by the server 500 in this embodiment has the same or corresponding technical features as the live broadcast interaction method in the first embodiment, for a detailed description of the live broadcast interaction method in this embodiment, reference may be made to the description of the live broadcast interaction method in the first embodiment, and this embodiment is not repeated herein.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.

Claims (10)

1. A live interaction method is characterized by comprising the following steps:
receiving first answer information fed back by a first account, wherein the first answer information corresponds to a target question issued by a second account;
if the first answer information is matched with a preset answer, adding the first account into a target account pool when the first number of the currently stored accounts in the target account pool does not exceed a preset number and the interaction parameter corresponding to the first account meets a preset condition, wherein the interaction parameter is used for indicating the interaction behavior data corresponding to the first account;
and extracting the target account from the target account pool according to the extraction instruction initiated by the second account.
2. The live interaction method of claim 1, wherein when the first number of accounts currently stored in the target account pool does not exceed a preset number, prior to the adding the first account to the target account pool, the method further comprises:
obtaining a first interaction score corresponding to the first account according to a result of weighted summation calculation of the interaction parameters corresponding to the first account;
if the first quantity is smaller than the preset quantity and the first interaction score is larger than or equal to a target score, determining that the interaction parameter corresponding to the first account meets the preset condition, wherein the target score is the minimum value of all interaction scores corresponding to the accounts stored in the target account pool.
3. The live interaction method of claim 2, further comprising:
if the first quantity is smaller than the preset quantity, the first interaction score is smaller than the target score and larger than a second interaction score, it is determined that the interaction parameters corresponding to the first account meet the preset condition, wherein the second interaction score is the maximum value of all interaction scores corresponding to the stored candidate accounts in the candidate account pool, the second interaction score is smaller than the target score, and answer information corresponding to the stored candidate accounts in the candidate account pool is matched with the preset answer.
4. The live interaction method of claim 3, further comprising:
if the first number is smaller than the preset number and the first interaction score is smaller than the second interaction score, determining that the interaction parameter corresponding to the first account does not meet the preset condition;
and adding the candidate account corresponding to the second interaction score into the target account pool.
5. The live interaction method of claim 2, further comprising:
if the first number is equal to the preset number and the first interaction score is larger than the target score, determining that the interaction parameter corresponding to the first account meets the preset condition.
6. The live interaction method of claim 5, wherein the step of adding the first account to the pool of target accounts when the first interaction score is greater than the target score comprises:
replacing accounts in the target account pool corresponding to the target score with the first account.
7. The live interaction method of claim 2, wherein the interaction parameters corresponding to the first account include: the first interaction parameter is used for indicating the history selected state corresponding to the first account; a second interaction parameter indicating whether the first account is focused on the second account; the third interaction parameter is used for indicating the answer duration corresponding to the first account;
the step of obtaining a first interaction score corresponding to the first account according to a result of weighted summation calculation of the interaction parameters corresponding to the first account includes:
acquiring the first interaction parameter, the second interaction parameter and the third interaction parameter corresponding to the first account;
generating a target random number, wherein the value of the target random number is more than 0 and less than 1;
and obtaining the first interaction score according to the result of weighted summation calculation of the first interaction parameter, the second interaction parameter, the third interaction parameter and the target random number.
8. A live interaction device, comprising:
the receiving module is configured to execute receiving of first answer information fed back by a first account, wherein the first answer information corresponds to a target question issued by a second account;
the processing module is configured to add the first account to a target account pool when a first number of accounts currently stored in the target account pool does not exceed a preset number and an interaction parameter corresponding to the first account meets a preset condition if the first answer information is matched with a preset answer, wherein the interaction parameter is used for indicating interaction behavior data corresponding to the first account;
an extraction module configured to perform extraction of a target account from the pool of target accounts according to an extraction instruction initiated by the second account.
9. A server, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the live interaction method of any of claims 1-7.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor in a server, enable the server to perform the live interaction method of any of claims 1 to 7.
CN202010724760.2A 2020-07-24 2020-07-24 Live broadcast interaction method and device, server and storage medium Pending CN111836068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010724760.2A CN111836068A (en) 2020-07-24 2020-07-24 Live broadcast interaction method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010724760.2A CN111836068A (en) 2020-07-24 2020-07-24 Live broadcast interaction method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN111836068A true CN111836068A (en) 2020-10-27

Family

ID=72926434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010724760.2A Pending CN111836068A (en) 2020-07-24 2020-07-24 Live broadcast interaction method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN111836068A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630610A (en) * 2021-07-02 2021-11-09 武汉斗鱼鱼乐网络科技有限公司 Multi-person continuous-microphone state control method, storage medium, electronic device and system
CN114339288A (en) * 2021-12-30 2022-04-12 北京快来文化传播集团有限公司 Live broadcast interaction method and electronic equipment
CN115334326A (en) * 2022-07-11 2022-11-11 北京达佳互联信息技术有限公司 Live broadcast interaction method and device, electronic equipment and computer readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065109A (en) * 2009-11-17 2011-05-18 新奥特(北京)视频技术有限公司 Processing method and system of lottery draw information
CN103632332A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Subject question and answer method, device and system
US20160071424A1 (en) * 2014-09-04 2016-03-10 Megan Colleen Harney Learning Network System
KR20160086778A (en) * 2016-06-24 2016-07-20 주식회사 츄라이앵클 Method of interactive live streaming lecture broadcasting using webrtc
CN107124619A (en) * 2017-04-28 2017-09-01 暴风集团股份有限公司 User interaction method and interaction platform in a kind of net cast
CN108449612A (en) * 2018-03-28 2018-08-24 广州华多网络科技有限公司 Provide method, apparatus, system, storage medium and the computer equipment of resource
CN108965952A (en) * 2018-08-13 2018-12-07 秦四春 A kind of advertisement interactive approach and apply its device and system
CN109451332A (en) * 2018-11-16 2019-03-08 武汉斗鱼网络科技有限公司 A kind of user property labeling method, device, computer equipment and medium
CN110708565A (en) * 2019-10-22 2020-01-17 广州虎牙科技有限公司 Live broadcast interaction method and device, server and machine-readable storage medium
CN111031335A (en) * 2019-12-09 2020-04-17 网易(杭州)网络有限公司 Data processing method and device, storage medium and electronic equipment
CN111385664A (en) * 2018-12-29 2020-07-07 广州市百果园网络科技有限公司 Interactive data processing method and device for live broadcast room, storage medium and server

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065109A (en) * 2009-11-17 2011-05-18 新奥特(北京)视频技术有限公司 Processing method and system of lottery draw information
CN103632332A (en) * 2013-11-29 2014-03-12 腾讯科技(成都)有限公司 Subject question and answer method, device and system
US20160071424A1 (en) * 2014-09-04 2016-03-10 Megan Colleen Harney Learning Network System
KR20160086778A (en) * 2016-06-24 2016-07-20 주식회사 츄라이앵클 Method of interactive live streaming lecture broadcasting using webrtc
CN107124619A (en) * 2017-04-28 2017-09-01 暴风集团股份有限公司 User interaction method and interaction platform in a kind of net cast
CN108449612A (en) * 2018-03-28 2018-08-24 广州华多网络科技有限公司 Provide method, apparatus, system, storage medium and the computer equipment of resource
CN108965952A (en) * 2018-08-13 2018-12-07 秦四春 A kind of advertisement interactive approach and apply its device and system
CN109451332A (en) * 2018-11-16 2019-03-08 武汉斗鱼网络科技有限公司 A kind of user property labeling method, device, computer equipment and medium
CN111385664A (en) * 2018-12-29 2020-07-07 广州市百果园网络科技有限公司 Interactive data processing method and device for live broadcast room, storage medium and server
CN110708565A (en) * 2019-10-22 2020-01-17 广州虎牙科技有限公司 Live broadcast interaction method and device, server and machine-readable storage medium
CN111031335A (en) * 2019-12-09 2020-04-17 网易(杭州)网络有限公司 Data processing method and device, storage medium and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡菲等: "互动直播教学的模式与技巧探析", 《北京石油管理干部学院学报》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113630610A (en) * 2021-07-02 2021-11-09 武汉斗鱼鱼乐网络科技有限公司 Multi-person continuous-microphone state control method, storage medium, electronic device and system
CN114339288A (en) * 2021-12-30 2022-04-12 北京快来文化传播集团有限公司 Live broadcast interaction method and electronic equipment
CN114339288B (en) * 2021-12-30 2024-01-16 北京快来文化传播集团有限公司 Live broadcast interaction method and electronic equipment
CN115334326A (en) * 2022-07-11 2022-11-11 北京达佳互联信息技术有限公司 Live broadcast interaction method and device, electronic equipment and computer readable storage medium
CN115334326B (en) * 2022-07-11 2024-02-06 北京达佳互联信息技术有限公司 Live interaction method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108235102B (en) Service processing method, device and storage medium
CN113058270B (en) Live interaction method and device, storage medium and electronic equipment
US11992757B2 (en) Synchronization model for virtual tournaments
CN109327709B (en) Prop delivery method and device, computer storage medium and electronic equipment
CN111836068A (en) Live broadcast interaction method and device, server and storage medium
CN104333782B (en) A kind of main broadcaster formulates the order method and system, relevant device of task
CN109451328B (en) Information processing method and device for live game
US20070060387A1 (en) Gaming floor control and configuration system
EP4203478A1 (en) Multi-user live streaming method and apparatus, terminal, server, and storage medium
US20200282311A1 (en) Intervention server and intervention program
CN107801101A (en) For optimizing the system and method with efficient interactive experience
CN110944229A (en) Data processing method and device for live room object
CN112203153B (en) Live broadcast interaction method, device, equipment and readable storage medium
CN113032542B (en) Live broadcast data processing method, device, equipment and readable storage medium
CN112367528B (en) Live broadcast interaction method and computer equipment
CN110225412B (en) Video interaction method, device and storage medium
CN113824983B (en) Data matching method, device, equipment and computer readable storage medium
WO2022213287A1 (en) Live broadcast interaction method and apparatus, live broadcast server, terminal, and storage medium
CN112328142A (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN107579959A (en) Ballot receiving/transmission method, device and the relevant device of client and server end
CN107371067A (en) Information live method, apparatus and system
CN114501104B (en) Interaction method, device, equipment, storage medium and product based on live video
CN112423143B (en) Live broadcast message interaction method, device and storage medium
CN112672179A (en) Method, device and equipment for live game
CN112587935A (en) Live broadcast data processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201027

RJ01 Rejection of invention patent application after publication