CN115396713A - Page display method and device, electronic equipment and storage medium - Google Patents

Page display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115396713A
CN115396713A CN202210944957.6A CN202210944957A CN115396713A CN 115396713 A CN115396713 A CN 115396713A CN 202210944957 A CN202210944957 A CN 202210944957A CN 115396713 A CN115396713 A CN 115396713A
Authority
CN
China
Prior art keywords
live broadcast
broadcast room
target
page
preview
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
CN202210944957.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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210944957.6A priority Critical patent/CN115396713A/en
Publication of CN115396713A publication Critical patent/CN115396713A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure relates to a page display method, a page display device, an electronic device and a storage medium, wherein the page display method comprises the following steps: responding to a display instruction of an account for a live broadcast room preview page, and acquiring a live broadcast video stream of at least one target associated live broadcast room in a live broadcast state; the target association live broadcast room and the account meet a target association relationship, and the target association relationship corresponds to the page type of the preview page of the live broadcast room; determining target video data; the target video data comprises video data issued by a main broadcast corresponding to any target associated live broadcast room; and displaying the live broadcast video stream of the at least one target associated live broadcast room in a first preview area of the live broadcast room preview page, and playing the target video data in a second preview area of the live broadcast room preview page. The method and the device enrich the display content of the preview page of the live broadcast room, and improve the interaction between the user and the preview page of the live broadcast room and the interaction between the user and the live broadcast room.

Description

Page display method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page display method and apparatus, an electronic device, and a storage medium.
Background
Watching live video through a live related application program in a terminal is one of main life ways of people, and generally, the live related application program displays preview information of a plurality of related live rooms on a live room preview page so that a user can select an interested live room to enter.
In the related technology, the content displayed by the preview page of the live broadcast room is not rich enough, and the preview information of each live broadcast room reveals less live broadcast related information, and if only the live broadcast prompt with the head portrait of the live broadcast room is used as the preview information, the interaction between the user and the preview page of the live broadcast room is reduced, and the difficulty of selecting the interested live broadcast room from the preview page of the live broadcast room by the user is increased because the user cannot acquire the effective information of the live broadcast room quickly, thereby reducing the interaction between the user and the live broadcast room.
Disclosure of Invention
The disclosure provides a page display method, a page display device, electronic equipment and a storage medium, which are used for at least solving the problem of low interaction between a user and a live broadcast room preview page and between users and live broadcast rooms in the related technology. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a page display method, including:
responding to a display instruction of an account for a live broadcast room preview page, and acquiring a live broadcast video stream of at least one target associated live broadcast room in a live broadcast state; the target association live broadcast room and the account meet a target association relationship, and the target association relationship corresponds to the page type of the preview page of the live broadcast room;
determining target video data; the target video data comprises video data issued by a main broadcast corresponding to any target associated live broadcast room;
and displaying the live video stream of the at least one target associated live broadcast room in a first preview area of the live broadcast room preview page, and playing the target video data in a second preview area of the live broadcast room preview page.
In an exemplary embodiment, the obtaining, in response to a presentation instruction of an account to a live broadcast preview page, a live video stream of at least one target associated live broadcast room in a live broadcast state includes:
responding to a display instruction of an account for a live broadcast room preview page, and sending a live broadcast room preview request to a server;
receiving live broadcast room identification of at least one target associated live broadcast room in a live broadcast state, which is returned by the server in response to the live broadcast room preview request;
and acquiring the live broadcast video stream of each target associated live broadcast room based on the live broadcast room identification of the at least one target associated live broadcast room.
In an exemplary embodiment, the receiving a live broadcast room identifier of at least one target associated live broadcast room returned by the server in response to the live broadcast room preview request includes:
receiving a live broadcast room identification list returned by the server in response to the live broadcast room preview request; the live broadcast room identification list comprises live broadcast room identifications of the at least one target associated live broadcast room which are sorted according to a weight coefficient, and the weight coefficient represents the association degree between the corresponding target associated live broadcast room and the account.
In an exemplary embodiment, presenting a live video stream of the at least one target-associated live broadcast in a first preview area of the live broadcast preview page includes:
determining a first target associated live broadcast room with the largest weight coefficient in the at least one target associated live broadcast room;
determining cover information corresponding to the rest target associated live broadcast rooms;
displaying the live video stream of the first target associated live broadcast room in a first preview area of the live broadcast room preview page, and displaying the rest cover information corresponding to the target associated live broadcast room in the first preview area of the live broadcast room preview page.
In an exemplary embodiment, the method further comprises:
in response to the sliding operation of the first preview area, determining a second target associated live broadcast room located in a preset area position in the at least one target associated live broadcast room;
determining cover information corresponding to the rest target associated live broadcast rooms;
displaying the live video stream of the second target associated live broadcast room in a first preview area of the live broadcast room preview page, and displaying the rest cover information of the target associated live broadcast room in the first preview area of the live broadcast room preview page.
In an exemplary embodiment, the determining the target video data includes:
and selecting any live video stream from the live video streams corresponding to the rest target associated live rooms as the target video data.
In an exemplary embodiment, the determining the target video data includes:
selecting any live broadcast room identifier from the live broadcast room identifiers;
sending a video data acquisition request aiming at any live broadcast room identifier to the server; the video data acquisition request is used for requesting historical video data which are issued within a preset time period by a main broadcast of a target associated live broadcast room corresponding to any live broadcast room identifier;
and receiving the historical video data returned by the server in response to the video data acquisition request, and taking the historical video data as the target video data.
In an exemplary embodiment, the method further comprises:
and responding to the triggering operation of any target associated live broadcast room in the first preview area, and displaying the triggered live broadcast page of the target associated live broadcast room.
According to a second aspect of the embodiments of the present disclosure, there is provided a page display method, including:
responding to a live broadcast preview request of an account for a live broadcast preview page, and determining a target association relation corresponding to the page type of the live broadcast preview page;
when determining that at least one target associated direct time in a live broadcast state exists in a live broadcast room meeting the target association relation with the account, acquiring a live broadcast room identifier of the at least one target associated live broadcast room;
returning a live broadcast room identifier of the at least one target associated live broadcast room to the account, so that a terminal corresponding to the account acquires live broadcast video streams of the target associated live broadcast rooms based on the live broadcast room identifier of the at least one target associated live broadcast room, determines target video data, displays the live broadcast video streams of the at least one target associated live broadcast room in a first preview area of a live broadcast room preview page, and displays the target video data in a second preview area of the live broadcast room preview page; wherein the target video stream comprises video data published by a main broadcast of any one of the target associated live rooms.
In an exemplary embodiment, the returning the live broadcast room identification of the at least one target associated live broadcast room to the account includes:
determining the degree of association between each target associated live broadcast room in the at least one target associated live broadcast room and the account;
determining a weight coefficient of each target associated live broadcast room based on the association degree;
sequencing the live broadcasting room identifiers of the at least one target associated live broadcasting room according to the weight coefficient to obtain a live broadcasting room identifier list;
and returning the live broadcast room identification list to the account.
According to a third aspect of the embodiments of the present disclosure, there is provided a page displaying apparatus, including:
the live video stream acquisition unit is configured to execute a display instruction of an account for a live broadcast room preview page, and acquire a live video stream of at least one target associated live broadcast room in a live broadcast state; the target association live broadcast room and the account meet a target association relationship, and the target association relationship corresponds to the page type of the preview page of the live broadcast room;
a target video data determination unit configured to perform determination of target video data; the target video data comprises video data issued by a main broadcast corresponding to any target associated live broadcast room;
and the page display unit is configured to display the live video stream of the at least one target associated live broadcast room in a first preview area of the live broadcast room preview page, and play the target video data in a second preview area of the live broadcast room preview page.
In an exemplary embodiment, the live video stream acquiring unit includes:
the request sending unit is configured to execute a display instruction of the account for the live broadcast preview page and send a live broadcast preview request to the server;
a live broadcast room identification receiving unit configured to execute receiving of a live broadcast room identification of at least one target associated live broadcast room returned by the server in response to the live broadcast room preview request, the target associated live broadcast room being in a live broadcast state;
and the live video stream acquisition subunit is configured to execute the acquisition of the live video stream of each target associated live broadcast room based on the live broadcast room identification of the at least one target associated live broadcast room.
In an exemplary embodiment, the live broadcast room identifier receiving unit is specifically configured to perform: receiving a live broadcast room identification list returned by the server in response to the live broadcast room preview request; the live broadcast room identification list comprises live broadcast room identifications of the at least one target associated live broadcast room which are sorted according to a weight coefficient, and the weight coefficient represents the association degree between the corresponding target associated live broadcast room and the account.
In an exemplary embodiment, the page display unit includes:
a first determining unit configured to perform determining a first target associated live broadcast room, among the at least one target associated live broadcast room, in which the weight coefficient is largest;
the second determining unit is configured to determine cover information corresponding to the rest target related live rooms;
and the first display subunit is configured to display the live video stream of the first target associated live broadcast room in a first preview area of the live broadcast room preview page, and display the remaining cover information corresponding to the target associated live broadcast room in the first preview area of the live broadcast room preview page.
In an exemplary embodiment, the page display unit further includes:
a third determining unit configured to perform determining a second target associated live broadcast room located at a preset area position in the at least one target associated live broadcast room in response to a sliding operation on the first preview area;
a fourth determining unit configured to perform determining cover information corresponding to the remaining target-associated live broadcast rooms;
and the second display subunit is configured to display the live video stream of the second target associated live broadcast room in the first preview area of the live broadcast room preview page, and display the remaining cover information of the target associated live broadcast room in the first preview area of the live broadcast room preview page.
In an exemplary embodiment, the target video data determination unit is specifically configured to perform: and selecting any live video stream from the live video streams corresponding to the rest target associated live rooms as the target video data.
In an exemplary embodiment, the target video data determination unit is specifically configured to perform: selecting any live broadcast room identifier from the live broadcast room identifiers; sending a video data acquisition request aiming at any live broadcast room identifier to the server; the video data acquisition request is used for requesting historical video data issued by a main broadcast of a target associated live broadcast room corresponding to any live broadcast room identifier within a preset time period; and receiving the historical video data returned by the server in response to the video data acquisition request, and taking the historical video data as the target video data.
In an exemplary embodiment, the apparatus further comprises:
and the live page display unit is configured to execute a trigger operation on any one target associated live broadcast room in the first preview area, and display the triggered live broadcast page of the target associated live broadcast room.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a page displaying apparatus, including:
the target association relation determining unit is configured to execute a live broadcast preview request of an account for a live broadcast preview page, and determine a target association relation corresponding to the page type of the live broadcast preview page;
a live broadcast room identification obtaining unit configured to obtain a live broadcast room identification of at least one target associated live broadcast room when determining that at least one target associated direct broadcast room in a live broadcast state exists in a live broadcast room satisfying the target association relation with the account;
a live broadcast room identifier returning unit configured to perform returning of a live broadcast room identifier of the at least one target associated live broadcast room to the account, so that a terminal corresponding to the account acquires a live broadcast video stream of each target associated live broadcast room based on the live broadcast room identifier of the at least one target associated live broadcast room, determines target video data, displays the live broadcast video stream of the at least one target associated live broadcast room in a first preview area of a live broadcast room preview page, and plays the target video data in a second preview area of the live broadcast room preview page; and the target video stream comprises video data published by a main broadcast of any target associated live broadcast room.
In an exemplary embodiment, the live room identification returning unit includes:
the association degree determining unit is configured to determine the association degree between each target associated live broadcast room in the at least one target associated live broadcast room and the account;
a weight coefficient determination unit configured to perform determination of a weight coefficient of each of the target associated live rooms based on the degree of association;
the sorting unit is configured to perform sorting on the live broadcast room identifiers of the at least one target associated live broadcast room according to the weight coefficients to obtain a live broadcast room identifier list;
a live room identifier return subunit configured to perform returning the live room identifier list to the account.
According to a fifth aspect of embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page display method of the first aspect or the second aspect.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein when instructions of the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the page display method of the first aspect.
According to a seventh aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program/instructions, which when executed by a processor, implement the page presentation method of the first or second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the method comprises the steps of responding to a display instruction of an account for a preview page of a live broadcast room, obtaining a live broadcast video stream of at least one target associated live broadcast room in a live broadcast state, wherein the target associated live broadcast room and the account meet a target association relation, the target association relation corresponds to the page type of the preview page of the live broadcast room, and determining target video data, wherein the target video data comprise video data issued by a main broadcast corresponding to any target associated live broadcast room, and then displaying the live broadcast video stream of at least one target associated live broadcast room in a first preview area of the preview page of the live broadcast room, and simultaneously displaying the target video data in a second preview area of the preview page of the live broadcast room, so that a user can also preview the content currently live broadcast in each target associated live broadcast room in the process of browsing the target video, the display content of the page of the live broadcast room is enriched, the user can quickly obtain effective information of the live broadcast room, the difficulty in selecting an interested live broadcast room from the preview page of the live broadcast room is reduced, the interaction between the user and the preview page of the live broadcast room is also improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of an application environment, according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a page presentation method in accordance with an exemplary embodiment;
FIG. 3 is a pictorial illustration of a presentation of a live room attention page shown in accordance with an exemplary embodiment;
FIG. 4 is a flow diagram illustrating another page presentation method in accordance with an illustrative embodiment;
FIG. 5 is a flow diagram illustrating another page presentation method in accordance with an illustrative embodiment;
FIG. 6 is a flow diagram illustrating another method of page presentation in accordance with an illustrative embodiment;
FIG. 7 is a flow diagram illustrating another page presentation method in accordance with an illustrative embodiment;
FIG. 8 is a block diagram illustrating the structure of a page presentation apparatus according to an exemplary embodiment;
FIG. 9 is a block diagram illustrating the structure of another page showing apparatus according to an exemplary embodiment;
FIG. 10 is a block diagram illustrating the structure of a terminal in accordance with one exemplary embodiment;
FIG. 11 is a block diagram illustrating the structure of a server in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the foregoing drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are both information and data that are authorized by the user or sufficiently authorized by various parties.
In the related technology, the content displayed on the live broadcast room preview page of the live broadcast application program, such as the live broadcast room attention page, is not rich enough, the live broadcast related information disclosed by the preview information of each live broadcast room is less, and only the live broadcast prompt with the head portrait of the live broadcast room is used as the preview information of the live broadcast room in the live broadcast, so that the interaction between a user and the live broadcast room preview page is reduced, and the difficulty of selecting an interested live broadcast room from the live broadcast room preview page by the user is increased because the user cannot quickly acquire the effective information of the live broadcast room, thereby reducing the interaction between the user and the live broadcast room.
Based on this, the disclosed embodiment provides a page display method, which includes obtaining a live video stream of at least one target associated live broadcast room in a live broadcast state by responding to a display instruction of an account for a live broadcast room preview page, where the target associated live broadcast room and the account satisfy a target association relationship, the target association relationship corresponds to a page type of the live broadcast room preview page, and determining target video data, where the target video data includes video data issued by a main broadcast corresponding to any target associated live broadcast room, so that the live video stream of the at least one target associated live broadcast room is displayed in a first preview area of the live broadcast room preview page, and simultaneously the target video data is played in a second preview area of the live broadcast room preview page, so that a user can obtain content currently being played among the target associated live broadcast rooms in a process of browsing a target video, the display content of the live broadcast room preview page is enriched, the user can quickly obtain effective information of the live broadcast room, and further reduce difficulty in selecting an interesting live broadcast room from the live broadcast page, which interaction between the user and the live broadcast room is facilitated to be improved.
Referring to fig. 1, a schematic diagram of an application environment of a page display method according to an exemplary embodiment is shown, where the application environment may include a terminal 110 and a server 120, and the terminal 110 and the server 120 may be connected through a wired network or a wireless network.
The terminal 110 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like. The terminal 110 may have client software such as an Application (App) for providing a live broadcast function installed therein, and the Application may be a stand-alone Application or a sub-program in the Application. The user of terminal 110 may log into the application through pre-registered user information, which may include an account and a password.
The server 120 may provide a background service for the application program in the terminal 110, and specifically, the background service may be a live data service. The server 120 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, and the like.
Fig. 2 is a flowchart illustrating a page display method according to an exemplary embodiment, and as shown in fig. 2, the page display method is applied to the terminal of fig. 1, and includes the following steps:
in step S201, in response to a display instruction of the account for the live broadcast preview page, a live broadcast video stream of at least one target associated live broadcast in a live broadcast state is acquired.
And the target association live broadcast room and the account meet a target association relationship and are in a live broadcast state, and the target association relationship corresponds to the page type of the live broadcast room preview page.
Taking the page type of the live broadcast room preview page as an attention page type as an example, the live broadcast room preview page at this time is a live broadcast room attention page, the corresponding target association relation refers to an attention relation, and the target associated live broadcast room refers to an attention live broadcast room in a live broadcast state in a live broadcast room concerned by the account.
Taking the page type of the preview page of the live broadcast room as the same-city page type as an example, the preview page of the live broadcast room at this time is the same-city page, the corresponding target association relationship refers to the same region relationship, and the target associated live broadcast room refers to the live broadcast room which belongs to the same region with the account and is in a live broadcast state. For example, if the account belongs to city a, the target associated live broadcast room is a live broadcast room whose home location is city a and is in a live broadcast state.
In a specific implementation, the display instruction of the account for the live broadcast room preview page may be a display instruction initiated to the corresponding terminal when the account enters a live broadcast application program and clicks the live broadcast room preview page, and after receiving the display instruction, the terminal obtains a live broadcast video stream of at least one target associated with the live broadcast room in a live broadcast state in response to the display instruction.
In step S203, target video data is determined.
The target video data comprise video data released by a main broadcast corresponding to any one target associated live broadcast room.
It is understood that the target video data may be a live video stream, or may be video data capable of audio-video playing. When the target video data is a live video stream, the target video data may be a live video stream of any target associated live broadcast room in the target associated live broadcast rooms.
In step S205, the live video stream of the at least one target-associated live broadcast room is displayed in a first preview area of the live broadcast room preview page, and the target video data is played in a second preview area of the live broadcast room preview page.
In the embodiment of the disclosure, the live preview page includes a first preview area and a second preview area, where the first preview area is used to display a live video stream of at least one target-associated live broadcast room, and the second preview area is used to play target video data. Therefore, after the live video stream and the target video data of the at least one target associated live broadcast room are obtained, the live video stream of the at least one target associated live broadcast room is displayed in the first preview area, and the target video data are played in the second preview area.
The position layout of the first preview area and the second preview area in the live broadcast preview page can be designed according to actual needs, so that the first preview area can be arranged in the top area of the live broadcast preview page, and the rest area of the live broadcast preview page is used as the second preview area.
In consideration of the limited size of a terminal display interface in practical application, in order to more clearly show the live video streams of the target associated live rooms, the live video streams of at least one target associated live room can be shown in a sliding list form in the first preview area.
In a specific implementation, the first preview area provides a corresponding entry for each target-associated live broadcast room, the live broadcast video stream of the target-associated live broadcast room is displayed in the entry, and when a trigger operation (such as clicking) on the entry is received, a live broadcast page of the live broadcast room corresponding to the entry can be accessed. The entrance can be in the form of a card, at the moment, the first preview area can display a card list, each card corresponds to one target associated live broadcast room, and each card displays the live broadcast video stream of the corresponding target associated live broadcast room.
In an exemplary embodiment, in order to facilitate a user to quickly identify each target-associated live broadcast room, when a live broadcast video stream of at least one target-associated live broadcast room is displayed in the first preview area, the live broadcast video stream of the target-associated live broadcast room and a live broadcast room identifier of the target-associated live broadcast room may be displayed in an overlapping manner, so that the user can see the live broadcast room identifier while previewing the live broadcast video stream. It can be understood that some other information, such as live broadcast state information and the like, can be displayed in an overlapping manner when the live broadcast video stream is displayed, and the live broadcast video stream of each target associated live broadcast room can be displayed in an overlapping manner in the first preview area according to actual needs.
Fig. 3 is a schematic illustration showing a live view page provided by an embodiment of the present disclosure, and as shown in fig. 3, a live view page 300 includes a first preview area 310 and a second preview area 320, where the first preview area 310 is located in a top area, and the second preview area 320 is located below the first preview area 310, and occupies a larger area of a page area than the first preview area 310. The first preview area 310 displays a plurality of live video streams of a live target attention live broadcast room in a form of a horizontal card list, and each card displays the corresponding live video stream in an overlapping manner with a live broadcast room identifier and a live broadcast state. The second preview area 320 plays target video data, which is a game video released by a target in the first preview area 310 that is focused on the anchor of the live broadcast.
According to the embodiment, when the account selects the expected live broadcast room in the first preview area of the live broadcast preview page, the audio and video output of the second preview area can be still received, the interaction between the live broadcast preview page and the account is enhanced, and because the first preview area displays at least one target associated live broadcast room in a dynamic live broadcast video stream mode, the account can learn the current live broadcast content of each target associated live broadcast room, the selection difficulty of the expected live broadcast room is reduced, the efficiency of the account selection deadline live broadcast room is improved, and the interaction between the account and the live broadcast room is favorably improved.
In an exemplary embodiment, as shown in the flowchart of another page displaying method provided in fig. 4, the step S201 may include:
in step S401, in response to a presentation instruction of the account for the live broadcast preview page, a live broadcast preview request is sent to the server.
The live broadcast room preview request can carry a page identifier of a live broadcast room preview page and an account identifier of an account.
In step S403, receiving a live broadcast room identifier of at least one target associated live broadcast room returned by the server in response to the live broadcast room preview request, where the target is in a live broadcast state.
Specifically, after receiving the live broadcast preview request sent by the terminal, the server parses the live broadcast preview request to obtain a page identifier of a live broadcast preview page and an account identifier of an account, determines a page type of the live broadcast preview page based on the page identifier of the live broadcast preview page, and determines a target association relationship corresponding to the page type. The server continues to search the associated live broadcasting rooms which satisfy the target association relation with the account identification based on the target association relation, and determines the target associated live broadcasting rooms in the live broadcasting state in the associated live broadcasting rooms, so that the live broadcasting room identification of the target associated live broadcasting rooms is obtained, the live broadcasting room identification of the target associated live broadcasting rooms is returned to the corresponding terminal, and the terminal receives the live broadcasting room identification of at least one target associated live broadcasting room which is returned by the server in response to the live broadcasting room preview request and is in the live broadcasting state.
In step S405, based on the live broadcast room identifier of the at least one target associated live broadcast room, a live broadcast video stream of each target associated live broadcast room is obtained.
Specifically, after receiving the live broadcast room identifier of at least one target associated live broadcast room returned by the server, the terminal can acquire the live broadcast video stream of the corresponding live broadcast room based on each live broadcast room identifier, and further acquire the live broadcast video stream of each target associated live broadcast room.
In practical application, the terminal can pull the live broadcast video stream according to the number of the live broadcast room identifiers of at least one target associated live broadcast room. For example, when the number of returned live broadcast room identifiers is small, live broadcast video streams of all target associated live broadcast rooms corresponding to the returned live broadcast room identifiers can be pulled at one time, and when the number of returned live broadcast room identifiers is large, live broadcast video streams of target associated live broadcast rooms corresponding to the live broadcast room identifiers can be pulled in batches, so that occupation of a terminal memory can be reduced, and the display effect can be improved. When the batch pulling is carried out, the number of the live room identifications related to each batch can be larger than the maximum number of live room entries which can be displayed by the display interface each time.
In the above embodiment, by first obtaining the live broadcast room identifier of at least one target associated live broadcast room, and then pulling the corresponding live broadcast video stream based on the obtained live broadcast room identifier, the flexibility of the terminal for pulling the corresponding live broadcast video stream of the target associated live broadcast room can be improved.
In an exemplary embodiment, the step S403 may be implemented by: receiving a live broadcasting room identification list returned by the server in response to the live broadcasting room preview request; the live broadcast room identification list comprises live broadcast room identifications of at least one target associated live broadcast room which are sequenced according to weight coefficients, and the weight coefficients represent the association degree between the corresponding target associated live broadcast rooms and the account.
Specifically, after responding to a live broadcast room preview request and acquiring a live broadcast room identifier of at least one target associated live broadcast room, the server further determines a weight coefficient based on the association degree between each target associated live broadcast room and the account, sorts the live broadcast room identifier of the at least one target associated live broadcast room based on the weight coefficient, and returns a list of the sorted live broadcast room identifiers.
The association degree can be determined based on interaction data of the account and each target associated live broadcast room, the interaction data can include comment times of the account in the target associated live broadcast room, the transfer quantity of virtual resources to the target live broadcast room and the like, generally, the association degree is larger when the comment times are larger, and the association degree is larger when the transfer quantity of the virtual resources is larger. In specific implementation, the association degrees can be respectively calculated for different interaction data types, and then the association degrees are summed to obtain the weight coefficient.
When sorting the direct broadcasting room identifiers of at least one target associated direct broadcasting room, the direct broadcasting room identifiers can be sorted in a descending order according to the weight coefficients, and also can be sorted in an ascending order according to the weight coefficients.
In the embodiment, the live broadcast room identification list returned by the server is sorted according to the weight coefficient, so that the terminal can obtain the live broadcast video stream of the target associated live broadcast room based on the weight coefficient to display, and the efficiency of selecting the expected live broadcast room by the user is improved.
In an exemplary embodiment, the step S205 of displaying, in the first preview area of the live broadcast preview page, the live broadcast video stream of the at least one target-associated live broadcast may specifically include:
determining a first target associated live broadcast room with the largest weight coefficient in the at least one target associated live broadcast room;
determining cover information corresponding to the rest target associated live broadcast rooms;
displaying the live video stream of the first target associated live broadcast room in a first preview area of a preview page of the live broadcast room, and displaying the remaining cover information corresponding to the target associated live broadcast room in the first preview area of the preview page of the live broadcast room.
Specifically, when the direct live broadcasting room identifier list of at least one target associated live broadcasting room is arranged in a descending order according to the weighting system, the target associated direct room corresponding to the live broadcasting room identifier arranged at the first position in the direct live broadcasting room identifier list is the first target associated live broadcasting room with the largest weighting coefficient; otherwise, when the live broadcast room identifier list of at least one target associated live broadcast room is arranged according to the ascending order of the weight system, the target associated direct room corresponding to the live broadcast room identifier arranged at the tail in the live broadcast room identifier list is the first target associated live broadcast room with the maximum weight coefficient.
The remaining target associated live broadcast rooms are target associated live broadcast rooms of the at least one target associated live broadcast room except the first target associated live broadcast room. Cover information of the rest target associated live broadcast rooms can be obtained by intercepting live broadcast video frames from live broadcast video streams of the corresponding target associated live broadcast rooms.
In the embodiment, when the terminal displays the live video stream of at least one target associated live broadcast room in the first preview area for the first time, the live video stream of the target associated live broadcast room with the largest weight coefficient is displayed, and the live video streams of the rest target associated live broadcast rooms are displayed by cover information.
In an exemplary embodiment, the method may further include:
in response to the sliding operation of the first preview area, determining a second target associated live broadcast room located in a preset area position in at least one target associated live broadcast room;
determining cover information corresponding to the rest target associated live broadcast rooms;
displaying the live video stream of the second target associated live broadcasting room in a first preview area of a live broadcasting room preview page, and displaying cover information of the rest target associated live broadcasting rooms in the first preview area of the live broadcasting room preview page.
Specifically, when the user performs a sliding operation in the first preview area, the target associated live broadcast room located within the display range of the terminal may be switched, so that the target associated live broadcast room falling into the view of the user in the first preview area may be switched.
The preset area position may be set according to actual needs, and may be, for example, a middle position of the terminal display range, or a boundary position of the terminal display range. Taking the horizontal sliding as an example, when the horizontal sliding operation is performed in the first preview area so that the left edge of the corresponding entry of a certain target associated live broadcast room located in the display range touches the boundary position of the display range of the terminal, the target associated live broadcast room can be determined as the second target associated live broadcast room. The remaining target associated live broadcast rooms are target associated live broadcast rooms except the second target associated live broadcast room in at least one target associated live broadcast room, and cover information of the remaining target associated live broadcast rooms can be obtained by intercepting live video frames from live video streams of the corresponding target associated live broadcast rooms.
In the embodiment, the live video streams of the target associated live broadcasting rooms displayed in the first preview area are switched in a sliding mode, so that the ordered display of the live video streams corresponding to the target associated live broadcasting rooms can be realized, and the efficiency of selecting interested live broadcasting rooms by a user is improved.
In an exemplary embodiment, in step S203, when determining the target video data, any live video stream may be selected from the live video streams corresponding to the remaining target associated live rooms as the target video data.
Therefore, the second preview area can be used for playing the live video stream of the target associated live broadcast room, the live broadcast content played in the second preview area is asynchronous with the live broadcast content displayed in the first preview area, the content output form of the live broadcast video stream by the preview page of the live broadcast room is enriched, and the user experience is favorably improved.
In another exemplary embodiment, the step S203 may include, when determining the target video data:
selecting any live broadcasting room identifier from the live broadcasting room identifiers of at least one target associated live broadcasting room;
sending a video data acquisition request aiming at any live broadcast room identifier to a server; the video data acquisition request is used for requesting historical video data which are issued within a preset time period by a main broadcast of a target associated live broadcast room corresponding to any live broadcast room identifier;
and receiving historical video data returned by the server in response to the video data acquisition request, and taking the historical video data as target video data.
In the embodiment, the terminal plays the acquired historical video data released by the anchor of any target associated live broadcast room in the preset time period as the target video data in the second preview area, so that the content output of the preview page of the live broadcast room is further enriched, and the user experience is improved. The preset time period can be three days or a week last, and can be set according to actual needs.
In an exemplary embodiment, as shown in fig. 5, a flowchart of another page displaying method, after step 205, the method may further include:
in step S207, in response to a trigger operation on any one of the target associated live broadcast rooms in the first preview area, a live broadcast page of the triggered target associated live broadcast room is displayed.
The trigger operation is used to trigger jumping to a live page, and the trigger operation may be clicking, long pressing, and the like, which is not specifically limited in this disclosure.
As the live broadcast video stream of each target associated live broadcast room is displayed in the first preview area of the live broadcast room preview page, the live broadcast content is dynamically output, so that a user can quickly acquire the effective live broadcast content of each target associated live broadcast room, and then an interested live broadcast room can be quickly selected to enter, and the interaction efficiency between the user and the live broadcast room is improved.
In the following, a server is taken as an execution subject for introduction, and fig. 6 is a schematic flowchart of another page display method provided by the embodiment of the present disclosure, and as shown in fig. 6, the method includes:
in step S601, in response to a live view preview request of an account for a live view preview page, a target association relationship corresponding to a page type of the live view preview page is determined.
The live broadcast room preview request is sent by a terminal corresponding to the account in response to a display instruction of the account for the live broadcast room preview page.
The live broadcast preview request can carry a page identifier of a live broadcast preview page and an account identifier of an account. After receiving the live broadcast preview request sent by the terminal, the server analyzes the live broadcast preview request to obtain a page identifier of a live broadcast preview page and an account identifier of an account, determines a page type of the live broadcast preview page based on the page identifier of the live broadcast preview page, and determines a target association relation corresponding to the page type.
Taking the page type of the live broadcasting room preview page as the attention page type as an example, the live broadcasting room preview page at this time is the attention page, and the corresponding target association relationship is the attention relationship. Taking the page type of the preview page of the live broadcast room as the same city page type as an example, the preview page of the live broadcast room at the moment is the same city page, and the corresponding target association relationship is the same region relationship.
In step S603, when it is determined that at least one target associated direct time in a live broadcast state exists in the live broadcast room satisfying the target association relationship with the account, a live broadcast room identifier of the at least one target associated live broadcast room is obtained.
Specifically, the server determines, based on the target association relationship, an associated live broadcast room satisfying the target association relationship with the account, and further determines whether a target associated live broadcast room in live broadcast exists in the associated live broadcast room, and if yes, the server obtains a live broadcast room identifier of the target associated live broadcast room in live broadcast, so as to execute the following step S605; otherwise, if not, the server ends the processing.
In step S605, the live-room identification of the at least one target-associated live-room is returned to the account.
The live broadcast room identification of the at least one target associated live broadcast room is used for a terminal corresponding to the account to acquire live broadcast video streams of the target associated live broadcast rooms, target video data are determined, the live broadcast video streams of the at least one target associated live broadcast room are displayed in a first preview area of a live broadcast room preview page, and the target video data are played in a second preview area of the live broadcast room preview page; and the target video stream comprises video data published by a main broadcast of any target associated live broadcast room.
In an exemplary embodiment, in order to reduce user selection and improve selection efficiency of the live broadcast room of interest, when the server returns the live broadcast room identifier of at least one target associated live broadcast room to the account, the server may include:
determining the degree of association between each target associated live broadcast room in the at least one target associated live broadcast room and the account;
determining a weight coefficient of each target associated live broadcast room based on the association degree;
sequencing the live broadcast room identifiers of the at least one target associated live broadcast room according to the weight coefficient to obtain a live broadcast room identifier list;
and returning the live broadcast room identification list to the account.
The association degree can be determined based on interaction data of the account and each target associated live broadcast room, the interaction data can include comment times of the account in the target associated live broadcast room, the transfer quantity of virtual resources to the target live broadcast room and the like, generally, the association degree is larger when the comment times are larger, and the association degree is larger when the transfer quantity of the virtual resources is larger. In specific implementation, the association degrees can be respectively calculated for different interaction data types, and then the association degrees are summed to obtain the weight coefficient.
When sorting the direct broadcasting room identifiers of at least one target associated direct broadcasting room, the direct broadcasting room identifiers can be sorted in a descending order according to the weight coefficients, and the direct broadcasting room identifiers can also be sorted in an ascending order according to the weight coefficients.
In the embodiment, the server sorts the live broadcast room identifiers of at least one target associated live broadcast room according to the weight coefficients and then returns the live broadcast room identifier list, so that the terminal can obtain the live broadcast video stream of the target associated live broadcast room based on the weight coefficients to display, and the efficiency of selecting the desired live broadcast room by the user is improved.
In order to more clearly explain the technical solution of the embodiment of the present disclosure, the following is described with reference to fig. 7, taking an illustration of a live broadcast focus page shown in fig. 3 as an example. Fig. 7 is a schematic flow chart of another page display method provided in the embodiment of the present disclosure, which includes:
in step S701, the terminal sends a live view preview request to the server in response to a presentation instruction of the account for the live view attention page.
In step S703, the server determines that the target association is an attention relationship in response to the live view request.
In step S705, when it is determined that there is at least one target attention live broadcast time in the live broadcast time that satisfies the attention relationship with the account, the server obtains a live broadcast time identifier of the at least one target attention live broadcast time.
In step S707, the server determines a degree of association between each target attention live broadcast room in the at least one target attention live broadcast room and the account, determines a weight coefficient of each target attention live broadcast room based on the degree of association, and sorts the live broadcast room identifiers according to the weight coefficient to obtain a live broadcast room identifier list.
In step S709, the server returns the above-mentioned list of live room identifiers to the terminal.
Correspondingly, the terminal receives the live broadcast room identification list.
In step S711, the terminal pulls a live video stream of each target concerned live broadcast room based on the live broadcast room identifier list.
In step S713, the live video streams of the respective target focus live rooms are presented in the form of a horizontal card list in the top area (i.e., the first preview area) of the focus page of the live room, while the target video data is played in the main page area (i.e., the second preview area) of the focus page of the live room.
The target video data is a live video stream of a live broadcasting room concerned by any target.
The embodiment of the disclosure also provides a page display device configured at a terminal, and fig. 8 is a structural block diagram of a page display device according to an exemplary embodiment. Referring to fig. 8, the page displaying apparatus 800 includes:
a live video stream acquiring unit 810 configured to execute a presentation instruction of an account for a live room preview page, and acquire a live video stream of at least one target associated live room in a live state; the target association live broadcast room and the account meet a target association relationship, and the target association relationship corresponds to the page type of the preview page of the live broadcast room;
a target video data determination unit 820 configured to perform determination of target video data; the target video data comprises video data issued by a main broadcast corresponding to any target associated live broadcast room;
the page display unit 830 is configured to display the live video stream of the at least one target associated live broadcast in a first preview area of the live broadcast preview page, and play the target video data in a second preview area of the live broadcast preview page.
In an exemplary embodiment, the live video stream acquiring unit 810 includes:
the request sending unit is configured to execute a display instruction of the account for the live broadcast preview page and send a live broadcast preview request to the server;
a live broadcast room identification receiving unit configured to execute receiving of a live broadcast room identification of at least one target associated live broadcast room returned by the server in response to the live broadcast room preview request, the target associated live broadcast room being in a live broadcast state;
and the live video stream acquisition subunit is configured to execute the acquisition of the live video stream of each target associated live broadcast room based on the live broadcast room identification of the at least one target associated live broadcast room.
In an exemplary embodiment, the live room identifier receiving unit is specifically configured to perform: receiving a live broadcast room identification list returned by the server in response to the live broadcast room preview request; the live broadcast room identification list comprises live broadcast room identifications of the at least one target associated live broadcast room which are sorted according to a weight coefficient, and the weight coefficient represents the association degree between the corresponding target associated live broadcast room and the account.
In an exemplary embodiment, the page display unit 830 includes:
a first determining unit configured to perform determining a first target associated live broadcast room, among the at least one target associated live broadcast room, in which the weight coefficient is largest;
the second determining unit is configured to determine cover information corresponding to the rest of the target related live broadcast rooms;
and the first display subunit is configured to display the live video stream of the first target associated live broadcast room in a first preview area of the live broadcast room preview page, and display the remaining cover information corresponding to the target associated live broadcast room in the first preview area of the live broadcast room preview page.
In an exemplary embodiment, the page display unit further includes:
a third determining unit configured to perform determining a second target associated live broadcast room located at a preset area position in the at least one target associated live broadcast room in response to a sliding operation on the first preview area;
a fourth determining unit configured to perform determining cover information corresponding to the remaining target-associated live rooms;
and the second display subunit is configured to display the live video stream of the second target associated live broadcast room in the first preview area of the live broadcast room preview page, and display the remaining cover information of the target associated live broadcast room in the first preview area of the live broadcast room preview page.
In an exemplary embodiment, the target video data determination unit is specifically configured to perform: and selecting any live video stream from the live video streams corresponding to the rest target associated live rooms as the target video data.
In an exemplary embodiment, the target video data determination unit is specifically configured to perform: selecting any live broadcasting room identifier from the live broadcasting room identifiers; sending a video data acquisition request aiming at any live broadcast room identifier to the server; the video data acquisition request is used for requesting historical video data which are issued within a preset time period by a main broadcast of a target associated live broadcast room corresponding to any live broadcast room identifier; and receiving the historical video data returned by the server in response to the video data acquisition request, and taking the historical video data as the target video data.
In an exemplary embodiment, the apparatus further comprises:
and the live broadcast page display unit is configured to execute a trigger operation of responding to any one target associated live broadcast room in the first preview area and display the triggered live broadcast page of the target associated live broadcast room.
The embodiment of the present disclosure further provides a page display apparatus configured at a server, and fig. 9 is a block diagram illustrating a structure of a page display apparatus according to an exemplary embodiment. Referring to fig. 9, the page displaying apparatus 900 includes:
a target association relation determining unit 910, configured to execute a live broadcast preview request for a live broadcast preview page in response to an account, and determine a target association relation corresponding to a page type of the live broadcast preview page;
a live broadcast room identifier obtaining unit 920 configured to perform, when it is determined that at least one target associated direct time in a live broadcast state exists in a live broadcast room satisfying the target association relationship with the account, obtaining a live broadcast room identifier of the at least one target associated live broadcast room;
a live broadcast room identifier returning unit 930 configured to perform live broadcast room identifier returning of the at least one target associated live broadcast room to the account, so that a terminal corresponding to the account acquires live broadcast video streams of the target associated live broadcast rooms based on the live broadcast room identifier of the at least one target associated live broadcast room, determines target video data, displays the live broadcast video streams of the at least one target associated live broadcast room in a first preview area of a preview page of the live broadcast room, and plays the target video data in a second preview area of the preview page of the live broadcast room; and the target video stream comprises video data published by a main broadcast of any target associated live broadcast room.
In an exemplary embodiment, the live room identification returning unit 930 includes:
the association degree determining unit is configured to determine the association degree between each target associated live broadcast room in the at least one target associated live broadcast room and the account;
a weight coefficient determination unit configured to perform determination of a weight coefficient of each of the target associated live rooms based on the degree of association;
the sorting unit is configured to perform sorting on the live broadcast room identifiers of the at least one target associated live broadcast room according to the weight coefficients to obtain a live broadcast room identifier list;
a live room identifier return subunit configured to perform returning the live room identifier list to the account.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In one exemplary embodiment, there is also provided an electronic device, comprising a processor; a memory for storing processor-executable instructions; the processor is configured to implement the page display method provided in any of the above embodiments when executing the instructions stored in the memory.
The electronic device may be a terminal, a server, or a similar computing device, taking the electronic device as a terminal as an example, fig. 10 is a block diagram illustrating a structure of a terminal for page display according to an exemplary embodiment, specifically:
the terminal may include RF (Radio Frequency) circuitry 1010, memory 1020 including one or more computer-readable storage media, input unit 1030, display unit 1040, sensor 1050, audio circuitry 1060, wiFi (wireless fidelity) module 1070, processor 1080 including one or more processing cores, and power source 1090. Those skilled in the art will appreciate that the terminal structure shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 1010 may be used for receiving and transmitting signals during a message transmission or communication process, and in particular, for receiving downlink information from a base station and then processing the received downlink information by one or more processors 1080; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 1010 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 1010 may also communicate with networks and other terminals through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 1020 may be used to store software programs and modules, and the processor 1080 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 1020 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 1020 may also include a memory controller to provide access to memory 1020 by processor 1080 and input unit 1030.
The input unit 1030 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, input unit 1030 may include a touch-sensitive surface 1031, as well as other input devices 1032. The touch sensitive surface 1031, also referred to as a touch display screen or touch pad, may collect touch operations by a user (such as user operations on or near the touch sensitive surface 1031 using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection devices according to a predetermined program. Optionally, the touch sensitive surface 1031 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch-sensitive surface 1031 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 1030 may also include other input devices 1032 in addition to the touch-sensitive surface 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, and the like.
The display unit 1040 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 1040 may include a Display panel 1041, and optionally, the Display panel 1041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 1031 may overlay the display panel 1041, and when a touch operation is detected on or near the touch-sensitive surface 1031, the touch operation is transmitted to the processor 1080 for determining the type of the touch event, and the processor 1080 then provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Wherein the touch sensitive surface 1031 and the display panel 1041 may implement input and output functions as two separate components, but in some embodiments the touch sensitive surface 1031 may be integrated with the display panel 1041 to implement input and output functions.
The terminal may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1041 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1041 and/or a backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the terminal is stationary, and can be used for applications of recognizing terminal gestures (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 1060, speaker 1061, microphone 1062 may provide an audio interface between a user and the terminal. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and convert the electrical signal into a sound signal for output by the speaker 1061; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, which is then processed by the audio data output processor 1080 and then transmitted to, for example, another terminal via the RF circuit 1010, or output to the memory 1020 for further processing. The audio circuit 1060 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to a short-distance wireless transmission technology, and the terminal can help a user to send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 1070, and provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 1070, it is understood that it does not belong to the essential constitution of the terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1080, which is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the terminal. Optionally, processor 1080 may include one or more processing cores; preferably, the processor 1080 may integrate an application processor, which handles primarily the operating system, user interfaces, applications, etc., and a modem processor, which handles primarily the wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
The terminal also includes a power supply 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to processor 1080 via a power management system that may be used to manage charging, discharging, and power consumption. Power supply 1090 may also include any component including one or more DC or AC power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which are not described in detail herein. In this embodiment, the terminal further includes a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the page display method provided by the above-described method embodiments.
Taking the electronic device as an example of a server, fig. 11 is a block diagram of a server for page displaying according to an exemplary embodiment, and as shown in fig. 11, the server 1100 may have relatively large differences due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1110 (the processors 1110 may include but are not limited to Processing devices such as a microprocessor MCU or a programmable logic device FPGA), a memory 1130 for storing data, and one or more storage media 1120 (e.g., one or more mass storage devices) for storing application programs 1123 or 1122. Memory 1130 and storage medium 1120 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 1120 may include one or more modules, each of which may include a series of instruction operations for a server. Still further, the central processor 1110 may be configured to communicate with the storage medium 1120, and execute a series of instruction operations in the storage medium 1120 on the server 1100. The server 1100 may also include one or more power supplies 1160, one or more wired or wireless network interfaces 1150, one or more input-output interfaces 1140, and/or one or more operating systems 1121, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and so forth.
The input output interface 1140 may be used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server 1100. In one example, i/o Interface 1140 includes a Network adapter (NIC) that may be coupled to other Network devices via a base station to communicate with the internet. In one example, the input/output interface 1140 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In an exemplary embodiment, a computer-readable storage medium including instructions, such as a memory including instructions, executable by a processor to perform a page presentation method of an embodiment of the present disclosure is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the page presentation method provided in any of the above embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A page display method is characterized by comprising the following steps:
responding to a display instruction of an account for a live broadcast room preview page, and acquiring a live broadcast video stream of at least one target associated live broadcast room in a live broadcast state; the target association live broadcast room and the account meet a target association relationship, and the target association relationship corresponds to the page type of the preview page of the live broadcast room;
determining target video data; the target video data comprise video data issued by a main broadcast corresponding to any target associated live broadcast room;
and displaying the live video stream of the at least one target associated live broadcast room in a first preview area of the live broadcast room preview page, and playing the target video data in a second preview area of the live broadcast room preview page.
2. The page display method of claim 1, wherein the obtaining a live video stream of at least one target associated live broadcast room in a live broadcast state in response to a display instruction of an account for a live broadcast room preview page comprises:
responding to a display instruction of the account for a live broadcast room preview page, and sending a live broadcast room preview request to a server;
receiving live broadcast room identification of at least one target associated live broadcast room in a live broadcast state, which is returned by the server in response to the live broadcast room preview request;
and acquiring the live broadcast video stream of each target associated live broadcast room based on the live broadcast room identification of the at least one target associated live broadcast room.
3. The page display method of claim 2, wherein the receiving of the live-air identifier of the at least one target associated live-air in a live-air state, returned by the server in response to the live-air preview request, comprises:
receiving a live broadcast room identification list returned by the server in response to the live broadcast room preview request; the live broadcast room identification list comprises live broadcast room identifications of the at least one target associated live broadcast room which are sorted according to a weight coefficient, and the weight coefficient represents the association degree between the corresponding target associated live broadcast room and the account.
4. The page display method according to claim 2 or 3, wherein the determining the target video data comprises:
selecting any live broadcast room identifier from the live broadcast room identifiers;
sending a video data acquisition request aiming at any live broadcast room identifier to the server; the video data acquisition request is used for requesting historical video data which are issued within a preset time period by a main broadcast of a target associated live broadcast room corresponding to any live broadcast room identifier;
and receiving the historical video data returned by the server in response to the video data acquisition request, and taking the historical video data as the target video data.
5. A page display method is characterized by comprising the following steps:
responding to a live broadcast preview request of an account for a live broadcast preview page, and determining a target association relation corresponding to the page type of the live broadcast preview page;
when determining that at least one target associated direct time in a live broadcast state exists in a live broadcast room meeting the target association relation with the account, acquiring a live broadcast room identifier of the at least one target associated live broadcast room;
returning a live broadcast room identifier of the at least one target associated live broadcast room to the account, so that a terminal corresponding to the account acquires live broadcast video streams of the target associated live broadcast rooms based on the live broadcast room identifier of the at least one target associated live broadcast room, determines target video data, displays the live broadcast video streams of the at least one target associated live broadcast room in a first preview area of a live broadcast room preview page, and displays the target video data in a second preview area of the live broadcast room preview page; and the target video stream comprises video data published by a main broadcast of any target associated live broadcast room.
6. A page display apparatus, comprising:
the live broadcast video stream acquisition unit is configured to execute a display instruction of an account for a live broadcast room preview page, and acquire a live broadcast video stream of at least one target associated live broadcast room in a live broadcast state; the target association live broadcast room and the account meet a target association relationship, and the target association relationship corresponds to the page type of the preview page of the live broadcast room;
a target video data determination unit configured to perform determination of target video data; the target video data comprises video data issued by a main broadcast corresponding to any target associated live broadcast room;
and the page display unit is configured to display the live video stream of the at least one target associated live broadcast room in a first preview area of the live broadcast room preview page, and play the target video data in a second preview area of the live broadcast room preview page.
7. A page display apparatus, comprising:
the target association relation determining unit is configured to execute a live broadcast preview request of an account for a live broadcast preview page, and determine a target association relation corresponding to the page type of the live broadcast preview page;
a live broadcast room identification obtaining unit configured to obtain a live broadcast room identification of at least one target associated live broadcast room when it is determined that at least one target associated direct broadcast room in a live broadcast state exists in a live broadcast room satisfying the target association relationship with the account;
a live broadcast room identifier returning unit configured to perform live broadcast room identifier returning of the at least one target associated live broadcast room to the account, so that a terminal corresponding to the account acquires live broadcast video streams of the target associated live broadcast rooms based on the live broadcast room identifier of the at least one target associated live broadcast room, determines target video data, displays the live broadcast video streams of the at least one target associated live broadcast room in a first preview area of a preview page of the live broadcast room, and plays the target video data in a second preview area of the preview page of the live broadcast room; and the target video stream comprises video data published by a main broadcast of any target associated live broadcast room.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the page presentation method of any one of claims 1 to 5.
9. A computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the page presentation method of any of claims 1 to 5.
10. A computer program product comprising computer programs/instructions, characterized in that said computer programs/instructions, when executed by a processor, implement the page presentation method of any one of claims 1 to 5.
CN202210944957.6A 2022-08-08 2022-08-08 Page display method and device, electronic equipment and storage medium Pending CN115396713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210944957.6A CN115396713A (en) 2022-08-08 2022-08-08 Page display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210944957.6A CN115396713A (en) 2022-08-08 2022-08-08 Page display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115396713A true CN115396713A (en) 2022-11-25

Family

ID=84119223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210944957.6A Pending CN115396713A (en) 2022-08-08 2022-08-08 Page display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115396713A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526412A (en) * 2020-04-30 2020-08-11 广州华多网络科技有限公司 Panoramic live broadcast method, device, equipment and storage medium
CN113286201A (en) * 2021-05-17 2021-08-20 广州虎牙科技有限公司 Recommendation information display method and device, electronic equipment and storage medium
CN113453028A (en) * 2020-03-27 2021-09-28 阿里巴巴集团控股有限公司 Information display method and device and electronic equipment
CN113949888A (en) * 2021-09-28 2022-01-18 北京达佳互联信息技术有限公司 Live broadcast interface display method and device, electronic equipment and storage medium
CN114095741A (en) * 2021-10-26 2022-02-25 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
US20220159315A1 (en) * 2020-04-03 2022-05-19 Beijing Dajia Internet Information Technology Co., Ltd. Method, apparatus and system for configuring live stream task goal
CN114697727A (en) * 2022-03-31 2022-07-01 北京字跳网络技术有限公司 Live broadcast room display method and device, electronic equipment, storage medium and program product
CN114827735A (en) * 2022-04-21 2022-07-29 咪咕文化科技有限公司 Video review method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113453028A (en) * 2020-03-27 2021-09-28 阿里巴巴集团控股有限公司 Information display method and device and electronic equipment
US20220159315A1 (en) * 2020-04-03 2022-05-19 Beijing Dajia Internet Information Technology Co., Ltd. Method, apparatus and system for configuring live stream task goal
CN111526412A (en) * 2020-04-30 2020-08-11 广州华多网络科技有限公司 Panoramic live broadcast method, device, equipment and storage medium
CN113286201A (en) * 2021-05-17 2021-08-20 广州虎牙科技有限公司 Recommendation information display method and device, electronic equipment and storage medium
CN113949888A (en) * 2021-09-28 2022-01-18 北京达佳互联信息技术有限公司 Live broadcast interface display method and device, electronic equipment and storage medium
CN114095741A (en) * 2021-10-26 2022-02-25 北京达佳互联信息技术有限公司 Page display method and device, electronic equipment and storage medium
CN114697727A (en) * 2022-03-31 2022-07-01 北京字跳网络技术有限公司 Live broadcast room display method and device, electronic equipment, storage medium and program product
CN114827735A (en) * 2022-04-21 2022-07-29 咪咕文化科技有限公司 Video review method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106686396B (en) Method and system for switching live broadcast room
CN106101736B (en) A kind of methods of exhibiting and system of virtual present
CN105979312B (en) Information sharing method and device
CN109756767B (en) Preview data playing method, device and storage medium
CN106331826B (en) A kind of methods, devices and systems of setting live streaming template and video mode
WO2016173513A1 (en) Recommended content-based interaction method, terminal, and server
CN106302996B (en) Message display method and device
CN106254910B (en) Method and device for recording image
CN106303733B (en) Method and device for playing live special effect information
JP2018505504A (en) Advertisement push system, apparatus and method
WO2017088357A1 (en) Lyrics page generating method and apparatus
CN107333162B (en) Method and device for playing live video
CN107566909B (en) Barrage-based video content searching method and user terminal
CN108810057B (en) User behavior data acquisition method and device and storage medium
CN113609392A (en) Content recommendation method, content to be recommended determination method and related device
CN106791916B (en) Method, device and system for recommending audio data
JP2018506792A (en) Method for displaying chat history records and apparatus for displaying chat history records
JP6915074B2 (en) Message notification method and terminal
CN110784727B (en) Reporting method and device for live broadcast
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium
CN115373577A (en) Image processing method and device and computer readable storage medium
CN105159655B (en) Behavior event playing method and device
KR102263977B1 (en) Methods, devices, and systems for performing information provision
CN115017406A (en) Live broadcast picture display method and device, electronic equipment and storage medium
CN115396713A (en) Page display method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination