CN113360806A - Live broadcast page display method and device - Google Patents

Live broadcast page display method and device Download PDF

Info

Publication number
CN113360806A
CN113360806A CN202110634901.6A CN202110634901A CN113360806A CN 113360806 A CN113360806 A CN 113360806A CN 202110634901 A CN202110634901 A CN 202110634901A CN 113360806 A CN113360806 A CN 113360806A
Authority
CN
China
Prior art keywords
feed
module
server
user
stream data
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
CN202110634901.6A
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.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN202110634901.6A priority Critical patent/CN113360806A/en
Publication of CN113360806A publication Critical patent/CN113360806A/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/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)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a live broadcast page display method, which comprises the following steps: acquiring behavior data of a user aiming at a target feed module, and uploading the behavior data to a server side, wherein the target feed module is one of at least one feed module displayed in a current live broadcast page; responding to sliding operation of a user based on at least one feed module displayed in the current live broadcast page, when the sliding operation is judged to meet a preset condition, requesting first feed stream data from a server, and receiving the first feed stream data returned by the server, wherein the first feed stream data is recommended to the user by the server according to the behavior data; and when a page turning request triggered by a user is received, mapping the first feed stream data to at least one feed template which is designed in advance for rendering. The method and the device can improve the rendering performance and reduce the system resource consumption.

Description

Live broadcast page display method and device
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a live page display method and device.
Background
With the development of internet technology, internet live broadcasting has become a trend, and more users watch video live broadcasting through mobile terminals. The existing Live applications generally display the Live Rooms through the protected Live Rooms and the Partition List in fig. 1, that is, the existing Live applications generally display the Live Rooms in a page structure in which one parent view includes four child views on the architectural level. However, the inventor finds that in the process of rendering each live broadcast room displayed in this way, because the page elements cannot be multiplexed, rendering performance is very low, and when the number of the live broadcast rooms to be displayed is large, a large amount of system resources are consumed.
Disclosure of Invention
An object of the embodiment of the application is to provide a live broadcast page display method and device, a computer device, and a computer readable storage medium, so as to solve the problems that when a live broadcast is applied to a live broadcast display room, page elements cannot be multiplexed, rendering performance is very low, and time consumption for page switching is high.
One aspect of the embodiments of the present application provides a method for displaying a live page, where the method includes:
acquiring behavior data of a user aiming at a target feed module, and uploading the behavior data to a server side, wherein the target feed module is one of at least one feed module displayed in a current live broadcast page;
responding to sliding operation of a user based on at least one feed module displayed in the current live broadcast page, when the sliding operation is judged to meet a preset condition, requesting first feed stream data from a server, and receiving the first feed stream data returned by the server, wherein the first feed stream data is recommended to the user by the server according to the behavior data;
and when a page turning request triggered by a user is received, mapping the first feed stream data to at least one feed template which is designed in advance for rendering.
Optionally, each feed stream data includes module identification information and module type information, and the mapping the first feed stream data onto at least one feed template designed in advance for rendering includes:
and mapping the first feed stream data to at least one feed template which is designed in advance according to the module identification information and the module type information for rendering.
Optionally, before the step of obtaining the behavior data of the user for the target feed module and uploading the behavior data to the server, the method further includes:
when detecting that a live broadcast page triggered for the first time by a user enters a request, requesting second feed stream data from a server;
and receiving the second feed stream data returned by the server, and mapping the second feed stream data to at least one feed template which is designed in advance for rendering, wherein the second feed stream data is recommended to the user by the server according to the historical behavior data of the user.
Optionally, before the step of requesting the server to obtain the second feed stream data of at least one feed module displayed on the live page, the method further includes:
sending identification information of the user to the server so that the server judges whether the user belongs to a preset experimental group according to the identification information;
and receiving a feedback message which is returned by the server and whether the user belongs to the preset experimental group.
Optionally, when it is determined that the sliding operation meets the preset condition, requesting the first feed stream data from the server includes:
and when detecting that a feed module currently presented to a user on a screen is an Nth feed module in at least one feed module displayed on the current live broadcast page, requesting first feed stream data from a server, wherein N is a preset integer greater than or equal to 2.
Optionally, the method further comprises:
and caching third feed stream data corresponding to at least one feed module displayed on the current live broadcast page into a memory.
Optionally, the feed module includes a leaderboard module, and the method further includes:
when detecting that a user enters a live broadcast room from a feed module, starting a timer to time, and when detecting that the user returns to the feed module from the live broadcast room, controlling the timer to stop timing;
acquiring the stay time of the user in the live broadcast room calculated by the timer;
judging whether the stay time is longer than the refreshing time of a ranking list module issued by the server;
and if the stay time is longer than the refreshing time of the ranking list module, updating the ranking list module.
Yet another aspect of an embodiment of the present application provides a live page display apparatus, including:
the system comprises an acquisition module, a server and a display module, wherein the acquisition module is used for acquiring behavior data of a user aiming at a target feed module and uploading the behavior data to the server, and the target feed module is one of at least one feed module displayed in a current live broadcast page;
the response module is used for responding to the sliding operation of at least one feed module displayed in the current live broadcast page by a user, requesting first feed stream data from a server when the sliding operation meets a preset condition, and receiving the first feed stream data returned by the server, wherein the first feed stream data is recommended to the user by the server according to the behavior data;
and the rendering module is used for mapping the first feed stream data to at least one feed template which is designed in advance for rendering when a page turning request triggered by a user is received.
Yet another aspect of embodiments of the present application provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the computer program implementing the steps of the method as described in any one of the above.
Yet another aspect of embodiments of the present application provides a computer-readable storage medium having stored thereon a computer program for implementing the steps of the method as claimed in any one of the above when executed by a processor.
According to the live broadcast page display method and device, the computer equipment and the computer readable storage medium, when a live broadcast room is displayed, feed stream data of each feed module is rendered in a feed template mode, so that multiplexing of page elements can be realized, the rendering performance can be improved, and the system resource consumption can be reduced. Meanwhile, the method and the device take feed stream data as a carrier to issue the live broadcast data of each live broadcast room, so that the data of the live broadcast rooms can be issued more flexibly. In addition, in this embodiment, when the user does not completely slide all the feed modules of the current live page, the first feed stream data of at least one feed module included in the next page is obtained from the server in advance, so that when the user finishes sliding all the feed modules of the current page, 20 feed stream data included in the next page can be immediately rendered, the time required for switching the page is reduced, and the user experience is improved.
Drawings
Fig. 1 schematically shows a page schematic diagram of a live home page in the prior art;
FIG. 2 is a schematic diagram illustrating an environment in which a live page display method according to an embodiment of the present application is implemented;
FIG. 3 schematically illustrates a flow diagram of a live page display method according to an embodiment of the present application;
fig. 4 schematically illustrates a page diagram of a live home page in an embodiment of the present application;
FIG. 5 schematically illustrates a flow diagram of a method of live page display according to another embodiment of the present application;
FIG. 6 schematically illustrates a flow diagram of a method of live page display according to another embodiment of the present application;
FIG. 7 schematically illustrates a block diagram of a live page display apparatus according to an embodiment of the present application;
fig. 8 schematically shows a hardware architecture diagram of a computer device suitable for implementing a live page display method according to an embodiment of the present application.
Detailed Description
The advantages of the present application are further illustrated below with reference to the accompanying drawings and specific embodiments.
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the description of the present application, it should be understood that the numerical references before the steps do not identify the order of performing the steps, but merely serve to facilitate the description of the present application and to distinguish each step, and therefore should not be construed as limiting the present application.
Fig. 2 schematically shows an application environment diagram of a live page display method according to an embodiment of the present application. In an exemplary embodiment, the system of the application environment may include the terminal device 10 and the server 20. Wherein the terminal device 10 forms a wireless or wired connection with the server 20. The terminal device 10 may be a mobile phone with a screen, an iPaD, a tablet computer, a computer, etc., and is not limited herein. The server 20 may be a server or a server cluster composed of a plurality of servers, or a cloud computing center. The server 20 stores feed stream data of a plurality of live broadcast rooms, and when a user watches live video through a live broadcast application client (e.g., bilibili APP) installed in the terminal device 10, the terminal device 10 may obtain the feed stream data from the server 20, so that a live broadcast picture corresponding to the feed stream data may be played in the terminal device 10 after the feed stream data is obtained.
The feed stream data refers to live stream data which can be directly presented to a target user in a live broadcasting application in a live broadcasting room needing to be promoted, and the promotion efficiency and the promotion effect of the live broadcasting room can be effectively improved by promoting the live broadcasting room in the feed stream data mode.
feed stream data has the following three characteristics relative to general live stream data:
the path for watching the live broadcast can be shortened, the live broadcast room is displayed through feed stream data, real-time pictures of the live broadcast room can be directly displayed on a live broadcast page, and the live broadcast room can be guided to the maximum;
secondly, when the live broadcast room is popularized, the quantity can be bought flexibly according to the oriented population, the putting plan can be suspended after the broadcast, and the conversion benefit of the live broadcast is greatly improved;
and thirdly, brand accounts or components can be directly displayed in a live broadcast page, the brand name expansion is helped, and the private area flow is converted.
Fig. 3 is a schematic flow chart of a live page display method according to an embodiment of the present application. It is to be understood that the flow charts in the embodiments of the present method are not intended to limit the order in which the steps are performed. In the following, an exemplary description is given by taking a live application installed in a mobile phone as an execution subject, and as can be seen from the figure, the live page display method provided in this embodiment includes:
and step S30, behavior data of a user aiming at a target feed module is obtained, and the behavior data is uploaded to a server side, wherein the target feed module is one of at least one feed module displayed in a current live broadcast page.
Specifically, the behavior data may include click behavior data and feedback behavior data.
The click behavior data is data generated after a user clicks a feed module displayed in a current live broadcast page to enter a live broadcast room, and the click behavior data can include type information of the current live broadcast room, title information of the current live broadcast room, UP main information of the current live broadcast room and the like.
It can be understood that, in order to improve the quality of the click behavior data, after the Feed module displayed in the click live broadcast page by the user enters the live broadcast room, the Feed module displays a preset proportion (for example, 50%) of the total screen area exceeding the area displayed on the mobile phone screen of the user, and when the stationary time in the screen exceeds a preset time (for example, 500ms), the data is recorded as an effective click behavior data; when the Feed module in the screen slides out of the screen, the area of the Feed module exceeds 50% of the total area of the screen module, then slides in the screen, the area of the Feed module exceeds 50% of the total area of the screen, and the rest time in the screen exceeds 500ms, the Feed module is marked as a new effective clicking action.
The feedback behavior data is data generated after a user clicks a feedback button in the feed module and selects uninterested contents in a pop-up menu to be a title of the current live broadcast room, a type of the current live broadcast room or an up master of the current live broadcast room.
In one embodiment, the behavior data of the user can be obtained by a buried point mode.
In this embodiment, after the behavior data of the user is obtained, the behavior data is fed back to the server in real time, so that the server can update and recommend the feed stream data obtained by the current user next page turning request according to the behavior data of the user, that is, if the user slides the screen to request the feed stream data displayed next page at this time, the server recommends the latest feed stream data according to the behavior data of the user.
In a specific scenario, the live broadcast page includes an Ad Banner field (represented by an identifier 1), an entry View field (represented by an identifier 2), a Following View field (represented by an identifier 3), and a Feed field, where the Feed field includes a plurality of Feed modules. Correspondingly, the current page is a page in the Feed field for displaying at least one Feed module contained in the current page.
Wherein, the Banner column represents the advertisement space, the Entrance View column represents the configured partition entry data, the Following View column represents the My focus data, and the Feed column represents the recommended live broadcasting data.
Step S31, responding to the sliding operation of the user based on at least one feed module displayed in the current live broadcast page, when the sliding operation is judged to meet the preset condition, requesting first feed stream data from the server, and receiving the first feed stream data returned by the server, wherein the first feed stream data is recommended to the user by the server according to the behavior data.
Specifically, the sliding operation is an operation for switching and displaying a next feed module, and in this embodiment, the sliding operation may be a sliding down operation, a right sliding operation, or the like, which is not limited in this embodiment.
The preset condition is used for judging whether a request for acquiring first feed stream data of at least one feed module displayed on the next page of the current live broadcast page is required to be sent to a server.
In this embodiment, after receiving a sliding operation of a user, the sliding operation is responded, specifically, whether the sliding operation meets the preset condition is determined, and when it is determined that the sliding operation meets the preset condition, a request is made to a server to acquire first feed stream data of at least one feed module displayed on a next page of the current live page.
The first feed stream data comprises live stream data of a plurality of live rooms corresponding to at least one feed module.
In an exemplary embodiment, the requesting, from the server, the first feed stream data when it is determined that the sliding operation satisfies the preset condition includes:
when detecting that a feed module currently presented to a user by a screen is an Nth feed module in at least one feed module displayed on a current live broadcast page, requesting a server to acquire first feed stream data of at least one feed module displayed on a next page of the current live broadcast page, wherein N is a preset integer greater than or equal to 2.
As an example, assuming that a live broadcast page includes 20 feed templates in total, where N is set to 16, when a user initially enters the live broadcast page and requests the server to acquire at least one feed stream data through a feed interface, the server will return 20 feed stream data according to historical behavior data of the user, and when it is detected that the user slides and enters a live broadcast room corresponding to a 16 th feed module by clicking the feed module, will request the server to return 20 feed stream data included in a next page, and take the 20 feed stream data as the first feed stream data.
In this embodiment, after the server receives the request instruction of the first feed stream data, the server responds to the request instruction, so that the live broadcast application can receive the first feed stream data returned by the server.
And when receiving the first feed stream data request instruction, the server calculates and obtains the first feed stream data recommended to the user according to the behavior data.
It should be noted that, in this embodiment, the method for calculating the first feed stream data recommended to the user is an existing method, for example, the method may be an algorithm based on collaborative filtering, a machine learning algorithm, and the like, and this embodiment is not limited in this embodiment.
Step S32, when a page turning request triggered by a user is received, mapping the first feed stream data to at least one feed template designed in advance for rendering.
Specifically, the page turning request is used to display an instruction of a next page or a previous page of the current live page, and in this embodiment, the page turning request is preferably an instruction used to display a next page of the current live page.
In this embodiment, the number of feed templates is the same as the number of live streams in the live broadcast room included in the received first feed stream data, so that the feed stream data in each live broadcast room can be mapped to a corresponding feed template for rendering, so as to present the at least one feed module included in the live broadcast page to the user.
By way of example, the live page is shown in fig. 4 and includes 8 feed templates (4, 5, 6, 7, 8, 9, 10, 11 in fig. 4), each feed template including a cover photograph (live room information and popularity values may be shown on the cover photograph), a title, a subtitle (which may be responsive to a click event alone), and a feedback button in the lower right corner. The title may be used to display the name of the current live broadcast room, and the subtitle may be used to display the type of the current live broadcast room (e.g., live game, live chat, etc.). In an exemplary embodiment, when the type of the Feed module is a Feed module with an hour chart, the hour chart ranking of the current live room can also be displayed in the Feed template.
In an exemplary embodiment, each feed stream data includes module identification information and module type information, and mapping the first feed stream data onto at least one feed template designed in advance for rendering includes: and mapping the first feed stream data to at least one feed template which is designed in advance according to the module identification information and the module type information for rendering.
Specifically, the module identification information is used to determine which feed module the live streaming data corresponding to each live broadcast room in the first feed streaming data is mapped to in the live broadcast page, and the module type information is used to determine which type of feed module the live streaming data corresponding to each live broadcast room belongs to, and specifically, is used to determine whether the live streaming data corresponding to each live broadcast room contains hour list data of the current live broadcast room. For example, if the module identification information is 1, it indicates that the feed stream data with the module identification information of 1 needs to be mapped in the first feed module in the live page ((corresponding to the feed module identified as 4 in fig. 4), and if the module identification information is 3, it indicates that the feed stream data with the module identification information of 3 needs to be mapped in the third feed module in the live page (corresponding to the feed module identified as 6 in fig. 4).
In this embodiment, when the user does not completely slide all the feed modules of the current live broadcast page, the first feed stream data of at least one feed module included in the next page is obtained from the server in advance, so that when the user finishes sliding all the feed modules of the current page, the 20 feed stream data included in the next page can be immediately rendered, the time required for switching the page is reduced, and the user experience is improved.
In an exemplary embodiment, before the step of acquiring the behavior data of the user for the target feed module and uploading the behavior data to the server, the method further includes:
step a, when detecting that a live broadcast page triggered by a user for the first time enters a request, requesting a server to acquire second feed stream data.
And the second feed stream data is live stream data of a plurality of live rooms corresponding to at least one feed module displayed on the live page.
As an example, a live page entry request is triggered when a user first opens a live application and selects a "live home" tab in the live application. At this time, in order to present the page of the live broadcast page to the user on the screen, second feed stream data of at least one feed module included in the current page is acquired from the server, so that the second feed stream data can be acquired and rendered, so as to present the at least one feed module included in the live broadcast page to the user.
In an exemplary embodiment, in order to compare the effect of the old version of the live broadcast page and the new version of the live broadcast page, the method can be implemented by adopting an AB experiment mode, that is, all users are set as two experiment groups, namely an experiment group a and an experiment group B, wherein the experiment group a adopts the old version of the live broadcast page, and the experiment group B adopts the new version of the live broadcast page (the feed module is adopted to show the version of the live broadcast room).
Referring to fig. 5, when verifying the effect of the new and old versions by means of an AB experiment, before the step of requesting the server to obtain feed stream data of at least one feed module, the method further includes: step S50, sending identification information of the user to the server, so that the server judges whether the user belongs to a preset experimental group according to the identification information; and step S51, receiving a feedback message returned by the server, where the user belongs to the preset experimental group.
Specifically, the identification information is information for uniquely distinguishing different users, and the identification information may be an ID (Identity document), specifically, the ID may be an account of the user.
The preset experiment group is an experiment group which adopts a feed module to display a live broadcast room in a live broadcast page.
The server may preset a rule for distinguishing which experiment group different identification information belongs to according to the identification information, for example, the rule is that if the result of the identification information of the user's surplus to 2 is 0, the rule belongs to the experiment group a, and if the result of the identification information of the user's surplus to 2 is 1, the rule belongs to the experiment group B. Therefore, after the server receives the identification information of the user, the server can perform remainder on the identification information, then judge whether the current user belongs to the preset experimental group according to the result of the remainder, and after the judgment is finished, return the judgment result to the live broadcast application installed in the mobile phone in a feedback message mode, so that the live broadcast application can determine whether the user belongs to the preset experimental group according to the feedback message. In this embodiment, when it is determined that the user does not belong to the preset experimental group, the server does not request to acquire feed stream data of at least one feed module included in the current page, and requests to acquire live stream data corresponding to an old version of the live page; and when the user is determined to belong to the preset experimental group, requesting the server end to acquire feed stream data of at least one feed module contained in the current page.
It can be understood that the above-mentioned determination of whether the user belongs to the preset experimental group is only an example, and in other embodiments of the present application, the determination may also be performed in other manners, for example, a correspondence table between each identification information and each experimental group may be established in advance, and after the identification information is obtained, whether the user belongs to the preset experimental group is determined by looking up the correspondence table.
In an exemplary embodiment, when determining whether a user belongs to a preset experimental group, the server side firstly requests an AB _ SDK interface with identification information of the user to obtain the experimental group where the current user is located, and after obtaining the experimental group where the user is located, returns the experimental group where the user is located to an app _ interface, so that the app _ interface can determine whether the user belongs to the preset experimental group according to the experimental group where the user is located, and then returns a determination result to a live application in the mobile phone in the form of a feedback message through the app _ interface. And when the live broadcast application determines that the feedback message is that the user belongs to a preset experimental group, the live broadcast application requests the server to acquire feed stream data of at least one feed module contained in the current page. Specifically, the live broadcast application can request an xrom _ feed interface from the server through a feed interface request, the xrom _ feed interface in the server can acquire feed stream data of feed modules of different types after receiving the request sent by the feed interface, and then the acquired feed stream data is returned to the live broadcast application through the feed interface.
It should be noted that the server may obtain the feed stream data of different types of feed modules according to a preset policy when obtaining the feed stream data of different types of feed modules, for example, the preset policy is to obtain the feed stream data according to historical behavior data of a user, and when obtaining the feed stream data of different types of feed modules, the server may obtain the feed stream data of multiple types of feed modules related to the historical behavior data of the user according to the historical behavior data of the user. Specifically, assuming that the server needs to return feed stream data of 10 feed modules to the live broadcast application, when the feed stream data is returned to the live broadcast application, it is possible to return feed stream data of 6 feed modules of type a that are most associated with the user's historical behavior data and feed stream data of 4 feed modules of type B that are next most associated with the user's historical behavior data to the live broadcast application.
The App _ interface is an App network interface in the server side for performing data interaction with live application in the mobile phone. The AB _ SDK interface is an SDK used for carrying out an AB experiment in the server side. The xrom _ feed interface is an interface in the server for acquiring feed stream data.
The feed interface is an interface used for requesting a server side to acquire feed stream data in the live broadcast application.
And b, receiving second feed stream data returned by the server, mapping the second feed stream data to at least one feed template which is designed in advance, and rendering the second feed stream data so as to present at least one feed module contained in a live broadcast page to a user, wherein the second feed stream data is recommended to the user by the server according to the historical behavior data of the user.
Specifically, when the user triggers the live page request for the first time, the live application does not have behavior data of the user yet, and therefore, in this embodiment, in order to obtain a relatively accurate push effect, the server may recommend the second feed stream data to the user according to the historical behavior data of the user.
The historical behavior data may be behavior data generated by the user in an old version of live application, or may also be behavior data generated by the user in other applications (including but not limited to live-type applications), which is not limited in this embodiment.
This application is through when showing the live room, and the feed stream data of each feed module is rendered to the mode of feed template to can realize the multiplexing of page element, and then can improve and render the performance, reduce system resource consumption. Meanwhile, the method and the device take feed stream data as a carrier to issue the live broadcast data of each live broadcast room, so that the data of the live broadcast rooms can be issued more flexibly.
In an exemplary embodiment, the method further comprises:
and caching third feed stream data corresponding to at least one feed module displayed on the current live broadcast page into a memory.
As an example, when 20 feed stream data included in a next live page or an upper live page is rendered, the feed stream data of at least one feed module included in the current live page may be cached in a memory, so that a user does not need to repeatedly request to acquire the third feed stream data when turning a page, the feed stream data in the cache may be directly used for rendering, time required for switching pages is reduced, and user experience is improved.
In this embodiment, to save the storage space, the feed stream data cached in the memory may be cleared when the live application is closed.
In an exemplary embodiment, when the feed module includes a leader board module, referring to fig. 6, the method further includes: step S60, when detecting that the user enters the live broadcast room from the feed module, starting a timer to time, and when detecting that the user returns to the feed module from the live broadcast room, controlling the timer to stop timing; step S61, obtaining the stay time of the user in the live broadcast room calculated by the timer; step S62, judging whether the stay time is longer than the refresh time of the ranking list module issued by the server; and step S63, if the stay time is longer than the refresh time of the ranking list module, the ranking list module is updated.
Specifically, when a user enters a live broadcast room from a feed module, a timer is started to start timing, when the user returns to the feed module from the live broadcast room, the timer stops timing, the stay time of the user in the live broadcast room is calculated through the timing time in the timer, and if the stay time exceeds the refresh time of a ranking list module issued by a server, the ranking list module in the feed module is triggered and updated. In an embodiment, when a focus module, an activity reservation module and other modules are further present in the live broadcast page, the focus module, the activity reservation module and other modules may be further updated when the ranking list module is updated.
The ranking list module is used for displaying the thermal value or the contribution value of the same type of direct broadcast room, and the ranking list is preferably an hour ranking list.
For example, the refresh time of the ranking list module may be a default value, or a value that is set and modified according to actual situations, for example, the refresh time of the ranking list module defaults to 10 minutes.
In an exemplary embodiment, the server can dynamically control the refresh time of the ranking list module through key-value form configuration, so that when large-scale activities are encountered, the refresh time can be dynamically controlled, different users can be configured with different refreshing times of the ranking list module, and when a plurality of users exit the live broadcast room at the same time, the opportunity of requesting the update of the ranking list module by the users can be dispersed, and the pressure of the server can be dispersed.
Fig. 7 is a block diagram of a program of a live page display device 70 according to an embodiment of the present application.
In this embodiment, the live page display device 70 includes a series of computer program instructions stored in a memory, and when the computer program instructions are executed by a processor, the live page display function of the embodiments of the present application can be implemented. In some embodiments, the live page display device 70 may be divided into one or more modules based on the particular operations implemented by the computer program instructions, and the modules may be specifically divided as follows:
an obtaining module 71, configured to obtain behavior data of a user for a target feed module, and upload the behavior data to a server, where the target feed module is one of at least one feed module displayed in a current live page;
a response module 72, configured to respond to a sliding operation of at least one feed module displayed in the current live broadcast page by a user, request a first feed stream data from a server when the sliding operation is determined to meet a preset condition, and receive the first feed stream data returned by the server, where the first feed stream data is recommended to the user by the server according to the behavior data;
and the rendering module 73 is configured to map the first feed stream data to at least one feed template designed in advance for rendering when a page turning request triggered by a user is received.
In an exemplary embodiment, a feed stream data includes module identification information and module type information, and the rendering module 73 is further configured to map the first feed stream data to at least one feed template designed in advance according to the module identification information and the module type information for rendering.
In an exemplary embodiment, the response module 72 is further configured to, when detecting that a live page entry request triggered for the first time by a user is received, request the server to acquire second feed stream data of at least one feed module displayed on the live page;
the rendering module 73 is further configured to receive the second feed stream data returned by the server, and map the second feed stream data to at least one feed template designed in advance for rendering, where the second feed stream data is recommended to the user by the server according to the historical behavior data of the user.
In an exemplary embodiment, the live page display device 70 further includes: and a judging module.
The judging module is used for sending identification information of the user to the server so that the server judges whether the user belongs to a preset experimental group according to the identification information;
the receiving module 74 is further configured to receive a feedback message that is returned by the server and whether the user belongs to the preset experimental group.
In an exemplary embodiment, the response module 72 is further configured to request the first feed stream data from the server when it is detected that the feed module currently presented to the user on the screen is an nth feed module of the at least one feed module displayed on the current live page, where N is a preset integer greater than or equal to 2.
In an exemplary embodiment, the live page display device 70 further includes: and a cache module.
And the cache module is used for caching third feed stream data corresponding to at least one feed module displayed on the current live broadcast page into a memory.
In an exemplary embodiment, the feed module includes a leader board module, and the live page display device 70 further includes: and updating the module.
The updating module is used for starting a timer to time when detecting that the user enters the live broadcast room from the feed module, and controlling the timer to stop timing when detecting that the user returns to the feed module from the live broadcast room; acquiring the stay time of the user in the live broadcast room calculated by the timer; judging whether the stay time is longer than the refreshing time of a ranking list module issued by the server; and if the stay time is longer than the refreshing time of the ranking list module, updating the ranking list module.
According to the method and the device, when the live broadcast room is displayed, feed stream data of each feed module are rendered in a feed template mode, so that multiplexing of page elements can be realized, the rendering performance can be improved, and the system resource consumption is reduced. Meanwhile, the method and the device take feed stream data as a carrier to issue the live broadcast data of each live broadcast room, so that the data of the live broadcast rooms can be issued more flexibly. In addition, in this embodiment, when the user does not completely slide all the feed modules of the current live page, the first feed stream data of at least one feed module included in the next page is obtained from the server in advance, so that when the user finishes sliding all the feed modules of the current page, 20 feed stream data included in the next page can be immediately rendered, the time required for switching the page is reduced, and the user experience is improved.
Fig. 8 schematically shows a hardware architecture diagram of a computer device 8 suitable for implementing a live page display method according to an embodiment of the present application. In the present embodiment, the computer device 8 is a device capable of automatically performing numerical calculation and/or information processing in accordance with a command set or stored in advance. For example, the server may be a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server or a server cluster composed of a plurality of servers). As shown in fig. 8, the computer device 8 includes at least, but is not limited to: the memory 120, processor 121, and network interface 122 may be communicatively linked to each other by a system bus. Wherein:
the memory 120 includes at least one type of computer-readable storage medium, which may be volatile or non-volatile, and particularly, includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the storage 120 may be an internal storage module of the computer device 8, such as a hard disk or a memory of the computer device 8. In other embodiments, the memory 120 may also be an external storage device of the computer device 8, such as a plug-in hard disk provided on the computer device 8, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Of course, the memory 120 may also include both internal and external memory modules of the computer device 8. In this embodiment, the memory 120 is generally used for storing an operating system installed in the computer device 8 and various types of application software, such as program codes of a live page display method. In addition, the memory 120 may also be used to temporarily store various types of data that have been output or are to be output.
Processor 121 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other live page display chip in some embodiments. The processor 121 is generally configured to control the overall operation of the computer device 8, such as performing control and processing related to data interaction or communication with the computer device 8. In this embodiment, the processor 121 is configured to execute the program code stored in the memory 120 or process data.
Network interface 122 may comprise a wireless network interface or a wired network interface, with network interface 122 typically being used to establish communication links between computer device 8 and other computer devices. For example, the network interface 122 is used to connect the computer device 8 with an external terminal via a network, establish a data transmission channel and a communication link between the computer device 8 and the external terminal, and the like. The network may be a wireless or wired network such as an Intranet (Intranet), the Internet (Internet), a Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), a 4G network, a 5G network, Bluetooth (Bluetooth), or Wi-Fi.
It is noted that FIG. 8 only shows a computer device having components 120-122, but it is understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
In this embodiment, the live page display method stored in the memory 120 may be divided into one or more program modules and executed by one or more processors (in this embodiment, the processor 121) to complete the present application.
The embodiment of the application provides a computer readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the live page display method in the embodiment.
In this embodiment, the computer-readable storage medium includes a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. In some embodiments, the computer readable storage medium may be an internal storage unit of the computer device, such as a hard disk or a memory of the computer device. In other embodiments, the computer readable storage medium may be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device. Of course, the computer-readable storage medium may also include both internal and external storage devices of the computer device. In this embodiment, the computer-readable storage medium is generally used for storing an operating system and various types of application software installed in the computer device, for example, program codes of the live page display method in the embodiment, and the like. Further, the computer-readable storage medium may also be used to temporarily store various types of data that have been output or are to be output.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on at least two network units. Some or all of the modules can be screened out according to actual needs to achieve the purpose of the scheme of the embodiment of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a general hardware platform, and certainly can also be implemented by hardware. It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a Random Access Memory (RAM), or the like.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A method for displaying a live page, the method comprising:
acquiring behavior data of a user aiming at a target feed module, and uploading the behavior data to a server side, wherein the target feed module is one of at least one feed module displayed in a current live broadcast page;
responding to sliding operation of a user based on at least one feed module displayed in the current live broadcast page, when the sliding operation is judged to meet a preset condition, requesting first feed stream data from a server, and receiving the first feed stream data returned by the server, wherein the first feed stream data is recommended to the user by the server according to the behavior data;
and when a page turning request triggered by a user is received, mapping the first feed stream data to at least one feed template which is designed in advance for rendering.
2. The method of claim 1, wherein each feed stream data includes module identification information and module type information, and wherein mapping the first feed stream data onto at least one feed template designed in advance for rendering comprises:
and mapping the first feed stream data to at least one feed template which is designed in advance according to the module identification information and the module type information for rendering.
3. The live broadcast page display method according to claim 1, wherein before the step of obtaining behavior data of the user for the target feed module and uploading the behavior data to the server, the method further comprises:
when detecting that a live broadcast page triggered for the first time by a user enters a request, requesting second feed stream data from a server;
and receiving the second feed stream data returned by the server, and mapping the second feed stream data to at least one feed template which is designed in advance for rendering, wherein the second feed stream data is recommended to the user by the server according to the historical behavior data of the user.
4. The method according to claim 3, wherein before the step of requesting the server to obtain the second feed stream data of at least one feed module displayed on the live page, the method further comprises:
sending identification information of the user to the server so that the server judges whether the user belongs to a preset experimental group according to the identification information;
and receiving a feedback message which is returned by the server and whether the user belongs to the preset experimental group.
5. The method for displaying the live broadcast page according to claim 1, wherein the step of requesting the first feed stream data from the server when the sliding operation is determined to meet the preset condition comprises:
and when detecting that a feed module currently presented to a user on a screen is an Nth feed module in at least one feed module displayed on the current live broadcast page, requesting first feed stream data from a server, wherein N is a preset integer greater than or equal to 2.
6. The method of displaying a live page of claim 5, further comprising:
and caching third feed stream data corresponding to at least one feed module displayed on the current live broadcast page into a memory.
7. The method for displaying the live page according to any one of claims 1 to 6, wherein the feed module includes a leader board module, and the method further includes:
when detecting that a user enters a live broadcast room from a feed module, starting a timer to time, and when detecting that the user returns to the feed module from the live broadcast room, controlling the timer to stop timing;
acquiring the stay time of the user in the live broadcast room calculated by the timer;
judging whether the stay time is longer than the refreshing time of a ranking list module issued by the server;
and if the stay time is longer than the refreshing time of the ranking list module, updating the ranking list module.
8. A live page display apparatus, comprising:
the system comprises an acquisition module, a server and a display module, wherein the acquisition module is used for acquiring behavior data of a user aiming at a target feed module and uploading the behavior data to the server, and the target feed module is one of at least one feed module displayed in a current live broadcast page;
the response module is used for responding to the sliding operation of at least one feed module displayed in the current live broadcast page by a user, requesting first feed stream data from a server when the sliding operation meets a preset condition, and receiving the first feed stream data returned by the server, wherein the first feed stream data is recommended to the user by the server according to the behavior data;
and the rendering module is used for mapping the first feed stream data to at least one feed template which is designed in advance for rendering when a page turning request triggered by a user is received.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor is adapted to carry out the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 7.
CN202110634901.6A 2021-06-08 2021-06-08 Live broadcast page display method and device Pending CN113360806A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110634901.6A CN113360806A (en) 2021-06-08 2021-06-08 Live broadcast page display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110634901.6A CN113360806A (en) 2021-06-08 2021-06-08 Live broadcast page display method and device

Publications (1)

Publication Number Publication Date
CN113360806A true CN113360806A (en) 2021-09-07

Family

ID=77532941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110634901.6A Pending CN113360806A (en) 2021-06-08 2021-06-08 Live broadcast page display method and device

Country Status (1)

Country Link
CN (1) CN113360806A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514995A (en) * 2021-06-23 2022-12-23 武汉斗鱼鱼乐网络科技有限公司 Method, device and equipment for displaying recommendation information of live broadcast room

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375866A (en) * 2016-09-20 2017-02-01 腾讯科技(深圳)有限公司 Page loading method and terminal
CN107066545A (en) * 2017-03-17 2017-08-18 北京潘达互娱科技有限公司 A kind of page loading method and device
WO2018103484A1 (en) * 2016-12-06 2018-06-14 腾讯科技(深圳)有限公司 Data processing method, apparatus and system for live broadcast page
CN110519250A (en) * 2019-08-20 2019-11-29 上海掌门科技有限公司 It is a kind of that the method and apparatus of information flow is provided
CN110688571A (en) * 2019-09-20 2020-01-14 北京字节跳动网络技术有限公司 List stream implementation method and device, electronic equipment and storage medium
CN111556357A (en) * 2020-04-30 2020-08-18 广州华多网络科技有限公司 Method, device and equipment for playing live video and storage medium
CN111581560A (en) * 2020-04-29 2020-08-25 北京字节跳动网络技术有限公司 Page display method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375866A (en) * 2016-09-20 2017-02-01 腾讯科技(深圳)有限公司 Page loading method and terminal
WO2018103484A1 (en) * 2016-12-06 2018-06-14 腾讯科技(深圳)有限公司 Data processing method, apparatus and system for live broadcast page
CN107066545A (en) * 2017-03-17 2017-08-18 北京潘达互娱科技有限公司 A kind of page loading method and device
CN110519250A (en) * 2019-08-20 2019-11-29 上海掌门科技有限公司 It is a kind of that the method and apparatus of information flow is provided
CN110688571A (en) * 2019-09-20 2020-01-14 北京字节跳动网络技术有限公司 List stream implementation method and device, electronic equipment and storage medium
CN111581560A (en) * 2020-04-29 2020-08-25 北京字节跳动网络技术有限公司 Page display method and device, electronic equipment and storage medium
CN111556357A (en) * 2020-04-30 2020-08-18 广州华多网络科技有限公司 Method, device and equipment for playing live video and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115514995A (en) * 2021-06-23 2022-12-23 武汉斗鱼鱼乐网络科技有限公司 Method, device and equipment for displaying recommendation information of live broadcast room

Similar Documents

Publication Publication Date Title
CN110659121B (en) Task data acquisition method and device, task configuration method and device and server
CN107797717B (en) Push method, display method, client device and data processing system
CN107527186B (en) Electronic reading management method and device and terminal equipment
US10061806B2 (en) Presenting previously selected search results
EP2798605B1 (en) Method, device, and system for generating and analyzing digital readable media consumption data
CN113329232B (en) Resource distribution method and device, electronic equipment and storage medium
US20160315904A1 (en) Control method and apparatus for data display
CN114461897B (en) Information processing method, information processing device, electronic equipment and storage medium
CN104038842B (en) A kind of method and apparatus prefetching request program information in CDN network
CN115278339A (en) Mixed broadcast processing method and system
CN113360806A (en) Live broadcast page display method and device
CN112801584A (en) Grouping-based order distribution method, server-side equipment and computer readable medium
CN113315981A (en) Task data updating method, device and system, electronic equipment and storage medium
CN115361589B (en) Page display method and device, electronic equipment and storage medium
CN114063958B (en) Page split screen display method and device
CN115623236A (en) Gift special-effect resource playing method and device
CN113727136B (en) Live broadcast pushing method, system, device, equipment and storage medium
CN113515336B (en) Live room joining method, creation method, device, equipment and storage medium
CN113630612B (en) Data processing and data displaying method and device, electronic equipment and medium
CN114257873A (en) Information pushing method and card display method in live network scene
CN114584807A (en) Skin setting method and device, and skin display method and device
CN112423099A (en) Video loading method and device and electronic equipment
CN112800251B (en) Multimedia resource delivery method and device, electronic equipment and storage medium
CN111885139A (en) Content sharing method, device and system, mobile terminal and server
US20230276103A1 (en) Bullet-screen-comment-based check-in implementation and creation

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