Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present disclosure provide a method and an apparatus for displaying a list. The technical scheme is as follows:
in a first aspect, a method of displaying a list is provided, the method comprising:
periodically acquiring anchor accounts logged in various regions in a live broadcast application program, and determining live broadcast scores of the anchor accounts logged in the various regions;
for each region, forming a first list corresponding to the region by account identifications of a first number of anchor accounts with highest live broadcast scores;
and sending the first list to the terminal logged in by each account in the target live broadcast room so as to enable the terminal logged in by each account in the target live broadcast room to display the first list, wherein the target live broadcast room is a live broadcast room to which the anchor account logged in the area belongs.
Optionally, the method further includes:
periodically acquiring live broadcast scores of anchor accounts in all live broadcast rooms in the live broadcast application program;
forming a second list by account identifications of a second number of anchor accounts with highest live broadcast scores;
and sending the second list to the terminals logged in by the accounts in all the live broadcast rooms, so that the terminals logged in by the accounts in all the live broadcast rooms display the second list.
Optionally, the method further includes:
and sending the display modes of the first list and the second list to terminals logged in by each account in the target live broadcast room, wherein the display modes comprise display sequences and display durations of the animation announcement of the first list, the animation announcement of the second list, the animation announcement of the first list and the animation announcement of the second list.
Optionally, the method further includes:
determining an account identifier of a first viewer account, and determining an account identifier of a second viewer account;
adding the account identification of the first audience account to the animation announcements of the first list, and adding the account identification of the second audience account to the animation announcements of the second list;
the first audience account is an account which contributes most resources to the anchor account with the highest live broadcast score in the first list within a statistical period, and the second audience account is an account which contributes most resources to the anchor account with the highest live broadcast score in the second list within the statistical period.
Optionally, the period for obtaining the first list is the same as the period for obtaining the second list.
In a second aspect, a method of displaying a list is provided, the method comprising:
receiving a first list sent by a server, wherein the first list is composed of account identifications of a first number of anchor accounts with highest live broadcast scores in a live broadcast application program, and the first number of anchor accounts with highest live broadcast scores and an anchor account of a live broadcast room to which an account of the device belongs are located in the same region;
and displaying the first list.
Optionally, the method further includes:
receiving a second list sent by the server, wherein the second list is composed of account identifications of a second number of anchor accounts with highest live broadcast scores in all anchor accounts in the live broadcast application program;
the displaying the first list includes:
displaying the first list and the second list.
Optionally, the method further includes:
receiving display modes of the first list and the second list sent by the server, wherein the display modes comprise the animation announcement of the first list, the animation announcement of the second list, the display sequence and the display duration of the animation announcement of the first list and the animation announcement of the second list;
the displaying the first list and the second list includes:
according to the display sequence, displaying the animation announcement of the first list in the display duration of the first list, and displaying the animation announcement of the second list in the display duration of the second list, wherein the animation announcement of the first list comprises an account identifier of a main broadcasting account with the highest live broadcast score in the first list and an identifier of the first list, and the animation announcement of the second list comprises an account identifier of a main broadcasting account with the highest live broadcast score in the second list and an identifier of the second list.
Optionally, the animation announcement of the first list further includes an account identifier of a first audience account, and the animation announcement of the second list further includes an account identifier of a second audience account, where the first audience account is an account that contributes most resources to a main broadcasting account with a highest live broadcast score in the first list within a statistical period, and the second audience account is an account that contributes most resources to a main broadcasting account with a highest live broadcast score in the second list within the statistical period.
Optionally, the method further includes:
when a click instruction of the animation announcement of the first list is received, if the login account of the device is not in a first live broadcasting room to which a main broadcasting account with the highest live broadcasting score belongs in the first list, displaying target indication information, wherein the target indication information is used for indicating that the device enters the first live broadcasting room;
and when an entering instruction is received, adding the first live broadcast room.
Optionally, the method further includes:
when a click instruction of the animation announcement of the second list is received, if the login account of the device is not in a second live broadcast room to which a main broadcast account with the highest live broadcast score belongs in the second list, displaying target indication information, wherein the target indication information is used for indicating that the device enters the second live broadcast room;
and when an entering instruction is received, adding the second live broadcast room.
In a third aspect, an apparatus for displaying a list is provided, the apparatus comprising:
the acquisition module is used for periodically acquiring the anchor account logged in each region in the live broadcast application program;
the determining module is used for determining the live broadcast scores of the anchor accounts logged in each region; for each region, forming a first list corresponding to the region by account identifications of a first number of anchor accounts with highest live broadcast scores;
and the sending module is used for sending the first list to the terminal logged in by each account in the target live broadcast room so as to enable the terminal logged in by each account in the target live broadcast room to display the first list, wherein the target live broadcast room is a live broadcast room to which a main broadcast account logged in the area belongs.
Optionally, the obtaining module is further configured to:
periodically acquiring live broadcast scores of anchor accounts in all live broadcast rooms in the live broadcast application program;
the determining module is further configured to combine account identifications of a second number of anchor accounts with the highest live broadcast scores into a second list;
the sending module is further configured to send the second list to the terminal where each account in all live broadcast rooms is logged in, so that the terminal where each account in all live broadcast rooms is logged in displays the second list.
Optionally, the sending module is further configured to:
and sending the display modes of the first list and the second list to terminals logged in by each account in the target live broadcast room, wherein the display modes comprise display sequences and display durations of the animation announcement of the first list, the animation announcement of the second list, the animation announcement of the first list and the animation announcement of the second list.
Optionally, the determining module is further configured to:
determining an account identifier of a first viewer account, and determining an account identifier of a second viewer account;
the device further comprises:
the adding module is used for adding the account identifier of the first audience account into the animation announcements of the first list and adding the account identifier of the second audience account into the animation announcements of the second list;
the first audience account is an account which contributes most resources to the anchor account with the highest live broadcast score in the first list within a statistical period, and the second audience account is an account which contributes most resources to the anchor account with the highest live broadcast score in the second list within the statistical period.
Optionally, the period for obtaining the first list is the same as the period for obtaining the second list.
In a fourth aspect, an apparatus to display a list is provided, the apparatus comprising:
the receiving module is used for receiving a first list sent by the server, wherein the first list is composed of account identifications of a first number of anchor accounts with highest live broadcast scores in a live broadcast application program, and the first number of anchor accounts with highest live broadcast scores and anchor accounts of a live broadcast room to which the accounts of the device belong are located in the same region;
and the display module is used for displaying the first list.
Optionally, the apparatus further comprises:
the receiving module is used for receiving a second list sent by the server, wherein the second list is composed of account identifications of a second number of anchor accounts with highest live broadcast scores in all anchor accounts in the live broadcast application program;
the display module is used for:
displaying the first list and the second list.
Optionally, the receiving module is further configured to:
receiving display modes of the first list and the second list sent by the server, wherein the display modes comprise the animation announcement of the first list, the animation announcement of the second list, the display sequence and the display duration of the animation announcement of the first list and the animation announcement of the second list;
the display module is used for:
according to the display sequence, displaying the animation announcement of the first list in the display duration of the first list, and displaying the animation announcement of the second list in the display duration of the second list, wherein the animation announcement of the first list comprises an account identifier of a main broadcasting account with the highest live broadcast score in the first list and an identifier of the first list, and the animation announcement of the second list comprises an account identifier of a main broadcasting account with the highest live broadcast score in the second list and an identifier of the second list.
Optionally, the animation announcement of the first list further includes an account identifier of a first audience account, and the animation announcement of the second list further includes an account identifier of a second audience account, where the first audience account is an account that contributes most resources to a main broadcasting account with a highest live broadcast score in the first list within a statistical period, and the second audience account is an account that contributes most resources to a main broadcasting account with a highest live broadcast score in the second list within the statistical period.
Optionally, the display module is further configured to:
when a click instruction of the animation announcement of the first list is received, if the login account of the device is not in a first live broadcasting room to which a main broadcasting account with the highest live broadcasting score belongs in the first list, displaying target indication information, wherein the target indication information is used for indicating that the device enters the first live broadcasting room;
and when an entering instruction is received, adding the first live broadcast room.
Optionally, the display module is further configured to:
when a click instruction of the animation announcement of the second list is received, if the login account of the device is not in a second live broadcast room to which a main broadcast account with the highest live broadcast score belongs in the second list, displaying target indication information, wherein the target indication information is used for indicating that the device enters the second live broadcast room;
and when an entering instruction is received, adding the second live broadcast room.
In a fifth aspect, a system for displaying a list is provided, the system including a terminal and a server, wherein the terminal is the terminal according to the fourth aspect, and the server is the server according to the third aspect.
In a sixth aspect, a computer-readable storage medium is provided, in which a computer program is stored, and when the computer program is executed by a processor, the method for displaying a list can be implemented.
The beneficial effects brought by the technical scheme provided by the embodiment of the disclosure at least comprise:
in the embodiment of the disclosure, anchor accounts logged in each region in a live broadcast application program are periodically acquired, live broadcast scores of the anchor accounts logged in each region are determined, for each region, account identifications of a first number of anchor accounts with the highest live broadcast scores form a first list corresponding to the region, and the first list is sent to a terminal logged in each account in a target live broadcast room, so that the terminal logged in each account in the target live broadcast room displays the first list, wherein the target live broadcast room is the live broadcast room to which the anchor accounts logged in the region belong. Thus, the first list is provided, so that the anchor can see the first list, namely the conditions of other live broadcast rooms, and the experience can be improved.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
The embodiment of the disclosure provides a method for displaying a list, and an execution subject of the method can be a server, wherein the server can be a background server of a live application program.
The server can be provided with a processor, a transceiver and a memory, wherein the processor can be used for processing in the process of displaying the list, the transceiver can be used for receiving and sending data, and the memory can be used for storing data required and generated in the process of displaying the list.
Before implementation, an application scenario related to the embodiment of the present disclosure is first introduced:
in the live broadcast application program, in order to enable the anchor to have a participation sense, ranking is carried out for a certain time, an anchor account with the top ranking forms a list, and the list is displayed in a live broadcast room of the live broadcast application program.
In the embodiment of the present disclosure, a method for displaying a list is provided, as shown in fig. 1, an execution flow of the method may be as follows:
step 101, periodically acquiring anchor accounts logged in each region in a live broadcast application program, and determining live broadcast scores of the anchor accounts logged in each region.
Wherein, the period can be preset, such as 1 hour.
In implementation, in the live application, when the anchor enters a live broadcast room for broadcasting, the terminal used by the anchor acquires the current geographic location and then sends the geographic location to a background server (which may be referred to as a server subsequently) of the live broadcast application. After receiving the address location, the server may correspondingly store the address location, the corresponding anchor account, and the live broadcast room to which the anchor account belongs.
Subsequently, in order to provide a list for the live broadcast application program, the server generally periodically obtains the geographical position of the anchor account login of each live broadcast room, then obtains the corresponding relationship between the geographical position and the area, and determines the area to which the geographical position of the anchor account login belongs in the corresponding relationship, so that the anchor account login in each area can be determined.
Then, for each anchor account, the amount of resources received in the last period may be determined, and the amount of resources received is determined as the live broadcast score of the anchor. For example, the period is 1 hour, the current time is 10 points, the gifts received by the primary account between 9 points and 10 points can be acquired, the gifts are converted into resources (different gifts correspond to different amounts of resources), and the amount of the resources is determined as the live broadcast score of the primary account.
It should be noted that, the terminal acquires the current geographic position, and the terminal can acquire the geographic position only when the live broadcast application has the authority to acquire the address position, otherwise, the terminal cannot acquire the geographic position. In addition, the correspondence between the geographic location and the region may be preset, and is generally set on the premise that the numbers of anchor accounts in each region are substantially the same, and each region includes at least one province. For example, province A has fewer anchor accounts and province B has fewer accounts, and provinces A and B are closer together, so that provinces A and B can be combined into one region. For another example, the number of anchor accounts of the province C is large, and the province C can be directly determined as one region.
Step 102, for each region, forming a first list corresponding to the region by account identifications of a first number of anchor accounts with highest live broadcast scores.
Wherein the first number may be preset and stored in the server, the first number may be 20, and the like.
In an implementation, for any one of the pre-divided regions (which may be referred to as a target region for convenience of description later), the live broadcast scores of the anchor accounts in the target region are sorted in descending order, a first number of the anchor accounts with the top sorting order are selected, and account identifications of the first number of the anchor accounts are combined into a first list. In this way, a first list of target areas may be determined. By using the same method, the first list corresponding to each region can be determined.
And 103, sending a first list to the terminal logged in by each account in the target live broadcast room, wherein the target live broadcast room is a live broadcast room to which the main broadcast account logged in the region belongs.
In implementation, after determining the first list corresponding to each area, the server may determine, for the target area, anchor accounts registered in the target area, then determine live broadcast rooms (i.e., target live broadcast rooms) to which the anchor accounts belong, determine terminals in which all accounts are registered in the live broadcast rooms, send the first list corresponding to the target area to the terminals, and provide the first list to each account in the live broadcast rooms to which the anchor accounts belong in each area in the same manner.
And 104, receiving a first list sent by the server, wherein the first list is composed of account identifications of a first number of anchor accounts with highest live broadcast scores in the live broadcast application program, and the first number of anchor accounts with highest live broadcast scores and the anchor accounts of the live broadcast room to which the accounts of the device belong are located in the same region. And displaying the first list.
In implementation, for a terminal logged in any account in a target live broadcast room, a first list sent by a server may be received, and then the first list may be displayed in a live broadcast interface.
Optionally, the first list is displayed in the live broadcast interface, which may be an entry for displaying the first list, and the user may trigger the terminal to display the first list through the entry.
Optionally, a first list may be displayed at each punctuation.
In this way, since each region corresponds to its own list, the probability of the anchor entering the list is increased, and the participation of the anchor is higher.
Optionally, in this embodiment of the present disclosure, a list corresponding to all anchor accounts in the live application program may also be displayed, and the processing may be as follows:
the method comprises the steps of periodically obtaining live broadcast scores of anchor accounts in all live broadcast rooms in a live broadcast application program, enabling account identifications of a second number of anchor accounts with the highest live broadcast scores to form a second list, and sending the second list to terminals logged in by all accounts in all live broadcast rooms so that the terminals logged in by all accounts in all live broadcast rooms can display the second list. And the terminal receives the second list sent by the server and displays the first list and the second list.
Wherein the second number may be preset and stored in the server, the second number may be 15, and the like. In addition, the second number may be the same as the first number or may be different from the first number.
In implementation, the server may periodically obtain anchor accounts of all anchor rooms in the live broadcast application program, then determine live broadcast scores of the anchor accounts in a previous period, sort the live broadcast scores of the anchor accounts of all the live broadcast rooms in a descending order, and select account identifications of the first second number of live broadcast accounts to form a second list.
Then, the second list can be sent to the terminals logged in by the accounts in all the live broadcast rooms, so that the terminals of the accounts in each live broadcast room in the live broadcast application program can receive the first list and the second list, and the first list seen by the user in each area is different. In this way, the terminal of each account may display the first and second lists.
Here, each live broadcast room in the above-mentioned live broadcast application refers to a live broadcast room in a region where the anchor account can be registered.
Optionally, the period for acquiring the first list and the period for acquiring the second list may be the same. The embodiments of the present disclosure take the same acquisition period as an example for explanation.
Optionally, as shown in fig. 2, the first list and the second list may be displayed in the upper left corner of the live interface (the live screen in the figure is not shown).
Optionally, in order to better display the first list and the second list in the live interface, the server and the terminal may process as follows:
and the server sends the display modes of the first list and the second list to the terminal logged in by each account in the target live broadcast room. The terminal receives the display modes of the first list and the second list sent by the server, displays the animation announcement of the first list and the animation announcement of the second list according to the display sequence, displays the animation announcement of the first list within the display duration of the first list, and displays the animation announcement of the second list within the display duration of the second list.
In implementation, the server is configured with the animation announcement of the list in advance, and after the first list and the second list are determined, the information of the first list and the information of the second list can be respectively added to the animation announcement of the list to obtain the animation announcement of the first list and the animation announcement of the second list. And the display sequence of the animation announcements of the first list and the second list, the display duration of the animation announcements of the first list and the display duration of the animation announcements of the second list are also configured in advance. The display duration of the animation announcement of the first list and the display duration of the animation announcement of the second list may be equal or unequal, and may be 5 seconds when equal, and when unequal, the display duration of the animation announcement of the first list may be 10 seconds, and the display duration of the animation announcement of the second list may be 5 seconds. Thus, the display modes of the first list and the second list are obtained.
The server can send the display modes of the first list and the second list to the terminal logged in by each account in the target live broadcast room.
After the terminal logged in each account in the target live broadcast room receives the received information, the animation announcement of the first list can be displayed within the display duration of the animation announcement of the first list, the animation announcement of the second list can be displayed within the display duration of the animation announcement of the second list, the animation announcement of the first list and the animation announcement of the second list can be displayed above a live broadcast interface, as shown in fig. 3, the animation announcement of the first list comprises an account identifier (anchor a) of a main broadcast account with the highest live broadcast score in the first list and an identifier of the first list, and the animation announcement of the second list comprises an account identifier of a main broadcast account with the highest live broadcast score in the second list and an identifier of the second list.
Optionally, when the animation announcement of the first list and the animation announcement of the second list are displayed, the new animation announcement may be displayed at the same time, the first list and the second list may also be displayed at the same time, and after the new first list and the new second list are received in the next period, the old first list and the old second list are replaced.
Optionally, in order to make the participation degree of each user in the live broadcast room higher, the server may further provide the audience account with the most resource contribution, and the processing may be as follows:
determining an account identifier of a first viewer account, and determining an account identifier of a second viewer account;
adding the account identification of the first audience account to the animation announcements of the first list, and adding the account identification of the second audience account to the animation announcements of the second list.
In an implementation, for the target region, a anchor account with the highest live score in the target region (which may be referred to as a first anchor account) may be determined, then an account with the highest contribution resources to the first anchor account (i.e., the most gifts) in the statistical period of the time, that is, a first audience account, is determined, and then the account identification of the first audience account is added to the animation announcement of the first list. In this way, as shown in fig. 4, when the follow-up terminal displays the animated announcement of the first list, the account identifier of the first audience account (audience B) may be displayed.
The server may further determine, in the statistical period, an account that contributes the highest resources (i.e., delivers the most gifts) to the second anchor account, that is, a second audience account, and add an account identifier of the second audience account to the animation announcement of the second list, so that when the animation announcement of the second list is displayed by a subsequent terminal, the account identifier of the second audience account may be displayed.
For the statistical period, determining the period of the first list as 1 hour, determining the period of the second list as 1 hour, determining the first list and the second list at each whole point, and if the current time point is 10 points, determining the previous statistical period as 9 to 10 points.
The order of the account identifier of the first audience account, the account identifier of the anchor account, and the identifier of the first list included in the animation announcement of the first list may be adjusted at will, which is not limited in the embodiment of the present disclosure. Similarly, the order of the account identifier of the second audience account, the account identifier of the anchor account, and the identifier of the second list included in the animation announcement of the second list may be optionally adjusted, which is not limited in the embodiment of the disclosure.
In addition, the animation announcement of the first list may further include an entry of the first list, the first list may be displayed by triggering the entry, the animation announcement of the second list may further include an entry of the second list, and the second list may be displayed by triggering the entry.
In addition, if the entry of the first list is not displayed in the animated announcement of the first list but is displayed in the upper left corner of the live interface, the animated announcement of the first list may override the entry of the first list. And the display priority of the animation announcements of the first list is lower than the information of the gift large animation, the anchor account and the like.
Similarly, if the entry in the second list is not displayed in the animated announcement in the second list but is displayed in the upper left corner of the live interface, the animated announcement in the second list may override the entry in the second list. And the display priority of the animation announcements of the second list is lower than the information of the gift large animation, the anchor account and the like.
In addition, the animation announcement of the first list may be displayed together with the animation announcement of the second list (as shown in fig. 5, the upper animation announcement displays the identifier, the anchor a and the audience B of the first list, and the lower animation announcement displays the identifier, the anchor C and the audience D of the second list), or may be displayed in a scrolling manner, where the display duration of the animation announcement of the first list is the display duration of the first list, and the display duration of the animation announcement of the second list is the display duration of the second list.
Optionally, in this embodiment of the present disclosure, a method for quickly entering a live broadcast room to which a anchor account with a highest live broadcast score in a first list belongs is further provided, and the processing may be as follows:
when a click instruction of the animation announcement of the first list is received, if the login account of the equipment is not in a first live broadcasting room to which a main broadcasting account with the highest live broadcasting score belongs in the first list, target indication information is displayed, and the target indication information is used for indicating that the equipment enters the first live broadcasting room and is added into the first live broadcasting room when the entering instruction is received.
In implementation, if a user wants to enter a live broadcast room to which a main broadcast account with the highest live broadcast score in the first list belongs, any position of animation announcement in the first list can be clicked, a terminal used by the user can receive a click instruction, the terminal can acquire whether the current live broadcast room and the live broadcast room to which the main broadcast account with the highest live broadcast score in the first list belongs are the same live broadcast room, if not, target prompt information can be displayed, and the target prompt information comprises an entering option and a canceling option. The user can click the entry option, and the terminal receives an entry instruction of the entry option and joins the first live broadcast room. And if the user clicks the cancel option, the terminal does not display the target prompt message.
In addition, if the live broadcasting rooms are the same, the display of the target prompt information cannot be triggered, namely the animation announcement of the first list belongs to the non-clickable state.
Optionally, in this embodiment of the present disclosure, a method for quickly entering a live broadcast room to which a anchor account with a highest live broadcast score in the second list belongs is further provided, and the processing may be as follows:
when a click instruction of the animation announcement of the second list is received, if the login account of the device is not in a second live broadcast room to which the anchor broadcast account with the highest live broadcast score belongs in the second list, target indication information is displayed, and the target indication information is used for indicating to enter the second live broadcast room and is added into the second live broadcast room when the entry instruction is received.
In implementation, if the user wants to enter the live broadcast room to which the anchor account with the highest live broadcast score in the second list belongs, any position of the animation announcement in the second list can be clicked, a terminal used by the user receives the click instruction, and the terminal can acquire whether the current live broadcast room is the same as the live broadcast room to which the anchor account with the highest live broadcast score in the second list belongs, as shown in fig. 6, if the current live broadcast room is not the same as the live broadcast room, target prompt information can be displayed, and the target prompt information includes an entry option and a cancel option. The user can click the entry option, and the terminal receives an entry instruction of the entry option and joins the second live broadcast room. And if the user clicks the cancel option, the terminal does not display the target prompt message.
In addition, if the live broadcast rooms are the same, the display of the target prompt information cannot be triggered, namely the animation announcement of the second list belongs to an unlinkable state.
It should be noted that, in the embodiments of the present disclosure, the mentioned animated announcement may also be referred to as a flying screen announcement.
In the embodiment of the disclosure, anchor accounts logged in each region in a live broadcast application program are periodically acquired, live broadcast scores of the anchor accounts logged in each region are determined, for each region, account identifications of a first number of anchor accounts with the highest live broadcast scores form a first list corresponding to the region, and the first list is sent to a terminal logged in each account in a target live broadcast room, so that the terminal logged in each account in the target live broadcast room displays the first list, wherein the target live broadcast room is the live broadcast room to which the anchor accounts logged in the region belong. Thus, the first list is provided, so that the anchor can see the first list, namely the conditions of other live broadcast rooms, and the experience can be improved.
Based on the same technical concept, an embodiment of the present disclosure further provides a server, as shown in fig. 7, the server including:
an obtainingmodule 710, configured to periodically obtain a anchor account logged in each region in a live broadcast application;
a determiningmodule 720, configured to determine a live broadcast score of the anchor account logged in each region; for each region, forming a first list corresponding to the region by account identifications of a first number of anchor accounts with highest live broadcast scores;
the sendingmodule 730 is configured to send the first list to the terminal where each account in the target live broadcast room is logged in, so that the terminal where each account in the target live broadcast room is logged in displays the first list, where the target live broadcast room is a live broadcast room to which a main broadcast account logged in the area belongs.
Optionally, the obtainingmodule 710 is further configured to:
periodically acquiring live broadcast scores of anchor accounts in all live broadcast rooms in the live broadcast application program;
the determiningmodule 720 is further configured to combine the account identifications of the second number of anchor accounts with the highest live broadcast scores into a second list;
the sendingmodule 730 is further configured to send the second list to the terminal where each account in all the live broadcast rooms is logged in, so that the terminal where each account in all the live broadcast rooms is logged in displays the second list.
Optionally, the sendingmodule 730 is further configured to:
and sending the display modes of the first list and the second list to terminals logged in by each account in the target live broadcast room, wherein the display modes comprise display sequences and display durations of the animation announcement of the first list, the animation announcement of the second list, the animation announcement of the first list and the animation announcement of the second list.
Optionally, the determiningmodule 720 is further configured to:
determining an account identifier of a first viewer account, and determining an account identifier of a second viewer account;
as shown in fig. 8, the apparatus further includes:
an addingmodule 740, configured to add the account identifier of the first audience account to the animation announcement of the first list, and add the account identifier of the second audience account to the animation announcement of the second list;
the first audience account is an account which contributes most resources to the anchor account with the highest live broadcast score in the first list within a statistical period, and the second audience account is an account which contributes most resources to the anchor account with the highest live broadcast score in the second list within the statistical period.
Optionally, the period for obtaining the first list is the same as the period for obtaining the second list.
Based on the same technical concept, an embodiment of the present disclosure further provides a terminal, as shown in fig. 9, where the terminal includes:
areceiving module 910, configured to receive a first list sent by a server, where the first list is composed of account identifiers of first number of anchor accounts with highest live broadcast scores in a live broadcast application, and the first number of anchor accounts with highest live broadcast scores and an anchor account of a live broadcast room to which an account of the device belongs are located in the same area;
thedisplay module 920 is configured to display the first list.
Optionally, the receivingmodule 910 is further configured to receive a second list sent by the server, where the second list is composed of account identifiers of a second number of anchor accounts with highest live broadcast scores in all anchor accounts in the live broadcast application;
thedisplay module 920 is configured to:
displaying the first list and the second list.
Optionally, the receiving module 930 is further configured to:
receiving display modes of the first list and the second list sent by the server, wherein the display modes comprise the animation announcement of the first list, the animation announcement of the second list, the display sequence and the display duration of the animation announcement of the first list and the animation announcement of the second list;
thedisplay module 920 is configured to:
according to the display sequence, displaying the animation announcement of the first list in the display duration of the first list, and displaying the animation announcement of the second list in the display duration of the second list, wherein the animation announcement of the first list comprises an account identifier of a main broadcasting account with the highest live broadcast score in the first list and an identifier of the first list, and the animation announcement of the second list comprises an account identifier of a main broadcasting account with the highest live broadcast score in the second list and an identifier of the second list.
Optionally, the animation announcement of the first list further includes an account identifier of a first audience account, and the animation announcement of the second list further includes an account identifier of a second audience account, where the first audience account is an account that contributes most resources to a main broadcasting account with a highest live broadcast score in the first list within a statistical period, and the second audience account is an account that contributes most resources to a main broadcasting account with a highest live broadcast score in the second list within the statistical period.
Optionally, thedisplay module 920 is further configured to:
when a click instruction of the animation announcement of the first list is received, if the login account of the device is not in a first live broadcasting room to which a main broadcasting account with the highest live broadcasting score belongs in the first list, displaying target indication information, wherein the target indication information is used for indicating that the device enters the first live broadcasting room;
and when an entering instruction is received, adding the first live broadcast room.
Optionally, thedisplay module 920 is further configured to:
when a click instruction of the animation announcement of the second list is received, if the login account of the device is not in a second live broadcast room to which a main broadcast account with the highest live broadcast score belongs in the second list, displaying target indication information, wherein the target indication information is used for indicating that the device enters the second live broadcast room;
and when an entering instruction is received, adding the second live broadcast room.
In the embodiment of the disclosure, anchor accounts logged in each region in a live broadcast application program are periodically acquired, live broadcast scores of the anchor accounts logged in each region are determined, for each region, account identifications of a first number of anchor accounts with the highest live broadcast scores form a first list corresponding to the region, and the first list is sent to a terminal logged in each account in a target live broadcast room, so that the terminal logged in each account in the target live broadcast room displays the first list, wherein the target live broadcast room is the live broadcast room to which the anchor accounts logged in the region belong. Thus, the first list is provided, so that the anchor can see the first list, namely the conditions of other live broadcast rooms, and the experience can be improved.
It should be noted that: in the server or the terminal provided in the above embodiments, when displaying the list, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules as needed, that is, the internal structure of the server or the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the server or the terminal provided by the above embodiment and the method embodiment for displaying the list belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment and is not described herein again.
Fig. 10 shows a block diagram of a terminal 1000 according to an exemplary embodiment of the present invention. The terminal 1000 can be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 1000 can also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or the like by other names.
In general, terminal 1000 can include: aprocessor 1001 and amemory 1002.
Processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. Theprocessor 1001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Theprocessor 1001 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, theprocessor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, theprocessor 1001 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1002 may include one or more computer-readable storage media, which may be non-transitory. Thememory 1002 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium inmemory 1002 is used to store at least one instruction for execution byprocessor 1001 to implement a method of displaying a list provided by method embodiments of the present application.
In some embodiments, terminal 1000 can also optionally include: aperipheral interface 1003 and at least one peripheral. Theprocessor 1001,memory 1002 andperipheral interface 1003 may be connected by a bus or signal line. Various peripheral devices may be connected toperipheral interface 1003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1004,touch screen display 1005,camera 1006,audio circuitry 1007,positioning components 1008, andpower supply 1009.
Theperipheral interface 1003 may be used to connect at least one peripheral related to I/O (Input/Output) to theprocessor 1001 and thememory 1002. In some embodiments,processor 1001,memory 1002, andperipheral interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of theprocessor 1001, thememory 1002, and theperipheral interface 1003 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 1004 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1004 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 comprises: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1004 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 1004 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
Thedisplay screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When thedisplay screen 1005 is a touch display screen, thedisplay screen 1005 also has the ability to capture touch signals on or over the surface of thedisplay screen 1005. The touch signal may be input to theprocessor 1001 as a control signal for processing. At this point, thedisplay screen 1005 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments,display screen 1005 can be one, providing a front panel of terminal 1000; in other embodiments,display 1005 can be at least two, respectively disposed on different surfaces of terminal 1000 or in a folded design; in still other embodiments,display 1005 can be a flexible display disposed on a curved surface or on a folded surface of terminal 1000. Even more, thedisplay screen 1005 may be arranged in a non-rectangular irregular figure, i.e., a shaped screen. TheDisplay screen 1005 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
Thecamera assembly 1006 is used to capture images or video. Optionally, thecamera assembly 1006 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments,camera assembly 1006 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Theaudio circuit 1007 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to theprocessor 1001 for processing or inputting the electric signals to the radio frequency circuit 1004 for realizing voice communication. For stereo sound collection or noise reduction purposes, multiple microphones can be provided, each at a different location of terminal 1000. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from theprocessor 1001 or the radio frequency circuit 1004 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, theaudio circuit 1007 may also include a headphone jack.
ALocation component 1008 is employed to locate a current geographic Location of terminal 1000 for purposes of navigation or LBS (Location Based Service). ThePositioning component 1008 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
Power supply 1009 is used to supply power to various components in terminal 1000. Thepower source 1009 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When thepower source 1009 includes a rechargeable battery, the rechargeable battery may support wired charging or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1000 can also include one or more sensors 1010. The one or more sensors 1010 include, but are not limited to: acceleration sensor 1011, gyro sensor 1012, pressure sensor 1013, fingerprint sensor 1014, optical sensor 1015, and proximity sensor 1016.
Acceleration sensor 1011 can detect acceleration magnitudes on three coordinate axes of a coordinate system established with terminal 1000. For example, the acceleration sensor 1011 may be used to detect components of the gravitational acceleration in three coordinate axes. Theprocessor 1001 may control thetouch display screen 1005 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1012 may detect a body direction and a rotation angle of the terminal 1000, and the gyro sensor 1012 and the acceleration sensor 1011 may cooperate to acquire a 3D motion of the user on theterminal 1000. From the data collected by the gyro sensor 1012, theprocessor 1001 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensor 1013 may be disposed on a side frame of terminal 1000 and/or on a lower layer oftouch display 1005. When pressure sensor 1013 is disposed on a side frame of terminal 1000, a user's grip signal on terminal 1000 can be detected, andprocessor 1001 performs left-right hand recognition or shortcut operation according to the grip signal collected by pressure sensor 1013. When the pressure sensor 1013 is disposed at a lower layer of thetouch display screen 1005, theprocessor 1001 controls the operability control on the UI interface according to the pressure operation of the user on thetouch display screen 1005. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1014 is used to collect a fingerprint of the user, and theprocessor 1001 identifies the user according to the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, theprocessor 1001 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying, and changing settings, etc. Fingerprint sensor 1014 can be disposed on the front, back, or side of terminal 1000. When a physical key or vendor Logo is provided on terminal 1000, fingerprint sensor 1014 can be integrated with the physical key or vendor Logo.
The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, theprocessor 1001 may control the display brightness of thetouch display screen 1005 according to the intensity of the ambient light collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of thetouch display screen 1005 is increased; when the ambient light intensity is low, the display brightness of thetouch display screen 1005 is turned down. In another embodiment, theprocessor 1001 may also dynamically adjust the shooting parameters of thecamera assembly 1006 according to the intensity of the ambient light collected by the optical sensor 1015.
Proximity sensor 1016, also known as a distance sensor, is typically disposed on a front panel of terminal 1000. Proximity sensor 1016 is used to gather the distance between the user and the front face of terminal 1000. In one embodiment, when proximity sensor 1016 detects that the distance between the user and the front surface of terminal 1000 gradually decreases,processor 1001 controlstouch display 1005 to switch from a bright screen state to a dark screen state; when proximity sensor 1016 detects that the distance between the user and the front of terminal 1000 is gradually increased,touch display screen 1005 is controlled byprocessor 1001 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in FIG. 10 is not intended to be limiting and that terminal 1000 can include more or fewer components than shown, or some components can be combined, or a different arrangement of components can be employed.
Fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention, where theserver 1100 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 1101 and one ormore memories 1102, where thememory 1102 stores at least one instruction, and the at least one instruction is loaded and executed by theprocessors 1101 to implement the method steps of displaying the list.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.