Live broadcast recommendation notification processing method and its device, equipment, medium, and product
By querying and generating recommendation notifications in the live broadcast platform, the problem of anchor users' difficulty in sensing the exposure of the live broadcast room and the lack of recommendation services is solved, thereby achieving an increase in the number of viewers and an improvement in the live broadcast experience.
Patent Information
- Application Number
- CN202210038267.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-13
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2042-01-13
AI Technical Summary
In the existing live broadcast platforms, it is difficult for anchor users to intuitively perceive the exposure of the live broadcast room, and the lack of live broadcast room recommendation services makes it difficult for the number of viewers to grow effectively.
By querying the broadcast recommendation message queue and broadcast record library, the corresponding recommendation notifications are generated and broadcast, including recommendation animation icons and notification texts, and are sorted and displayed according to the broadcast status and priority of the recommendation types in the live broadcast room.
The anchor users' intuitive perception of the exposure of the live broadcast room, increased the number of audiences in the live broadcast room, enhanced the live broadcast experience and atmosphere, and optimized the user interface through automated screening and customized recommendations.
Smart Images

Figure CN114417151B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of online live broadcasting, and in particular to a method for processing live broadcast recommendation notifications. In addition, the present application also relates to corresponding devices, equipment, non-volatile storage media and computer program products of the method. Background Art
[0002] With the development of the Internet, there are a variety of live broadcast platforms on the Internet. Each platform provides online live broadcast room services for platform users, so that anchor users can open live broadcast rooms on their platforms, attracting audience users to enter the live broadcast rooms to participate in the anchor activities opened by the anchor users, so that there are various types of live broadcast rooms on the live broadcast platform for platform users to browse, thereby improving the user experience of the platform.
[0003] However, in the existing live broadcast platforms, when the anchor users of the platforms are conducting live broadcast business in the live broadcast room, when the anchor users want to know the live broadcast data such as the number of viewers of their live broadcast room on the platform or the popularity of the live broadcast, they often need to enter the corresponding personal page such as the anchor background to find out. This method is rather cumbersome, and the anchor users cannot intuitively perceive the exposure of their live broadcast room on the current platform.
[0004] Correspondingly, existing live broadcast platforms often do not provide corresponding live broadcast room recommendation services for anchor users, so that the live broadcast rooms of anchor users in the platform cannot attract more audience users to watch, and the number of viewers in the live broadcast room cannot be effectively increased.
[0005] In response to the above-mentioned problems, the applicant has made corresponding explorations based on these issues. Summary of the invention
[0006] The purpose of the present application is to meet the needs of the prior art or overcome at least some of the shortcomings of the prior art and to provide a live broadcast recommendation notification processing method and its corresponding device, electronic device, non-volatile storage medium and computer program product.
[0007] In order to achieve the purpose of this application, the following technical solutions are adopted:
[0008] A live broadcast recommendation notification processing method proposed for the purpose of this application includes the following steps:
[0009] Query the anchor broadcast recommendation message in the broadcast recommendation message queue whose entry time is earlier than the current time, and sort the broadcast recommendation message queue in ascending order according to the entry time of each anchor broadcast recommendation message, wherein the anchor broadcast recommendation message also includes an anchor identifier and a live broadcast room recommendation type;
[0010] Acquire an anchor broadcast recommendation message with a target anchor identifier, and query the broadcast record information corresponding to the target anchor identifier in the broadcast record library, wherein the broadcast record information includes a broadcast status and a broadcast priority corresponding to each recommended type of the live broadcast room;
[0011] According to the broadcast status and broadcast priority recorded in the broadcast record information of the live broadcast room recommendation type included in the anchor broadcast recommendation message, verify whether to broadcast the recommendation notification corresponding to the live broadcast room recommendation type to the target live broadcast room corresponding to the target anchor identifier;
[0012] According to the broadcast status of the verified live broadcast room recommendation type, a recommendation notification corresponding to the live broadcast room recommendation type is generated and broadcast to the target live broadcast room for display, wherein if the broadcast status is a broadcasted state, the recommendation notification of the live broadcast room recommendation type includes a recommendation animation icon; if the broadcast status is a non-broadcasted state, the recommendation notification of the live broadcast room recommendation type includes a recommendation notification text and a recommendation animation icon.
[0013] In a further embodiment, the step of obtaining the anchor broadcast recommendation message having the target anchor identifier and querying the broadcast record information corresponding to the target anchor identifier in the broadcast record library includes the following steps performed by the server:
[0014] According to the anchor identifier of the anchor broadcast recommendation message, query whether there is broadcast record information matching the anchor identifier in the broadcast record library;
[0015] When there is no broadcast record information matching the anchor identifier in the broadcast record library, a recommendation notification including a recommendation notification text and a recommendation animation icon for representing the recommended type of the live broadcast room is generated according to the recommended type of the live broadcast room included in the anchor broadcast recommendation message;
[0016] The recommendation notification is broadcast to the live broadcast room corresponding to the anchor identification for display.
[0017] In a further embodiment, the step of verifying whether to broadcast a recommendation notification corresponding to the live broadcast room recommendation type to a target live broadcast room corresponding to a target anchor identifier according to the broadcast status and broadcast priority recorded in the broadcast record information of the live broadcast room recommendation type included in the anchor broadcast recommendation message includes:
[0018] Acquire the broadcast status and broadcast priority corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message from the broadcast record information;
[0019] When the broadcast state indicates that the live broadcast room recommendation type is in a broadcasting state, the recommendation notification corresponding to the live broadcast room recommendation type is not broadcast;
[0020] When the broadcast status indicates that the recommended type of the live broadcast room has been broadcasted or has not been broadcasted, a quick sorting algorithm is called to determine the sorting position of the recommended type of the live broadcast room in the recommended type list corresponding to the target anchor identifier according to the broadcast priority and the queue entry time of the recommended type of the live broadcast room;
[0021] When the ranking position of the live broadcast room recommended type in the recommended type list exceeds the preset broadcast ranking position, a recommendation notification of the live broadcast room recommended type will be broadcast to the live broadcast room corresponding to the target anchor identifier.
[0022] In a preferred embodiment, the step of calling a quick sorting algorithm to determine the sorting position of the recommended type of the live broadcast room in the recommended type list corresponding to the target anchor identifier according to the broadcast priority and the queue entry time of the recommended type of the live broadcast room includes the following steps executed by the server:
[0023] Acquire, from the broadcast record information, the broadcast priority corresponding to the target live broadcast room recommended type whose broadcast status is characterized as a broadcasted state or a non-broadcasted state;
[0024] According to the broadcast priority and the queue entry time corresponding to the target live broadcast room recommendation type, update the ranking weight of the target live broadcast room recommendation type in the recommendation type list;
[0025] Calling the quick sorting algorithm to obtain the sorting weight of the live broadcast room recommendation type that is at the first place in the recommendation type list, taking the sorting weight as a reference number, and updating the sorting positions of all the live broadcast room recommendation types stored in the recommendation type list according to their respective sorting weights;
[0026] Determine whether the ranking position of the target live broadcast room recommended type in the recommended type list exceeds the preset broadcast ranking position. If not, do not perform recommendation notification broadcast processing on the target live broadcast room recommended type.
[0027] In a further embodiment, the step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification is broadcasted and broadcasted to the target live broadcast room for display includes the following steps performed by the server:
[0028] Acquire a recommendation notification text and a recommendation animation icon matching the recommendation type of the live broadcast room from a recommendation material library;
[0029] When the broadcast status corresponding to the recommended type of the live broadcast room is a broadcasted status, generating a recommendation notification including the recommended animation icon;
[0030] When the broadcast status corresponding to the recommended type of the live broadcast room is a state of not having been broadcast, generating a recommendation notification including a recommendation notification text and a recommendation animation icon;
[0031] The generated recommendation notification is broadcast to the live broadcast room corresponding to the target anchor identifier for display.
[0032] In a further embodiment, the step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification is broadcasted and broadcasted to the target live broadcast room for display includes the following steps performed by the client:
[0033] In response to the recommendation notification pushed by the server, determine whether the recommendation notification contains recommendation notification text;
[0034] When the recommendation notification contains a recommendation notification text, the recommendation notification text is output to the current live broadcast room interface for display until the display time of the recommendation notification text exceeds a preset time, and then the display of the recommendation notification text is stopped;
[0035] The recommended animation icon contained in the recommendation notification is output to the icon carousel window of the current live broadcast room interface for display, and the icon carousel window plays multiple recommended animation icons in a loop.
[0036] In a further embodiment, after the step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification is broadcasted and broadcasted to the target live broadcast room for display, the following steps are performed by the server:
[0037] Monitor the live broadcast room corresponding to the target anchor identifier, and obtain the broadcast status corresponding to the recommended live broadcast room type broadcast in the live broadcast room;
[0038] In response to a broadcast weight update event acting on a recommended type of a live broadcast room, the latest broadcast weight of the recommended type of the live broadcast room is obtained;
[0039] Correspondingly update the broadcast status or broadcast weight corresponding to the recommended live broadcast room type in the broadcast record information to which the target anchor identifier belongs.
[0040] A live broadcast recommendation notification processing device proposed for the purpose of this application includes:
[0041] A recommended message query module is used to query the host broadcast recommended messages in the broadcast recommended message queue whose entry time is earlier than the current time, wherein the broadcast recommended message queue is sorted in ascending order according to the entry time of each host broadcast recommended message, wherein the host broadcast recommended message also includes the host identifier and the recommended type of live broadcast room;
[0042] A record information query module is used to obtain a broadcast recommendation message with a target anchor identifier, and query the broadcast record information corresponding to the target anchor identifier in the broadcast record library, wherein the broadcast record information includes a broadcast status and a broadcast priority corresponding to each recommended type of the live broadcast room;
[0043] A notification broadcast verification module is used to verify whether to broadcast a recommendation notification corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message to the target live broadcast room corresponding to the target anchor identifier according to the broadcast status and broadcast priority recorded in the broadcast record information;
[0044] The recommendation notification broadcast module is used to generate a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status of the verified recommended type of the live broadcast room, and broadcast it to the target live broadcast room for display. If the broadcast status is a broadcasted state, the recommendation notification of the recommended type of the live broadcast room includes a recommendation animation icon. If the broadcast status is a non-broadcast state, the recommendation notification of the recommended type of the live broadcast room includes a recommendation notification text and a recommendation animation icon.
[0045] In a further embodiment, the record information query module includes:
[0046] A broadcast record information query submodule, used to query whether there is broadcast record information matching the anchor identifier in the broadcast record library according to the anchor identifier of the anchor broadcast recommendation message;
[0047] A recommendation notification generating submodule, for generating a recommendation notification including a recommendation notification text and a recommendation animation icon for representing the recommended type of the live broadcast room according to the recommended type of the live broadcast room included in the broadcast recommendation message of the anchor, when there is no broadcast record information matching the anchor identifier in the broadcast record library;
[0048] The recommendation notification broadcast submodule is used to broadcast the recommendation notification to the live broadcast room corresponding to the anchor identification for display.
[0049] In a further embodiment, the notification broadcast verification module includes:
[0050] A broadcast information acquisition submodule, used to acquire the broadcast status and broadcast priority corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message from the broadcast record information;
[0051] The stop broadcast processing submodule is used for not broadcasting the recommendation notification corresponding to the live broadcast room recommendation type when the broadcast state indicates that the live broadcast room recommendation type is in the broadcasting state;
[0052] A sorting position determination submodule is used to call a quick sorting algorithm when the broadcast status indicates that the live broadcast room recommended type has been broadcasted or has not been broadcasted, and determine the sorting position of the live broadcast room recommended type in the recommended type list corresponding to the target anchor identifier according to the broadcast priority and queue entry time of the live broadcast room recommended type;
[0053] The pre-broadcast submodule is used to broadcast a recommendation notification of the live broadcast room recommended type to the live broadcast room corresponding to the target anchor identifier when the ranking position of the live broadcast room recommended type in the recommended type list exceeds the preset broadcast ranking position.
[0054] In a further embodiment, the recommendation notification broadcast module includes:
[0055] A notification material acquisition submodule is used to acquire a recommendation notification text and a recommendation animation icon that match the recommendation type of the live broadcast room from a recommendation material library;
[0056] A first recommendation notification generating submodule, configured to generate a recommendation notification including the recommendation animation icon when the broadcast status corresponding to the recommended type of the live broadcast room is a broadcasted status;
[0057] A second recommendation notification generating submodule is used to generate a recommendation notification including a recommendation notification text and a recommendation animation icon when the broadcast status corresponding to the recommended type of the live broadcast room is a state of not having been broadcasted;
[0058] The recommendation notification broadcast submodule is used to broadcast the generated recommendation notification to the live broadcast room corresponding to the target anchor identifier for display.
[0059] In a preferred embodiment, the recommendation notification broadcast module further includes:
[0060] A recommendation notification response submodule, used to respond to the recommendation notification pushed by the server and determine whether the recommendation notification contains a recommendation notification text;
[0061] The notification text display submodule is used to output the recommended notification text to the current live broadcast room interface for display when the recommended notification contains the recommended notification text, and stop displaying the recommended notification text when the display time of the recommended notification text exceeds a preset time;
[0062] The animation icon display submodule is used to output the recommended animation icons contained in the recommendation notification to the icon carousel window of the current live broadcast room interface for display, and the icon carousel window plays multiple recommended animation icons in a loop.
[0063] An electronic device proposed to meet the purpose of the present application includes a central processing unit and a memory, wherein the central processing unit is used to call and run a computer program stored in the memory to execute the steps of the live broadcast recommendation notification processing method.
[0064] A non-volatile storage medium is proposed to meet the purpose of the present application, which stores a computer program implemented according to the live broadcast recommendation notification processing method. When the computer program is called and executed by a computer, the steps included in the corresponding method are executed.
[0065] In order to solve the above technical problems, an embodiment of the present application also provides a computer program product, including a computer program and computer instructions. When the computer program and computer instructions are executed by a processor, the processor executes the steps of the above-mentioned live broadcast data hierarchical prediction method or live broadcast recommendation notification processing method.
[0066] Compared with the prior art, the advantages of this application are as follows:
[0067] This application provides a live broadcast room recommendation service for the live broadcast rooms opened by the anchor users in the platform. The corresponding recommendation notifications are broadcast to the live broadcast rooms of the anchor users that meet the recommendation scenarios for display, thereby increasing the number of viewers in the live broadcast rooms opened by the anchor users. The live broadcast data such as the audience data of the live broadcast room is broadcast to the live broadcast room interface through recommendation notifications for display, so that the anchor users can intuitively understand the exposure of their live broadcast rooms in the live broadcast platform and live broadcast partitions, thereby improving the live broadcast experience of the anchor users and improving the live broadcast atmosphere in the live broadcast room.
[0068] Secondly, this application filters the recommended notifications for the anchor users and only broadcasts the recommended notifications that are in line with the current business scenario and are timely to the live broadcast room, preventing too many recommended notifications from being output and displayed in the live broadcast room interface, affecting the live viewing experience of the audience users in the live broadcast room.
[0069] In addition, the present application processes the anchor broadcast recommendation messages of different anchor users by means of message queues, and sorts multiple anchor broadcast recommendation messages in the queue by the time of entry into the queue. It only needs to determine the anchor broadcast recommendation message with the earliest entry time in the queue to obtain the unprocessed anchor broadcast recommendation messages in the current time, without the need to traverse the messages in the queue multiple times, thereby improving the processing efficiency of the system.
[0070] Additional aspects and advantages of the present application will be partially given in the following description, which will become apparent from the following description, or will be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0072] Figure 1 A schematic diagram of a typical network deployment architecture related to implementing the technical solution of this application;
[0073] Figure 2 This is a flowchart of a typical embodiment of the live broadcast recommendation notification processing method of the present application;
[0074] Figure 3 A schematic diagram of a graphical user interface of a live broadcast room page displaying recommendation notification text and recommendation animation icons in this application;
[0075] Figure 4 A schematic diagram of a graphical user interface of a live broadcast room page showing a recommended animation icon in this application;
[0076] Figure 5 A schematic diagram of looping playback of recommended animated icons in the icon carousel window of this application;
[0077] Figure 6 A flowchart diagram of an implementation method of the present application for processing a broadcast recommendation message for an anchor for which there is no corresponding broadcast record information;
[0078] Figure 7 A flowchart of the implementation method of the present application for verifying whether to perform recommendation notification broadcast processing on the recommended type of the live broadcast room;
[0079] Figure 8 A flowchart diagram of the implementation method of calling a quick sort algorithm to sort a recommendation type queue in this application;
[0080] Fig. 9 A flowchart of the implementation method of the present application for generating a recommendation notification for broadcasting according to the broadcast status corresponding to the recommendation type of the live broadcast room;
[0081] Fig.10 A flowchart diagram of the implementation method of the present application regarding the visualization of recommendation notifications in the live broadcast room interface;
[0082] Fig.11 A flowchart of an implementation method for updating broadcast record information according to the present application;
[0083] Fig.12 This is a principle block diagram of a typical embodiment of a live broadcast recommendation notification processing device of the present application;
[0084] Fig.13 This is a basic structural block diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0085] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
[0086] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0087] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0088] It will be understood by those skilled in the art that the "client", "terminal" and "terminal device" used herein include both devices with wireless signal receivers, which are devices with only wireless signal receivers without transmission capabilities, and devices with receiving and transmitting hardware, which are devices with receiving and transmitting hardware capable of two-way communication on a two-way communication link. Such devices may include: cellular or other communication devices such as personal computers, tablet computers, which have single-line displays or multi-line displays or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service, personal communication system), which can combine voice, data processing, fax and / or data communication capabilities; PDA (Personal Digital Assistant, personal digital assistant), which may include a radio frequency receiver, pager, Internet / intranet access, web browser, notepad, calendar and / or GPS (Global Positioning System, global positioning system) receiver; conventional laptop and / or palmtop computers or other devices, which have and / or include a conventional laptop and / or palmtop computer or other device with and / or including a radio frequency receiver. The "client", "terminal" and "terminal device" used herein may be portable, transportable, installed in a vehicle (air, sea and / or land), or suitable for and / or configured to run locally, and / or in a distributed form, at any other location on the earth and / or in space. The "client", "terminal" and "terminal device" used herein may also be a communication terminal, an Internet terminal, a music / video playing terminal, for example, a PDA, a MID (Mobile Internet Device) and / or a mobile phone with a music / video playing function, or a smart TV, a set-top box and other devices.
[0089] The hardware referred to by the names such as "server", "client", and "service node" in this application is essentially an electronic device with the equivalent capabilities of a personal computer. It is a hardware device with the necessary components revealed by the von Neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, and an output device. The computer program is stored in its memory, and the central processing unit calls the program stored in the external memory into the internal memory for execution, executes the instructions in the program, and interacts with the input and output devices to complete specific functions.
[0090] It should be pointed out that the concept of "server" referred to in this application can also be extended to the case of server clusters. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided. In physical space, these servers can be independent of each other but can be called through interfaces, or integrated into a physical computer or a set of computer clusters. Those skilled in the art should understand this flexibility, and should not use it to restrict the implementation of the network deployment method of this application.
[0091] See also Figure 1 , the hardware foundation required for the implementation of the relevant technical solutions of this application can be deployed according to the architecture shown in the figure. The server 80 referred to in this application is deployed in the cloud. As a business server, it can be responsible for further connecting relevant data servers and other servers that provide relevant support, etc., to form a logically related service cluster to provide services for related terminal devices such as the smartphone 81 and personal computer 82 shown in the figure or a third-party server (not shown). The smartphone and personal computer can access the Internet through a well-known network access method and establish a data communication link with the server 80 in the cloud to run terminal applications related to the services provided by the server.
[0092] For the server, the application is usually constructed as a service process, opening the corresponding program interface for remote calls by applications running on various terminal devices. The relevant technical solutions suitable for running on the server in this application can be implemented in the server in this way.
[0093] The application described herein refers to an application running on a server or terminal device. This application implements the relevant technical solutions of the present application in a programming manner. Its program code can be stored in a non-volatile storage medium recognizable by a computer in the form of computer executable instructions, and can be loaded into the memory by the central processing unit for execution. The relevant device of the present application is constructed by the operation of the application on the computer.
[0094] For the server, the application is usually constructed as a service process, opening the corresponding program interface for remote calls by applications running on various terminal devices. The relevant technical solutions suitable for running on the server in this application can be implemented in the server in this way.
[0095] The technical solution in this application suitable for implementation in terminal devices can also be programmed and built into an application that provides live broadcasting as part of its extended functions. The live broadcasting refers to a live broadcast room network service implemented based on the aforementioned network deployment architecture.
[0096] The live broadcast room referred to in this application refers to a video chat room implemented by Internet technology, which usually has audio and video broadcast control functions, including anchor users and audience users. Audience users can include registered users who have registered on the platform, or unregistered visitor users; they can be registered users who follow anchor users, or registered or unregistered users who do not follow anchor users. The anchor user and the audience user can interact through well-known online interactive methods such as voice, video, and text. Generally, the anchor user performs programs for the audience users in the form of audio and video streams, and economic transactions can also be generated during the interaction. Of course, the application form of the live broadcast room is not limited to online entertainment, but can also be extended to other related scenarios, such as education and training scenarios, video conferencing scenarios, product promotion and sales scenarios, and any other scenarios that require similar interactions.
[0097] Those skilled in the art should be aware that, although the various methods of the present application are described based on the same concept and thus present commonality to each other, unless otherwise specified, these methods can be independently executed. Similarly, for each embodiment disclosed in the present application, they are all proposed based on the same inventive concept, therefore, concepts with the same expression, and concepts that are appropriately changed for convenience despite different expressions, should be understood as equivalent.
[0098] Unless the mutually exclusive relationship between the embodiments to be disclosed in this application is explicitly stated, the relevant technical features involved in each embodiment can be cross-combined to flexibly construct a new embodiment, as long as such combination does not deviate from the creative spirit of this application and can meet the needs of the prior art or solve certain deficiencies in the prior art. Those skilled in the art should be aware of this flexibility.
[0099] See also Figure 2 A live broadcast recommendation notification processing method of the present application, in its typical embodiment, comprises the following steps:
[0100] Step S11, querying the broadcast recommendation message queue for the anchor broadcast recommendation message whose entry time is earlier than the current time, and sorting the broadcast recommendation message queue in ascending order according to the entry time of each anchor broadcast recommendation message, wherein the anchor broadcast recommendation message also includes the anchor identification and the live broadcast room recommendation type:
[0101] The server queries the anchor broadcast recommendation message in the broadcast recommendation message queue whose entry time is earlier than the current time, so as to process the anchor broadcast recommendation message that is not currently processed.
[0102] The broadcast recommendation message queue stores a plurality of the host broadcast recommendation messages, and each of the host broadcast recommendation messages has a corresponding queue entry time, so that the host broadcast recommendation messages are sorted in ascending order in the host recommendation message queue according to the corresponding queue entry time of each of the host broadcast recommendation messages.
[0103] The anchor broadcast recommendation messages stored in the broadcast recommendation message queue all meet the recommendation conditions corresponding to the recommendation types of the live broadcast rooms to which they belong. For example, when the live broadcast type of a certain live broadcast room is a singing type, and its audience quantity data is in the top three among all live broadcast rooms of the singing type, the live broadcast room will be judged as satisfying the recommendation condition that the live broadcast room recommendation type is popular in the singing area. The server will generate the anchor broadcast recommendation message including the anchor identifier of the live broadcast room and the recommendation type of the live broadcast room characterized as popular in the singing area, and store the anchor broadcast recommendation message in the broadcast recommendation message queue, and record the entry time of the anchor broadcast recommendation message, so as to store the entry time and the anchor broadcast recommendation message in the broadcast recommendation message queue in correspondence, so as to sort the storage position of the anchor broadcast recommendation message in the broadcast recommendation message queue.
[0104] The broadcast recommendation message queue is sorted in ascending order according to the enqueue time of each of the anchor broadcast recommendation messages, so that when the server obtains the anchor broadcast recommendation messages that are earlier than the current time from the broadcast recommendation message queue for processing, there is no need to query the enqueue time of each anchor broadcast recommendation message in the broadcast recommendation message queue in turn to determine which anchor broadcast recommendation messages are earlier than the current time. Therefore, the anchor broadcast recommendation messages can be sorted according to each enqueue time, and only the anchor broadcast recommendation message whose enqueue time is closest to the current time needs to be queried, so that all anchor broadcast recommendation messages that are earlier than the current time in the broadcast recommendation message queue can be obtained for processing, thereby effectively improving the overall execution efficiency of the server.
[0105] The live broadcast room recommendation type refers to the recommendation type set by the platform for the live broadcast room recommendation service, and the live broadcast room recommendation type is associated with the recommendation notification described later, so as to notify the corresponding anchor user's live broadcast data of the live broadcast room that meets the corresponding recommendation conditions through the broadcast recommendation notification. The recommendation type of the live broadcast room recommendation type generally includes popular recommendations for multiple live broadcast partitions, recommendations associated with platform activities, and popular recommendations for live broadcasts on the entire platform. For example, the popular recommendations of the live broadcast partition can be set according to the live broadcast type set by the platform, such as setting corresponding popular recommendations for the singing area, the game area and the outdoor area respectively. When the audience number data of the live broadcast room to which the anchor user in any live broadcast partition belongs is in the top three or top ten of the live broadcast partition, the recommendation message will be broadcast to the anchor who generates the live broadcast room recommendation type associated with the live broadcast partition to broadcast the corresponding recommendation notification. Correspondingly, platform activities such as the Spring Festival, Mid-Autumn Festival or National Day can set corresponding recommendation types respectively, so as to broadcast the recommendation notification of the corresponding festival to the live broadcast room to which the anchor user who meets the recommendation conditions belongs during the corresponding festival.
[0106] Step S12, obtaining the anchor broadcast recommendation message with the target anchor identifier, querying the broadcast record information corresponding to the target anchor identifier in the broadcast record library, wherein the broadcast record information includes the broadcast status and broadcast priority corresponding to each live broadcast room recommendation type:
[0107] The server obtains one or more anchor broadcast recommendation messages corresponding to the target anchor identifier to be processed in the current thread, and queries the broadcast record information corresponding to the target anchor identifier from the broadcast record library to batch process the multiple anchor broadcast recommendation messages corresponding to the target anchor identifier.
[0108] The broadcast record library stores the broadcast record information corresponding to each anchor user currently performing live broadcast business in the platform, and the anchor user with broadcast record information in the broadcast record library is generally the anchor user who is currently or has previously broadcast a recommended notification in the live broadcast room. The broadcast record information is generally stored in the corresponding broadcast record library in correspondence with the anchor user's anchor identification, so that the server can query the corresponding broadcast record information from the corresponding broadcast record library according to the anchor identification.
[0109] The broadcast record information stores the anchor identification and the broadcast status of all recommended live broadcast room types in the platform, as well as the corresponding broadcast priorities of each of these recommended live broadcast room types, so that the server can verify the broadcast permission and generate corresponding recommendation notifications for broadcasting according to the broadcast status and broadcast priority of each recommended live broadcast room type in the broadcast record information.
[0110] The broadcast status is used to record the broadcast status of the corresponding live broadcast room recommendation type in the live broadcast room. The broadcast status is generally divided into unbroadcast status, broadcast status and broadcasting status, etc. The server verifies whether the live broadcast room recommendation type needs to be broadcast processed and generates a corresponding recommendation notification for broadcast push based on the status represented by the broadcast status corresponding to the live broadcast room recommendation type.
[0111] The broadcast priority of each live broadcast room recommendation type is generally pre-set by the platform according to the business scenario. The platform generally sets the broadcast priority of each live broadcast room recommendation type according to the current business scenario. For example, when the business scenario is a National Day holiday live broadcast event, the broadcast priority of the live broadcast room recommendation type associated with the National Day event is generally the highest broadcast priority among all live broadcast room recommendation types.
[0112] If the server queries the broadcast record library and finds no broadcast record information matching the target anchor identifier, that is, no recommendation notification corresponding to any live broadcast room recommendation type has been broadcast in the live broadcast room representing the target anchor identifier, the server will generate a recommendation notification containing a recommendation notification text and a recommendation animation icon used to represent the live broadcast room recommendation type based on the live broadcast room recommendation type contained in the anchor broadcast recommendation message, and then broadcast the recommendation notification to the live broadcast room corresponding to the target anchor identifier for display.
[0113] In one embodiment, the server will monitor the live broadcast status of multiple live broadcast rooms in the platform. When any live broadcast room exits the live broadcast, the server will query the broadcast record information corresponding to the anchor ID in the broadcast record library based on the anchor ID corresponding to the live broadcast room, and remove the broadcast record information from the broadcast record library, thereby ensuring that the anchor user to whom the live broadcast room belongs will re-participate in the live broadcast room recommendation service when the live broadcast room is opened next time, so as to ensure the fairness of the live broadcast room recommendation service.
[0114] Step S13, according to the broadcast status and broadcast priority recorded in the broadcast record information of the live broadcast room recommendation type contained in the anchor broadcast recommendation message, verify whether to broadcast the recommendation notification corresponding to the live broadcast room recommendation type to the target live broadcast room corresponding to the target anchor identifier:
[0115] After the server obtains the broadcast record information corresponding to the target anchor identifier, it will verify whether the recommendation notification corresponding to the live room recommendation type of one or more anchor broadcast recommendation messages with the target anchor identifier needs to be broadcast processed based on the broadcast status, i.e., the broadcast priority, corresponding to each live room recommendation type contained in the broadcast record information, so as to broadcast the recommendation notification of the live room recommendation type that passes the verification to the live room corresponding to the target anchor identifier.
[0116] Regarding the implementation method of how the server verifies whether the live broadcast room recommendation type needs to be broadcast for recommendation notification processing, generally, it will first determine whether to perform broadcast processing based on the broadcast status corresponding to each live broadcast room recommendation type. Specifically, the server obtains the broadcast status corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message currently being verified from the broadcast record information. If the broadcast status indicates that the live broadcast room recommendation type is in a broadcasting state, the server does not broadcast the recommendation notification corresponding to the live broadcast room recommendation type. If the broadcast status indicates that the live broadcast room recommendation type is already broadcast or has not been broadcast, the server will call the quick sorting algorithm based on the broadcast priority recorded in the broadcast record information for the live broadcast room recommendation type, and determine the sorting position of the live broadcast room recommendation type in the recommendation type list corresponding to the target anchor identifier based on the broadcast priority of the live broadcast room recommendation type and the queue entry time of the anchor broadcast recommendation message to which it belongs. When the sorting position of the live broadcast room recommendation type in the recommendation type list exceeds the preset broadcast sorting position, the server will broadcast the recommendation notification of the live broadcast room recommendation type to the live broadcast room corresponding to the target anchor identifier.
[0117] Regarding the implementation method of the quick sorting algorithm, specifically, when the server verifies that the broadcast status corresponding to the target live broadcast room recommended type is already broadcast or not broadcast, the server will obtain the broadcast priority corresponding to the target live broadcast room recommended type from the broadcast record information, and then update the sorting weight of the target live broadcast room recommended type in the recommended type list according to the broadcast priority and queue entry time corresponding to the target live broadcast room recommended type, so as to call the quick sorting algorithm, obtain the sorting weight of the live broadcast room recommended type that is at the first place in the recommended type list, and use the sorting weight as the reference number. According to the respective sorting weights of all the live broadcast room recommended types stored in the recommended type list, update the sorting positions of these live broadcast room recommended types in the recommended type list, and determine whether the sorting position of the target live broadcast room recommended type in the recommended type list exceeds the preset broadcast sorting position. The broadcast sorting position is generally set at the third or fourth. If it exceeds, the server will broadcast the recommendation notification of the live broadcast room recommended type to the live broadcast room corresponding to the target anchor identifier. If it does not exceed, the server will not perform recommendation notification broadcast processing on the target live broadcast room recommended type.
[0118] Step S14, according to the broadcast status of the verified recommended type of the live broadcast room, a recommendation notification corresponding to the recommended type of the live broadcast room is generated and broadcasted to the target live broadcast room for display, wherein if the broadcast status is the broadcasted state, the recommendation notification of the recommended type of the live broadcast room includes a recommendation animation icon, and if the broadcast status is the unbroadcasted state, the recommendation notification of the recommended type of the live broadcast room includes a recommendation notification text and a recommendation animation icon:
[0119] The server performs recommendation notification broadcast processing for the live broadcast room recommendation type that has passed the verification. First, the server will generate the corresponding recommendation notification according to the broadcast status corresponding to the live broadcast room recommendation type. When the broadcast status indicates that the live broadcast room recommendation type has been broadcast, the server will generate a recommendation notification containing a recommendation animation icon for the live broadcast room recommendation type. When the broadcast status indicates that the live broadcast room recommendation type has not been broadcast, the server will not generate a recommendation notification containing the recommendation animation icon and recommendation notification text for the live broadcast room recommendation type.
[0120] The recommended animation icon and recommended notification text required by the server to generate the recommended notification are generally obtained from a recommended material library, in which a plurality of recommended animation icons and recommended notifications corresponding to the recommended identifiers are stored, so that the server can obtain the recommended notification text and recommended animation icon matching the recommended identifier from the recommended material library according to the recommended identifier corresponding to the recommended type of the live broadcast room, and then generate the recommended notification for broadcasting.
[0121] The recommended animation icon generally refers to an animation special effects material or picture material used to represent the recommended type of the corresponding live broadcast room, which is output to the live broadcast room interface for display to show the recommended type of the live broadcast room. Correspondingly, the recommended notification text generally refers to a text material used to represent the recommended type of the corresponding live broadcast room, which is output to the live broadcast room interface for display, and has a corresponding display time limit in the live broadcast room interface. When the display time exceeds the preset time, the live broadcast room interface will stop displaying the recommended notification text to prevent blocking the live broadcast room interface and affecting the live viewing experience of users in the live broadcast room.
[0122] After the server generates the corresponding recommendation notification according to the broadcast status of the recommended type in the live broadcast room, it broadcasts the recommendation notification to the live broadcast room corresponding to the target anchor identifier for display. After the client in the live broadcast room receives the recommendation notification pushed by the server, it will parse the recommendation notification. If the recommendation notification contains the recommendation notification text, the recommendation notification text will be output to the current live broadcast room interface for display until the display time of the recommendation notification text exceeds the preset time, and then the display of the recommendation notification text will be stopped. After that, the recommendation animation icon contained in the recommendation notification will be output to the icon carousel window of the current live broadcast room interface for carousel display. The preset time is generally set within a time range of 3-5 seconds; if the recommendation notification does not contain the recommendation notification text, the client will directly output the recommendation animation icon to the icon carousel window of the current live broadcast room interface for carousel display.
[0123] Please refer to Figure 3 , Figure 4 and Figure 5 , Figure 3 A schematic diagram of a live broadcast room interface for outputting the recommendation notification text and the recommendation animation icon display, Figure 3 The recommended notification text is output and displayed in the recommended notification text display window 301 displayed in the live studio interface, and the recommended animation icon associated with the recommended notification text is displayed in the icon carousel window 302. When the display time of the recommended notification text displayed in the recommended notification text display window 301 exceeds the preset time, the recommended notification text display window 301 will be hidden in the current live studio interface to Figure 3 The live broadcast room interface shown is transformed into Figure 4 The live broadcast room interface shown. Figure 4 The live broadcast room interface shown only displays the icon carousel window 401 to display one or more recommended animation icons received by the current live broadcast room. For details about the carousel display of the icon carousel window 401, please refer to Figure 5 The schematic diagram of the looped playback of the recommended animation icons in the icon carousel window shown is shown. The display duration of each recommended animation icon in the icon carousel window is generally set within a duration range of 2-4 seconds.
[0124] When the live broadcast room corresponding to the target anchor identifier does not meet the recommendation conditions corresponding to the live broadcast room recommendation type currently displayed in the live broadcast room, the server will broadcast a stop display instruction for the live broadcast room recommendation type to the live broadcast room, and stop broadcasting the recommendation notification corresponding to the live broadcast room recommendation type to the live broadcast room.
[0125] It can be seen from this typical embodiment that this method filters the recommended notifications for the anchor users and only broadcasts the recommended notifications that meet the current business scenario and are timely to the live broadcast room, preventing too many recommended notifications from being output and displayed in the live broadcast room interface, affecting the live viewing experience of the audience users in the live broadcast room, so that this method is integrated with the live broadcast room recommendation service provided for the live broadcast room opened by the anchor users in the platform, and the corresponding recommended notifications are broadcast to the live broadcast room of the anchor users who meet the recommended scenario for display, thereby increasing the number of viewers in the live broadcast room opened by the anchor users, and by broadcasting the live broadcast data such as the audience data of the live broadcast room to the live broadcast room interface for display in the form of recommended notifications, the anchor users can intuitively understand the exposure of their live broadcast rooms in the live broadcast platform and live broadcast partitions, helping the anchor users to carry out their live broadcast business, while improving the live broadcast atmosphere in the live broadcast room.
[0126] The above typical embodiments and their variations fully disclose the implementation scheme of the live broadcast recommendation notification processing method of the present application. However, various variations of the method can still be derived by changing and amplifying some technical means. Other embodiments are briefly described as follows:
[0127] In one embodiment, please refer to Figure 3 and Figure 6 The step of obtaining the anchor broadcast recommendation message with the target anchor identifier and querying the broadcast record information corresponding to the target anchor identifier in the broadcast record library includes the following steps executed by the server:
[0128] Step S121: querying whether there is broadcast record information matching the anchor identifier in the broadcast record library according to the anchor identifier of the anchor broadcast recommendation message.
[0129] The server parses and obtains the anchor identifier contained in the current anchor broadcast recommendation message, and queries from the broadcast record library whether there is the broadcast record information matching the anchor identifier according to the anchor identifier.
[0130] Step S122: when there is no broadcast record information matching the anchor identifier in the broadcast record library, a recommendation notification including a recommendation notification text and a recommendation animation icon for representing the recommended type of the live broadcast room is generated according to the recommended type of the live broadcast room included in the anchor broadcast recommendation message:
[0131] When the server queries the broadcast record library and finds that there is no broadcast record information matching the anchor identifier, it indicates that the live broadcast room corresponding to the anchor identifier has not currently broadcast any recommended notifications. The server will generate the recommended notification containing the recommended notification text and the recommended animation icon corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation information.
[0132] Step S123, broadcasting the recommendation notification to the live broadcast room corresponding to the anchor ID for display:
[0133] The server broadcasts the recommendation notification to the live broadcast room corresponding to the anchor identifier, so that the client in the live broadcast room receives the recommendation notification, and outputs the recommendation notification text and recommendation animation icon contained in the recommendation notification to the live broadcast room interface for display. For the visualization method of the recommendation notification text and recommendation animation icon in the live broadcast room interface, please refer to Figure 3 Schematic diagram of the live broadcast room interface shown.
[0134] In this embodiment, if there is no corresponding broadcast record information for the anchor user in the broadcast record library, it means that the live broadcast room where the anchor user is located has not broadcast any recommendation notifications. When the server processes the anchor broadcast recommendation message of the live broadcast user, it will directly generate a corresponding recommendation notification for it and broadcast it.
[0135] In one embodiment, please refer to Figure 7The step of verifying whether to broadcast a recommendation notification corresponding to the live broadcast room recommendation type to a target live broadcast room corresponding to a target anchor identifier according to the broadcast status and broadcast priority recorded in the broadcast record information of the live broadcast room recommendation type included in the anchor broadcast recommendation message includes the following steps executed by the server:
[0136] Step S131, obtaining the broadcast status and broadcast priority corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message from the broadcast record information:
[0137] After the server obtains the broadcast record information corresponding to the target anchor identifier from the broadcast record library, it obtains the broadcast status and broadcast priority corresponding to the live broadcast room recommendation type from the broadcast record information according to the live broadcast room recommendation type contained in the anchor broadcast promotion message to which the target anchor identifier belongs.
[0138] Step S132: When the broadcast status indicates that the recommended type of the live broadcast room is in the broadcasting state, the recommendation notification corresponding to the recommended type of the live broadcast room is not broadcasted:
[0139] When the broadcast status indicates that the live broadcast room recommendation type is in the broadcasting state, that is, it indicates that the recommendation notification corresponding to the live broadcast room recommendation type is currently being displayed in the live broadcast room corresponding to the target anchor identifier, the server will not perform recommendation notification broadcast processing for the live broadcast room recommendation type.
[0140] Step S133, when the broadcast status indicates that the recommended type of the live broadcast room has been broadcast or has not been broadcast, a quick sorting algorithm is called to determine the sorting position of the recommended type of the live broadcast room in the recommended type list corresponding to the target anchor identifier according to the broadcast priority and queue entry time of the recommended type of the live broadcast room:
[0141] When the broadcast status represents that the live broadcast room recommended type is already broadcast or not broadcast, the server will call the quick sorting algorithm to determine the sorting position of the live broadcast room recommended type in the recommended type list called by the target anchor identifier according to the latest broadcast priority and queue entry time of the live broadcast room recommended type in the broadcast record information.
[0142] The recommendation type list stores multiple live broadcast room recommendation types and their corresponding sorting weights, and the sorting weights are determined according to the broadcast priority and queue entry time corresponding to the live broadcast room recommendation type to which it belongs, so that the server calls the quick sorting algorithm according to the sorting weights corresponding to each live broadcast room recommendation type in the recommendation type list to sort the sorting positions of these live broadcast room recommendation types in the recommendation type list.
[0143] Step S134: when the ranking position of the live broadcast room recommended type in the recommended type list exceeds the preset broadcast ranking position, a recommendation notification of the live broadcast room recommended type is broadcast to the live broadcast room corresponding to the target anchor identifier:
[0144] After the server determines the sorting position of the live broadcast room recommendation type in the recommendation type list, it will determine whether the sorting position of the live broadcast room recommendation type in the recommendation type list exceeds the preset broadcast sorting position. If it exceeds, the live broadcast room recommendation type will be processed by recommendation notification broadcast, and a recommendation notification corresponding to the live broadcast room recommendation type will be generated and broadcast to the live broadcast room corresponding to the target anchor identifier.
[0145] In this embodiment, the broadcast status and broadcast priority of the recommended type in the live broadcast room are used to determine whether to broadcast its recommended notification to the live broadcast room for display, so as to prevent the same recommended notification from being broadcast continuously and affecting the user's live viewing experience, and priority will be given to broadcasting recommended notifications that meet current business needs.
[0146] In one embodiment, please refer to Figure 8 The step of calling the quick sorting algorithm to determine the sorting position of the recommended type of the live broadcast room in the recommended type list corresponding to the target anchor identifier according to the broadcast priority and the queue entry time of the recommended type of the live broadcast room includes the following steps executed by the server:
[0147] Step S1331, obtaining the broadcast priority corresponding to the target live broadcast room recommended type whose broadcast status is characterized as having been broadcasted or not broadcasted from the broadcast record information:
[0148] When the broadcast status of the target live broadcast room recommendation type is characterized as being in a broadcast state or a non-broadcast state, the server will obtain the broadcast priority corresponding to the target live broadcast room recommendation type from the broadcast record information.
[0149] Step S1332: Update the ranking weight of the target live broadcast room recommended type in the recommended type list according to the broadcast priority and queue entry time corresponding to the target live broadcast room recommended type:
[0150] The server updates the ranking weight of the target live broadcast room recommendation type in the recommendation type list according to the broadcast priority corresponding to the target live broadcast room recommendation type and the entry time of the anchor broadcast recommendation message to which it belongs stored in the recommendation message queue.
[0151] The sorting weight generally refers to the sum of the broadcast priority and its queue entry time.
[0152] The sorting weight refers to the weight used to determine the sorting position of the live broadcast room recommendation type in the recommendation type list, that is, each live broadcast room recommendation type in the recommendation type list has its own corresponding sorting weight, so that the server calls the quick sorting algorithm to sort the sorting position of each live broadcast room recommendation type in the recommendation type list.
[0153] Step S1333, calling the quick sorting algorithm, obtaining the sorting weight of the live broadcast room recommendation type that is at the top of the recommendation type list, taking the sorting weight as the reference number, and updating the sorting positions of all the live broadcast room recommendation types stored in the recommendation type list according to their respective sorting weights:
[0154] The server calls the quick sorting algorithm to obtain the sorting weight of the live broadcast room recommendation type that is at the first place in the recommendation type list as the benchmark number of the quick sorting algorithm, and re-sorts the sorting positions of each of the live broadcast room recommendation types in the recommendation type list according to the respective sorting weights of all the live broadcast room recommendation types stored in the recommendation type list.
[0155] According to the quick sorting algorithm, the server sorts the live room recommendation types in the recommendation type list whose sorting weight is greater than the first live room recommendation type to the left of the first live room recommendation type, and sorts the live room recommendation types whose sorting weight is less than the first live room recommendation type to the right of the first live room recommendation type, and so on. Then, the server sorts the live room recommendation type subsets to the left and right of the first live room recommendation type according to the above logic until the sorting positions of all the live room recommendation types in the recommendation type list are completed, and then sorts these live room recommendation types in descending order according to their sorting weights.
[0156] Step S1334, determining whether the ranking position of the target live broadcast room recommended type in the recommended type list exceeds the preset broadcast ranking position, if not, not performing recommendation notification broadcast processing for the target live broadcast room recommended type:
[0157] The server determines whether the ranking position of the target live broadcast room recommendation type in the recommendation type list exceeds the preset broadcast ranking position, and the broadcast ranking position generally refers to the third or fourth. If it does not exceed, the server will not perform descending recommendation notification broadcast processing on the target live broadcast room recommendation type. If it exceeds, the server will perform recommendation notification broadcast processing on the live broadcast room recommendation type, and generate a recommendation notification corresponding to the live broadcast room recommendation type and broadcast it to the live broadcast room corresponding to the target anchor identifier.
[0158] In this embodiment, the ranking weight of the recommended type in the live broadcast room is determined based on its broadcast weight and the time of joining the queue, and it is verified whether the ranking of the recommended type in the live broadcast room exceeds the preset broadcast ranking position, so as to broadcast the recommended notification that meets the business needs and is timely to the live broadcast room.
[0159] In one embodiment, please refer to Figure 3 , Figure 4 and Fig. 9 The step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status of the recommended type of the live broadcast room that has passed the verification and broadcasting it to the target live broadcast room for display includes the following steps executed by the server:
[0160] Step S141, obtaining a recommendation notification text and a recommendation animation icon matching the recommendation type of the live broadcast room from the recommendation material library:
[0161] When the server generates a recommendation notification for the live broadcast room recommendation type, it will obtain the recommendation notification text and recommendation animation icon that match the live broadcast room recommendation type from the recommendation material library.
[0162] Step S142: When the broadcast status corresponding to the recommended type of the live broadcast room is the broadcasted status, a recommendation notification including the recommended animation icon is generated:
[0163] When the broadcast status corresponding to the recommended type of the live broadcast room is the broadcasted status, the server will generate a recommendation notification including the recommended animation icon corresponding to the recommended type of the live broadcast room. The recommendation notification will not include the recommendation notification text to prevent the recommendation notification text from being displayed in the live broadcast room with the broadcasted recommendation notification, affecting the user's live viewing experience.
[0164] Step S143: when the broadcast status corresponding to the recommended type of the live broadcast room is not broadcasted, a recommendation notification including a recommendation notification text and a recommendation animation icon is generated:
[0165] When the broadcast status corresponding to the recommended type of the live broadcast room is the broadcasted status, the server will generate a recommendation notification including the recommended animation icon and recommended notification text corresponding to the recommended type of the live broadcast room. Since the recommended type of the live broadcast room in the unbroadcasted status is the one that the live broadcast room did not have before, the recommended notification text is displayed to enhance the prompt effect of the recommended type of the live broadcast room.
[0166] Step S144, broadcast the generated recommendation notification to the live broadcast room corresponding to the target anchor ID for display:
[0167] The server broadcasts the generated recommendation notification to the live broadcast room corresponding to the target anchor ID for display. If the recommendation notification contains recommendation notification text and recommendation animation icon, the visualization method of the recommendation notification in the live broadcast room is as follows: Figure 3 As shown, if the recommended notification only contains the recommended animation icon, the visualization method of the recommended notification in the live broadcast room is as follows: Figure 4 shown.
[0168] In this embodiment, different recommendation notifications are generated for the recommendation types of live broadcast rooms in different broadcast states for broadcast push, thereby improving the visualization effect of the recommendation notifications.
[0169] In one embodiment, please refer to Figures 3 to 5 and Fig.10 The step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification is broadcasted and broadcasted to the target live broadcast room for display includes the following steps executed by the client:
[0170] Step S141', responding to the recommendation notification pushed by the server, determining whether the recommendation notification contains a recommendation notification text:
[0171] The client in the target live broadcast room receives the recommendation notification pushed by the server, and determines whether the recommendation notification contains the recommendation notification text.
[0172] Step S142', when the recommendation notification contains a recommendation notification text, the recommendation notification text is output to the current live broadcast room interface for display, until the display time of the recommendation notification text exceeds the preset time, then the display of the recommendation notification text is stopped:
[0173] When the recommendation notification contains the recommendation notification text, the client will output the recommendation notification text in the current live broadcast room interface for display. For details, please refer to Figure 3 and Figure 4 , Figure 3 The recommended notification text is output and displayed in the recommended notification text display window 301 displayed in the live broadcast room interface until the display time of the recommended notification text exceeds the preset time, and the client will stop displaying the recommended notification text in the current live broadcast room interface to Figure 3 The live broadcast room interface shown is switched to Figure 4 The live broadcast room interface shown only outputs and displays the recommended animation icons contained in the recommended notification shown.
[0174] Step S143', outputting the recommended animation icon contained in the recommendation notification to the icon carousel window of the current live studio interface for display, and the icon carousel window cyclically plays the multiple recommended animation icons it has:
[0175] Please refer to Figures 4 to 5 , Figure 4 The icon carousel window 401 displayed in the live studio interface shown in FIG. 1 will output and display the recommended animation icons contained in the recommendation notification, and the icon list window 402 will be displayed as shown in FIG. Figure 5 As shown, multiple recommended animation icons it has will be played in a loop, and these recommended animation icons are the recommended animation icons corresponding to the recommended notifications currently being broadcast in the live broadcast room.
[0176] In this embodiment, the display of the recommendation notification text of the recommendation notification in the live broadcast room interface is limited in display time to prevent the recommendation notification text from being displayed for a long time and affecting the user's live broadcast viewing experience. The recommendation animation icon is played in a loop through the icon carousel window to represent the live broadcast room recommendation type currently in the live broadcast room.
[0177] In one embodiment, please refer to Fig.11 After the step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification is broadcasted and broadcasted to the target live broadcast room for display, the step includes the following steps executed by the server:
[0178] Step S15, monitoring the live broadcast room corresponding to the target anchor identifier, and obtaining the broadcast status corresponding to the recommended live broadcast room type broadcast in the live broadcast room:
[0179] The server monitors the recommended live room types currently being broadcast in the live room corresponding to the target anchor identifier shown, to obtain the broadcast status corresponding to each of these recommended live room types in the live room. For example, when the live broadcast data of the live room does not meet the recommendation conditions of the recommended live room type currently being broadcast, the server will no longer broadcast the recommendation notification corresponding to the shown recommended live room type to the live room, and the broadcast status of the recommended live room type will be changed from the currently broadcasting status to the broadcasted status.
[0180] Step S16, responding to the broadcast weight update event acting on the recommended type of the live broadcast room, obtaining the latest broadcast weight of the recommended type of the live broadcast room:
[0181] The server responds to a broadcast weight update event that acts on one or more live broadcast room recommendation types, and obtains the broadcast weight of the live broadcast room recommendation type that has been most recently updated; the broadcast weight update event is generally triggered by the management end of the platform, and the management end updates the broadcast weight corresponding to the corresponding live broadcast room recommendation type according to the current business scenario of the platform.
[0182] Step S17, correspondingly updating the broadcast status or broadcast weight corresponding to the recommended type of the live broadcast room in the broadcast record information to which the target anchor identifier belongs:
[0183] After the server obtains the latest updated broadcast status or broadcast weight of any live broadcast room recommendation type, it will update the broadcast status or broadcast weight of the live broadcast room recommendation type in the broadcast record message corresponding to the target anchor identifier.
[0184] In this embodiment, by monitoring the broadcast status of each recommended type in the live broadcast room or obtaining the latest updated broadcast weight of the platform, the broadcast status or broadcast weight of the corresponding recommended type in the broadcast record information corresponding to the anchor is updated in real time to ensure the operation of the recommendation service in the live broadcast room.
[0185] Furthermore, by functionalizing each step in the method disclosed in the above embodiments, a live broadcast recommendation notification processing device of the present application can be constructed. According to this idea, please refer to Fig.12 In a typical embodiment, the device includes: a recommendation message query module 11, which is used to query the anchor broadcast recommendation message whose entry time in the broadcast recommendation message queue is earlier than the current time, and the broadcast recommendation message queue is sorted in ascending order according to the entry time of each anchor broadcast recommendation message, wherein the anchor broadcast recommendation message also includes an anchor identifier and a live broadcast room recommendation type; a record information query module 12, which is used to obtain the anchor broadcast recommendation message with a target anchor identifier, and query the broadcast record information corresponding to the target anchor identifier in the broadcast record library, wherein the broadcast record information includes the broadcast status and broadcast priority corresponding to each live broadcast room recommendation type; a notification broadcast verification module 13, which is used to According to the broadcast status and broadcast priority recorded in the broadcast record information of the live broadcast room recommendation type contained in the anchor broadcast recommendation message, it is verified whether the recommendation notification corresponding to the live broadcast room recommendation type is broadcast to the target live broadcast room corresponding to the target anchor identifier; the recommendation notification broadcast module 14 is used to generate a recommendation notification corresponding to the live broadcast room recommendation type according to the broadcast status of the live broadcast room recommendation type that has passed the verification, and broadcast it to the target live broadcast room for display, wherein, if the broadcast status is the broadcasted status, the recommendation notification of the live broadcast room recommendation type includes a recommendation animation icon, and if the broadcast status is the not broadcasted status, the recommendation notification of the live broadcast room recommendation type includes a recommendation notification text and a recommendation animation icon.
[0186] In one embodiment, the record information query module 12 includes: a broadcast record information query submodule, which is used to query whether there is broadcast record information matching the anchor identifier in the broadcast record library according to the anchor identifier of the anchor broadcast recommendation message; a recommendation notification generation submodule, which is used to generate a recommendation notification including a recommendation notification text and a recommendation animation icon for representing the recommendation type of the live broadcast room according to the live broadcast room recommendation type contained in the anchor broadcast recommendation message when there is no broadcast record information matching the anchor identifier in the broadcast record library; and a recommendation notification broadcast submodule, which is used to broadcast the recommendation notification to the live broadcast room corresponding to the anchor identifier for display.
[0187] In one embodiment, the notification broadcast verification module 13 includes: a broadcast information acquisition submodule, which is used to obtain the broadcast status and broadcast priority corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message from the broadcast record information; a stop broadcast processing submodule, which is used to not broadcast the recommendation notification corresponding to the live broadcast room recommendation type when the broadcast status indicates that the live broadcast room recommendation type is in a broadcasting state; a sorting position determination submodule, which is used to call a quick sorting algorithm when the broadcast status indicates that the live broadcast room recommendation type is in a broadcasted state or a not broadcasted state, and determine the sorting position of the live broadcast room recommendation type in the recommendation type list corresponding to the target anchor identifier according to the broadcast priority and the queue entry time of the live broadcast room recommendation type; a pre-broadcast submodule, which is used to broadcast the recommendation notification of the live broadcast room recommendation type to the live broadcast room corresponding to the target anchor identifier when the sorting position of the live broadcast room recommendation type in the recommendation type list exceeds the preset broadcast sorting position.
[0188] In one embodiment, the recommendation notification broadcasting module 14 includes: a notification material acquisition submodule, used to obtain a recommendation notification text and a recommendation animation icon that match the recommendation type of the live broadcast room from a recommendation material library; a first recommendation notification generation submodule, used to generate a recommendation notification containing the recommendation animation icon when the broadcast status corresponding to the recommendation type of the live broadcast room is a broadcasted status; a second recommendation notification generation submodule, used to generate a recommendation notification containing the recommendation notification text and the recommendation animation icon when the broadcast status corresponding to the recommendation type of the live broadcast room is a non-broadcasted status; a recommendation notification broadcasting submodule, used to broadcast the generated recommendation notification to the live broadcast room corresponding to the target anchor identifier for display.
[0189] In one embodiment, the recommendation notification broadcast module 14 also includes: a recommendation notification response submodule, which is used to respond to the recommendation notification pushed by the server and determine whether the recommendation notification contains a recommendation notification text; a notification text display submodule, which is used to output the recommendation notification text to the current live broadcast room interface for display when the recommendation notification contains the recommendation notification text, until the display time of the recommendation notification text exceeds a preset time, and then stop displaying the recommendation notification text; an animation icon display submodule, which is used to output the recommendation animation icon contained in the recommendation notification to the icon carousel window of the current live broadcast room interface for display, and the icon carousel window plays multiple recommendation animation icons in a loop.
[0190] In order to solve the above technical problems, the embodiment of the present application also provides a computer device for running a computer program implemented according to the live broadcast recommendation notification processing method. Fig.13 , Fig.13 This is a basic structural block diagram of the computer device in this embodiment.
[0191] like Fig.13 As shown, a schematic diagram of the internal structure of a computer device. The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected via a system bus. Among them, the non-volatile storage medium of the computer device stores an operating system, a database, and computer-readable instructions. The database may store a control information sequence. When the computer-readable instructions are executed by the processor, the processor can implement a live broadcast recommendation notification processing method. The processor of the computer device is used to provide computing and control capabilities to support the operation of the entire computer device. The memory of the computer device may store computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor can execute a live broadcast recommendation notification processing method. The network interface of the computer device is used to connect and communicate with a terminal. Those skilled in the art can understand that Fig.13 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0192] In this embodiment, the processor is used to execute the specific functions of each module / submodule in the live broadcast recommendation notification processing device of the present invention, and the memory stores the program code and various data required to execute the above modules. The network interface is used to transmit data between user terminals or servers. The memory in this embodiment stores the program code and data required to execute all modules / submodules in the live broadcast recommendation notification processing device, and the server can call the program code and data of the server to execute the functions of all submodules.
[0193] The present application also provides a non-volatile storage medium, and the live broadcast recommendation notification processing method is written into a computer program and stored in the storage medium in the form of computer-readable instructions. When the computer-readable instructions are executed by one or more processors, it means that the program is running in the computer, thereby enabling one or more processors to execute the steps of the live broadcast recommendation notification processing method of any of the above-mentioned embodiments.
[0194] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[0195] To sum up, this application provides a live broadcast room recommendation service for the platform, allowing users to perceive the exposure data of the live broadcast room, while automatically screening and customizing recommendation notifications to improve the visualization effect of recommendation notifications.
[0196] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0197] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, altered, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted.
[0198] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing live broadcast recommendation notification, characterized in that: The steps include: Query the anchor broadcast recommendation message in the broadcast recommendation message queue whose entry time is earlier than the current time, and sort the broadcast recommendation message queue in ascending order according to the entry time of each anchor broadcast recommendation message, wherein the anchor broadcast recommendation message also includes an anchor identifier and a live broadcast room recommendation type; Acquire an anchor broadcast recommendation message with a target anchor identifier, and query the broadcast record information corresponding to the target anchor identifier in the broadcast record library, wherein the broadcast record information includes a broadcast status and a broadcast priority corresponding to each recommended type of the live broadcast room; According to the broadcast status and broadcast priority recorded in the broadcast record information of the live broadcast room recommendation type contained in the anchor broadcast recommendation message, verify whether to broadcast the recommendation notification corresponding to the live broadcast room recommendation type to the target live broadcast room corresponding to the target anchor identifier; According to the broadcast status of the verified live broadcast room recommendation type, a recommendation notification corresponding to the live broadcast room recommendation type is generated and broadcast to the target live broadcast room for display, wherein if the broadcast status is a broadcasted state, the recommendation notification of the live broadcast room recommendation type includes a recommendation animation icon; if the broadcast status is a non-broadcasted state, the recommendation notification of the live broadcast room recommendation type includes a recommendation notification text and a recommendation animation icon.
2. The method according to claim 1, characterized in that The step of obtaining the anchor broadcast recommendation message with the target anchor identifier and querying the broadcast record information corresponding to the target anchor identifier in the broadcast record library includes the following steps executed by the server: According to the anchor identifier of the anchor broadcast recommendation message, query whether there is broadcast record information matching the anchor identifier in the broadcast record library; When there is no broadcast record information matching the anchor identifier in the broadcast record library, a recommendation notification including a recommendation notification text and a recommendation animation icon for representing the recommended type of the live broadcast room is generated according to the recommended type of the live broadcast room included in the anchor broadcast recommendation message; The recommendation notification is broadcast to the live broadcast room corresponding to the anchor identification for display.
3. The method according to claim 1, characterized in that The step of verifying whether to broadcast a recommendation notification corresponding to the live broadcast room recommendation type to a target live broadcast room corresponding to a target anchor identifier according to the broadcast status and broadcast priority recorded in the broadcast record information according to the live broadcast room recommendation type included in the anchor broadcast recommendation message includes the following steps performed by the server: Acquire the broadcast status and broadcast priority corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message from the broadcast record information; When the broadcast state indicates that the live broadcast room recommendation type is in a broadcasting state, the recommendation notification corresponding to the live broadcast room recommendation type is not broadcast; When the broadcast status indicates that the recommended type of the live broadcast room has been broadcasted or has not been broadcasted, a quick sorting algorithm is called to determine the sorting position of the recommended type of the live broadcast room in the recommended type list corresponding to the target anchor identifier according to the broadcast priority and the queue entry time of the recommended type of the live broadcast room; When the ranking position of the live broadcast room recommended type in the recommended type list exceeds the preset broadcast ranking position, a recommendation notification of the live broadcast room recommended type will be broadcast to the live broadcast room corresponding to the target anchor identifier.
4. The method according to claim 3, characterized in that The step of calling the quick sorting algorithm to determine the sorting position of the recommended type of the live broadcast room in the recommended type list corresponding to the target anchor identifier according to the broadcast priority and the queue entry time of the recommended type of the live broadcast room includes the following steps executed by the server: Acquire, from the broadcast record information, the broadcast priority corresponding to the target live broadcast room recommended type whose broadcast status is characterized as a broadcasted state or a non-broadcasted state; According to the broadcast priority and the queue entry time corresponding to the target live broadcast room recommendation type, update the ranking weight of the target live broadcast room recommendation type in the recommendation type list; Calling the quick sorting algorithm to obtain the sorting weight of the live broadcast room recommendation type that is at the first place in the recommendation type list, taking the sorting weight as a reference number, and updating the sorting positions of all the live broadcast room recommendation types stored in the recommendation type list according to their respective sorting weights; Determine whether the ranking position of the target live broadcast room recommended type in the recommended type list exceeds the preset broadcast ranking position. If not, do not perform recommendation notification broadcast processing on the target live broadcast room recommended type.
5. The method according to claim 1, characterized in that: The step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification belongs, and broadcasting the recommendation notification to the target live broadcast room for display, includes the following steps performed by the server: Acquire a recommendation notification text and a recommendation animation icon matching the recommendation type of the live broadcast room from a recommendation material library; When the broadcast status corresponding to the recommended type of the live broadcast room is a broadcasted status, generating a recommendation notification including the recommended animation icon; When the broadcast status corresponding to the recommended type of the live broadcast room is a state of not having been broadcast, generating a recommendation notification including a recommendation notification text and a recommendation animation icon; The generated recommendation notification is broadcast to the live broadcast room corresponding to the target anchor identifier for display.
6. The method according to claim 1, characterized in that The step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification is broadcasted and broadcasted to the target live broadcast room for display includes the following steps performed by the client: In response to the recommendation notification pushed by the server, determine whether the recommendation notification contains recommendation notification text; When the recommendation notification contains a recommendation notification text, the recommendation notification text is output to the current live broadcast room interface for display until the display time of the recommendation notification text exceeds a preset time, and then the display of the recommendation notification text is stopped; The recommended animation icon contained in the recommendation notification is output to the icon carousel window of the current live broadcast room interface for display, and the icon carousel window plays multiple recommended animation icons in a loop.
7. The method according to claim 1, characterized in that After the step of generating a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status to which the recommended type of the live broadcast room that has passed the verification is broadcasted and broadcasted to the target live broadcast room for display, the following steps are performed by the server: Monitor the live broadcast room corresponding to the target anchor identifier, and obtain the broadcast status corresponding to the recommended live broadcast room type broadcast in the live broadcast room; In response to a broadcast weight update event acting on a recommended type of a live broadcast room, the latest broadcast weight of the recommended type of the live broadcast room is obtained; Correspondingly update the broadcast status or broadcast weight corresponding to the recommended live broadcast room type in the broadcast record information to which the target anchor identifier belongs.
8. A live broadcast recommendation notification processing device, characterized in that: include: A recommended message query module is used to query the host broadcast recommended messages in the broadcast recommended message queue whose entry time is earlier than the current time, wherein the broadcast recommended message queue is sorted in ascending order according to the entry time of each host broadcast recommended message, wherein the host broadcast recommended message also includes the host identifier and the recommended type of live broadcast room; A record information query module is used to obtain a broadcast recommendation message with a target anchor identifier, and query the broadcast record information corresponding to the target anchor identifier in the broadcast record library, wherein the broadcast record information includes a broadcast status and a broadcast priority corresponding to each recommended type of the live broadcast room; A notification broadcast verification module is used to verify whether to broadcast a recommendation notification corresponding to the live broadcast room recommendation type contained in the anchor broadcast recommendation message to the target live broadcast room corresponding to the target anchor identifier according to the broadcast status and broadcast priority recorded in the broadcast record information; The recommendation notification broadcast module is used to generate a recommendation notification corresponding to the recommended type of the live broadcast room according to the broadcast status of the verified recommended type of the live broadcast room, and broadcast it to the target live broadcast room for display. If the broadcast status is a broadcasted state, the recommendation notification of the recommended type of the live broadcast room includes a recommendation animation icon. If the broadcast status is a non-broadcast state, the recommendation notification of the recommended type of the live broadcast room includes a recommendation notification text and a recommendation animation icon.
9. An electronic device, comprising a central processing unit and a memory, characterized in that: The central processing unit is used to call and run a computer program stored in the memory to execute the steps of the method according to any one of claims 1 to 7.
10. A non-volatile storage medium, characterized in that: It stores a computer program implemented according to the method described in any one of claims 1 to 7 in the form of computer-readable instructions, and when the computer program is called and executed by a computer, the steps included in the method are executed.
Citation Information
Patent Citations
Live broadcast room recommendation method, storage medium, electronic equipment and system
CN111104583A
Live broadcast room recommendation method and device, terminal, server, live broadcast room recommendation system and storage medium
CN111556327A