Live broadcast method, device, electronic device, server and storage medium
By displaying the tag objects of the live room card on the live broadcast list page and playing the associated live broadcast clips in response to the user's trigger operation, the problem of excessive resource occupation caused by users' frequent entry and exit of the live broadcast room is solved, and the user experience and platform efficiency are improved.
Patent Information
- Application Number
- CN202310003319.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2043-01-03
AI Technical Summary
The existing live broadcast solution causes users to frequently enter and exit the live broadcast room, causing excessive equipment resources to be occupied and causing lag.
By displaying the tag object of the live room card on the live broadcast list page, the live broadcast clip associated with the tag object is obtained and played in response to the user's first trigger operation, and the user avoids frequent entry and exit from the live broadcast room.
It effectively avoids excessive client resource usage caused by users' repeated entry and exit from the live broadcast room, improves user viewing experience, and saves traffic bandwidth of the live broadcast platform.
Smart Images

Figure CN116248905B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of live broadcast technology, and in particular to a live broadcast method, device, electronic device, server and storage medium. Background Art
[0002] When audience users log in to the live broadcast platform and choose the live video they want to watch, they generally get general information about the current live content of each live broadcast room through the video cover or "corner mark" label of each live broadcast room card (Item) in the live broadcast list. Therefore, the video cover and corner mark on the live broadcast room card can be used to guide users to choose to click on the room card in the live broadcast list to enter the live broadcast room.
[0003] Under normal circumstances, since the space that can be used to display information related to the live content in the live room card is very limited, it is common for viewers to find that the live content is not what they are interested in after entering the live room, and then return to the live list interface to reselect the live room. Whenever a user enters the live room, the server needs to push the live video stream. If the user frequently enters and exits the live room because the live video content is not of interest to him, such operation will significantly occupy the memory space of the client terminal, causing the user's device end such as a mobile phone or computer to freeze, thereby affecting the user's viewing experience and causing user loss. Summary of the invention
[0004] The present invention provides a live broadcast method, device, electronic device, server and storage medium to solve or partially solve the technical problem that the current live broadcast solution causes users to frequently enter and exit the live broadcast room, resulting in excessive occupation of device resources and causing lag.
[0005] In order to solve the above technical problems, in a first aspect, a live broadcast method is provided according to an embodiment of the present invention, which is applied to a client and includes:
[0006] Displaying a live broadcast list page, the live broadcast list page includes at least one live broadcast room card, if the live broadcast stream data corresponding to the live broadcast room card has a preset event, then displaying a label object corresponding to the preset event on the cover of the live broadcast room card;
[0007] In response to a first trigger operation by a user on a tag object on a target live broadcast room card, a live broadcast segment associated with the tag object is obtained and played.
[0008] Optionally, the step of responding to the user's first triggering operation on the tag object on the target live broadcast room card and acquiring and playing the live broadcast segment associated with the tag object includes:
[0009] In response to a second trigger operation of the user on a tag object on a target live broadcast room card, multiple tag objects associated with the target live broadcast room card are displayed;
[0010] In response to a first trigger operation by the user on a target tag object among the multiple tag objects, a live broadcast segment associated with the target tag object is acquired and played.
[0011] Optionally, in response to the user's second triggering operation on the tag object on the target live broadcast room card, the step of displaying multiple tag objects associated with the target live broadcast room card includes:
[0012] In response to the second trigger operation, a label display area of the target live broadcast room card is generated and displayed, and multiple label objects associated with the live broadcast stream data of the target live broadcast room card are displayed in the label display area.
[0013] Optionally, the step of generating and displaying the label display area of the target live broadcast room card includes:
[0014] Generate a floating window page of the tag display area in the live broadcast list page, so that the floating window page is located in an area close to the target live broadcast room card for display; or,
[0015] Generate a floating window page for the label display area, and display the floating window page in full screen.
[0016] Optionally, the step of acquiring and playing the live broadcast segment associated with the target tag object includes:
[0017] Based on the association identifier of the target tag object, obtaining the live broadcast segment of the target live broadcast room card from the server side;
[0018] Based on the first trigger operation, jump from the live broadcast list page to the play page of the target live broadcast room card and play the live broadcast clip on the play page.
[0019] Optionally, the step of displaying multiple tag objects associated with the target live broadcast room card includes:
[0020] Loading and displaying multiple tag objects associated with the target live broadcast room card in a view; a listener is set in the view;
[0021] The step of jumping from the live broadcast list page to the play page of the target live broadcast room card based on the first trigger operation includes:
[0022] When the listener listens to the operation event of the first trigger operation, the page jumps from the live broadcast list page to the play page through a scheme jump method.
[0023] Optionally, after the play page plays the live segment, the method further includes:
[0024] Obtain the current live broadcast data of the target live broadcast room card, and play the current live broadcast data on the playback page.
[0025] Optionally, the step of displaying a label object corresponding to the preset event on the cover of the live broadcast room card includes:
[0026] Based on the current preset event of the live streaming data corresponding to the live room card, the current label object corresponding to the current preset event is displayed on the cover of the live room card.
[0027] Optionally, the step of responding to the user's first triggering operation on the tag object on the target live broadcast room card and acquiring and playing the live broadcast segment associated with the tag object includes:
[0028] When a first trigger operation of the user on the label object is detected, enlarging the label object;
[0029] When a third trigger operation of the user on the enlarged tag object is detected, the live broadcast segment associated with the tag object is acquired and played.
[0030] Optionally, the label object includes a label display area and an operation trigger area, and the area of the operation trigger area is larger than the area of the label display area;
[0031] The step of responding to the user's first triggering operation on the tag object on the target live broadcast room card, acquiring and playing the live broadcast segment associated with the tag object, comprises:
[0032] When a first trigger operation of the user in the operation trigger area is detected, a live broadcast segment associated with the tag object is acquired and played.
[0033] In a second aspect, a live broadcast method is provided according to an embodiment of the present invention, which is applied to a server and includes:
[0034] Receive live streaming data sent by the anchor client;
[0035] Identify a preset event in the live streaming data, and generate a tag object associated with the preset event; and intercept a live segment corresponding to the preset event from the live streaming data, and associate the live segment with the tag object for storage;
[0036] Generate a live broadcast list page based on the live broadcast stream data, send the live broadcast list page and the tag object to the viewer client, so that the viewer client displays the live broadcast list page, and responds to the user's first trigger operation on the tag object on the target live broadcast room card, obtains and plays the live broadcast segment associated with the tag object;
[0037] The live broadcast list page includes at least one live broadcast room card, and a label object corresponding to the preset event is displayed on the cover of the live broadcast room card.
[0038] In a third aspect, an embodiment of the present invention provides a live broadcast device, which is applied to a client and includes:
[0039] A display module is used to display a live broadcast list page, wherein the live broadcast list page includes at least one live broadcast room card. If there is a preset event in the live broadcast stream data corresponding to the live broadcast room card, a label object corresponding to the preset event is displayed on the cover of the live broadcast room card;
[0040] The response module is used to respond to the user's first trigger operation on the tag object on the target live room card, and obtain and play the live clip associated with the tag object.
[0041] In a fourth aspect, according to an embodiment of the present invention, a live broadcast device is provided, which is applied to a server, including:
[0042] The receiving module is used to receive the live streaming data sent by the anchor client;
[0043] An identification module, used to identify a preset event in the live streaming data, generate a tag object associated with the preset event; and intercept a live segment corresponding to the preset event from the live streaming data, and associate the live segment with the tag object for storage;
[0044] A sending module, configured to generate a live broadcast list page based on the live broadcast stream data, send the live broadcast list page and the tag object to the viewer client, so that the viewer client displays the live broadcast list page, and in response to a first trigger operation of the user on the tag object on the target live broadcast room card, obtain and play the live broadcast segment associated with the tag object;
[0045] The live broadcast list page includes at least one live broadcast room card, and a label object corresponding to the preset event is displayed on the cover of the live broadcast room card.
[0046] In a fifth aspect, an electronic device is provided according to an embodiment of the present invention, the electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any one of the live broadcast methods provided in the first aspect are implemented.
[0047] In the sixth aspect, a server is provided according to an embodiment of the present invention, the server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the live broadcast method provided in the second aspect are implemented.
[0048] In the seventh aspect, according to an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the live broadcast method provided in the first aspect and the second aspect are implemented.
[0049] Through one or more technical solutions of the present invention, the present invention has the following beneficial effects or advantages:
[0050] The present invention provides a live broadcast method, which is applied to an audience client. Different from the current solution in which the tag object of a live broadcast room card does not support jump playback, this solution plays the live broadcast segment associated with the target tag object for the audience user by responding to the first trigger operation of the audience user on the target tag object of the live broadcast room in the live broadcast list. This is achieved: the audience user can filter and watch the wonderful live broadcast segments or wonderful moments generated by the live broadcast room during the live broadcast process through the tag object displayed on the live broadcast room card without entering the live broadcast room, thereby avoiding the problem of excessive client resource occupation caused by the audience user repeatedly entering and exiting the live broadcast room, and the audience client repeatedly loading the live broadcast room and repeatedly requesting live broadcast stream data, and saving the traffic bandwidth of the live broadcast platform; at the same time, the audience user can locate the live broadcast room or anchor user of interest according to the tag object on the live broadcast list page, which is conducive to improving the user experience.
[0051] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] By reading the detailed description of the preferred embodiment below, various other advantages and benefits will become clear to those of ordinary skill in the art. The accompanying drawings are only used for the purpose of illustrating the preferred embodiment and are not considered to be limitations of the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings.
[0053] In the attached picture:
[0054] Figure 1 A schematic diagram of a live broadcast list is shown;
[0055] Figure 2 A schematic diagram of a live broadcast method applied to a client according to an embodiment of the present invention is shown;
[0056] Figure 3 A schematic diagram of the flow of a live broadcast method for displaying multiple tag objects according to an embodiment of the present invention is shown;
[0057] Figure 4A schematic diagram showing a label display area displaying a floating window style according to an embodiment of the present invention is shown;
[0058] Figure 5 A schematic diagram showing a full-screen label display area according to an embodiment of the present invention is shown;
[0059] Figure 6 A schematic flow chart of a live broadcast method applied to a server according to an embodiment of the present invention is shown;
[0060] Figure 7 A schematic diagram of a live broadcast device applied to a client according to an embodiment of the present invention is shown;
[0061] Figure 8 A schematic diagram of a live broadcast device applied to a server according to an embodiment of the present invention is shown;
[0062] Fig. 9 A schematic diagram of an electronic device according to an embodiment of the present invention is shown;
[0063] Fig.10 A schematic diagram of a server according to an embodiment of the present invention is shown;
[0064] Fig.11 A schematic diagram of a storage medium according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0065] In order to make the technical personnel in the technical field to which the present application belongs more clearly understand the present application, the technical solution of the present application is described in detail by specific embodiments in conjunction with the accompanying drawings. Throughout the specification, unless otherwise specified, the terms used herein should be understood as the meanings commonly used in the art. Therefore, unless otherwise defined, all technical and scientific terms used herein have the same meanings as the general understanding of the technical personnel in the field to which the present invention belongs. If there is a contradiction, this specification takes precedence. Unless otherwise specified, the various equipment used in the present invention, etc., can be purchased from the market or can be prepared by existing methods.
[0066] Currently, the live broadcast list will be displayed on the homepage or front page of each live broadcast platform. Figure 1 A schematic design of a live broadcast list is shown. The live broadcast list includes multiple live video room card items for viewers to choose from. After the user selects a live broadcast room card item from the live broadcast list, he can enter the live broadcast room corresponding to the live broadcast room card item to watch the live broadcast.
[0067] Some content information is displayed in each live broadcast room card item to guide users to watch, including the live broadcast cover (a representative frame in the live video), a display label or a guide label (referred to as a "corner mark" in the industry) located in the corner area of the cover. The information displayed on the corner mark includes but is not limited to: the name of the live broadcast room, the name of the anchor, the popularity of the live broadcast room, the activities of the live broadcast room (such as raffles, guessing games), etc.
[0068] Considering that a large number of live broadcast room cards are displayed in the live broadcast list at the same time, the display space of a live broadcast room card is limited, and the number of corner marks that can be displayed is also limited. It cannot be too many, otherwise it will cause a poor viewing experience for users. The limited number of corner marks can also display limited live broadcast information, which cannot enable audience users to confirm whether the content being broadcast in the live broadcast room is what they are interested in, which may cause audience users to repeatedly enter the live broadcast room, causing excessive usage of audience client resources, causing device freezes, affecting user experience, and wasting user time. Over time, audience users may also uninstall the live broadcast application APP, causing user loss on the live broadcast platform.
[0069] In view of the above problems, in a first aspect, in an optional embodiment, as Figure 2 As shown, a live broadcast method is provided, which is applied to a client and includes steps S21 to S22, which are as follows:
[0070] S21: Displaying a live broadcast list page, the live broadcast list page includes at least one live broadcast room card. If there is a preset event in the live broadcast stream data corresponding to the live broadcast room card, a label object corresponding to the preset event is displayed on the cover of the live broadcast room card.
[0071] Specifically, the live broadcast list page is displayed on the client, specifically on the viewer client, as a list of different live broadcast room card items that can be slid up and down in the visible area of the screen. For a schematic diagram, see Figure 1 The live broadcast list page can display more, richer and more diverse content in a limited area, and achieve a smooth experience when sliding through means such as preloading and reuse. Viewers can manually or automatically slide the list through various operation gestures to locate the required or interesting live broadcast content.
[0072] The live broadcast list page includes multiple live broadcast room card items, and the label objects displayed in each live broadcast room card item. Label objects can be divided into corner labels (labels located in the corner area of the live broadcast room card) and non-corner labels (labels located outside the corner area) according to the display position. The types of information reflected or displayed by the corner labels include but are not limited to: live broadcast room name, anchor name, live broadcast room popularity, live broadcast room activities, etc.
[0073] The label object may also be a display label that reflects the highlight events or highlights that occurred in the live broadcast room during the live broadcast, including but not limited to:
[0074] Wonderful operation tags, such as in the live broadcast of a competitive game, the anchor can complete multiple kills of other players in a short period of time due to wonderful operations, and obtain titles such as "Super God", "Four Consecutive Supernatural", "Crazy Slaughter", or because of wonderful operations, obtain the title of "No Injury Victory" against a high-difficulty monster in a certain game.
[0075] Wonderful event labels, such as the wonderful plot events, large-scale battle events, game card drawing events, game treasure drop events, etc. encountered by the character controlled by the anchor player in the game live broadcast; or the sudden wonderful events that the anchor encounters in the life or travel live broadcast.
[0076] Entertainment event tags, such as interesting or funny events encountered by the host during game, life or travel live broadcasts.
[0077] Popular science event labels, such as historical and cultural popular science events conducted by the host during live broadcasts of games, life, or travel.
[0078] The label object displayed on the live broadcast room card can be dynamic, that is: based on the current preset event of the live broadcast stream data corresponding to the live broadcast room card, the current label object corresponding to the current preset event is displayed on the cover of the live broadcast room card. For example, the current anchor is conducting a live broadcast lottery event, then the live broadcast room card can display the event label of "live broadcast lottery"; after the live broadcast lottery is completed, the anchor starts the game live broadcast, then the live broadcast room card can display the event label of "game highlights", and the event label of "live broadcast lottery" may no longer be displayed. If there are multiple label objects displayed on the live broadcast room card, the label objects generated recently can be displayed in chronological order, such as "live broadcast lottery" can continue to be displayed, and the label objects generated earlier can be hidden.
[0079] In the specific implementation, the live broadcast list page is realized by a ListView or RecyclerView. Each item in the list is an Item of ListView or RecyclerView, that is, a live broadcast room card Item. Clicking any live broadcast room card Item can jump to the live broadcast room corresponding to the Item. Each live broadcast room item can display multiple elements, such as room cover, various label objects such as title, description, partition, popularity, corner mark, etc.
[0080] S22: In response to the user's first trigger operation on the tag object on the target live room card, obtain and play the live clip associated with the tag object.
[0081] Among them, the first trigger operation can be various gesture operations of the audience user, such as clicking, double-clicking, long pressing, sliding, shaking, etc., or it can be a voice command, which is not restricted here.
[0082] At present, various tag objects in the live broadcast room cards of the live broadcast platform cannot be triggered or jump to video playback. Either the triggered tag object does not respond, or the triggered tag object is regarded as the intention to enter the live broadcast room, directly entering the live broadcast room and pulling the current live stream video for playback. The tag object in this solution is not only used to display tag information, but also associated with the corresponding live broadcast clip, which can support audience users to watch the live broadcast clips generated by the current live broadcast room during this live broadcast through the first trigger operation of the target tag object. Therefore, the tag objects displayed on each live broadcast room card in this solution can be used as a jump button for the "Highlights" or "Exciting Events" of the anchor user, thereby providing audience users with a quick screening function for exciting live content.
[0083] In the specific implementation, the tag object associated with the live broadcast room in the live broadcast list page can be generated by the live broadcast server end identifying the live broadcast data of the anchor user of the live broadcast room. Specifically, the anchor user uploads the live broadcast data to the live broadcast server when the live broadcast platform starts broadcasting. The live broadcast server is pre-set with the recognition algorithm of the highlights / events of the live broadcast video, and performs the recognition of the wonderful events before distributing the live broadcast data to the audience client. When the wonderful events in the live broadcast data are recognized, the corresponding tag object is generated according to the type of the wonderful event. If the current event is the wonderful operation of the anchor in the game, the tag object is the wonderful operation tag, such as "four consecutive extraordinary", "unstoppable", etc. When the tag object is recognized, the live broadcast server can intercept the live broadcast data segment containing the wonderful event from the live broadcast data according to the timestamp information of the wonderful event, associate it with the newly generated tag object for storage and generate an association identifier or unique identifier (ID), which can be used to request the playback address of the live broadcast segment. By identifying the wonderful events of the anchor user during this live broadcast, multiple tag objects associated with it can be obtained. Therefore, the live broadcast server can generate a live broadcast list page based on the current live broadcast user and the corresponding live broadcast room information and send it to the viewer client. The live broadcast list page includes multiple live broadcast room card items of the anchor user, multiple tag objects associated with each live broadcast room card item, and the associated identifier of each tag object.
[0084] Therefore, this solution can achieve the following: without entering the live broadcast room, the audience users can filter and watch the wonderful live clips or wonderful moments generated in the live broadcast room during the live broadcast through the label objects displayed on the live broadcast room card, thereby avoiding the problem of audience users repeatedly entering and exiting the live broadcast room, and audience clients repeatedly loading the live broadcast room and repeatedly requesting live broadcast stream data, which causes the client resources to occupy too much and cause the problem of lag, and saves the traffic bandwidth of the live broadcast platform; at the same time, the audience users can locate the live broadcast room or anchor user they are interested in according to the label objects on the live broadcast list page, which is conducive to improving the user experience.
[0085] As mentioned above, the number of tag objects that can be displayed in a live room card in the live list page is limited, and displaying too many tag objects will affect the user experience. However, a live room may be associated with many tag objects. Therefore, in some optional embodiments, please refer to Figure 3 Step S22: In response to the user's first trigger operation on the target tag object, the method for acquiring and playing the live segment associated with the target tag object includes steps S221 to S222, which are specifically as follows:
[0086] S221: In response to the user's second trigger operation on the tag object on the target live broadcast room card, multiple tag objects associated with the target live broadcast room card are displayed.
[0087] Specifically, the above scheme is to display the label object corresponding to the current preset event on the live broadcast room card, or display a small number of label objects, and other label objects are hidden. When the user's second trigger operation on the displayed label object is detected, multiple label objects associated with the target live broadcast room are displayed to the user. The second trigger operation can be the same as the first trigger operation or different; the second trigger operation includes but is not limited to: single click, double click, long press, slide, shake and other operation gestures, and can also be voice commands, etc.
[0088] When displaying multiple tag objects associated with the target live broadcast room in response to the second trigger operation, all tag objects associated with the target live broadcast room can be displayed, or a part of the tag objects can be displayed first, and the other part of the tag objects can be displayed by sliding, scrolling, or turning pages.
[0089] Therefore, the scheme for displaying multiple label objects associated with the target live broadcast room can be: in response to the second trigger operation, generate and display the label display area of the target live broadcast room card, and display multiple label objects associated with the live stream data of the target live broadcast room card in the label display area.
[0090] Specifically, the following two solutions can be used to display multiple label objects in the label display area:
[0091] Solution 1: Generate a floating window page in the tag display area on the live broadcast list page, so that the floating window page is displayed in an area close to the target live broadcast room card.
[0092] Specifically, Scheme 1 is to generate a floating page or pop-up page for displaying multiple label objects near the target live room when it is detected that the audience user performs a second trigger operation on a label object in the target live room card, and the target live room is associated with multiple label objects.
[0093] When generating a floating window page, the position information of the tag object targeted by the second trigger operation of the viewer in the current device screen can be obtained, and the position or area of the floating window display can be calculated based on the position information. If the calculated position or area exceeds the display area of the current device screen, the floating window is translated so that the floating window boundary that exceeds the display area is aligned with the screen display boundary, ensuring that the floating window display area is within the display area of the screen.
[0094] Through the above solution, a floating window area can be displayed next to the cover of the target live room card item selected by the audience user, and multiple label objects associated with the target live room can be displayed in the floating window area. The label object currently being displayed in the target live room can be placed at the top of the floating window area for display, and then the remaining label objects can be sorted in a preset order, such as chronological order or descending order of popularity watched by all users.
[0095] Figure 4 The figure shows a schematic diagram of a floating window page of a label display area generated next to the label object "Operation Tutorial" of Live Room 5 (Live Room Card Item 5) after the audience user performs the second trigger operation. The label objects displayed from top to bottom in the floating window are: "Four Consecutive Extraordinary", "Crazy Slaughter", "Draw Cards" and "Live Room Treasure Drop".
[0096] When there are a large number of tag objects associated with the target live broadcast room and the floating window area cannot fully display all the tag objects, the audience users can view the tag objects in different orders through sliding gestures or page turning buttons and scroll bars set on the floating window page, so that the audience users can accurately select the required tag objects; in addition, you can also set a "view more" jump button on the floating window page. After the audience users click it, they will jump to a separate display page to view all the tag objects in the target live broadcast room from a larger viewing angle.
[0097] Solution 2: Generate a floating window page for the label display area and display the floating window page in full screen, such as Figure 5 shown.
[0098] Specifically, Solution 2 is to pop up a full-screen pop-up window or floating window page covering the entire display area of the screen when the audience user detects the second trigger operation on the tag object of the target live room, which is used to more clearly display or display more of the multiple tag objects associated with the target live room, as well as the descriptive information on the tag objects.
[0099] In the specific implementation, after detecting the second trigger operation of the viewer user on the tag object, the screen can be rotated and a full-screen pop-up window can be popped up. The full-screen pop-up window can be displayed in the form of a list. Similar to the floating window, if the target live broadcast room is associated with more tag objects and the full-screen pop-up window cannot fully display them, the tag object currently displayed in the live broadcast room card item is placed on one side of the full-screen pop-up window (such as the left side), and then the remaining tag objects are sorted and displayed in a preset order, for example, Figure 5 In the figure, the label objects displayed from left to right are: "Four Consecutive Extraordinary", "Crazy Slaughter", "Card Drawing" and "Treasure Drop in Live Broadcast Room".
[0100] Audience users can view label objects in different orders by sliding gestures or operating the page-turning buttons and scroll bars set on the full-screen pop-up page. Taking the page-turning button as an example, if there are undisplayed label objects on the left side of the full-screen pop-up window, a left arrow will be displayed on the left side of the full-screen pop-up window, otherwise the left arrow will not be displayed; if there are undisplayed label objects on the right side, a right arrow will be displayed on the right side of the full-screen pop-up window, otherwise the right arrow will not be displayed. Displaying multiple label objects in a full-screen pop-up window, and coordinating sliding and left and right arrow instructions and operations to display more label objects, can make it easier for users to view and operate corner marks.
[0101] In general, the full-screen pop-up display design can make the interaction mode of the label display area more diversified, and can more clearly display the display information of each label object, thereby enhancing the user experience.
[0102] In some optional embodiments, when the second trigger operation is detected, the room card item cover of the target live room selected by the viewer user can also be specially displayed, such as enlarging the cover size, or adding cover selection special effects.
[0103] The above content provides how to display multiple label objects of the target live broadcast room according to the second trigger operation of the viewer user. The following is:
[0104] S222: In response to a first trigger operation of a user on a target tag object among multiple tag objects, obtain and play a live broadcast segment associated with the target tag object.
[0105] Among them, the target tag object is the selected tag object for the audience user to perform the first trigger operation on multiple tag objects in the target live room card.
[0106] Specifically, when the first trigger operation of the viewer user on the target tag object is detected, the following scheme can be used to obtain and play the live broadcast segment:
[0107] Based on the association identifier of the target tag object, the live broadcast segment of the target live broadcast room card is obtained from the server side; based on the first trigger operation, the live broadcast list page is jumped to the play page of the target live broadcast room card and the live broadcast segment is played on the play page.
[0108] In the prior art, the label object or superscript displayed on the live broadcast room card item does not support the viewer user's operation jump. Even if the viewer user clicks the label object on the live broadcast room card item, the system will only assume that the viewer user has triggered the command to enter the live broadcast room and execute the operation of entering the live broadcast room corresponding to the live broadcast room card item. The difference of this embodiment is that after operating the label object, the viewer user no longer enters the live broadcast room and watches the current live video in an interactive way, but jumps to the play page to play the live segment (highlight segment) associated with the label object.
[0109] Considering that the display area of the label object is usually small, especially on the mobile electronic device side, the following two solutions can be adopted for the first trigger operation implemented by the audience user on the label object to jump to the interaction:
[0110] Solution 1: when a first trigger operation of a user on a tag object is detected, the tag object is enlarged; when a third trigger operation of the user on the enlarged tag object is detected, a live broadcast segment associated with the tag object is obtained and played.
[0111] Specifically, Solution 1 is to first enlarge the target tag object when the user's first trigger operation on the target tag object is identified, and then, when the user's third trigger operation on the enlarged target tag object is detected, obtain the live segment associated with the target tag object and jump to the play page for playback. By designing the interactive method of the audience user's two trigger operations, it is possible to accurately identify the audience user's intention to watch the live segment associated with the target tag object, prevent the audience user from jumping when accidentally touching the tag object, save device-side resource usage, and hinder the audience user's desire to directly enter the live room to watch the live video, thereby improving the user experience.
[0112] The third trigger operation may be the same as or different from the first trigger operation; if the first trigger operation is a single-click operation, the third trigger operation may be either a single-click operation or a double-click operation.
[0113] Furthermore, it can also be designed that the target tag object remains for a set time after being enlarged, such as 3 to 6 seconds, and after the third trigger operation of the viewer user is detected within this set time, the live segment associated with the target tag object is obtained and played. After the set time, the target tag object is restored to its original state, and the viewer user needs to obtain and watch the live segment through the first trigger operation and the third trigger operation again.
[0114] Solution 2: The tag object includes a tag display area and an operation trigger area, and the area of the operation trigger area is larger than the area of the tag display area. Accordingly, when the first trigger operation of the user in the operation trigger area is detected, the live segment associated with the tag object is obtained and played.
[0115] Specifically, the label display area is used to display the label information of the target label object, such as an icon or text. The operation trigger area is the detection area where the first trigger operation of the viewer user takes effect. Usually, the operation trigger area should include or cover the label display area. For example, the label display area is expanded by 10px to form the operation trigger area. In some cases, it can also be set so that the label display area and the operation trigger area partially overlap.
[0116] Solution 2 separates the display area (visible area) and the operation trigger area of the label object, and then expands the judgment area of the operation trigger area to make the area of the operation trigger area larger than the actual display area of the label object. By controlling the size of the virtual operation trigger area, the behavior of the viewer user operating the label object is identified and controlled to form a virtual operable area of the label object. Through this design, the viewer user's intention to watch the wonderful live clips through the label object can be effectively identified, preventing the viewer user from accidentally clicking on the cover of the live room card item, directly loading the live room and playing the live stream data, which helps to improve the user experience while saving device-side resource usage.
[0117] When it is confirmed based on the first trigger operation of the viewer user that the viewer user wants to watch the live segment associated with the tag object, in order to realize the jump from the tag object display area to the live segment playback page, an optional tag object display and jump solution is as follows:
[0118] Load and display multiple label objects associated with the target live room card in the view; a listener is set in the view; when the listener listens to the operation event of the first trigger operation, jump from the live broadcast list page to the playback page through the scheme jump method.
[0119] Specifically, this embodiment uses a view View to load the label object displayed on the front end of the live room card Item, and sets an OnClickListener listener for the View. When the audience user makes the first trigger operation on the label object, the audience user's operation event will be called back to the set OnClickListener listener, and the jump operation from the label display area to the live clip playback page will be executed through the onClick method of the listener.
[0120] This embodiment uses the Scheme method to jump. Scheme is a set of self-defined jump protocols agreed upon by the caller and the receiver of the jump. The caller and the receiver of the jump uniformly pass parameters and receive parameters according to this set of agreed protocols. According to this set of agreed rules, the protocol can be infinitely extended in theory. When expanding, both parties only need to uniformly abide by the rules of this set of protocols, which is convenient for subsequent iteration and expansion. Therefore, compared with the conventional jump method, the Scheme jump can conveniently carry more information by negotiating a predetermined protocol, and is conducive to subsequent expansion and subsequent iteration.
[0121] The audience user jumps to the play page of the wonderful live segment by operating the tag object. The jump interface carries information such as the jump type and the live segment ID associated with the tag object. The play page receives the passed jump type and ID information to play the live segment. An optional implementation logic is as follows:
[0122] Through the live segment ID associated with the tag object, request the corresponding streaming address from the server. After obtaining the streaming address of the corresponding wonderful live segment, pass the address to the player, and monitor the playback progress of the wonderful live segment by setting the playback listener. When the video playback of the wonderful live segment is completed, you can request to pull the current live stream of the target live room, reset the live stream to the player, and play the current live stream data on the playback page. By pulling and loading the set live stream by the player, you can continue to seamlessly switch to the live stream playback, which well realizes the smooth switching from the playback of the wonderful live segment to the playback of the live stream, and improves the user's playback experience.
[0123] In general, this embodiment provides a live broadcast method applied to a viewer client, which has the following beneficial effects:
[0124] 1) Enriched the display format and content of the live broadcast list page;
[0125] 2) The design of triggering the playback of wonderful live clips through tag objects enriches the response form of the live broadcast list page and can more accurately meet the interactive needs and live broadcast viewing demands of audience users;
[0126] 3) The jump from the live broadcast list page to the live broadcast segment page adopts the Scheme method, which can carry rich information and is conducive to subsequent expansion;
[0127] 4) Accurately and effectively identify the behavior intention of audience users through the separation design of the label display area and the operation trigger area of the label object;
[0128] 5) Seamless and smooth switching between exciting live clips and live streaming data helps improve the user's viewing experience.
[0129] In the second aspect, based on the same inventive concept, in another optional embodiment, as Figure 6 As shown, a live broadcast method is provided, which is applied to a server and includes steps S61 to S63, which are specifically as follows:
[0130] S61: receiving live streaming data sent by the anchor client;
[0131] S62: Identify a preset event in the live streaming data, generate a tag object associated with the preset event; and intercept a live segment corresponding to the preset event from the live streaming data, and associate the live segment with the tag object for storage;
[0132] Specifically, the live broadcast server is pre-installed with an algorithm for identifying highlights / events of live video, and identifies highlights before distributing the live streaming data to the audience client. When identifying highlights in the live streaming data, a corresponding tag object is generated according to the type of the highlights. For example, if the current event is a wonderful operation of the anchor in the game, the tag object is a wonderful operation tag, such as "four consecutive extraordinary", "crazy slaughter", "unstoppable", etc. While identifying the tag object, the live broadcast server can intercept the live data segment containing the wonderful event from the live streaming data according to the timestamp information of the wonderful event, associate it with the newly generated tag object for storage and generate an association identifier or unique identifier (ID), which can be used to request the playback address of the live segment. By identifying the highlights of the anchor user during this live broadcast, multiple tag objects associated with it and the wonderful live segments associated with each tag object can be obtained.
[0133] S63: Generate a live broadcast list page based on the live broadcast stream data, send the live broadcast list page and the tag object to the audience client, so that the audience client displays the live broadcast list page, and responds to the user's first trigger operation on the tag object on the target live broadcast room card, and obtains and plays the live broadcast segment associated with the tag object.
[0134] The live broadcast list page includes at least one live broadcast room card, and a label object corresponding to a preset event is displayed on the cover of the live broadcast room card.
[0135] Specifically, the live broadcast server distributes the tag object to the front-end, i.e., the viewer client, through a user interface request or an active push from the server. After receiving the tag object, the viewer client parses the representation information of the tag object, calculates the position where the tag object needs to be displayed, and displays the representation information of the tag object on the item at the corresponding position to present it to the viewer user, thus enriching the display information of the live broadcast list page.
[0136] Optionally, the representation information of the tag object sent by the live broadcast server to the viewer client includes the type of the tag object, the display style and the extended information. For the wonderful events identified by the recognition algorithm, the extended information includes the associated identification ID of the live broadcast segment of the wonderful event; in this embodiment, a View, such as ImageView, is used to load the identification object to display the picture or text corresponding to the identification object.
[0137] The live broadcast method applied to the server provided in this embodiment, while supporting the audience client to achieve the beneficial effects of the embodiment of the first aspect, also has the following beneficial effects:
[0138] 1 ) The display format and content of the live broadcast list page have been enriched;
[0139] 2) The response form of the live broadcast list page on the viewer client has been enriched, which can more accurately meet the interactive needs and live broadcast viewing demands of the audience users;
[0140] 3) The recognition algorithm for exciting events is built into the server side, which does not affect the live broadcast performance and experience of the anchor client.
[0141] Based on the host client, live broadcast server and audience client, the interactive process of the live broadcast method provided by this application is as follows:
[0142] Anchor client: Set up a live broadcast room to start broadcasting and upload live streaming data.
[0143] Live server: Receives live streaming data, identifies dot events or highlights in the live streaming data through built-in recognition algorithms, captures the live frequency band of the highlights, generates associated tag objects, and distributes them to the viewer client.
[0144] Audience client: After the audience user starts the live broadcast application, it receives and displays the live broadcast list sent by the live broadcast server; the live broadcast list displays multiple live broadcast room card items, and each live broadcast room card displays at least one label object, which reflects the current event or exciting event in the live broadcast room.
[0145] Among them, when the audience client detects the first trigger operation of the audience user on the target tag object, it jumps to the playback page to play the live broadcast segment associated with it; or, when the audience user detects the second trigger operation of the audience user on the tag object of the target live room, it generates and pops up a tag display area (floating window or full-screen pop-up window) to display multiple tag objects associated with the target live room; when the audience user detects the first trigger operation of the target tag object in the tag display area, it responds to the monitoring callback of the target tag object and inserts the associated live broadcast segment, i.e., the highlights video, before the live stream is played.
[0146] If the audience client detects that the audience user is in a triggering operation in an area other than the label object, it responds to the monitoring callback of the live broadcast room card item and directly plays the current live stream data.
[0147] Through the above solution, it is possible to avoid the device freezing phenomenon caused by audience users blindly clicking on the live broadcast room and requesting live broadcast stream data, thereby improving the stickiness between users and the live broadcast platform and making the audience users' operations more flexible.
[0148] Based on the same inventive concept, in the third aspect, in another optional embodiment, please refer to Figure 7 , provides a live broadcast device, applied to a client, comprising:
[0149] Display module 710, used to display a live broadcast list page, the live broadcast list page includes at least one live broadcast room card, if the live broadcast stream data corresponding to the live broadcast room card has a preset event, then the label object corresponding to the preset event is displayed on the cover of the live broadcast room card;
[0150] The response module 720 is used to respond to the user's first trigger operation on the tag object on the target live room card, and obtain and play the live segment associated with the tag object.
[0151] Optionally, the response module 720 is used to:
[0152] In response to a second trigger operation of the user on a tag object on a target live broadcast room card, multiple tag objects associated with the target live broadcast room card are displayed;
[0153] In response to a first trigger operation by the user on a target tag object among the multiple tag objects, a live broadcast segment associated with the target tag object is acquired and played.
[0154] Optionally, the response module 720 is used to:
[0155] In response to the second trigger operation, a label display area of the target live broadcast room card is generated and displayed, and multiple label objects associated with the live broadcast stream data of the target live broadcast room card are displayed in the label display area.
[0156] Optionally, the response module 720 is used to:
[0157] Generate a floating window page of the tag display area in the live broadcast list page, so that the floating window page is located in an area close to the target live broadcast room card for display; or,
[0158] Generate a floating window page for the label display area, and display the floating window page in full screen.
[0159] Optionally, the response module 720 is used to:
[0160] Based on the association identifier of the tag object, obtaining the live broadcast segment of the target live broadcast room card from the server side;
[0161] Based on the first trigger operation, jump from the live broadcast list page to the play page of the target live broadcast room card and play the live broadcast clip on the play page.
[0162] Optionally, the response module 720 is used to:
[0163] Loading and displaying multiple tag objects associated with the target live broadcast room card in a view; a listener is set in the view;
[0164] The step of jumping from the live broadcast list page to the play page of the target live broadcast room card based on the first trigger operation includes:
[0165] When the listener listens to the operation event of the first trigger operation, the page jumps from the live broadcast list page to the play page through a scheme jump method.
[0166] Optionally, the response module 720 is further configured to:
[0167] Obtain the current live broadcast data of the target live broadcast room card, and play the current live broadcast data on the playback page.
[0168] Optionally, the display module 710 is used for:
[0169] Based on the current preset event of the live streaming data corresponding to the live room card, the current label object corresponding to the current preset event is displayed on the cover of the live room card.
[0170] Optionally, the response module 720 is used to:
[0171] When a first trigger operation of the user on the label object is detected, enlarging the label object;
[0172] When a third trigger operation of the user on the enlarged tag object is detected, the live broadcast segment associated with the tag object is acquired and played.
[0173] Optionally, the label object includes a label display area and an operation trigger area, and the area of the operation trigger area is larger than the area of the label display area;
[0174] The response module 720 is used to:
[0175] When a first trigger operation of the user in the operation trigger area is detected, a live broadcast segment associated with the tag object is acquired and played.
[0176] Based on the same inventive concept, in the fourth aspect, in another optional embodiment, please refer to Figure 8 , provides a live broadcast device, applied to a server, comprising:
[0177] The receiving module 810 is used to receive the live streaming data sent by the anchor client;
[0178] The identification module 820 is used to identify the preset event in the live streaming data, generate a tag object associated with the preset event, and intercept the live segment corresponding to the preset event from the live streaming data, and associate the live segment with the tag object for storage;
[0179] The sending module 830 is used to generate a live broadcast list page based on the live broadcast stream data, send the live broadcast list page and the tag object to the audience client, so that the audience client displays the live broadcast list page, and responds to the user's first trigger operation on the tag object on the target live broadcast room card, to obtain and play the live broadcast segment associated with the tag object.
[0180] Based on the same inventive concept as the above-mentioned embodiment, in the fifth aspect, in another optional embodiment, as Fig. 9 As shown, an electronic device 900 is provided, including a processor 920 and a memory 910, wherein the memory 910 is coupled to the processor 920, and the memory 910 stores a computer program 911. When the computer program 911 is executed by the processor 920, the electronic device 900 executes the steps of the live broadcast method provided in the first aspect embodiment.
[0181] Based on the same inventive concept as the above-mentioned embodiment, in the sixth aspect, in another optional embodiment, as Fig.10 As shown, a server 1000 is provided, including a processor 1020 and a memory 1010, wherein the memory 1010 is coupled to the processor 1020, and the memory 1010 stores a computer program 1011, and when the computer program 1011 is executed by the processor 1020, the server 1000 executes the steps of the live broadcast method provided in the second aspect embodiment.
[0182] Based on the same inventive concept as the above-mentioned embodiment, in the seventh aspect, in another optional embodiment, as Fig.11 As shown, a computer-readable storage medium 1100 is provided, on which a computer program 1111 is stored. When the program is executed by a processor, the steps of the live broadcast method in the first aspect embodiment and the second aspect embodiment are performed.
[0183] Through one or more embodiments of the present invention, the present invention has the following beneficial effects or advantages:
[0184] The present invention provides a live broadcast method, device, electronic device, server and storage medium, wherein the live broadcast method is applied to an audience client. Different from the current solution in which the tag object of the live broadcast room card does not support jump playback, this solution plays the live broadcast segment associated with the target tag object for the audience user by responding to the first trigger operation of the audience user on the target tag object of the live broadcast room in the live broadcast list. In this way, it is achieved that: the audience user can filter and watch the wonderful live broadcast segments or wonderful moments generated by the live broadcast room during the live broadcast process through the tag object displayed on the live broadcast room card without entering the live broadcast room, thereby avoiding the problem of excessive client resource occupation caused by the audience user repeatedly entering and exiting the live broadcast room, and the audience client repeatedly loading the live broadcast room and repeatedly requesting live broadcast stream data, and saving the traffic bandwidth of the live broadcast platform; at the same time, the audience user can locate the live broadcast room or anchor user of interest according to the tag object on the live broadcast list page, which is conducive to improving the user experience.
[0185] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present application.
[0186] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A live broadcast method, characterized in that: Applied to a client, the method comprises: Displaying a live broadcast list page, the live broadcast list page includes at least one live broadcast room card, if the live broadcast stream data corresponding to the live broadcast room card has a preset event, then displaying a label object corresponding to the preset event on the cover of the live broadcast room card; In response to a first trigger operation of a user on a tag object on a target live broadcast room card, acquiring and playing a live broadcast segment associated with the tag object; The step of responding to the user's first triggering operation on the tag object on the target live broadcast room card, acquiring and playing the live broadcast segment associated with the tag object, comprises: In response to a second trigger operation of the user on a tag object on a target live broadcast room card, multiple tag objects associated with the target live broadcast room card are displayed; In response to a first trigger operation of the user on a target tag object among the multiple tag objects, acquiring and playing a live broadcast segment associated with the target tag object; The step of responding to the user's second triggering operation on the tag object on the target live broadcast room card and displaying multiple tag objects associated with the target live broadcast room card includes: In response to the second trigger operation, a label display area of the target live broadcast room card is generated and displayed, and a plurality of label objects associated with the live broadcast stream data of the target live broadcast room card are displayed in the label display area; The step of generating and displaying the label display area of the target live broadcast room card includes: Generate a floating window page of the tag display area in the live broadcast list page, so that the floating window page is located in an area close to the target live broadcast room card for display; or, Generate a floating window page of the label display area, and display the floating window page in full screen; The step of obtaining and playing the live segment associated with the target tag object includes: Based on the association identifier of the target tag object, obtaining the live broadcast segment of the target live broadcast room card from the server side; Based on the first trigger operation, jump from the live broadcast list page to the play page of the target live broadcast room card and play the live broadcast segment on the play page; The step of displaying a plurality of tag objects associated with the target live broadcast room card includes: Loading and displaying multiple tag objects associated with the target live broadcast room card in a view; a listener is set in the view; The step of jumping from the live broadcast list page to the play page of the target live broadcast room card based on the first trigger operation includes: When the listener listens to the operation event of the first trigger operation, jumping from the live broadcast list page to the play page through a scheme jump mode; After the live broadcast segment is played on the play page, the method further includes: Acquire the current live broadcast data of the target live broadcast room card, and play the current live broadcast data on the play page; The step of displaying a label object corresponding to the preset event on the cover of the live broadcast room card includes: Based on a current preset event of the live streaming data corresponding to the live studio card, displaying a current label object corresponding to the current preset event on the cover of the live studio card; The step of responding to the user's first triggering operation on the tag object on the target live broadcast room card, acquiring and playing the live broadcast segment associated with the tag object, comprises: When a first trigger operation of the user on the label object is detected, enlarging the label object; When a third trigger operation of the user on the enlarged tag object is detected, the live broadcast segment associated with the tag object is acquired and played.
2. The method according to claim 1, characterized in that The label object includes a label display area and an operation trigger area, and the area of the operation trigger area is larger than the area of the label display area; The step of responding to the user's first triggering operation on the tag object on the target live broadcast room card, acquiring and playing the live broadcast segment associated with the tag object, comprises: When a first trigger operation of the user in the operation trigger area is detected, a live broadcast segment associated with the tag object is acquired and played.
3. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.
Citation Information
Patent Citations
Live broadcast service processing method and equipment, electronic equipment and storage medium
CN113438496A
Live broadcast content processing method and device
CN113542803A