CN115334328A - Method and device for entering live broadcast room page, live broadcast system, equipment and medium - Google Patents

Method and device for entering live broadcast room page, live broadcast system, equipment and medium Download PDF

Info

Publication number
CN115334328A
CN115334328A CN202210887699.2A CN202210887699A CN115334328A CN 115334328 A CN115334328 A CN 115334328A CN 202210887699 A CN202210887699 A CN 202210887699A CN 115334328 A CN115334328 A CN 115334328A
Authority
CN
China
Prior art keywords
live
cover
live broadcast
page
video
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
CN202210887699.2A
Other languages
Chinese (zh)
Inventor
曾松
王戎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili 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 Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202210887699.2A priority Critical patent/CN115334328A/en
Publication of CN115334328A publication Critical patent/CN115334328A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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
    • 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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application relates to the field of network live broadcast and interaction, and provides a method, a device, a live broadcast system, equipment and a medium for entering a live broadcast room page. The application can deal with diversified cover forms to carry out corresponding transition processing, improves the adaptability of page transition to the live broadcast room, and improves the content linking effect displayed between the pages. The method comprises the following steps: responding to the trigger operation of a live broadcast cover in a live broadcast cover page, determining page transition processing information corresponding to the cover form of the cover, requesting live broadcast service information and live broadcast video stream from a service server and a live broadcast stream server, keeping the display of the cover content in the cover according to a corresponding content holding form, gradually changing the cover content to a substitute content display size and a substitute content display position, displaying a live broadcast room page when the size and the position are reached, displaying the cover content in the live broadcast room page when the live broadcast video loading is not completed, displaying live broadcast video when the loading is completed, and displaying the live broadcast service information when the live broadcast service information is received.

Description

Method and device for entering live broadcast room page, live broadcast system, equipment and medium
Technical Field
The present application relates to the field of network live broadcast and interaction technologies, and in particular, to a method and an apparatus for entering a live broadcast room page, a live broadcast system, an electronic device, and a computer-readable storage medium.
Background
In the related application of the network live broadcast, when a user clicks a live broadcast cover page of a certain anchor in a live broadcast cover page displayed by a terminal, the terminal jumps to a live broadcast room of the anchor and displays a live broadcast room page of the anchor.
In the scheme of entering the page of the live broadcast room that the conventional technology provided, the displayed content jumps frequently in the jumping process from the page of the live broadcast cover to the page of the live broadcast room, the transitional linking effect of the displayed content between the two pages is poor, and the cover forms displayed in the page of the live broadcast cover are various, even if the transitional scheme between the pages provided by the prior art can not deal with the diversified cover forms, the transitional adaptability is poor, and the problem of poor transitional linking effect of the displayed content between the two pages also exists.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, an apparatus, a live broadcast system, an electronic device, and a computer-readable storage medium for entering a page of a live broadcast room.
In a first aspect, the present application provides a method for entering a live broadcast room page. The method comprises the following steps:
displaying a live cover page;
responding to the triggering operation of a live broadcast cover in the live broadcast cover page, determining page transition processing information corresponding to the cover form of the live broadcast cover, requesting a service server to acquire live broadcast service information of a live broadcast room corresponding to the live broadcast cover, and requesting a live broadcast stream server to acquire a live broadcast video stream of the live broadcast room; wherein the page transition processing information includes a content holding form set for the cover form, and an alternative content display size and an alternative content display position;
maintaining the display of cover content in the live cover according to the content maintaining form, and gradually changing the display size and the display position of the cover content to the display size and the display position of the alternative content;
displaying a live broadcast room page when the cover content reaches the alternative content display size and the alternative content display position;
if the loading of the live video stream from the live streaming server is not finished, displaying cover content at the display size and the display position of the alternative content as the alternative content of the live video in the page of the live broadcasting room; if the loading of the live video stream from the live streaming server is finished, displaying a corresponding live video in the live broadcasting room page;
and when receiving the live broadcast service information from the service server, displaying the live broadcast service information in a live broadcast room page.
In some embodiments, the determining page transition processing information corresponding to a cover form of the live cover includes:
and under the condition that the cover form is a non-real-time preview live video, determining a content holding form in the page transition processing information as that the cover content is kept and displayed as a target cover image in one or more cover images used for representing the live cover, and determining the display size and the display position of the alternative content in the page transition processing information as the full-screen display size and the full-screen display position.
In one embodiment, further, the method further comprises:
under the condition that the cover form is a dynamic graph in a non-real-time preview live video, determining a current animation frame in a plurality of cover images for representing the live cover according to the trigger operation, and taking the current animation frame as the target cover image; and taking a cover image used for representing the live broadcast cover as the target cover image under the condition that the cover form is a static image in a non-real-time preview live broadcast video.
In one embodiment, after the displaying the live room page, the method further includes:
displaying, in the display live view page, a target cover image at the substitute content display size and the substitute content display position as substitute content of the live video; and in the page of the live broadcast display room, setting the display size of the live broadcast video to be a preset visual hidden size after establishing the layout of a live broadcast player, and loading a live broadcast video stream from the live broadcast stream server.
In an embodiment, further, if the loading of the live video stream from the live streaming server is completed, displaying a corresponding live video in the live view page includes:
and if the loading of the live video stream from the live stream server is finished, hiding the target cover image in the page of the live broadcast room, and displaying the live video according to an original display position and an original display size.
In some embodiments, the determining page transition processing information corresponding to a cover form of the live cover includes:
under the condition that the cover form is a live preview video, determining a content holding form in the page transition processing information as that the cover content is kept and displayed as the live preview video for representing the live cover; and according to the supplementary enhancement information in the preview live video stream from the live streaming server, obtaining an original display position and an original display size of the live video in the page of the live broadcasting room, and taking the original display size and the original display position as the display size and the display position of the substitute content in the page transition processing information.
In one embodiment, further, the predetermined display size is a non-full-screen display size, and the predetermined display position is a non-full-screen display position; or, the original display size is a full-screen display size, and the original display position is a full-screen display position.
In one embodiment, after the displaying the live room page, the method further includes:
in the live broadcast room page, video stream multiplexing of a cover player is carried out based on a live broadcast room player, the live preview live broadcast video is displayed as substitute content of the live broadcast video according to an original display position and an original display size, and the live broadcast video stream from the live broadcast stream server is loaded.
In an embodiment, further, if the loading of the live video stream from the live streaming server is completed, displaying a corresponding live video in the live view page includes:
and if the loading of the live video stream from the live streaming server is finished, replacing the live preview live video with the live video for displaying in the live broadcasting room page.
In an embodiment, further, after the live preview live video is replaced by the live video for display, the method further includes:
and promoting the definition of the live video from the first definition corresponding to the live preview video to a second definition.
In a second aspect, the present application provides a live system. The system comprises: the system comprises a terminal, a service server and a live streaming server; the terminal is used for entering a live broadcast room page from a live broadcast cover page according to the method for entering the live broadcast room page, and displaying live broadcast service information from the service server and live broadcast video of the live broadcast stream server on the live broadcast room page.
In a third aspect, the application provides an apparatus for entering a live broadcast room page. The device comprises:
the cover page display module is used for displaying the live broadcast cover page;
the information acquisition module is used for responding to the triggering operation of a live cover in the live cover page, determining page transition processing information corresponding to the cover form of the live cover, requesting a service server to acquire live broadcast service information of a live broadcast room corresponding to the live cover and requesting a live broadcast stream server to acquire a live broadcast video stream of the live broadcast room; wherein the page transition processing information includes a content holding form set for the cover form, and an alternative content display size and an alternative content display position;
the transition processing module is used for keeping the display of the cover content in the live cover according to the content keeping form and gradually changing the display size and the display position of the cover content to the display size and the display position of the alternative content;
the live page display module is used for displaying a live room page when the cover content reaches the alternative content display size and the alternative content display position;
the video display module is used for displaying cover content at the display size and the display position of the alternative content as the alternative content of the live video in the page of the live broadcast room if the live video stream from the live broadcast stream server is not loaded completely; if the loading of the live video stream from the live streaming server is finished, displaying a corresponding live video in the live broadcasting room page;
and the service display module is used for displaying the live broadcast service information in a live broadcast room page when receiving the live broadcast service information from the service server.
In a fourth aspect, the present application provides an electronic device. The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor realizes the following steps when executing the computer program:
displaying a live cover page; responding to the triggering operation of a live broadcast cover in the live broadcast cover page, determining page transition processing information corresponding to the cover form of the live broadcast cover, requesting a service server to acquire live broadcast service information of a live broadcast room corresponding to the live broadcast cover, and requesting a live broadcast stream server to acquire a live broadcast video stream of the live broadcast room; wherein the page transition processing information includes a content holding form set for the form of the cover, and an alternative content display size and an alternative content display position; maintaining the display of cover content in the live cover according to the content maintaining form, and gradually changing the display size and the display position of the cover content to the display size and the display position of the alternative content; displaying a live broadcast room page when the cover content reaches the alternative content display size and the alternative content display position; if the loading of the live video stream from the live streaming server is not finished, displaying cover content at the display size and the display position of the alternative content as the alternative content of the live video in the page of the live broadcasting room; if the loading of the live video stream from the live streaming server is finished, displaying a corresponding live video in the live broadcasting room page; and when receiving the live broadcast service information from the service server, displaying the live broadcast service information in a live broadcast room page.
In a fifth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
displaying a live cover page; responding to the trigger operation of a live broadcast cover in the live broadcast cover page, determining page transition processing information corresponding to the cover form of the live broadcast cover, requesting a service server to acquire live broadcast service information of a live broadcast room corresponding to the live broadcast cover, and requesting a live broadcast stream server to acquire a live broadcast video stream of the live broadcast room; wherein the page transition processing information includes a content holding form set for the cover form, and an alternative content display size and an alternative content display position; maintaining the display of cover content in the live cover according to the content maintaining form, and gradually changing the display size and the display position of the cover content to the display size and the display position of the alternative content; displaying a live broadcast room page when the cover content reaches the alternative content display size and the alternative content display position; if the loading of the live video stream from the live streaming server is not finished, displaying cover content at the display size and the display position of the alternative content as the alternative content of the live video in the page of the live broadcasting room; if the loading of the live video stream from the live streaming server is finished, displaying a corresponding live video in the live broadcasting room page; and when receiving the live broadcast service information from the service server, displaying the live broadcast service information in a live broadcast room page.
The method, the device, the live broadcast system, the electronic device and the computer readable storage medium for entering the live broadcast room page display the live broadcast cover page, determine page transition processing information corresponding to the cover form of the live broadcast cover in response to a trigger operation on the live broadcast cover in the live broadcast cover page, and respectively request a service server and a live broadcast stream server to acquire live broadcast service information and live broadcast video streams corresponding to the live broadcast room, wherein the page transition processing information includes a content holding form, an alternative content display size and an alternative content display position, which are set for the cover form, then keep the display of the cover content in the live broadcast cover according to the content holding form, gradually change the display size and the display position of the cover content to the alternative content display size and the alternative content display position, display the live broadcast room page when the alternative content display size and the alternative content display position are reached, if the loading of the live broadcast video stream from the live broadcast stream server is not completed, display the cover content in the alternative content display size and the alternative content display position as the alternative content of the live broadcast video in the live broadcast room page, and if the live broadcast video stream is not loaded in the live broadcast room page, display corresponding live broadcast video in the live broadcast room page; on the other hand, after the live broadcast room page is displayed, when the live broadcast service information from the service server is received, the live broadcast service information is displayed in the live broadcast room page.
In the method, when a user triggers a terminal to transit from a live cover page to a live room page, the terminal enters a first stage of page transition, in the aspect of display, different page transition processing information is set corresponding to different cover forms, so that the terminal keeps the display of specific cover content in a live cover according to a content keeping form corresponding to the cover form of the live cover, and simultaneously, the display size and the position of the specific cover content are gradually changed to the display size and the display position of alternative content related to the cover form, so that the consistency of the concerned content of the user is kept when the pages are transitionally linked, in the aspect of information acquisition, when the user triggers the page transition, the terminal requests a service server and a live stream server to acquire live broadcast service information and a live video stream of the corresponding live broadcast room, and the acquisition efficiency of related information of the live broadcast room is improved; when the cover content reaches the display size and the display position of the substitute content, the second stage of transition between the pages is entered, the terminal displays the page of the live broadcast room, for the live broadcast service information, if the terminal has received the live broadcast service information, the terminal can directly display the page of the live broadcast service information to enable the display of the live broadcast service information to be connected naturally, for the live broadcast video, if the terminal has not loaded the live broadcast video stream temporarily, the terminal displays the cover content continuously concerned by the user and located at the display size and the display position of the substitute content as the substitute content of the live broadcast video to be displayed in the page of the live broadcast room so as to maintain the connection of the display content of the page, and when the loading of the live broadcast video stream is completed, the terminal displays the live broadcast video in the page of the live broadcast room to enable the display connection of the live broadcast video in the page of the live broadcast room to be natural. From this, this application can reply diversified front cover form and carry out corresponding transition processing, improves from the adaptation nature of live front cover page to live room page transition, promotes the demonstration content linking effect that gets into the live room page from live front cover page.
Drawings
Fig. 1 is an application scene diagram of a method for entering a live broadcast room page in an embodiment of the present application;
FIG. 2 is a diagram illustrating a change of a page in a method for accessing a page in a live broadcast room in the prior art;
fig. 3 is a schematic flowchart of a method for entering a live webcast page in an embodiment of the present application;
FIG. 4 (a) is a schematic diagram of page changes corresponding to a static cover in an embodiment of the present application;
FIG. 4 (b) is a diagram illustrating page changes corresponding to a dynamic cover in an embodiment of the present application;
fig. 5 (a) is a schematic diagram of page changes corresponding to preview live broadcast and full-screen display in the embodiment of the present application;
FIG. 5 (b) is a schematic diagram illustrating page changes corresponding to live preview and non-full screen display in an embodiment of the present application;
fig. 6 is a schematic diagram of an original playing flow of a player in a live broadcast room;
fig. 7 is a schematic diagram of a playing process of a player in a live broadcast room in the embodiment of the present application;
fig. 8 is a schematic composition diagram of a live broadcast system in an embodiment of the present application;
fig. 9 is a schematic interaction flow diagram of a live broadcast system in an embodiment of the present application;
fig. 10 is a block diagram illustrating a structure of an apparatus for entering a page in a live broadcast room according to an embodiment of the present invention;
fig. 11 is an internal structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for entering the live broadcast room page provided by the embodiment of the application can be applied to an application scene shown in fig. 1, and includes: the terminal is communicated with the live streaming server and the service server through a network. The terminal is used for displaying related pages in live broadcast application for a user, and comprises a live broadcast cover page and a live broadcast room page, the live broadcast stream server is used for providing live broadcast video stream for the terminal, and the service server (or called channel server) is used for providing live broadcast service information for the terminal. The terminal can be, but is not limited to, various personal computers, notebook computers, smart phones and tablet computers, and the live streaming server and the service server can be realized by independent servers or a server cluster formed by a plurality of servers.
In order to more intuitively show that the method for entering the live broadcast room page provided by the application is different from the method for entering the live broadcast room page provided by the conventional technology, the method for entering the live broadcast room page provided by the conventional technology is introduced with reference to fig. 2. As shown in fig. 2, in the conventional technology, a first step is to display a live cover page by a terminal, where the live cover page may be a home page of a live application, a second step is to click a live cover in the live cover page by a user, such as click a live cover 3, at this time, in order to enter a live room, the terminal directly displays a live room page, and displays a default background map, a third step is to display an image indicating that a live video is being loaded on the live room page by the terminal, a fourth step is to display the live video in a corresponding position and in a corresponding size according to the obtained related information of the live video, where the live video may be played in a full screen or in a non-full screen (such as 4:3), so that the corresponding position in the related information according to the full screen terminal may include a full screen position and a non-full screen position, and the corresponding size in the related information may include a full screen size and a non-size. Therefore, in the page jumping process of the four steps, the displayed content frequently jumps, the transitional linking effect of the displayed content jumping from the live front cover page to the live room page is poor, and the interaction effect is unnatural.
The method for entering the page of the live broadcast room, provided by the embodiment of the application, can realize the natural connection of the display content entering the page of the live broadcast room from the page of the live broadcast cover, can deal with diversified cover forms and perform corresponding transition processing, improves the adaptability of the transition from the page of the live broadcast cover to the page of the live broadcast room, and further improves the connection effect of the display content entering the page of the live broadcast room from the page of the live broadcast cover.
The following section describes a method for entering a live broadcast room page provided by the present application, with reference to various embodiments and corresponding drawings, based on an application scenario shown in fig. 1.
In one embodiment, a method for entering a live room page is provided, and the method is executed by a terminal shown in fig. 1, and as shown in fig. 3, the method may include the following steps:
and S301, displaying the live cover page.
Specifically, the terminal shows live cover page, and this live cover page can be the first page in the live application, and live cover page can include a plurality of live covers, and every live cover can correspond the anchor room of different anchor, and the user can instruct the terminal to demonstrate the live room page of the live room that this live cover corresponds through exerting the trigger operation to certain live cover, and this trigger operation can be click operation.
Step S302, responding to the trigger operation of the live broadcast cover in the live broadcast cover page, determining page transition processing information corresponding to the cover form of the live broadcast cover, requesting a service server to acquire live broadcast service information of a live broadcast room corresponding to the live broadcast cover and requesting the live broadcast stream server to acquire live broadcast video stream of the live broadcast room.
In this step, when a user applies a trigger operation to a live cover in a live cover page, the live cover enters a first stage of inter-page transition, at this time, the terminal responds to the trigger operation, on one hand, the terminal acquires the cover form of the live cover, and determines page transition processing information corresponding to the cover form of the live cover according to the cover form of the live cover, on the other hand, the terminal requests a service server to acquire live broadcast service information of a live room corresponding to the live cover and requests a live broadcast stream server to acquire live broadcast video streams of the live room corresponding to the live cover, the terminal can simultaneously process the contents of the two aspects, namely, when acquiring the page transition processing information corresponding to the cover form, the terminal respectively requests the service server and the live broadcast stream server to acquire the live broadcast service information and the video streams of the live broadcast room corresponding to the live broadcast cover, so as to improve the acquisition efficiency of the live broadcast room related information, and further accelerate the display process of the live broadcast room related information.
Specifically, in the former aspect, the live cover with diversified cover forms can be displayed in the live cover page, and the cover forms can include two types, the first type is live video previewed in real time, and the second type is live video previewed in non-real time. For the first category, the cover is in a live broadcast cover for previewing live broadcast video in real time, and the cover content is the live broadcast video of a corresponding live broadcast room for previewing by a user in real time; for the second type, the cover content of the live cover with the cover form of the non-live preview live video may be an image for the user to know the corresponding anchor or the live content and style thereof, and for example, the second type of cover form, i.e., the non-live preview live video, may further include a still image and a dynamic image. In this step, page transition processing information corresponding to the cover form of the live broadcast cover is determined according to the cover form of the live broadcast cover triggered by a user, wherein the page transition processing information is information required when transition processing is performed from a live broadcast cover page to a live broadcast room page, and the page transition processing information includes content holding forms set for different cover forms, and display sizes and display positions of alternative content. The content holding form is a form of holding and displaying cover content in a live broadcast cover page in the process of transition from the live broadcast cover page to a live broadcast room page, and specifically, what kind of content is displayed as the cover content held in the transition process, and different cover forms can correspond to different content holding forms so as to ensure that consistency of a user on the content concerned by the user can be maintained when the live broadcast covers in different cover forms are subjected to page transition. In addition to the cover content being kept displayed, the size and position of the cover content being kept displayed also need to be changed correspondingly, the display size and position of the substitute content in the page transition processing information are the target size and target position which need to be reached after the size and position of the cover content being kept displayed are changed, and the substitute content in the page transition processing information is that after the size and position of the cover content being kept displayed are changed to reach the target size and target position, the substitute content is displayed as the substitute content under the condition that the live video is not loaded completely temporarily, so that the connection of the page display content under the condition is maintained, and the display size and position of the substitute content are related to the shape of the cover and can be set in combination with the original display size and original display position of the live video to be displayed in the page in the live broadcasting room.
In the latter aspect, when the user triggers the live broadcast cover, the terminal may send a service information acquisition request to the service server to request the service server to return live broadcast service information of a live broadcast room corresponding to the live broadcast cover. Meanwhile, the terminal can also send a live stream acquisition request to the live stream server to request the live stream server to return a live video stream of the live broadcast room corresponding to the live broadcast cover, namely when the user triggers the live broadcast cover, the terminal respectively acquires live broadcast service information and live broadcast video stream from the service server and the live stream server to improve the acquisition efficiency of the related information of the live broadcast room and further accelerate the display of the related information of the live broadcast room in the subsequent process.
Step S303, the display of the cover content in the live cover is maintained in the content holding form, and the display size and the display position of the cover content are gradually changed to the substitute content display size and the substitute content display position.
In this step, the terminal keeps the display of the cover content in the live cover according to the content retention form in the page transition processing information to keep the consistency of the user to the content concerned by the user, and at the same time, gradually changes the display size and the display position of the cover content from the cover display size and the cover display position to the alternative content display size and the alternative content display position in the page transition processing information. Specifically, the terminal can perform zooming and displacement operation on the cover content in the live cover page to gradually change the cover content to the alternative content display size and the alternative content display position, and perform gradual change operation on the size and the position of the cover content synchronously, so that the cover content kept displayed finally reaches the alternative content display size and the alternative content display position.
And step S304, when the cover content reaches the display size and the display position of the alternative content, displaying the page of the live broadcast room.
In the step, when the terminal carries out zooming displacement operation on the cover content kept to be displayed in the live broadcast cover page to enable the cover content to reach the display size and the display position of the alternative content, the terminal enters a second stage of page-to-page transition, and at the moment, the terminal displays the page of the live broadcast room. Then, the terminal will synchronize to proceed to the subsequent step S305 and step S306. Step S305 and step S306 correspond to a live video display process in the live view page and a live service information display process in the live view page, respectively.
Step S305, if the loading of the live video stream from the live streaming server is not finished, taking the cover content at the display size and the display position of the alternative content as the alternative content of the live video to be displayed in the page of the live broadcasting room; and if the loading of the live video stream from the live stream server is finished, displaying the corresponding live video in the page of the live broadcast room.
In this step, after the terminal displays the live broadcast room page, if the loading of the live broadcast video stream from the live broadcast stream server is completed, the corresponding live broadcast video is directly displayed at the original display position and the original display size. It should be noted that, in the present application, the predetermined display position and the predetermined display size refer to a display position and a display size of a live video in a page of a live broadcast room, as shown in fig. 1, the live video may be played in a full screen or in a non-full screen (e.g., 4:3), the predetermined display position may be a full screen or in a non-full screen, and correspondingly, the predetermined display size may be in a full screen or in a non-full screen. However, after the terminal displays the live broadcast room page, if the loading of the live broadcast video stream from the live broadcast stream server is not completed, the terminal displays the cover content in the display size and the display position of the substitute content as the substitute content of the live broadcast video, so that the linking of the page display content under the condition is maintained until the terminal finishes the loading of the live broadcast video stream from the live broadcast stream server, the substitute content can be hidden, the live broadcast video is displayed in the original display size and the original display position, and the transitional display of the live broadcast video in the live broadcast room page is completed.
And step S306, when receiving the live broadcast service information from the service server, displaying the live broadcast service information in the live broadcast room page.
In this step, the terminal directly displays the live broadcast service information in the live broadcast room page when receiving the live broadcast service information from the service server.
In combination with the above steps S305 and S306, the live video and the live service information are displayed in the live room page, specifically, after the terminal displays the live room page, if the loading completion time of the terminal on the live video stream is earlier than the return time of the live service information, the terminal displays the live video in the live room page, and then gradually displays the live service information such as the live room public screen, the online list, and the anchor avatar, and if the return time of the live service information is earlier than the loading completion time of the terminal on the live video stream, the live service information such as the live room public screen, the online list, and the anchor avatar is gradually displayed, and then waits for the loading completion of the live video stream to display the live video, so that the problems that the live video is not displayed, no live service information exists, or the live service information is displayed suddenly and the like when the live video is smoothly switched to the live room page can be avoided.
In the embodiment, when a user triggers a terminal to transit from a live cover page to a live room page, the terminal enters a first stage of inter-page transition, in the aspect of display, different page transition processing information is set according to different cover forms, so that the terminal keeps the display of specific cover content in a live cover according to a content holding form corresponding to the cover form of a live cover, and simultaneously, the display size and the position of the specific cover content are gradually changed to a substitute content display size and a substitute content display position related to the cover form, so that the consistency of the user to the concerned content is kept when the inter-page transition is connected, in the aspect of information acquisition, when the user triggers the page transition, the terminal requests a service server and a live streaming server to acquire live broadcasting service information and live broadcasting video streaming of the corresponding live broadcasting room, and the acquisition efficiency of related information of the live broadcasting room is improved; when the cover content reaches the display size and the display position of the substitute content, the second stage of transition between the pages is entered, the terminal displays the page of the live broadcast room, for the live broadcast service information, if the terminal has received the live broadcast service information, the terminal can directly display the page of the live broadcast service information to enable the display of the live broadcast service information to be connected naturally, for the live broadcast video, if the terminal has not loaded the live broadcast video stream temporarily, the terminal displays the cover content continuously concerned by the user and located at the display size and the display position of the substitute content as the substitute content of the live broadcast video to be displayed in the page of the live broadcast room so as to maintain the connection of the display content of the page, and when the loading of the live broadcast video stream is completed, the terminal displays the live broadcast video in the page of the live broadcast room to enable the display connection of the live broadcast video in the page of the live broadcast room to be natural. Therefore, the method provided by the application can deal with diversified cover forms and perform corresponding transition processing, improves the adaptability of transition from the live broadcast cover page to the live broadcast room page, and improves the display content linking effect of entering the live broadcast room page from the live broadcast cover page.
The following parts respectively take the form of a cover as a non-real-time preview live video and a real-time preview live video, and further explain the method for entering the live broadcast room page provided by the application.
In some embodiments, the determining of the page transition processing information corresponding to the cover form of the live cover in step S302 may include:
in the case that the cover form is the non-real-time preview live video, determining a content holding form in the page transition processing information as a target cover image in one or more cover images for representing a live cover, and determining an alternative content display size and an alternative content display position in the page transition processing information as a full-screen display size and a full-screen display position.
The embodiment is a mode for determining page transition processing information under the condition that the cover form is a non-real-time preview live video. Specifically, in the case that the cover form is a non-real-time preview live video, one or more cover images are used for representing the live cover, the terminal determines a target cover image from the one or more cover images, and determines the content holding form as that the cover content of the live cover is kept and displayed as the target cover image. In this regard, in some embodiments, the target cover image may be selected by:
determining a current animation frame in a plurality of cover images for representing a live cover according to a trigger operation under the condition that the cover form is a dynamic image in a non-real-time preview live video, and taking the current animation frame as a target cover image; when the form of the cover is a static image in the non-real-time preview live video, a cover image representing the live cover is used as a target cover image. In this embodiment, the cover form further includes a dynamic graph and a static graph, and in the case of the static graph, since the cover content in the live cover is always the static graph, the terminal can directly use the cover image representing the live cover as the target cover image to keep the consistency of the user with the content concerned by the user. In the case of a dynamic graph, a plurality of cover images are used for representing a live cover, the plurality of cover images form the dynamic cover, for this, the terminal determines a current animation frame in the plurality of cover images used for representing the live cover according to the triggering operation in the step S302, the current animation frame is a cover image currently shown by the live cover when the live cover is triggered by the user, and the terminal takes the current animation frame as a target cover image, so that the consistency of the user on the content concerned by the user is maintained.
In addition, for the alternative content display size and the alternative content display position in the page transition processing information, in the case where the form of the cover is the non-live preview video, the alternative content display size and the alternative content display position are determined to be the full-screen display size and the full-screen display position regardless of the still image or the moving image.
As shown in fig. 4 (a) and 4 (b), the page change effect of the transition from the live cover page to the live room page is shown when the cover form is a static image and a dynamic image in the non-real-time preview live video. It can be seen that, in the scheme provided by the application, for two cover forms of a static cover and a dynamic cover, in the process of clicking a user to enter a page of a live broadcast room, the display size of the static cover or a current animation frame is gradually changed to the full-screen display size on the page of the live broadcast cover, the display position of the static cover or the current animation frame is gradually changed to the full-screen display position, the page of the live broadcast room is displayed when the page reaches the full-screen display size and the full-screen display position, the static cover or the current animation frame is displayed when the live broadcast video loading is not completed so as to maintain the connection of the page display content under the condition, and the live broadcast video can be hidden and displayed at the original display size and the original display position until the live broadcast video loading is completed. In the whole page switching interaction process, the cover content of the live cover page is presented uniformly, and the animation effect pictures are kept consistent during transition between pages.
In the case that the form of the cover is the non-live preview live video, in some embodiments, after the live room page is displayed in step S304, the method further includes the following steps:
displaying the target cover image at the display size and the display position of the alternative content as the alternative content of the live video in the display live room page; in a display live broadcast room page, setting the display size of a live broadcast video to be a preset visual hidden size after establishing a live broadcast room player layout, and loading a live broadcast video stream from a live broadcast stream server.
The embodiment mainly adopts a scheme of loading and processing live video in a live broadcast room page under the condition that the cover form is a non-real-time preview live video. Specifically, after the terminal displays a live broadcast room page, the terminal displays a target cover image at a substitute content display size and a substitute content display position as substitute content of a live broadcast video in the live broadcast room page, at the moment, the terminal creates a live broadcast room player layout in the live broadcast room page, sets the display size of the live broadcast video to be a preset visual hidden size, and loads a live broadcast video stream from a live broadcast stream server. That is, in this embodiment, on the basis that the target cover image is displayed as the substitute content of the live video, the layout of the live broadcast room player is created to initialize the live broadcast room player, at this time, the display size of the live broadcast video is set to the preset visual hiding size by the terminal, so as to achieve the display effect of visually hiding the current picture in the live broadcast room player, and thus the user can keep paying attention to the target cover image and ignore the picture displayed in the live broadcast room player at this time, in practical application, the visual hiding size can be set to be smaller than the preset number of pixels in both the width dimension and the height dimension, for example, the visual hiding size can be set to be 1 pixel wide and 1 pixel high.
As an example, after the terminal displays the live broadcast room page, the terminal displays, in the live broadcast room page, an image of a target cover at the display size and the display position of the substitute content as substitute content of a live broadcast video, the terminal creates a live broadcast room player layout in the live broadcast room page, sets the display size of the live broadcast video to be 1 pixel wide and 1 pixel high, and then the terminal starts loading of the live broadcast room player until the live broadcast video finishes loading and caching.
The technical effect that the display layout can be displayed and the black screen cannot be seen at the same time can be achieved by adjusting the display size of the live video on the basis of displaying the substitute content.
Further, in an embodiment, if the loading of the live video stream from the live streaming server in step S305 is completed, displaying the corresponding live video in the live view page may include:
and if the loading of the live video stream from the live stream server is finished, hiding the target cover image in the page of the live room, and displaying the live video according to the preset display position and the preset display size.
The embodiment is carried out, after the terminal displays the live broadcast room page, the target cover image is displayed as the substitute content of the live broadcast video, the terminal establishes the live broadcast room player layout in the live broadcast room page, simultaneously sets the display size of the live broadcast video to be 1 pixel wide and 1 pixel high, then the terminal starts the live broadcast room player loading, at the moment, if the terminal finishes the loading of the live broadcast video stream from the live broadcast stream server, the target cover image serving as the substitute content is hidden in the live broadcast room page, and the display size and the display position of the live broadcast video are reset to the original display position and the original display size, so that the live broadcast video can be normally displayed in the live broadcast room page, and the normal connection transition of the display content in the page room can not be influenced by the black screen generated by the live broadcast room player in the process of transition from the live broadcast cover page to the live broadcast room page and display of the live broadcast video under the condition that the cover form is a non-real-time preview live broadcast.
In some other embodiments, the determining of the page transition processing information corresponding to the cover form of the live cover in step S302 may include:
under the condition that the cover form is the live video previewing in real time, determining a content holding form in the page transition processing information as that the cover content is kept and displayed as the live video previewing in real time for representing the live cover; and obtaining an original display position and an original display size of the live video in the page of the live room according to the supplementary enhancement information in the preview live video stream from the live stream server, and using the original display size and the original display position as the display size and the display position of the substitute content in the page transition processing information.
The embodiment is a mode for determining page transition processing information under the condition that the cover form is a live video preview in real time. Specifically, under the condition that the cover form is the live preview video, the live preview video is used for showing the live cover, and in order to keep the display of the content concerned by the user, the terminal determines the content holding form as that the cover content is kept to be displayed as the live preview video. The live preview live video is displayed by a live cover page player, the live cover page player loads a live preview video stream from a live stream server to obtain and display the live preview live video, and therefore, in order to keep the display of the content concerned by a user and simultaneously realize the seamless connection of the live video, the terminal sets the original display position and the original display size of the live video in a live room page as the display size of the substitute content and the display position of the substitute content in the page transition processing information, when the live preview live video kept to be displayed reaches the original display position and the original display size, the live preview live video can be directly transited to the display of the live video under the position and the size, and the seamless connection of the live video is realized. For the preset display position and the preset display size of the live video in the page of the live room, the terminal can be obtained according to the Supplemental Enhancement Information (SEI) in the preview live video stream from the live stream server, and therefore the terminal can use the preset display position and the preset display size as the display size and the display position of the substitute content in the page transition processing information.
In this regard, in some embodiments, the original display size is a non-full display size and the original display position is a non-full display position. In some other embodiments, the predetermined display size is a full-screen display size and the predetermined display position is a full-screen display position.
As shown in fig. 5 (a) and 5 (b), the page change effect of the transition from the live front cover page to the live room page is shown when the front cover is in the form of real-time preview live video and the live video is displayed in full screen or not. It can be seen that in the scheme provided by the application, the cover form of the live broadcast video previewed in real time for the live broadcast cover is in a form of the cover of the live broadcast video previewed in real time, in the process that a user clicks to enter a page of a live broadcast room, the display size of the live broadcast video previewed in real time is gradually changed to the original display size and the original display position of the live broadcast video corresponding to the page of the live broadcast room on the page of the live broadcast cover, therefore, no matter before or after the live broadcast video is loaded, live broadcast pictures presented by the terminal are consistent, namely, the live broadcast pictures displayed by switching the live broadcast video previewed in real time into the live broadcast video after the live broadcast video is loaded, the seamless connection of the live broadcast pictures is realized, and compared with the fact that four steps in the conventional technology are changed into three steps, the effect of previewing the pictures in real time in the live broadcast room to be entered is presented in a unified manner.
In this embodiment, when the cover form is the live video preview in real time, the terminal may maintain the display of the live video preview in real time and set the substitute content display size and the substitute content display position for performing the gradual change operation on the live video preview in real time according to the original display position and the original display size of the live video in the live room page, so as to realize the seamless connection of the live video while maintaining the display of the content concerned by the user.
In the case that the cover form is the live video preview in real time, further, in some embodiments, after the live room page is displayed in step S304, the method further includes the following steps:
in a live broadcast room page, video streaming of a cover player is multiplexed based on a live broadcast room player, a real-time preview live broadcast video is displayed as substitute content of the live broadcast video according to an original display position and an original display size, and live broadcast video streaming from a live broadcast streaming server is loaded.
Specifically, in a normal process of a live broadcast room player, three links of the live broadcast room player initialization, video loading and video loading completion exist. In the embodiment, when a user clicks and jumps into a live broadcast room page, in the displayed live broadcast room page, the terminal transmits a real-time preview live broadcast video stream cached by a cover player into the live broadcast room page to be provided for the live broadcast room player to be multiplexed, two links of player initialization and video loading in the live broadcast room are omitted, the same live broadcast video picture can be directly presented, the video loading can be prevented from waiting for too long time, the video picture of the cover player is linked up more quickly, and therefore the better watching experience effect is achieved.
Specifically, fig. 6 shows an original playing flow of the player in the live broadcast room. In the original playing flow, a cover player starts to play a smooth gear (720P) real-time preview live video, the cover player is paused when a user clicks the cover, then the operation of entering a live broadcast room page is executed, the initialization of the player in the live broadcast room is executed after the user enters the live broadcast room page, the live broadcast video loading is started after the initialization of the player in the live broadcast room is completed, at the moment, the live broadcast video loading is displayed, the first frame of the live broadcast video is displayed after the live broadcast video loading is completed, and the normal live broadcast room playing flow is started. Therefore, in the whole process, the live broadcast room player and the cover player are not interacted, a new live broadcast room player is created again every time a page of the live broadcast room is entered, the initialization speed is low, the playing of a video picture needs to be carried out, and the live broadcast video loading is carried out.
For the playing process of the embodiment of the application, as shown in fig. 7, the cover player starts to play a smooth tap (720P) live video preview in real time, the user enters a live room page when clicking the cover and keeps playing the cover player, the live room player multiplexes the cover player, starts to play the smooth tap (720P) live video preview according to the original display position and the original display size, loads a live video stream from the live streaming server, and after the loading is completed, can display a first frame of the live video and start a normal live room playing process. Therefore, in the embodiment of the application, the original process is improved, the cover player is reused, the initialization and loading waiting time of the player in the live broadcast room is reduced, and the loading speed of playing live broadcast video pictures in the page of the live broadcast room is accelerated.
Further, in an embodiment, if the loading of the live video stream from the live streaming server in step S305 is completed, displaying the corresponding live video in the live view page may include:
and if the loading of the live video stream from the live stream server is finished, replacing the live preview live video with the live video for displaying in the live room page.
The embodiment is carried out, in the live broadcast room page, the terminal multiplexes the cover player to play the live preview video and loads the live broadcast video stream from the live broadcast stream server, if the loading of the live broadcast video stream from the live broadcast stream server is completed, the terminal can replace the live preview video into the live broadcast video obtained by loading in the live broadcast room player to display, and the seamless connection of the video pictures is realized under the condition of accelerating the loading speed of playing the live broadcast video pictures in the live broadcast room page.
Further, in an embodiment, after the live video is replaced with the live video for display, the method further includes the following steps: and promoting the definition of the live broadcast video from the first definition corresponding to the real-time preview live broadcast video to the second definition.
With reference to fig. 7, specifically, after the video loading is completed, the terminal displays the first frame of the live video, and starts the normal live broadcast room playing process, and at this time, the definition of the live video displayed by the terminal in the page of the live broadcast room corresponds to the live video previewed in real time and is recorded as the first definition (e.g., the smooth file 720P), and the terminal can further determine whether the second definition (e.g., the high definition file 1080P and the blue-ray file 4K) exists in the live broadcast room. If yes, the terminal promotes the definition of the live video from the first definition to the second definition, and the video playing process is completed; if not, the first definition playing can be kept, and the video playing process is completed. The embodiment can realize seamless switching to high-definition file 1080P or blue-ray file 4K after entering a live broadcast room, and the switching is noninductive on the watching experience of a user.
In one embodiment, as shown in fig. 8, there is provided a live system, the system comprising: a terminal 810, a service server 820 and a live streaming server 830; the terminal 810 is in communication with the service server 820 and the live streaming server 830 through a network, and is configured to enter a live room page from a live cover page according to the method for entering a live room page as described in any of the above embodiments, and display live service information from the service server 820 and live video from the live streaming server 830 on the live room page.
Specifically, with reference to fig. 9, the terminal 810 requests the service server 820 for cover data and stream information corresponding to the live cover page in the display stage of the live cover page, the service server 820 feeds back each live cover of the live cover page and a stream address thereof, and the service server 820 requests the live stream server 830 for a video stream of a corresponding live cover page according to the stream address. After the user clicks the live cover, the terminal 810 enters the live room page from the live cover page according to the method for entering the live room page described in the above embodiment. Specifically, after the user clicks the live broadcast cover, if the terminal 810 judges that the user clicks the cover of the non-real-time preview live broadcast video, executing zooming displacement operation on the live broadcast cover until the live broadcast cover reaches the size and the position of full-screen display; if the terminal 810 judges that the user clicks the cover of the live video for real-time preview, the original display position and the original display size of the live video of the live room corresponding to the cover are located through the video real-time supplementary enhancement information, zooming and displacement operations are performed on the cover of the live video for real-time preview until the cover of the live video for real-time preview reaches the original display position and the original display size, and when the user clicks the live video cover, the terminal 810 synchronously requests the live service server 820 and the live stream server 830 to respectively acquire live service information such as a public screen, an online list and anchor broadcast information and video streams of the live video. After the zooming displacement operation of the corresponding cover is completed, if the loading completion time of the player in the live broadcast room is earlier than the return time of the live broadcast service information, the live broadcast video is displayed firstly and then the live broadcast service information is displayed step by step, if the return time of the live broadcast service information is earlier than the loading completion time of the player in the live broadcast room, the live broadcast service information such as a public screen, an online list and anchor broadcast information is displayed step by step firstly, and then the live broadcast video is displayed after the video is loaded, so that the interaction experience of the page entering the live broadcast room from the live broadcast cover page is more natural, the transition is smoother, the speed of displaying the live broadcast video frame when the page enters the live broadcast room page is higher, and the performance is better.
The live broadcast system of the embodiment can deal with live broadcast covers of various cover forms in live broadcast cover pages, the live broadcast video position and size of a skipped live broadcast room under different forms are estimated, specific cover content is kept and size and position gradually changed through presentation forms of transition animations, the live broadcast cover pages are adaptively transited to the live broadcast room pages, and when the live broadcast room pages are skipped, live broadcast stream information pulled by a cover player can be reused, the cover player can also share one player with the live broadcast room player, so that cached data of the live broadcast cover pages can be continuously broadcasted, a waiting process does not need to be reloaded, and therefore the effect of more natural and faster video transition display is achieved.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the application also provides a device for entering the live broadcast room page, which is used for realizing the method for entering the live broadcast room page. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the method, so that specific limitations in one or more device embodiments for entering a live broadcast room page provided below can be referred to the limitations on the method for entering the live broadcast room page in the foregoing, and details are not described here.
In one embodiment, as shown in fig. 10, there is provided an apparatus for entering a live-room page, the apparatus 1000 comprising:
a cover page display module 1001 for displaying a live cover page;
the information obtaining module 1002 is configured to determine page transition processing information corresponding to a cover form of the live broadcast cover in response to a trigger operation on a live broadcast cover in the live broadcast cover page, request a service server to obtain live broadcast service information of a live broadcast room corresponding to the live broadcast cover, and request a live broadcast stream server to obtain a live broadcast video stream of the live broadcast room; wherein the page transition processing information includes a content holding form set for the cover form, and an alternative content display size and an alternative content display position;
a transition processing module 1003, configured to maintain display of cover content in the live cover according to the content retention form, and gradually change a display size and a display position of the cover content to a display size and a display position of the alternative content;
a live page display module 1004, configured to display a live room page when the cover content reaches the alternative content display size and the alternative content display position;
a video display module 1005, configured to, if the loading of the live video stream from the live streaming server is not completed, display, in the live view page, cover content at the alternative content display size and the alternative content display position as alternative content of the live video; if the loading of the live video stream from the live streaming server is finished, displaying a corresponding live video in the live broadcasting room page;
and the service display module 1006 is configured to display the live service information in a live service room page when receiving the live service information from the service server.
In one embodiment, the information obtaining module 1002 is configured to, in a case that the form of the cover is a non-real-time preview live video, determine a content holding form in the page transition processing information as a target cover image of one or more cover images representing the live cover, and determine an alternative content display size and an alternative content display position in the page transition processing information as a full-screen display size and a full-screen display position.
In an embodiment, the information obtaining module 1002 is further configured to, when the cover form is a dynamic graph in a non-real-time preview live video, determine, according to the trigger operation, a current animation frame in a plurality of cover images used for representing the live cover, and use the current animation frame as the target cover image; and taking a cover image used for representing the live broadcast cover as the target cover image under the condition that the cover form is a static image in a non-real-time preview live broadcast video.
In one embodiment, the video display module 1005 is further configured to display, in the display live-room page, the target cover image at the alternative content display size and the alternative content display position as the alternative content of the live video; and in the page of the live broadcast display room, setting the display size of the live broadcast video to be a preset visual hidden size after establishing the layout of a live broadcast player, and loading a live broadcast video stream from the live broadcast stream server.
In an embodiment, the video display module 1005 is further configured to hide the target cover image in the live view window page and display the live view according to an original display position and an original display size if the loading of the live view stream from the live view stream server is completed.
In an embodiment, the information obtaining module 1002 is configured to, in a case that the form of the cover is a live preview live video, determine that the content retention form in the page transition processing information is to retain and display the cover content as a live preview live video representing the live cover; and according to the supplementary enhancement information in the preview live video stream from the live stream server, obtaining an original display position and an original display size of the live video in the live room page, and using the original display size and the original display position as the display size and the display position of the substitute content in the page transition processing information.
In one embodiment, the predetermined display size is a non-full screen display size, and the predetermined display position is a non-full screen display position; or, the original display size is a full-screen display size, and the original display position is a full-screen display position.
In an embodiment, the video display module 1005 is further configured to, in the live broadcast room page, multiplex a video stream of a cover player based on a live broadcast room player, display the live preview live broadcast video as substitute content of the live broadcast video according to an original display position and an original display size, and load the live broadcast video stream from the live broadcast stream server.
In an embodiment, the video display module 1005 is further configured to, if the loading of the live video stream from the live streaming server is completed, replace the live preview live video with the live video in the live streaming room page and display the live video.
In an embodiment, the video display module 1005 is further configured to increase the definition of the live video from a first definition corresponding to the live preview live video to a second definition.
The modules in the device for entering the live broadcast room page can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, which may be a terminal, and the internal structure thereof may be as shown in fig. 11. The electronic device comprises a processor, a memory, a communication interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and the computer program to run on the non-volatile storage medium. The communication interface of the electronic device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a method of entering a live-room page. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device is further provided, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), magnetic Random Access Memory (MRAM), ferroelectric Random Access Memory (FRAM), phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims (14)

1. A method for accessing a live room page, the method comprising:
displaying a live cover page;
responding to the trigger operation of a live broadcast cover in the live broadcast cover page, determining page transition processing information corresponding to the cover form of the live broadcast cover, requesting a service server to acquire live broadcast service information of a live broadcast room corresponding to the live broadcast cover, and requesting a live broadcast stream server to acquire a live broadcast video stream of the live broadcast room; wherein the page transition processing information includes a content holding form set for the form of the cover, and an alternative content display size and an alternative content display position;
maintaining the display of the cover content in the live cover according to the content maintaining form, and gradually changing the display size and the display position of the cover content to the display size and the display position of the alternative content;
displaying a live broadcast room page when the cover content reaches the alternative content display size and the alternative content display position;
if the loading of the live video stream from the live streaming server is not finished, displaying cover content at the display size and the display position of the alternative content as the alternative content of the live video in the page of the live broadcasting room; if the loading of the live video stream from the live streaming server is finished, displaying a corresponding live video in the live broadcasting room page;
and when receiving the live broadcast service information from the service server, displaying the live broadcast service information in a live broadcast room page.
2. The method of claim 1, wherein the determining page transition processing information corresponding to the cover form of the live cover comprises:
and under the condition that the cover form is a non-real-time preview live video, determining a content holding form in the page transition processing information as that the cover content is kept and displayed as a target cover image in one or more cover images used for representing the live cover, and determining the display size and the display position of the alternative content in the page transition processing information as the full-screen display size and the full-screen display position.
3. The method of claim 2, further comprising:
under the condition that the cover form is a dynamic graph in a non-real-time preview live video, determining a current animation frame in a plurality of cover images for representing the live cover according to the trigger operation, and taking the current animation frame as the target cover image;
and taking a cover image used for representing the live broadcast cover as the target cover image under the condition that the cover form is a static image in a non-real-time preview live broadcast video.
4. The method of any of claims 2-3, wherein after displaying the live-room page, the method further comprises:
displaying, in the display live view page, a target cover image at the substitute content display size and the substitute content display position as substitute content of the live video;
and in the page of the live broadcast display room, setting the display size of the live broadcast video to be a preset visual hidden size after establishing the layout of a live broadcast player, and loading a live broadcast video stream from the live broadcast stream server.
5. The method of claim 4, wherein displaying the corresponding live video in the live view page if the loading of the live video stream from the live stream server is completed comprises:
and if the loading of the live video stream from the live stream server is finished, hiding the target cover image in the page of the live broadcast room, and displaying the live video according to an original display position and an original display size.
6. The method of claim 1, wherein the determining page transition processing information corresponding to the cover form of the live cover comprises:
under the condition that the cover form is a live preview video, determining a content holding form in the page transition processing information as that the cover content is kept and displayed as the live preview video for representing the live cover; and according to the supplementary enhancement information in the preview live video stream from the live streaming server, obtaining an original display position and an original display size of the live video in the page of the live broadcasting room, and taking the original display size and the original display position as the display size and the display position of the substitute content in the page transition processing information.
7. The method of claim 6, wherein the intended display size is a non-full display size and the intended display position is a non-full display position; or, the original display size is a full-screen display size, and the original display position is a full-screen display position.
8. The method of any of claims 6-7, wherein after displaying the live-room page, the method further comprises:
in the live broadcast room page, video stream multiplexing of a cover player is carried out based on a live broadcast room player, the live preview live broadcast video is displayed as substitute content of the live broadcast video according to an original display position and an original display size, and the live broadcast video stream from the live broadcast stream server is loaded.
9. The method of claim 8, wherein displaying the corresponding live video in the live view page if the loading of the live video stream from the live stream server is completed comprises:
and if the loading of the live video stream from the live streaming server is finished, replacing the live preview live video with the live video for displaying in the live broadcasting room page.
10. The method of claim 9, wherein after replacing the live preview live video with the live video for display, the method further comprises:
and promoting the definition of the live video from the first definition corresponding to the real-time preview live video to a second definition.
11. A live broadcast system, the system comprising: the system comprises a terminal, a service server and a live streaming server; the terminal is used for entering a live room page from a live cover page according to the method of any one of claims 1 to 10, and displaying live service information from the service server and live video of the live streaming server on the live room page.
12. An apparatus for accessing a live view page, the apparatus comprising:
the cover page display module is used for displaying the live broadcast cover page;
the information acquisition module is used for responding to the trigger operation of a live broadcast cover in the live broadcast cover page, determining page transition processing information corresponding to the cover form of the live broadcast cover, requesting a service server to acquire live broadcast service information of a live broadcast room corresponding to the live broadcast cover and requesting the live broadcast stream server to acquire a live broadcast video stream of the live broadcast room; wherein the page transition processing information includes a content holding form set for the cover form, and an alternative content display size and an alternative content display position;
the transition processing module is used for keeping the display of the cover content in the live cover according to the content keeping form and gradually changing the display size and the display position of the cover content to the display size and the display position of the alternative content;
the live page display module is used for displaying a live room page when the cover content reaches the display size and the display position of the substitute content;
the video display module is used for displaying cover content at the display size and the display position of the alternative content as the alternative content of the live video in the page of the live broadcast room if the live video stream from the live broadcast stream server is not loaded completely; if the loading of the live video stream from the live streaming server is finished, displaying a corresponding live video in the live broadcasting room page;
and the service display module is used for displaying the live broadcast service information in a live broadcast room page when receiving the live broadcast service information from the service server.
13. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 10 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
CN202210887699.2A 2022-07-26 2022-07-26 Method and device for entering live broadcast room page, live broadcast system, equipment and medium Pending CN115334328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210887699.2A CN115334328A (en) 2022-07-26 2022-07-26 Method and device for entering live broadcast room page, live broadcast system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210887699.2A CN115334328A (en) 2022-07-26 2022-07-26 Method and device for entering live broadcast room page, live broadcast system, equipment and medium

Publications (1)

Publication Number Publication Date
CN115334328A true CN115334328A (en) 2022-11-11

Family

ID=83919422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210887699.2A Pending CN115334328A (en) 2022-07-26 2022-07-26 Method and device for entering live broadcast room page, live broadcast system, equipment and medium

Country Status (1)

Country Link
CN (1) CN115334328A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765809A (en) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 Preview method and device of search pictures of mobile terminal
CN106998477A (en) * 2017-04-05 2017-08-01 腾讯科技(深圳)有限公司 The front cover display methods and device of live video
CN107888968A (en) * 2017-11-21 2018-04-06 广州酷狗计算机科技有限公司 Player method, device and the computer-readable storage medium of live video
CN108449641A (en) * 2018-03-28 2018-08-24 聚好看科技股份有限公司 Play method, apparatus, computer equipment and the storage medium of Media Stream
CN109739403A (en) * 2018-12-28 2019-05-10 北京字节跳动网络技术有限公司 Method and apparatus for handling information
WO2020133377A1 (en) * 2018-12-28 2020-07-02 北京微播视界科技有限公司 Method and device for video previewing, electronic equipment, and computer-readable storage medium
CN112383808A (en) * 2020-11-02 2021-02-19 广州繁星互娱信息科技有限公司 Video playing method, device, terminal and storage medium
WO2021073206A1 (en) * 2019-10-16 2021-04-22 北京字节跳动网络技术有限公司 Video preview method and apparatus, and storage medium and electronic device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765809A (en) * 2015-04-02 2015-07-08 北京奇虎科技有限公司 Preview method and device of search pictures of mobile terminal
CN106998477A (en) * 2017-04-05 2017-08-01 腾讯科技(深圳)有限公司 The front cover display methods and device of live video
CN107888968A (en) * 2017-11-21 2018-04-06 广州酷狗计算机科技有限公司 Player method, device and the computer-readable storage medium of live video
CN108449641A (en) * 2018-03-28 2018-08-24 聚好看科技股份有限公司 Play method, apparatus, computer equipment and the storage medium of Media Stream
CN109739403A (en) * 2018-12-28 2019-05-10 北京字节跳动网络技术有限公司 Method and apparatus for handling information
WO2020133377A1 (en) * 2018-12-28 2020-07-02 北京微播视界科技有限公司 Method and device for video previewing, electronic equipment, and computer-readable storage medium
WO2021073206A1 (en) * 2019-10-16 2021-04-22 北京字节跳动网络技术有限公司 Video preview method and apparatus, and storage medium and electronic device
CN112383808A (en) * 2020-11-02 2021-02-19 广州繁星互娱信息科技有限公司 Video playing method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
US20100217884A2 (en) Method and system of providing multimedia content
WO2020062683A1 (en) Video acquisition method and device, terminal and medium
US20140082209A1 (en) Personalized streaming internet video
CN110809185B (en) Home page presentation method of smart television based on Web video preview
CN112019907A (en) Live broadcast picture distribution method, computer equipment and readable storage medium
CN115474085B (en) Media content playing method, device, equipment and storage medium
US20230275948A1 (en) Dynamic user-device upscaling of media streams
CN111258519A (en) Screen split implementation method, device, terminal and medium
US20220335977A1 (en) Method and apparatus for editing object, electronic device and storage medium
CN110365918A (en) A kind of information source switching method and equipment
CN112153459A (en) Method and device for screen projection display
CN115334328A (en) Method and device for entering live broadcast room page, live broadcast system, equipment and medium
CN114339289B (en) Video playing processing method
JP2024517702A (en) Method, computer device, and computer program for providing high quality video of a region of interest using a single stream
CN113038225B (en) Video playing method, device, computing equipment and storage medium
US20240045903A1 (en) Methods, systems, and media for displaying streaming media content on a user device using video sprite sheets
CN113663328B (en) Picture recording method, device, computer equipment and storage medium
CN112616079B (en) Push processing method and device, electronic equipment and medium
US11924501B1 (en) System and method for dynamic presentation of graphical and video content
CN115119006B (en) Live broadcast interaction method, live broadcast interaction device and electronic equipment
CN114025218B (en) Card type video interaction method, device, equipment and storage medium
CN115543507A (en) Resolution switching method and device and electronic equipment
CN113296674A (en) Object display method and device, electronic equipment and computer readable storage medium
JP2024007667A (en) Terminal device, distribution device, and program
CN116017058A (en) Video playing method, device, electronic equipment and readable 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