CN113312566A - Live broadcast room list display method, device, equipment and storage medium - Google Patents

Live broadcast room list display method, device, equipment and storage medium Download PDF

Info

Publication number
CN113312566A
CN113312566A CN202110597355.3A CN202110597355A CN113312566A CN 113312566 A CN113312566 A CN 113312566A CN 202110597355 A CN202110597355 A CN 202110597355A CN 113312566 A CN113312566 A CN 113312566A
Authority
CN
China
Prior art keywords
live broadcast
broadcast room
room list
list
live
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
CN202110597355.3A
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.)
Hangzhou Miluoxing Technology Group Co ltd
Original Assignee
Hangzhou Miluoxing Technology Group 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 Hangzhou Miluoxing Technology Group Co ltd filed Critical Hangzhou Miluoxing Technology Group Co ltd
Priority to CN202110597355.3A priority Critical patent/CN113312566A/en
Publication of CN113312566A publication Critical patent/CN113312566A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/954Navigation, e.g. using categorised browsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a live broadcast room list display method, device, equipment and storage medium, and relates to the technical field of network live broadcast. The method comprises the following steps: receiving a live broadcast room list acquisition request sent by a terminal; the live broadcast room list acquisition request comprises the following steps: page number information of the requested target live broadcast room list; searching a target live broadcast room list matched with the page number of the target live broadcast room list from the live broadcast room list stored in the target cache according to the live broadcast room list acquisition request; the target cache is used for storing a live broadcast room list obtained after live broadcast room sequencing is performed on a live broadcast room to be displayed based on a preset sequencing rule; and returning the target live broadcast room list to the terminal so that the terminal displays the target live broadcast room list. Therefore, the problem that a user repeatedly checks the same live broadcast room or misses an interested live broadcast room when the user acquires the live broadcast room list is effectively solved, the efficiency of displaying the live broadcast room list is improved, and the watching experience of the user is improved.

Description

Live broadcast room list display method, device, equipment and storage medium
Technical Field
The application relates to the technical field of network live broadcast, in particular to a live broadcast room list display method, device, equipment and storage medium.
Background
With the improvement of network technology, more and more users use terminals such as computers and mobile phones to watch various live programs on line through a network.
At present, after a user logs in a live broadcast application program through a terminal, the user can obtain a live broadcast room list displayed in a live broadcast hall, for example, an arrangement sequence of a plurality of live broadcast rooms in the live broadcast room list can be generated according to a live broadcast state, a room label, a heat degree and other sequencing rules of each live broadcast room, but the live broadcast state, the heat degree and other rules in the sequencing rules are dynamically changed, so that the sequence of each live broadcast room in the live broadcast room list can also be changed in real time. This may result in the user viewing duplicate live rooms. For example, if the user acquires the first page of data in the live broadcast room list, the live broadcast room a may be in the first page, and when the user acquires the second page of data, the live broadcast room a is displayed on the second page due to the change of the arrangement order of the live broadcast rooms, so that the user repeatedly views the live broadcast room a, which affects the viewing experience of the user.
Disclosure of Invention
The present invention aims to provide a method, an apparatus, a device and a storage medium for displaying a live broadcast room list, so as to solve the problem that a user repeatedly views the same live broadcast room or misses an interested live broadcast room when obtaining a live broadcast room list, improve the efficiency of displaying the live broadcast room list, and improve the viewing experience of the user.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a live broadcast list display method, which is applied to a server and includes:
receiving a live broadcast room list acquisition request sent by a terminal; wherein, the live broadcast room list acquiring request comprises: page number information of the requested target live broadcast room list;
searching a target live broadcast room list matched with the page number of the target live broadcast room list from a live broadcast room list stored in a target cache according to the live broadcast room list acquisition request, wherein the target cache is used for storing a live broadcast room list obtained after live broadcast room sequencing is performed on a live broadcast room to be displayed based on a preset sequencing rule;
and returning the target live broadcast room list to the terminal so that the terminal displays the target live broadcast room list.
Optionally, before searching, according to the live view list obtaining request, a target live view list that matches a page number of the target live view list from a live view list stored in a target cache, the method includes:
acquiring at least one piece of access behavior information of a user corresponding to the terminal; wherein the at least one access behavior information of the user comprises: daily visit live broadcast room label, daily cumulative consumption, monthly cumulative consumption, attention live broadcast room label;
sequencing the live broadcast rooms to be displayed according to the at least one piece of access behavior information of the user to obtain a sequenced live broadcast room list;
and storing the sorted live broadcast room list into the target cache.
Optionally, the sorting the to-be-displayed live broadcast rooms according to the at least one access behavior information of the user to obtain a sorted live broadcast room list includes:
determining the access frequency of the user to the live broadcast rooms of all the label types according to the access data of the user to the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
respectively and randomly acquiring a live broadcast room list containing the live broadcast rooms of the label types;
and according to the sequencing of the live broadcast rooms of the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of the label types to obtain the sequenced live broadcast room list.
Optionally, the sorting the to-be-displayed live broadcast rooms according to the at least one access behavior information of the user to obtain a sorted live broadcast room list includes:
determining the access frequency of the user to the live broadcast rooms of all the label types according to the access data of the user to the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
according to the sequence of the live broadcast rooms of the label types, configuring proportion for the live broadcast rooms of the label types;
respectively and randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing each label type;
and according to the proportion of the live broadcast rooms of all the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of all the label types to obtain the sequenced live broadcast room list.
Optionally, the sorting the to-be-displayed live broadcast rooms according to the at least one access behavior information of the user to obtain a sorted live broadcast list includes:
acquiring access data of a user aiming at the label type of each live broadcast room;
randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing all the label types;
according to the recommendation proportion of the live broadcast rooms of all the label types, list-room sequencing is carried out on the obtained multiple live broadcast room lists of all the label types, and the sequenced live broadcast room lists are obtained.
Optionally, the method further comprises:
and if the cache duration of the live broadcast room list stored in the target cache exceeds the cache failure duration, re-acquiring the live broadcast room list comprising a plurality of live broadcast rooms.
Optionally, the searching, according to the live broadcast list obtaining request, a target live broadcast list matched with a page number of the target live broadcast list from a live broadcast list stored in a target cache further includes:
and if the interval duration of the live broadcast room list acquisition request sent by the terminal exceeds the refreshing duration, re-acquiring a live broadcast room list comprising a plurality of live broadcast rooms, and returning the first page in the re-acquired live broadcast room list to the terminal.
In a second aspect, an embodiment of the present application further provides a live broadcast room list display apparatus, which is applied to a server, and the apparatus includes:
the receiving module is used for receiving a live broadcast room list acquisition request sent by a terminal; wherein, the live broadcast room list acquiring request comprises: page number information of the requested target live broadcast room list;
the searching module is used for searching a target live broadcast room list matched with the page number of the target live broadcast room list from a live broadcast room list stored in a target cache according to the live broadcast room list obtaining request, wherein the target cache is used for storing a live broadcast room list obtained after live broadcast room sorting is executed for one time in a live broadcast room to be displayed based on a preset sorting rule;
and the returning module is used for returning the target live broadcast room list to the terminal so that the terminal can display the target live broadcast room list.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring at least one piece of access behavior information of a user corresponding to the terminal; wherein the at least one access behavior information of the user comprises: daily visit live broadcast room label, daily cumulative consumption, monthly cumulative consumption, attention live broadcast room label;
the sorting module is used for sorting the live broadcast rooms to be displayed according to at least one piece of access behavior information of the user to obtain a sorted live broadcast room list;
and the storage module is used for storing the sorted live broadcast room list into the target cache.
Optionally, the sorting module is further configured to:
determining the access frequency of the user to the live broadcast rooms of all the label types according to the access data of the user to the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
respectively and randomly acquiring a live broadcast room list containing the live broadcast rooms of the label types;
and according to the sequencing of the live broadcast rooms of the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of the label types to obtain the sequenced live broadcast room list.
Optionally, the sorting module is further configured to:
determining the access frequency of the user to the live broadcast rooms of all the label types according to the access data of the user to the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
according to the sequence of the live broadcast rooms of the label types, configuring proportion for the live broadcast rooms of the label types;
respectively and randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing each label type;
and according to the proportion of the live broadcast rooms of all the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of all the label types to obtain the sequenced live broadcast room list.
Optionally, the sorting module is further configured to:
acquiring access data of a user aiming at the label type of each live broadcast room;
randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing all the label types;
according to the recommendation proportion of the live broadcast rooms of all the label types, list-room sequencing is carried out on the obtained multiple live broadcast room lists of all the label types, and the sequenced live broadcast room lists are obtained.
Optionally, the obtaining module is further configured to obtain the live broadcast room list including the plurality of live broadcast rooms again if the cache duration of the live broadcast room list stored in the target cache exceeds the cache expiration duration.
Optionally, the obtaining module is further configured to, if an interval duration of a live broadcast room list obtaining request sent by the terminal exceeds a refresh duration, re-obtain a live broadcast room list including a plurality of live broadcast rooms, and return a first page in the re-obtained live broadcast room list to the terminal.
In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the method provided by the first aspect.
In a fourth aspect, this embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the method provided in the first aspect.
The beneficial effect of this application is:
the embodiment of the application provides a live broadcast room list display method, a device, equipment and a storage medium, wherein the method comprises the following steps: receiving a live broadcast room list acquisition request sent by a terminal; wherein, the live broadcast room list acquisition request comprises: page number information of the requested target live broadcast room list; searching a target live broadcast room list matched with the page number of the target live broadcast room list from the live broadcast room list stored in the target cache according to the live broadcast room list acquisition request; the target cache is used for storing a live broadcast room list obtained after live broadcast room sequencing is performed on a live broadcast room to be displayed based on a preset sequencing rule; and returning the target live broadcast room list to the terminal so that the terminal displays the target live broadcast room list. In the scheme, a target live broadcasting room list matched with the page number of the target live broadcasting room list is searched from a live broadcasting room list obtained by performing live broadcasting room sorting on live broadcasting rooms to be displayed based on a preset sorting rule according to 'page number information of the requested target live broadcasting room list' in a live broadcasting room list acquisition request, this ensures that the order of arrangement between the live rooms in the live room list does not change in real time, so as to ensure that the target live broadcast room list to be displayed returned to the terminal does not have the repeated phenomenon, effectively solving the problem that the user repeatedly checks the same live broadcast room or misses a certain interested live broadcast room when obtaining the live broadcast room list, therefore, the user can accurately acquire the interested live broadcast room, the efficiency of displaying the live broadcast room list is effectively improved, and the viewing experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of a live broadcast room list display system according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a live broadcast room list display method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application;
fig. 7 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application;
fig. 8 is an overall flowchart of a live broadcast room list display method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a live broadcast room list display device according to an embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that in the embodiments of the present application, the term "comprising" is used to indicate the presence of the features stated hereinafter, but does not exclude the addition of further features.
First, before the technical solution provided by the present application is specifically explained, the technical problem to be solved by the present application is briefly explained.
Generally, since a plurality of live rooms cannot be presented in a live lobby interface at one time, the plurality of live rooms need to be displayed in a paging live room list manner.
At present, in the prior art, the arrangement sequence of a plurality of live webcasts in a live webcast list is mainly generated according to the live webcast status, room labels, heat degree and other sequencing rules of the live webcasts, but the live webcast status, the heat degree and other rules in the "sequencing rules" are dynamically changed, so that the sequence of the live webcasts in the live webcast list can also be changed in real time. This may result in the user viewing duplicate live rooms.
Therefore, it is desirable to provide a live broadcast room list display method to solve the problem that a user repeatedly views a live broadcast room when obtaining a live broadcast room list displayed in a live broadcast hall.
Therefore, the application scheme provides a brand-new operation scheme for the scene that the user acquires the live broadcast room list displayed by the live broadcast hall. When a user needs to acquire a first page in a live broadcast room list, the user sends a live broadcast room list acquisition request to a server through a terminal, the server acquires a live broadcast room list comprising a plurality of live broadcast rooms according to the live broadcast room list acquisition request, for example, the live broadcast room list comprises 500 live broadcast rooms, the live broadcast room list comprising 500 live broadcast rooms is cached to the server, then, the cached first page in the live broadcast room list is returned to the terminal, so that the first page in the live broadcast room list is displayed on a terminal display screen of the user, and when the user acquires a second page, the server returns the cached second page in the live broadcast room list.
For example, the list of live rooms to be displayed includes 100 live rooms, and when the live room interface is displayed, only 50 live rooms can be displayed at a time, that is, 100 live rooms to be displayed need to be divided into 2 pages to be displayed. It can also be understood that the first page to be presented at the terminal is the live rooms ordered 1-50 in the list of live rooms to be presented, and the second page to be presented is the live room 51-100.
Therefore, when the user acquires the live broadcast room list, the problem that the user repeatedly views the live broadcast room is avoided, and the viewing experience of the user is improved.
The framework of the live-air list presentation system provided by the application is briefly described through a plurality of embodiments as follows.
Fig. 1 is a schematic structural diagram of a live broadcast room list display system according to an embodiment of the present application; as shown in fig. 1, the live room list presentation system 100 includes: one or more of the terminal 101, the server 102, and the network 103 may include a processor for executing instructions in the terminal 101 and the server 102. The terminal 101 and the server 102 may be communicatively connected through a network 103.
In an implementation manner, for example, as shown in fig. 1, the terminal 101 and the server 102 are deployed and operated independently in different electronic devices, for example, the terminal 101 may be a computer, a mobile internet device, a tablet, a mobile phone terminal, and other devices having an operation function and a display function, and the server 102 is a processing device deployed in a server and having a data processing function.
In another implementation manner, the terminal 101 and the server 102 may also be deployed in the same electronic device, such as a processing device like a computer or a server, and have a data processing function and a visualization interface, which are not specifically described in this embodiment.
In some embodiments, the live broadcast room list presentation system 100 may include one or more terminals 101, where the terminals 101 may be electronic devices with operation functions and display functions, such as computers, mobile internet devices, tablets, mobile phone terminals, and other electronic devices, and a live broadcast application program is installed on the terminals 101, so that a user may enter a target live broadcast room through the live broadcast application program installed in advance on the terminals 101 to view various live broadcast videos.
The server 102 may be a terminal device or a computing device such as a server having a data processing function.
The network 103 may be used for the exchange of information and/or data, for example, the network 103 may be any type of wired or wireless network, or any combination thereof.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative and that the live room listing presentation system 100 may include more or fewer components than shown in fig. 1 or may have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
Fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure; the electronic device may be a processing device with a display function and an operation function, such as a computer, a mobile internet device, a tablet, a mobile phone terminal, a computer, a server, and the like, and is configured to deploy and operate the terminal 101 and the server 102 in fig. 1, so as to implement the live broadcast room list display method of the present application.
As shown in fig. 2, the server 102 includes a memory 201, a processor 202, and a communication unit 203. The memory 201, the processor 202 and the communication unit 203 are electrically connected to each other 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 201 stores software functional modules stored in the memory 201 in the form of software or firmware (firmware), and the processor 202 executes various functional applications and data processing by running the software programs and modules stored in the memory 201, that is, implements the information distribution processing method in the embodiment of the present invention.
The Memory 201 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), and the like. The memory 201 is used for storing a program, and the processor 202 executes the program after receiving an execution instruction.
The processor 202 may be an integrated circuit chip having signal processing capabilities. The Processor 202 may be a general-purpose Processor including a Central Processing Unit (CPU), a Network Processor (NP), and the like.
The communication unit 203 is configured to establish a communication connection between the terminal 101 and the server 102 through the network 103, so as to implement transceiving operations of network signals and data information.
The following describes an implementation principle of the live broadcast room list display method applied to the server side step and corresponding beneficial effects through a plurality of specific embodiments.
Fig. 3 is a schematic flowchart of a live broadcast room list display method according to an embodiment of the present application; optionally, the execution subject of the method may be the server shown in fig. 1, as shown in fig. 3, the method includes:
s301, receiving a live broadcast room list acquisition request sent by a terminal.
Wherein, the live broadcast room list acquisition request comprises: page number information of the requested list of target live rooms.
In this embodiment, the live room list may include: a lobby list of a live room, a user attention list, a recommendation list of the live room, etc.
Generally, when a terminal acquires a live broadcast room list to be displayed, the terminal starts to acquire from a first page in the live broadcast room list, and after a user browses the first page in the live broadcast room list, the terminal can continue to acquire a second page, a third page and the like in the live broadcast room list.
Therefore, the live broadcast list acquisition request sent by the terminal to the server includes: the page number information of the requested target live room list, such as the page number information of the requested target live room list in the "live room list acquisition request", is the first page or the second page.
In addition, in this embodiment, for example, the "live broadcast room list obtaining request" sent by the client to the service fee may further include: basic information such as a user ID, a calling platform, a login token (token), and the like.
The user ID may refer to a terminal device ID used by the user, and the call platform may refer to a Web platform or a client platform. For example, if the user needs to log in the live application program of the Web page version through the terminal, the Web platform interface may be called to log in the live application program of the Web page version.
The login token (token) is for the purpose of determining the login state of the user by the "server" based on the token value transmitted from the terminal.
S302, searching a target live broadcast room list matched with the page number of the target live broadcast room list from the live broadcast room list stored in the target cache according to the live broadcast room list acquisition request.
The target cache is used for storing a live broadcast room list obtained after live broadcast room sequencing is executed on a live broadcast room to be displayed based on a preset sequencing rule. The target cache may refer to a cache region in the server, such as a redis cache region in the server, where the redis cache region refers to a non-relational database.
The preset sequencing rule refers to a rule for sequencing the acquired live broadcasting rooms by the service end. For example, the order of arrangement of the plurality of live rooms in the live room list may be generated based on information such as the live status, room tags, and hotness of each live room. For example, the order of the live rooms in the live room list may be generated based on information such as the tag type, the rating, and the recommendation weight of each live room. The arrangement order of the plurality of live rooms in the live room list may be generated in any manner, and is not specifically limited herein.
In this embodiment, the server may obtain a live broadcast room list including 500 live broadcast rooms according to the set parameters, and an arrangement order between 500 live broadcast rooms in the live broadcast room list is obtained based on a preset ordering rule, so that it is ensured that the arrangement order between 500 live broadcast rooms in the live broadcast room list does not change in real time, and it is ensured that a user does not repeatedly watch the same live broadcast room when obtaining a specified page in the live broadcast room list.
The above-mentioned "setting parameter" means that the server can obtain the maximum number of live broadcast rooms at one time, and the live broadcast room list can support the number of live broadcast rooms containing the maximum number, so as to reach the parameter level, the live broadcast room list is automatically refreshed, and a new live broadcast room list containing a plurality of live broadcast rooms is obtained again.
If the "page number information of the target live broadcast room list" in the "live broadcast room list acquisition request" is the first page, the target live broadcast room list matching the first page may be searched from the live broadcast room list stored in the target cache. For example, a live broadcast room list after live broadcast room sequencing is performed on live broadcast rooms to be displayed based on a preset sequencing rule is obtained, the live broadcast room list comprises 100 live broadcast rooms, when a live broadcast hall interface is displayed, only 50 live broadcast rooms can be displayed at a time, and then the 100 live broadcast rooms can be divided into two pages of lists to be displayed on a terminal. Wherein, the first page in the live broadcast room list is the live broadcast room with the sequence of 1-50 in the live broadcast room list, and the second page is the live broadcast room with the sequence of 51-100. Therefore, according to the fact that the page number information of the target live broadcast room list in the live broadcast room list acquisition request is the first page, the target live broadcast room list matched with the first page can be searched from the cached live broadcast room list, namely, live broadcast rooms with the sequence of 1-50 in the live broadcast room list.
And S303, returning the target live broadcast room list to the terminal so that the terminal can display the target live broadcast room list.
On the basis of the embodiment, after the fact that the target live broadcast room list is the first page in the live broadcast room list is searched, the first page in the live broadcast room list is returned to the terminal, so that the first page in the live broadcast room list is displayed on a display screen of the terminal of the user. And when the user needs to acquire the second page in the live broadcast room list, the server returns the cached second page in the live broadcast room list to the terminal so that the terminal can display the second page in the live broadcast room list. Therefore, when a user acquires a live broadcast list of a certain page in a live broadcast room list obtained after a live broadcast room to be displayed is subjected to one-time live broadcast room sequencing based on a preset sequencing rule, the problem that the user repeatedly views the same live broadcast room or misses an interested live broadcast room is avoided, the user can accurately acquire the interested live broadcast room conveniently, the efficiency of displaying the live broadcast room list is effectively improved, and the viewing experience of the user is improved.
To sum up, the embodiment of the present application provides a live broadcast room list display method, including: receiving a live broadcast room list acquisition request sent by a terminal; wherein, the live broadcast room list acquisition request comprises: page number information of the requested target live broadcast room list; searching a target live broadcast room list matched with the page number of the target live broadcast room list from the live broadcast room list stored in the target cache according to the live broadcast room list acquisition request; the target cache is used for storing a live broadcast room list obtained after live broadcast room sequencing is performed on a live broadcast room to be displayed based on a preset sequencing rule; and returning the target live broadcast room list to the terminal so that the terminal displays the target live broadcast room list. In the scheme, a target live broadcasting room list matched with the page number of the target live broadcasting room list is searched from a live broadcasting room list obtained by performing live broadcasting room sorting on live broadcasting rooms to be displayed based on a preset sorting rule according to 'page number information of the requested target live broadcasting room list' in a live broadcasting room list acquisition request, this ensures that the order of arrangement between the live rooms in the live room list does not change in real time, so as to ensure that the target live broadcast room list to be displayed returned to the terminal does not have the repeated phenomenon, effectively solving the problem that the user repeatedly checks the same live broadcast room or misses a certain interested live broadcast room when obtaining the live broadcast room list, therefore, the user can accurately acquire the interested live broadcast room, the efficiency of displaying the live broadcast room list is effectively improved, and the viewing experience of the user is improved.
How to save the sorted live-air list into the target cache will be explained in detail by the following embodiments.
Fig. 4 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application; as shown in fig. 4, in step S302: according to the live broadcast room list obtaining request, before searching a target live broadcast room list matched with the page number of the target live broadcast room list from a live broadcast room list stored in a target cache, the method comprises the following steps:
s401, at least one piece of access behavior information of a user corresponding to the terminal is obtained.
Wherein the at least one access behavior information of the user comprises: daily access to the live broadcast room tags, daily cumulative consumption, monthly cumulative consumption, attention to the live broadcast room tags.
And the labels of the live broadcast rooms are manually marked for the live broadcast rooms by the operation background according to the live broadcast style of the live broadcast rooms. For example, the labels of live room a are dance, the labels of live room B are singing, etc.
And the big data department counts the tags of the daily access live rooms of the users according to the daily access data of the users watching the live rooms.
The daily cumulative consumption (or monthly cumulative consumption) is the cumulative consumption situation of the user for enjoying the main broadcast of each live broadcast room when the big data department watches the live broadcast every day (or every month).
The tag concerning the live broadcast room refers to a tag concerning each live broadcast room in the user attention list.
Therefore, the server can obtain access behavior information such as a label of a daily access live broadcast room, daily accumulated consumption, monthly accumulated consumption, a label of a focus live broadcast room and the like of the user from a statistical module in a big data department.
S402, sequencing the live rooms to be displayed according to at least one piece of access behavior information of the user to obtain a sequenced live room list.
In this embodiment, the following three ways are mainly adopted to sort the live broadcast rooms to be displayed according to at least one piece of access behavior information of the user, and obtain a sorted live broadcast room list, which is specifically as follows:
the first ordering will be explained by the specific embodiment as follows.
Fig. 5 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application; as shown in fig. 5, the above step S402: according to at least one piece of access behavior information of a user, sequencing the live broadcast rooms to be displayed to obtain a sequenced live broadcast room list, and the method comprises the following steps:
s501, determining the access frequency of the user to the live broadcast rooms of the various label types according to the access data of the user to the label types of the various live broadcast rooms.
In this embodiment, the server may obtain, from a statistics module in the big data department, daily access data of the user watching each live broadcast room, and perform classification statistics on a plurality of live broadcast rooms watched by the user according to the tag types of each live broadcast room according to the access data of the user for the tag types of each live broadcast room, to obtain the access frequency of the user for the live broadcast rooms of each tag type.
For example, after performing classification statistics on a plurality of live broadcast rooms watched by the user according to the label types of the live broadcast rooms, the access frequency of the user watching a singing live broadcast room is 10 times, the access frequency of a dancing live broadcast room is 20 times, and the access frequency of a phase sound live broadcast room is 5 times.
And S502, obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types.
S503, respectively and randomly acquiring a live broadcast room list containing live broadcast rooms of all label types.
For example, the server may perform a high-to-low ranking according to the access frequency of the user for the live broadcast of each tag type, for example, the high-to-low ranking of the access frequency of the live broadcast of each tag type is: dancing live broadcast rooms, singing live broadcast rooms and vocal live broadcast rooms.
Then, a first live broadcast room list containing a plurality of dancing live broadcast rooms, a second live broadcast room list containing a plurality of singing live broadcast rooms and a third live broadcast room list containing a plurality of vocal live broadcast rooms are respectively obtained from various label type live broadcast rooms such as a dancing live broadcast room, a singing live broadcast room and a vocal live broadcast room.
S504, according to the sorting of the live broadcast rooms of the label types, performing list-room sorting on the obtained live broadcast room list containing the live broadcast rooms of the label types to obtain a sorted live broadcast room list.
In this embodiment, on the basis of the above embodiment, the obtained first live broadcast room list including a plurality of dancing live broadcast rooms, second live broadcast room list including a plurality of singing live broadcast rooms, and third live broadcast room list including a plurality of vocal live broadcast rooms may be sorted according to the sorting of the dancing live broadcast rooms, the singing live broadcast rooms, and the vocal live broadcast rooms, where the three live broadcast room lists are sorted among lists, and a sorted live broadcast room list is obtained, where the order of the sorted live broadcast room lists is as follows: the first live broadcast room list, the second live broadcast room list and the third live broadcast room list enable a user to find interested live broadcast rooms from the obtained live broadcast room list, and viewing experience of the user is improved.
In addition, the list-to-list ranking of the live broadcast room lists of the live broadcast rooms of the tag types may be randomly generated to obtain a ranked live broadcast room list.
The second ordering will be explained by the specific embodiment as follows.
Fig. 6 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application; as shown in fig. 6, the above step S402: according to at least one piece of access behavior information of a user, sequencing the live broadcast rooms to be displayed to obtain a sequenced live broadcast room list, and the method comprises the following steps:
s601, determining the access frequency of the user to the live broadcast rooms of all the label types according to the access data of the user to the label types of all the live broadcast rooms.
S602, obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types.
In the above embodiment, the steps S601 and S602 have been explained in detail, and are not described in detail herein.
S603, configuring proportion for the live broadcast rooms of the label types according to the sequence of the live broadcast rooms of the label types.
In this embodiment, for example, the server may perform sorting from high to low according to the size of the access frequency of the user for the live broadcast of each tag type, where, for example, the sorting of the access frequency of the live broadcast of each tag type from high to low is: the dancing live broadcast room, the singing live broadcast room and the phase sound live broadcast room are respectively provided with a specific gravity of 0.5, 0.3 and 0.2 respectively.
S604, respectively and randomly acquiring live broadcast room lists of a plurality of live broadcast rooms containing various label types.
For example, a first live broadcast room list including a plurality of dancing live broadcast rooms, a second live broadcast room list including a plurality of singing live broadcast rooms, and a third live broadcast room list including a plurality of vocal live broadcast rooms are respectively obtained from each label type live broadcast room such as a dancing live broadcast room, a singing live broadcast room, and a vocal live broadcast room.
S605, according to the proportion of the live broadcast rooms of the label types, performing list-to-list sorting on the obtained live broadcast room list containing the live broadcast rooms of the label types to obtain a sorted live broadcast room list.
For example, the sorted list of live rooms includes 100 live rooms, where the 100 live rooms include: 50 dancing live broadcast rooms, 30 singing live broadcast rooms and 20 sound live broadcast rooms, 50 dancing live broadcast rooms can be obtained from the first live broadcast room list according to the specific gravity of the dancing live broadcast rooms of 0.5, the specific gravity of the singing live broadcast rooms of 0.3 and the specific gravity of the sound live broadcast rooms of 0.2, 30 singing live broadcast rooms are obtained from the second live broadcast room list, 20 sound live broadcast rooms are obtained from the third live broadcast room list, then, the obtained 50 dancing live broadcast rooms, 30 singing live broadcast rooms and 20 sound live broadcast rooms are subjected to list room sequencing according to the specific gravity of the live broadcast rooms of various label types, so that a direct broadcast room list after sequencing is obtained, the list of the live broadcast rooms to be displayed can contain most of interested live broadcast rooms of users, and the watching experience of the users is improved.
The third sorting method will be explained by a specific embodiment as follows.
Fig. 7 is a schematic flowchart of another live broadcast room list display method according to an embodiment of the present application; the above step S402: according to at least one piece of access behavior information of a user, sequencing the live broadcast rooms to be displayed to obtain a sequenced live broadcast room list, and the method comprises the following steps:
s701, obtaining access data of the user aiming at the label type of each live broadcast room.
S702, randomly acquiring a live broadcast room list comprising a plurality of live broadcast rooms of each label type.
For example, a first live broadcast room list including a plurality of dancing live broadcast rooms, a second live broadcast room list including a plurality of singing live broadcast rooms, a third live broadcast room list including a plurality of vocal live broadcast rooms, and a fourth live broadcast room list including a plurality of hot news live broadcast rooms are respectively and randomly acquired from each label type live broadcast room such as a dancing live broadcast room, a singing live broadcast room, a vocal live broadcast room, and a hot news live broadcast room.
And S703, performing list-to-list sorting on the obtained multiple live broadcast room lists of each label type according to the recommended proportion of the live broadcast room of each label type to obtain sorted live broadcast room lists.
Illustratively, for example, if a hot news live broadcast needs to be pushed to the user master, different push proportions may be set for live broadcasts of each tag type, such as a dance live broadcast, a singing live broadcast, a phase-sound live broadcast, and a hot news live broadcast, for example, the push proportion of the hot news live broadcast is 0.6, the push proportion of the dance live broadcast is 0.2, the push proportion of the singing live broadcast is 0.1, and the push proportion of the phase-sound live broadcast is 0.1.
Supposing that the sorted live broadcast room list comprises 100 live broadcast rooms, 20 dancing live broadcast rooms can be obtained from the first live broadcast room list, 10 singing live broadcast rooms are obtained from the second live broadcast room list, 10 sound live broadcast rooms are obtained from the third live broadcast room list, 60 hot news live broadcast rooms are obtained from the fourth live broadcast room list, then, the obtained 20 dancing live broadcast rooms, 10 singing live broadcast rooms, 10 sound live broadcast rooms and 60 hot news live broadcast rooms are sorted among the lists according to recommended proportion, so that the sorted live broadcast room list can contain hot analoging live broadcast rooms, and the watching experience degree of a user is improved.
And S403, storing the sorted live broadcast room list into a target cache.
On the basis of the above embodiment, the sorted live broadcast room list obtained by adopting the above three sorting modes can be cached.
In this embodiment, through the three sorting modes, personalized sorting of the live broadcast rooms to be displayed can be realized, and personalization and customization of list display of the live broadcast rooms can be effectively improved.
Optionally, the method further comprises:
and if the cache duration of the live broadcast room list stored in the target cache exceeds the cache failure duration, re-acquiring the live broadcast room list comprising a plurality of live broadcast rooms.
For example, the expiration time may be 2 minutes, after the server acquires the live broadcast room list, the live broadcast room list is stored in a target cache, and at a certain moment, the server detects that the cache time of the live broadcast room list is 5 minutes, that is, the cache time exceeds the expiration time, and then the server acquires the live broadcast room list including the plurality of live broadcast rooms again, so that the live broadcast room list is updated in real time, a user is prevented from acquiring an invalid live broadcast room, and the experience of the user is improved.
Optionally, if the cache duration of the live broadcast room list stored in the target cache does not exceed the cache invalidation duration, the server does not need to refresh the live broadcast room list cached in the target cache.
Optionally, in step S302: according to the live broadcast room list obtaining request, searching a target live broadcast room list matched with the page number of the target live broadcast room list from the live broadcast room list stored in the target cache, and further comprising:
and if the interval duration of the live broadcast room list acquisition request sent by the terminal exceeds the refreshing duration, re-acquiring a live broadcast room list comprising a plurality of live broadcast rooms, and returning the first page in the re-acquired live broadcast room list to the terminal.
The interval duration of the live broadcast list acquisition request sent by the terminal refers to a time interval of two times of calling of the list interface by the terminal.
For example, when the user obtains the first page in the live broadcast room list, the user sends a "first live broadcast room list obtaining request" to the server through the terminal, when the user needs to obtain the second page, the user sends a "second live broadcast room list obtaining request" to the server through the terminal, if the server receives the "second live broadcast room list obtaining request", the interval duration between the "first live broadcast room list obtaining request" and the "second live broadcast room list obtaining request" is determined, whether the interval duration is greater than the refresh duration (such as 3 minutes) is judged, if so, the server needs to obtain a live broadcast room list containing a plurality of live broadcast rooms again, and returns the first page in the newly obtained live broadcast room list to the terminal, so that the terminal displays the first page in the live broadcast room list, and effectively prevents the user from obtaining an invalid live broadcast room, the efficiency of showing the live broadcast room list is improved, and therefore the experience degree of the user is improved.
In addition, if the interval duration between the first live broadcast room list acquisition request and the second live broadcast room list acquisition request is less than the refresh duration, a target live broadcast room list matched with the page number of the target live broadcast room list in the second live broadcast room list acquisition request is continuously searched from the live broadcast room list stored in the target cache, and the searched target live broadcast room list is returned to the terminal, so that the terminal displays the target live broadcast room list.
Optionally, when the terminal requests to acquire a specified page in the "live broadcast room list", but the live broadcast rooms included in the specified page are not stored in the live broadcast room list cached by the server, the server re-acquires the live broadcast room list, returns the first page in the re-acquired live broadcast room list to the terminal, and sends a refresh cache instruction to the terminal, so that after the terminal receives the refresh cache instruction, the whole live broadcast room list displayed by the terminal is refreshed.
The following embodiments will specifically explain the overall procedures of the live broadcast list display method provided in the present application.
Fig. 8 is an overall flowchart of a live broadcast room list display method according to an embodiment of the present application; applied to the server, optionally, as shown in fig. 8, the method includes:
s801, receiving a live broadcast room list acquisition request sent by a terminal.
S802, acquiring at least one piece of access behavior information of a user corresponding to a terminal, and sequencing the live broadcast rooms to be displayed according to the at least one piece of access behavior information of the user to obtain a sequenced live broadcast room list; and storing the sorted live broadcast room list into a target cache.
And S803, searching a target live broadcast room list matched with the page number of the target live broadcast room list from the live broadcast room list stored in the target cache according to the live broadcast room list acquisition request.
Optionally, if the cache duration of the live broadcast list stored in the target cache exceeds the cache invalidation duration, the live broadcast list including the plurality of live broadcast rooms is obtained again.
S804, the target live broadcast room list is returned to the terminal, so that the terminal displays the target live broadcast room list.
Optionally, if the interval duration of the live broadcast room list acquisition request sent by the terminal exceeds the refresh duration, the live broadcast room list including the multiple live broadcast rooms is acquired again, and the first page in the newly acquired live broadcast room list is returned to the terminal.
Optionally, the overall implementation steps and the generated beneficial effects of the live broadcast list display method provided in the embodiment of the present application have been described in detail in the foregoing specific embodiments, and are not described in detail here.
The following describes a device and a storage medium for performing live broadcast list display provided in the present application, and specific implementation processes and technical effects thereof are referred to above, and will not be described again below.
Fig. 9 is a schematic structural diagram of a live broadcast room list display apparatus according to an embodiment of the present application; as shown in fig. 9, an embodiment of the present application further provides a live broadcast list display apparatus, which is applied to a server, and the apparatus includes: a receiving module 901, a searching module 902 and a returning module 903.
A receiving module 901, configured to receive a live broadcast room list acquisition request sent by a terminal; wherein, the live broadcast room list acquisition request comprises: page number information of the requested target live broadcast room list;
a searching module 902, configured to search, according to a live broadcast room list acquisition request, a target live broadcast room list that matches a page number of the target live broadcast room list from a live broadcast room list stored in a target cache, where the target cache is used to store a live broadcast room list obtained after live broadcast room sorting is performed on a live broadcast room to be displayed based on a preset sorting rule;
and a returning module 903, configured to return the target live broadcast list to the terminal, so that the terminal displays the target live broadcast list.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring at least one piece of access behavior information of a user corresponding to the terminal; wherein the at least one access behavior information of the user comprises: daily visit live broadcast room label, daily cumulative consumption, monthly cumulative consumption, attention live broadcast room label;
the sorting module is used for sorting the live broadcast rooms to be displayed according to at least one piece of access behavior information of the user to obtain a sorted live broadcast room list;
and the storage module is used for storing the sorted live broadcast room list into a target cache.
Optionally, the sorting module is further configured to:
determining the access frequency of the user for the live broadcast rooms of all the label types according to the access data of the user for the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
respectively and randomly acquiring a live broadcast room list containing live broadcast rooms of various label types;
and according to the sequencing of the live broadcast rooms of the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of the label types to obtain a sequenced live broadcast room list.
Optionally, the sorting module is further configured to:
determining the access frequency of the user for the live broadcast rooms of all the label types according to the access data of the user for the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
configuring proportion for the live broadcast rooms of all the label types according to the sequence of the live broadcast rooms of all the label types;
respectively and randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing various label types;
and according to the proportion of the live broadcast rooms of all the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of all the label types to obtain a sequenced live broadcast room list.
Optionally, the sorting module is further configured to:
acquiring access data of a user aiming at the label type of each live broadcast room;
randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing various label types;
and according to the recommended proportion of the live broadcast rooms of all the label types, performing list-room sequencing on the obtained multiple live broadcast room lists of all the label types to obtain a sequenced live broadcast room list.
Optionally, the obtaining module is further configured to obtain the live broadcast room list including the plurality of live broadcast rooms again if the cache duration of the live broadcast room list stored in the target cache exceeds the cache expiration duration.
Optionally, the obtaining module is further configured to, if the interval duration of the live broadcast room list obtaining request sent by the terminal exceeds the refresh duration, obtain a live broadcast room list including the plurality of live broadcast rooms again, and return the first page in the obtained live broadcast room list to the terminal.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Optionally, the invention also provides a program product, for example a computer-readable storage medium, comprising a program which, when being executed by a processor, is adapted to carry out the above-mentioned method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

Claims (10)

1. A live broadcast room list display method is applied to a server and comprises the following steps:
receiving a live broadcast room list acquisition request sent by a terminal; wherein, the live broadcast room list acquiring request comprises: page number information of the requested target live broadcast room list;
searching a target live broadcast room list matched with the page number of the target live broadcast room list from a live broadcast room list stored in a target cache according to the live broadcast room list acquisition request, wherein the target cache is used for storing a live broadcast room list obtained after live broadcast room sequencing is performed on a live broadcast room to be displayed based on a preset sequencing rule;
and returning the target live broadcast room list to the terminal so that the terminal displays the target live broadcast room list.
2. The method as claimed in claim 1, wherein before searching for a target live room list matching a page number of the target live room list from a live room list stored in a target cache according to the live room list obtaining request, the method comprises:
acquiring at least one piece of access behavior information of a user corresponding to the terminal; wherein the at least one access behavior information of the user comprises: daily visit live broadcast room label, daily cumulative consumption, monthly cumulative consumption, attention live broadcast room label;
sequencing the live broadcast rooms to be displayed according to the at least one piece of access behavior information of the user to obtain a sequenced live broadcast room list;
and storing the sorted live broadcast room list into the target cache.
3. The method according to claim 2, wherein the sorting the live rooms to be displayed according to the at least one access behavior information of the user to obtain a sorted live room list comprises:
determining the access frequency of the user to the live broadcast rooms of all the label types according to the access data of the user to the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
respectively and randomly acquiring a live broadcast room list containing the live broadcast rooms of the label types;
and according to the sequencing of the live broadcast rooms of the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of the label types to obtain the sequenced live broadcast room list.
4. The method according to claim 2, wherein the sorting the live rooms to be displayed according to the at least one access behavior information of the user to obtain a sorted live room list comprises:
determining the access frequency of the user to the live broadcast rooms of all the label types according to the access data of the user to the label types of all the live broadcast rooms;
obtaining the sequencing of the live broadcast rooms of the label types according to the access frequency of the live broadcast rooms of the label types;
according to the sequence of the live broadcast rooms of the label types, configuring proportion for the live broadcast rooms of the label types;
respectively and randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing each label type;
and according to the proportion of the live broadcast rooms of all the label types, performing list-room sequencing on the obtained live broadcast room list containing the live broadcast rooms of all the label types to obtain the sequenced live broadcast room list.
5. The method according to claim 2, wherein the step of sorting the live rooms to be displayed according to at least one piece of access behavior information of the user to obtain a sorted live list comprises:
acquiring access data of a user aiming at the label type of each live broadcast room;
randomly acquiring a live broadcast room list of a plurality of live broadcast rooms containing all the label types;
according to the recommendation proportion of the live broadcast rooms of all the label types, list-room sequencing is carried out on the obtained multiple live broadcast room lists of all the label types, and the sequenced live broadcast room lists are obtained.
6. The method according to any one of claims 1-5, further comprising:
and if the cache duration of the live broadcast room list stored in the target cache exceeds the cache failure duration, re-acquiring the live broadcast room list comprising a plurality of live broadcast rooms.
7. The method of claim 1, wherein searching a target live room list from a live room list stored in a target cache according to the live room list obtaining request, the target live room list matching a page number of the target live room list, further comprises:
and if the interval duration of the live broadcast room list acquisition request sent by the terminal exceeds the refreshing duration, re-acquiring a live broadcast room list comprising a plurality of live broadcast rooms, and returning the first page in the re-acquired live broadcast room list to the terminal.
8. A live broadcast room list display device is applied to a server side and comprises:
the receiving module is used for receiving a live broadcast room list acquisition request sent by a terminal; wherein, the live broadcast room list acquiring request comprises: page number information of the requested target live broadcast room list;
the searching module is used for searching a target live broadcast room list matched with the page number of the target live broadcast room list from a live broadcast room list stored in a target cache according to the live broadcast room list obtaining request, wherein the target cache is used for storing a live broadcast room list obtained after live broadcast room sorting is executed for one time in a live broadcast room to be displayed based on a preset sorting rule;
and the returning module is used for returning the target live broadcast room list to the terminal so that the terminal can display the target live broadcast room list.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110597355.3A 2021-05-28 2021-05-28 Live broadcast room list display method, device, equipment and storage medium Pending CN113312566A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110597355.3A CN113312566A (en) 2021-05-28 2021-05-28 Live broadcast room list display method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110597355.3A CN113312566A (en) 2021-05-28 2021-05-28 Live broadcast room list display method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113312566A true CN113312566A (en) 2021-08-27

Family

ID=77376475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110597355.3A Pending CN113312566A (en) 2021-05-28 2021-05-28 Live broadcast room list display method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113312566A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040214A (en) * 2021-10-13 2022-02-11 北京达佳互联信息技术有限公司 Live broadcast room recommendation method and device, electronic equipment and storage medium
CN114302244A (en) * 2021-12-30 2022-04-08 杭州米络星科技(集团)有限公司 Information interaction method, device, server and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235614A (en) * 2020-10-14 2021-01-15 广州欢网科技有限责任公司 Personalized recommendation method and system for ranking list data of television programs
CN112473149A (en) * 2020-11-26 2021-03-12 腾讯音乐娱乐科技(深圳)有限公司 Ranking list processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235614A (en) * 2020-10-14 2021-01-15 广州欢网科技有限责任公司 Personalized recommendation method and system for ranking list data of television programs
CN112473149A (en) * 2020-11-26 2021-03-12 腾讯音乐娱乐科技(深圳)有限公司 Ranking list processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘本龙的专栏: "Redis学习笔记(九)redis实现时时直播列表缓存,支持分页[热点数据存储]", 《HTTPS://WEB.ARCHIVE.ORG/WEB/20171006021050/HTTP://BLOG.CSDN.NET:80/LIUBENLONG007/ARTICLE/DETAILS/53838737》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114040214A (en) * 2021-10-13 2022-02-11 北京达佳互联信息技术有限公司 Live broadcast room recommendation method and device, electronic equipment and storage medium
CN114302244A (en) * 2021-12-30 2022-04-08 杭州米络星科技(集团)有限公司 Information interaction method, device, server and storage medium
CN114302244B (en) * 2021-12-30 2023-12-12 杭州米络星科技(集团)有限公司 Information interaction method, device, server and storage medium

Similar Documents

Publication Publication Date Title
CN108763502B (en) Information recommendation method and system
CN107463641B (en) System and method for improving access to search results
CN107784516B (en) Advertisement putting method and device
CN106021449B (en) Searching method and device for mobile terminal and mobile terminal
US11410087B2 (en) Dynamic query response with metadata
CN113312566A (en) Live broadcast room list display method, device, equipment and storage medium
US20150289021A1 (en) System and method for collecting viewer opinion information
CN111046292B (en) Live broadcast recommendation method and device, computer readable storage medium and electronic equipment
CN111125497A (en) Information recommendation method, device, processor and storage medium
CN110740339A (en) Live content preview method and device
CN103425670A (en) Method, device and equipment for providing customers with content recommendation information
CN113568699B (en) Content display method, device, equipment and storage medium
CN113259704B (en) Live broadcast room initialization method, device, equipment and storage medium
CN113613027A (en) Live broadcast room recommendation method and device and computer equipment
CN112422592B (en) Information recommendation method and device, electronic equipment and storage medium
CN109657164B (en) Method, device and storage medium for publishing message
CN111159553A (en) Information pushing method and device, computer equipment and storage medium
CN106570006B (en) Multimedia file recommendation system and delivery information storage method
CN114461920A (en) Data processing method, device, medium and equipment for list information recommendation
WO2014198008A1 (en) Method and system for identifying and delivering enriched content
JP2009140255A (en) Advertisement delivery system
CN110351581B (en) Data request processing method and device, terminal equipment and storage medium
JP2010129013A (en) System, method, device and program for advertisement distribution
CN114938458B (en) Object information display method and device, electronic equipment and storage medium
US20160071029A1 (en) Travel service information display system, travel service information display method, travel service information display program, and information recording 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210827