Live broadcast room activity data processing method and its device, equipment, medium, and product
Through the optimized display method of the activity display control, the problem of page data blocking each other in the live broadcast room is solved, the user experience is improved, and the effective management of the display content is achieved.
Patent Information
- Application Number
- CN202210101166.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-01-27
AI Technical Summary
The limited display frame of the live broadcast room page causes various types of live broadcast data to obscure each other, affecting the user's viewing experience.
Through the activity display control, obtain and parse live event information, query the panel tag pool and component pool, drive the display of panel tags and data display components, determine the display position based on tag weight and component weight, and optimize the way data is visualized on the page.
Optimize the display of various types of live broadcast data in the live broadcast room page to prevent data from blocking each other, improve the user's viewing experience, and facilitate the maintenance and control of display content through component splitting.
Smart Images

Figure CN114489905B_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 room activity data. 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] The live broadcast platform generally broadcasts the relevant live broadcast data of the live broadcast room to the live broadcast room, so that the client in the live broadcast room can output the received live broadcast data to the live broadcast room page for display, so that users in the live broadcast room can understand the relevant information in the live broadcast room through the live broadcast data displayed on the page, such as the relevant data of the guild and the anchor in the live broadcast room, and when the live broadcast platform holds relevant live broadcast activities, such as Spring Festival activities, the relevant Spring Festival activity data will be broadcast to the live broadcast room for display to enhance the activity atmosphere of the live broadcast room. However, due to the limited display frame of the live broadcast room page, when various types of live broadcast data are output to the page for display, the various types of data often obscure each other, affecting the viewing experience of users in the live broadcast room.
[0004] In response to the above-mentioned problems, the applicant has made corresponding explorations based on these issues. Summary of the invention
[0005] The purpose of this 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 room activity data processing method and its corresponding device, electronic device, non-volatile storage medium and computer program product.
[0006] In order to achieve the purpose of this application, the following technical solutions are adopted:
[0007] A method for processing live broadcast room activity data proposed for the purpose of this application includes the following steps:
[0008] Acquire live broadcast activity information acting on the activity display control, parse and acquire the target activity panel identifier and target activity data information contained in the live broadcast activity information, and display the activity display control in the current live broadcast room page;
[0009] According to the target active panel identifier, query the active panel identifiers of each active panel tag in the panel tag pool of the active display control to obtain the target active panel tag having the target active panel identifier;
[0010] According to the target activity data information, query the target data display component corresponding to the target activity data information in the panel component pool of the target activity panel tag;
[0011] The activity display control is driven to display the target activity panel tag, so that the target activity panel tag outputs the target data display component in its activity data panel to display the target activity data information.
[0012] In a further embodiment, before the step of obtaining the activity data information acting on the activity display control, the following steps are included:
[0013] In response to a live broadcast room page entry event, the live broadcast room page corresponding to the event is displayed in the current graphical user interface;
[0014] In response to a rendering instruction acting on the activity display control, determining whether a current time exceeds a preset activity time of the activity display control;
[0015] When the current time exceeds the activity time, the activity display control is rendered and displayed in the current live broadcast room page.
[0016] In a preferred embodiment, when the current time exceeds the activity time, the step of rendering the activity display control to be displayed in the current live broadcast room page includes the following steps:
[0017] Determine each active panel tag in the panel tag pool of the active display control, and traverse the data display components stored in the panel component pool corresponding to each of the active target tags;
[0018] An activity panel tag corresponding to a data display component having activity data information is determined, the activity panel tag is activated to be displayed in the activity display control, and the activity data information is displayed in an activity data panel output of the activity panel tag.
[0019] In a further embodiment, the step of driving the activity display control to display the target activity panel tag so that the target activity panel tag outputs and displays the target activity data information through the target data display component in its activity data panel includes the following steps:
[0020] Determining, according to the tag weight acting on the target activity panel tag, a display position corresponding to the target activity panel tag among the activity panel tags currently displayed by the activity display control;
[0021] According to the component weight acting on the target data display component, a display position corresponding to the target data display component in each data display component currently displayed on the active data panel is determined.
[0022] In a further embodiment, the step of driving the activity display control to display the target activity panel label includes the following steps performed by the activity display control:
[0023] In response to the panel tag activation instruction pushed by the main component, determine the target active panel tag corresponding to the instruction;
[0024] Activating the display of the target activity panel label in the activity display control;
[0025] The activity data panel corresponding to the target activity panel label is displayed in the activity display control.
[0026] In a further embodiment, the step of causing the target data display component in the activity data panel of the target activity panel tag to output and display the target activity data information includes the following steps performed by the activity display control:
[0027] Respond to the data display instruction pushed by the main component, and obtain the target activity data information contained in the instruction;
[0028] Assigning the target activity data information to the target data display component in the activity data panel corresponding to the target activity panel label;
[0029] The target activity data information is output and displayed in the target data display component.
[0030] In a further embodiment, after the step of driving the activity display control to display the target activity panel label, the following steps are included:
[0031] In response to a panel tag selection event acting on the active display control, determine the active panel tag pointed to by the event;
[0032] Modifying the activity panel label in the activity display control to a selected state for display;
[0033] The activity data panel currently displayed in the activity display control is jumped to the activity data panel corresponding to the activity panel label.
[0034] A live broadcast room activity data processing device proposed for the purpose of this application includes:
[0035] A data information parsing module, used to obtain the activity data information acting on the activity display control, parse and obtain the target activity panel identifier and activity data information contained in the activity data information, and the activity display control is displayed in the current live broadcast room page;
[0036] A panel tag determination module, configured to query the activity panel tags of each activity panel tag in the panel tag pool of the activity display control according to the target activity panel tag, and obtain the target activity panel tag having the target activity panel tag;
[0037] A display component determination module, used to query the target data display component corresponding to the target activity data information in the panel component pool of the target activity panel tag according to the target activity data information;
[0038] The activity data display module is used to drive the activity display control to display the target activity panel tag, so that the target activity panel tag outputs the target data display component in its activity data panel to display the target activity data information.
[0039] In a further embodiment, the activity data display module includes:
[0040] A label display position determination submodule, used to determine the display position corresponding to the target activity panel label among the activity panel labels currently displayed by the activity display control according to the label weight acting on the target activity panel label;
[0041] The component display position determination submodule is used to determine the display position corresponding to the target data display component among the data display components currently displayed on the active data panel according to the component weight acting on the target data display component.
[0042] In a preferred embodiment, the activity data display module further includes:
[0043] The activation instruction response submodule is used to respond to the panel tag activation instruction pushed by the main component and determine the target active panel tag corresponding to the instruction;
[0044] A panel label display submodule, used to activate the display of the target activity panel label in the activity display control;
[0045] The data panel display submodule is used to display the activity data panel corresponding to the target activity panel tag in the activity display control.
[0046] In a preferred embodiment, the activity data display module further includes:
[0047] The display instruction response submodule is used to respond to the data display instruction pushed by the main component and obtain the target activity data information contained in the instruction;
[0048] An activity data assignment submodule, used to assign target activity data information to a target data display component in the activity data panel corresponding to the target activity panel label;
[0049] The activity data display submodule is used to output and display the target activity data information in the target data display component.
[0050] 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 room activity data processing method.
[0051] 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 room activity data processing method. When the computer program is called and executed by a computer, the steps included in the corresponding method are executed.
[0052] 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 layered prediction method or the live broadcast room activity data processing method.
[0053] Compared with the prior art, the advantages of this application are as follows:
[0054] First, the present application provides an activity display control for displaying various types of live broadcast data for users in a live broadcast room. The activity display control has multiple panel tags associated with data display panels for displaying corresponding types of live broadcast data, so that users in the current client can touch or click to select the activity panel tag displayed in the activity display control, and display the data display panel associated with the selected panel tag in the activity display control, and then query the live broadcast data displayed in the data display panel, so as to utilize various types of panel tags of the activity display control to optimize the visualization method of various types of live broadcast data in the limited display frame of the live broadcast room page, and prevent the display of too much live broadcast data in the live broadcast room page from affecting the user's live viewing experience.
[0055] Secondly, the panel label of the activity display control of the present application is displayed in the control only when it has live data that needs to be displayed. Correspondingly, the data display panel of the activity display control is also the same. By controlling the display and hiding of the panel label and data display panel in the activity display control, the data required by the current user can be displayed in a limited display frame.
[0056] In addition, the component functions in the activity display control of the present application are divided into logic processing class and display class. The logic processing class is aggregated into a main component. The main component is responsible for providing logic processing of display class components for the activity display control, while display class components such as panel labels and data display panels generally do not have complex logic processing functions. They only receive instructions and data pushed by the main component for component display and data display. By splitting the components of the activity display control, the maintenance of the activity display control is facilitated, thereby achieving the online and offline activities required at the product level.
[0057] 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
[0058] 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:
[0059] Figure 1 A schematic diagram of a typical network deployment architecture related to implementing the technical solution of this application;
[0060] Figure 2 This is a flowchart of a typical embodiment of the live broadcast room activity data processing method of the present application;
[0061] Figure 3 A schematic diagram of a live broadcast room page showing activity display controls in this application;
[0062] Figure 4 A schematic diagram of a live broadcast room page showing a target activity panel label in the activity display control in this application;
[0063] Figure 5 A schematic diagram of a live broadcast room page showing a target activity data panel in an activity display control in this application;
[0064] Figure 6 This is a schematic diagram of a live broadcast room page in this application that does not display the activity display controls;
[0065] Figure 7 A flowchart diagram of an implementation method of responding to a rendering instruction acting on an active display control in the present application;
[0066] Figure 8 A flowchart diagram of an implementation method of displaying an activity panel label and an activity data panel in an activity display control in the present application;
[0067] Fig. 9 A flowchart of the implementation method of label weights and component weights in this application;
[0068] Fig.10 A flow chart of the implementation method of displaying a target activity panel label of an activity display control in the present application;
[0069] Fig.11 A flow chart of an implementation method for outputting and displaying target activity data information in an activity data panel in the present application;
[0070] Fig.12 A schematic diagram of a live broadcast room page showing a guild activity data panel in the activity display control in this application;
[0071] Fig.13 A flow chart of an implementation method of selecting an event of a panel tag of an activity display control in the present application;
[0072] Fig.14 This is a principle block diagram of a typical embodiment of a live broadcast room activity data processing device of the present application;
[0073] Fig.15 This is a basic structural block diagram of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0074] 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.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] 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.
[0080] 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.
[0081] 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.
[0082] 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.
[0083] 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.
[0084] 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.
[0085] 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.
[0086] 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.
[0087] 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.
[0088] See also Figure 2 A method for processing live broadcast room activity data of the present application, in its typical embodiment, comprises the following steps:
[0089] Step S11, obtaining live broadcast activity information acting on the activity display control, parsing and obtaining the target activity panel identifier and target activity data information contained in the live broadcast activity information, and the activity display control is displayed in the current live broadcast room page:
[0090] The current client in the current live broadcast room receives the live broadcast activity information pushed by the server, and the activity data information acts on the activity display control displayed in the current live broadcast room page to output the activity data information contained in the activity data information to the activity display control for display.
[0091] The activity data information is broadcast by the server to the current live broadcast room, and the activity data information includes the activity data information and activity panel identifier of the live broadcast activity being carried out in the current live broadcast room, so that the current client in the current live broadcast room outputs the activity data information to the activity data panel corresponding to the activity panel identifier for display.
[0092] The activity data information generally includes data associated with the live broadcast activity currently being conducted in the live broadcast room. For example, when the live broadcast activity currently being conducted in the live broadcast room is a live Spring Festival activity, the activity data information associated with the live Spring Festival activity generally includes gift-giving data for characterizing the gift-giving activity of audience users in the current live broadcast room during the Spring Festival, user characteristic data for characterizing the audience users who give the most gifts in the current live broadcast room, and time data for characterizing the countdown to the Spring Festival for the live Spring Festival activity, etc. Technical personnel in this field can design the activity data information according to actual business scenarios, and will not go into details here.
[0093] The activity panel identifier is used to point to the activity data panel that displays the activity data information, so that the current client outputs the activity data information to the activity data panel in the activity display control for display according to the activity panel identifier. Please refer to the subsequent steps for the activity data panel and its related embodiments, and this step will not be repeated.
[0094] The activity display control is displayed in the current live broadcast room page. The activity display control is used to output and display the activity data information in the current live broadcast room page. The activity display control contains one or more activity panel tags. These activity panel tags are associated with their corresponding activity data panels, so that the user in the current client can select the activity panel tag displayed in the activity display control by touching or clicking, and display the activity data panel associated with the selected activity panel tag in the activity display control, and then query the activity data displayed in the activity data panel. For details, please refer to Figure 3 , Figure 3 is a schematic diagram of the activity display control displayed in the current page, and the activity display control is as follows Figure 3 The activity display control 301 shown in the figure displays a plurality of activity panel labels in the activity panel label list 302 displayed in the activity display control 301, so that the user can select a corresponding activity data label from the panel label list 302, and output the activity data panel corresponding to the activity data label to the activity data panel window 303 for display. For example, if the activity panel label selected in the panel label list 302 is "anchor", the activity data panel window 303 displays the activity data panel corresponding to the "anchor" activity panel label, and the user characteristic data of the anchor user is displayed in the activity data panel.
[0095] The activity display control has a main component associated with it, and the main component provides logical services such as display control of each subcomponent and activity data distribution for the activity display control. The activity panel label, activity data panel and data display component are subcomponents of the activity display control, and the main component is responsible for controlling the display of these subcomponents and the transmission of activity data. For the execution method of the logical service of the main component, please refer to the relevant description in the subsequent steps, and this step will not be repeated.
[0096] Step S12, according to the target active panel identifier, query the active panel identifier of each active panel tag in the panel tag pool of the active display control, and obtain the target active panel tag with the target active panel identifier:
[0097] The current client queries the activity panel tag having the target activity panel identifier in the panel tag pool of the activity display control according to the activity panel identifier of each activity panel tag in the panel tag pool of the activity display control based on the target panel activity panel identifier contained in the live event information.
[0098] The panel tag pool includes the activity panel tags of the activity display control. The activity panel tags stored in the panel tag pool are not necessarily all displayed in the activity display control. The display of these activity panel tags in the activity display control is controlled by the main component associated with the activity display control. The main component generally only displays the activity panel tags with activity data in the activity display control.
[0099] The main component associated with the activity display control queries the activity panel tag with the target activity panel identifier in the panel tag pool according to the target panel activity panel identifier contained in the live event information, so as to output the activity data information to the activity data panel associated with the activity panel tag for display.
[0100] Step S13, according to the target activity data information, query the target data display component corresponding to the target activity data information in the panel component pool of the target activity panel tag:
[0101] After the current client queries the active panel tag with the target active panel identifier in the panel tag pool, it will query the target data display component in the panel component pool of the target active panel tag for outputting and displaying the target activity data information based on the target activity data information contained in the target activity data information.
[0102] The panel component pool stores one or more data display components possessed by the associated active panel tag. For example, when the active panel tag to which the panel component pool belongs is an anchor, the panel component pool generally includes a data display component for displaying the anchor's avatar, a data display component for displaying the anchor's nickname, and a data display component for displaying the popularity of the anchor's live broadcast room, etc. The display of these data display components in their corresponding active data panel pools is determined by the main component associated with the active display control. Since the display area in the active data panel is limited, the main component generally controls the display position and display relationship of these data display components in the active data panel according to the component weight of each data display component.
[0103] Specifically, the main component obtains the data identifier contained in the target activity data information, and has a target data display component with the data identifier in the panel component pool of the target activity panel tag, so that the activity data contained in the target activity data information can be subsequently output to the target data display component for display.
[0104] Step S14, driving the activity display control to display the target activity panel tag, so that the target activity panel tag outputs the target data display component in its activity data panel to display the target activity data information:
[0105] The current client drives the activity display control to display a target activity panel tag with a target activity panel identifier, and pushes the target activity data information contained in the live activity data to the activity display control, so that the activity display control outputs the target activity data information to the target data display component in the activity data panel associated with the target activity panel tag for display.
[0106] The main component associated with the activity display control pushes a panel tag activation instruction pointing to the target activity panel tag to the activity display control, so as to drive the activity display control to respond to the panel tag activation instruction, activate the display of the target activity panel tag in the activity display control, and then display the activity data panel corresponding to the target activity panel tag in the activity display control. For details, please refer to Figure 3 and Figure 4 When the target activity panel tag is an activity panel tag associated with the Spring Festival activity, the activity display control responds to the panel tag activation instruction pointing to the target activity panel tag, and Figure 3 The target active panel label is displayed in the panel label list 302 shown in the figure, so that Figure 3 The activity display control 301 shown switches to Figure 4 The activity display control 401 shown in the figure displays the activity panel label of Spring Festival in the panel label list 402 of the activity display control 401.
[0107] Correspondingly, the main component outputs the target activity data information to the activity display control for display. Specifically, the main component pushes a data display instruction to the activity display control to drive the activity display control to respond to the instruction and obtain the target activity data information contained in the instruction. Then, the activity display control assigns the target activity data information to the target data display component in the activity data panel corresponding to the target activity panel label, so that when the activity data panel is displayed in the activity display control, the target activity data information will be displayed in the panel data display component in the activity data panel. Please refer to Figure 4 and Figure 5 ,when Figure 4 When the activity panel tag selected in the panel tag list 402 of the activity display control 401 is the target activity panel tag "Spring Festival", the activity data panel displayed in the activity data panel window 403 of the activity display control 401 will jump to Figure 5 The activity data panel window 503 shown shows an activity data panel associated with the target activity panel label “Spring Festival”, and the activity data panel outputs and displays activity data information associated with the Spring Festival live broadcast activity.
[0108] Because each activity panel label displayed in the activity display control has a corresponding display position, the display position of these activity panel labels is determined by their corresponding label weights. For example, please refer to Figure 4 , Figure 4The panel label list 402 of the activity display control 401 shown shows the guild activity panel label, the anchor activity panel label and the Spring Festival activity panel label. The label weight of the guild activity panel label is greater than that of the anchor activity panel label, and the anchor activity panel label is greater than that of the Spring Festival activity panel label. Correspondingly, due to the limited display space of the activity data panel, the data display component to which it belongs also has a component weight for controlling its display position. Please refer to Figure 5 ,like Figure 5 The activity data panel for outputting Spring Festival activity data information displayed in the activity data panel window 503 shown in FIG. 1 has a component weight of a countdown data display component greater than that of a lottery data display component shown in FIG. Those skilled in the art can design the label weight of the activity panel label and the component weight of the data display component according to the actual application scenario to control the display position of the activity panel label and the data display component.
[0109] It can be seen from this typical embodiment that the activity display control of this method has multiple panel tags associated with the data display panel for displaying corresponding types of live broadcast data, so that the user in the current client can touch or click the activity panel tag displayed in the selected activity display control to display the data display panel associated with the selected panel tag in the activity display control, and then query the live broadcast data displayed in the data display panel, thereby optimizing the visualization method of various types of live broadcast data in the limited display frame of the live broadcast room page, and preventing the display of too much live broadcast data in the live broadcast room page from affecting the user's live broadcast viewing experience; secondly, the panel tag of the activity display control in this method is only displayed in the control when it has live broadcast data that needs to be displayed, Correspondingly, the data display panel of the activity display control is also the same. By controlling the display and hiding of the panel label and the data display panel in the activity display control, the data required by the current user is displayed in a limited display frame. In addition, the component functions in the activity display control of this method are divided into logic processing class and display class. The logic processing class is aggregated into a main component. The main component is responsible for providing logic processing of display class components for the activity display control, while display class components such as panel labels and data display panels generally do not have complex logic processing functions. They only receive instructions and data pushed by the main component for component display and data display. By splitting the components of the activity display control, the maintenance of the activity display control is facilitated, thereby achieving the online and offline activities at the product level.
[0110] The above typical embodiments and their variations fully disclose the implementation scheme of the live broadcast room activity data 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:
[0111] In one embodiment, please refer to Figure 5 , Figure 6 and Figure 7 , before the step of obtaining the activity data information acting on the activity display control, the following steps are included:
[0112] Step S08, responding to the live broadcast room page entry event, displaying the live broadcast room page corresponding to the event in the current graphical user interface:
[0113] Please refer to Figure 6 The current client responds to the live broadcast room page entry event triggered by the user, and loads and displays the live broadcast room page pointed to by the live broadcast room page entry event in the current graphical user interface. The live broadcast room page is as follows: Figure 6 The live broadcast room page shown.
[0114] Step S09, responding to the rendering instruction acting on the activity display control, determining whether the current time exceeds the preset activity time of the activity display control:
[0115] After the current client loads and displays the current live broadcast room page, it will respond to the rendering instructions acting on the activity display control and obtain the activity time preset for the activity display control. For example, when the activity display control is used to display activity data information for the Spring Festival activity, the activity time preset for the activity display control is generally 1 day or 4 hours before the Spring Festival. The current client will determine whether the current time exceeds the activity time to determine whether to display the activity display control in the current live broadcast room page.
[0116] Step S10: When the current time exceeds the activity time, the activity display control is rendered and displayed in the current live broadcast room page:
[0117] Please refer to Figure 5 and Figure 6 When the current client determines that the current time exceeds the activity time, it will render the activity display control to the current live room page for display, such as Figure 6 The live broadcast room page shown switches to Figure 5 The live broadcast room page shown, Figure 5 The activity display control 501 is displayed in the live broadcast room page shown.
[0118] In this embodiment, the activity display control will be rendered and displayed in the live broadcast room page after the current time reaches its preset activity time to prevent the activity display control without activity data from being displayed in the live broadcast room page, affecting the live viewing experience of users in the live broadcast room.
[0119] In one embodiment, please refer to Figure 3 and Figure 8, when the current time exceeds the activity time, the step of rendering the activity display control to be displayed in the current live broadcast room page includes the following steps:
[0120] Step S101, determining each active panel tag in the panel tag pool of the active display control, and traversing the data display components stored in the panel component pool corresponding to each of these active target tags:
[0121] When the current client renders the activity display control to the current live broadcast room page, it will determine the activity panel tags in the panel tag pool of the activity display control, traverse the data display components stored in the panel component pool corresponding to each of these activity panel tags, and determine the data display components with activity data among these data display components.
[0122] Step S102, determining the activity panel tag corresponding to the data display component having the activity data information, activating the activity panel tag to be displayed in the activity display control, and displaying the activity data information in the activity data panel output of the activity panel tag:
[0123] When the client queries the data display component with activity data information, the activity panel tag associated with the data display component will be displayed in the activity display control, and the activity data information will be output to the data display component in the activity data panel associated with the activity panel tag. Please refer to Figure 3 For example, when the data display component has the activity data information of the anchor user avatar, the anchor user avatar will be displayed in Figure 3 The anchor user avatar is displayed in the data display component in the activity data panel displayed in the activity data panel window 303 in the activity display control 301 shown.
[0124] In this embodiment, the activity data control only displays the activity panel tags with activity data and their corresponding activity data panels to prevent tags without activity data from occupying the limited display frame of the live broadcast room page and affecting the user's live viewing experience.
[0125] In one embodiment, please refer to Figure 5 and Fig. 9 The step of driving the activity display control to display the target activity panel tag so that the target activity panel tag outputs and displays the target activity data information through the target data display component in its activity data panel includes the following steps:
[0126] Step S141, according to the tag weight acting on the target activity panel tag, determining the display position corresponding to the target activity panel tag in each activity panel tag currently displayed in the activity display control:
[0127] Please refer to Figure 5 , Figure 5 The panel label list 502 of the activity display control 501 shown shows the guild activity panel label, the anchor activity panel label and the Spring Festival activity panel label. The label weight of the guild activity panel label shown is greater than that of the anchor activity panel label shown, and the anchor activity panel label shown is greater than that of the Spring Festival activity panel label shown.
[0128] Step S142, determining the display position corresponding to the target data display component in each data display component currently displayed on the active data panel according to the component weight acting on the target data display component:
[0129] Accordingly, since the display space of the activity data panel is limited, the data display component to which it belongs also has a component weight for controlling its display position. Please refer to Figure 5 ,like Figure 5 The activity data panel window 503 shown in FIG. 5 is an activity data panel for outputting Spring Festival activity data information. The component weight of the countdown data display component shown in the activity data panel is greater than that of the lottery data display component shown.
[0130] In this embodiment, the display positions of the activity panel labels and the data display components are controlled according to the label weights of the activity panel labels and the component weights of the data display components to prevent disordered display of the activity panel labels and the data display components in the activity display controls and optimize the user experience.
[0131] In one embodiment, please refer to Figures 3 to 5 And 10, the step of driving the activity display control to display the target activity panel label includes the following steps performed by the activity display control:
[0132] Step S141', responding to the panel tag activation instruction pushed by the main component, determining the target active panel tag corresponding to the instruction:
[0133] The activity display control displayed in the current live broadcast room page responds to the panel tag activation instruction pushed by its associated main component, and determines the target activity panel tag corresponding to the panel tag activation instruction.
[0134] The panel tag activation instruction is triggered by the main component and pushed to the activity display control to drive the activity display control to display the target activity panel tag corresponding to the instruction.
[0135] Step S142', activating the display of the target activity panel label in the activity display control:
[0136] Please refer to Figure 3 and Figure 4 ,when Figure 3 When the activity display control 301 shown responds to the panel tag activation instruction pointing to the target activity panel tag of "Spring Festival", Figure 3 The activity display control 301 shown will be converted to Figure 4 The activity display control 401 shown in the figure displays the activity panel labels of the Spring Festival in the panel label list 402 in the activity display control 401.
[0137] Step S143', displaying the activity data panel corresponding to the target activity panel label in the activity display control:
[0138] Please refer to Figure 4 and Figure 5 , Figure 4 The activity display control 401 shown in the figure responds to the activity panel label showing the Spring Festival in the panel label list 402, and switches the activity data panel window 403 in the activity display control 401 to Figure 5 The activity data panel window 503 in the activity display control 501 shown displays the Spring Festival activity data panel associated with the Spring Festival activity panel tag.
[0139] In this embodiment, the activity target label displayed in the activity display control is controlled and displayed by the main component to which it corresponds, and then the control logic of the activity display control is managed by the main component to maintain the activity display control.
[0140] In one embodiment, please refer to Fig.11 The step of causing the target data display component in the activity data panel of the target activity panel tag to output and display the target activity data information includes the following steps performed by the activity display control:
[0141] Step S141", responding to the data display instruction pushed by the main component, obtaining the target activity data information contained in the instruction:
[0142] The activity display control displayed in the current live broadcast room page responds to the data display instruction pushed by its associated main component, and obtains the target activity data information contained in the data display instruction.
[0143] Step S142", assign the target activity data information to the target data display component in the activity data panel corresponding to the target activity panel label:
[0144] The activity display control assigns the target activity data information to the target data display component in the activity data panel corresponding to the target activity panel label, so that the target data display component receives the target activity data information and then outputs the target activity data information to the target activity panel for display.
[0145] Step S143, outputting and displaying the target activity data information in the target data display component:
[0146] After receiving the target activity data information, the target data display component outputs and displays the target activity data information in the target activity panel, so that the user can view the target activity data information through the target activity panel.
[0147] In this embodiment, the main component assigns the activity data to the corresponding data display component in the activity display control, so that the data display component can output the activity data to the activity display control for display by the user.
[0148] In one embodiment, please refer to Figure 5 , Fig.12 and Fig.13 , after the step of driving the activity display control to display the target activity panel label, the following steps are included:
[0149] Step S15, responding to a panel tag selection event acting on the activity display control, determining the activity panel tag pointed to by the event:
[0150] Please refer to Figure 5 , the current client user touches or clicks Figure 5 The guild activity panel tag in the panel tag list 502 in the activity display control 501 shown triggers the generation of the panel tag selection event pointing to the guild activity panel tag, so that the current client responds to the event and determines the guild activity panel tag corresponding to the event.
[0151] Step S16, modifying the activity panel label in the activity display control to be displayed in a selected state:
[0152] Please refer to Figure 5 and Fig.12 , the current client will Figure 5 The guild activity panel label in the panel label list 502 in the activity display control 501 shown is modified to be selected, so that the panel label list 502 shown is switched to the following state: Fig.12 The panel label list 1202 shown modifies the guild activity panel label shown to be in a selected state for display.
[0153] Step S17, jump the activity data panel currently displayed in the activity display control to the activity data panel corresponding to the activity panel tag:
[0154] Please refer to Figure 5 and Fig.12 ,when Figure 5 When the guild activity panel label in the panel label list 502 shown is changed to the selected state, Figure 5 The activity data panel window 503 in the activity display control 501 shown will jump to Fig.12 The guild activity data panel of the activity data panel window 1203 is shown.
[0155] In this embodiment, the activity display control has multiple panel tags, so that the user can select the corresponding panel tag to jump the data panel currently displayed in the activity display control to the selected data panel, and display the data required by the current user in a limited display screen.
[0156] Furthermore, by functionalizing each step in the method disclosed in the above embodiments, a live broadcast room activity data processing device of the present application can be constructed. According to this idea, please refer to Fig.14 In a typical embodiment, the device includes: a data information parsing module 11, which is used to obtain the activity data information acting on the activity display control, parse and obtain the target activity panel identifier and activity data information contained in the activity data information, and the activity display control is displayed in the current live broadcast room page; a panel label determination module 12, which is used to query the activity panel identifier of each activity panel label in the panel label pool of the activity display control according to the target activity panel identifier, and obtain the target activity panel label with the target activity panel identifier; a display component determination module 13, which is used to query the target data display component corresponding to the target activity data information in the panel component pool of the target activity panel label according to the target activity data information; an activity data display module 14, which is used to drive the activity display control to display the target activity panel label, so that the target data display component of the target activity panel label in its activity data panel outputs and displays the target activity data information.
[0157] In one embodiment, the activity data display module 14 includes: a label display position determination submodule, which is used to determine the display position corresponding to the target activity panel label among the activity panel labels currently displayed by the activity display control according to the label weight acting on the target activity panel label; a component display position determination submodule, which is used to determine the display position corresponding to the target data display component among the data display components currently displayed on the activity data panel according to the component weight acting on the target data display component.
[0158] In another embodiment, the activity data display module 14 also includes: an activation instruction response submodule, which is used to respond to the panel tag activation instruction pushed by the main component and determine the target activity panel tag corresponding to the instruction; a panel tag display submodule, which is used to activate the display of the target activity panel tag in the activity display control; and a data panel display submodule, which is used to display the activity data panel corresponding to the target activity panel tag in the activity display control.
[0159] In another embodiment, the activity data display module 14 also includes: a display instruction response submodule, which is used to respond to the data display instruction pushed by the main component and obtain the target activity data information contained in the instruction; an activity data assignment submodule, which is used to assign the target activity data information to the target data display component in the activity data panel corresponding to the target activity panel label; and an activity data display submodule, which is used to output and display the target activity data information in the target data display component.
[0160] 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 room activity data processing method. Fig.15 , Fig.15 This is a basic structural block diagram of the computer device in this embodiment.
[0161] like Fig.15 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 method for processing live room activity data. 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 method for processing live room activity data. 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.15 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.
[0162] In this embodiment, the processor is used to execute the specific functions of each module / submodule in the live broadcast room activity data 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 room activity data processing device, and the server can call the server's program code and data to execute the functions of all submodules.
[0163] The present application also provides a non-volatile storage medium, and the live broadcast room activity data 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 room activity data processing method of any of the above-mentioned embodiments.
[0164] 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).
[0165] To summarize, the present application displays relevant live broadcast data in the limited display screen of the live broadcast room page, and facilitates the maintenance of the activity display control by splitting the components of the activity display control, thereby achieving the online and offline activities required at the product level.
[0166] 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.
[0167] 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.
[0168] 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 room activity data, characterized in that: The steps include: Acquire live broadcast activity information acting on the activity display control, parse and acquire the target activity panel identifier and target activity data information contained in the live broadcast activity information, and display the activity display control in the current live broadcast room page; According to the target active panel identifier, query the active panel identifiers of each active panel tag in the panel tag pool of the active display control to obtain the target active panel tag having the target active panel identifier; According to the target activity data information, query the target data display component corresponding to the target activity data information in the panel component pool of the target activity panel tag; Driving the activity display control to display a target activity panel tag so that the target data display component of the target activity panel tag in its activity data panel outputs and displays the target activity data information, comprises the following steps: determining, according to a tag weight acting on the target activity panel tag, a display position corresponding to the target activity panel tag in each activity panel tag currently displayed by the activity display control; and determining, according to a component weight acting on the target data display component, a display position corresponding to the target data display component in each data display component currently displayed on the activity data panel.
2. The method according to claim 1, characterized in that Before the step of obtaining the activity data information acting on the activity display control, the following steps are included: In response to a live broadcast room page entry event, the live broadcast room page corresponding to the event is displayed in the current graphical user interface; In response to a rendering instruction acting on the activity display control, determining whether a current time exceeds a preset activity time of the activity display control; When the current time exceeds the activity time, the activity display control is rendered and displayed in the current live broadcast room page.
3. The method according to claim 2, characterized in that When the current time exceeds the activity time, the step of rendering the activity display control to be displayed in the current live broadcast room page includes the following steps: Determine each active panel tag in the panel tag pool of the active display control, and traverse the data display components stored in the panel component pool corresponding to each of the active panel tags; An activity panel tag corresponding to a data display component having activity data information is determined, the activity panel tag is activated to be displayed in the activity display control, and the activity data information is displayed in an activity data panel output of the activity panel tag.
4. The method according to claim 1, characterized in that: The step of driving the activity display control to display the target activity panel label includes the following steps performed by the activity display control: In response to the panel tag activation instruction pushed by the main component, determine the target active panel tag corresponding to the instruction; Activating the display of the target activity panel label in the activity display control; The activity data panel corresponding to the target activity panel label is displayed in the activity display control.
5. The method according to claim 1, characterized in that The step of causing the target data display component in the activity data panel of the target activity panel tag to output and display the target activity data information includes the following steps performed by the activity display control: Respond to the data display instruction pushed by the main component, and obtain the target activity data information contained in the instruction; Assigning the target activity data information to the target data display component in the activity data panel corresponding to the target activity panel label; The target activity data information is output and displayed in the target data display component.
6. The method according to claim 1, characterized in that After the step of driving the activity display control to display the target activity panel label, the following steps are included: In response to a panel tag selection event acting on the active display control, determine the active panel tag pointed to by the event; Modifying the activity panel label in the activity display control to a selected state for display; The activity data panel currently displayed in the activity display control is jumped to the activity data panel corresponding to the activity panel label.
7. A live broadcast room activity data processing device, characterized in that: include: A data information parsing module, used to obtain the activity data information acting on the activity display control, parse and obtain the target activity panel identifier and target activity data information contained in the activity data information, and the activity display control is displayed in the current live broadcast room page; A panel tag determination module, configured to query the activity panel tags of each activity panel tag in the panel tag pool of the activity display control according to the target activity panel tag, and obtain the target activity panel tag having the target activity panel tag; A display component determination module, used to query the target data display component corresponding to the target activity data information in the panel component pool of the target activity panel tag according to the target activity data information; An activity data display module is used to drive the activity display control to display a target activity panel tag, so that the target data display component of the target activity panel tag in its activity data panel outputs and displays the target activity data information, including: determining the display position corresponding to the target activity panel tag in each activity panel tag currently displayed by the activity display control according to the tag weight acting on the target activity panel tag; determining the display position corresponding to the target data display component in each data display component currently displayed on the activity data panel according to the component weight acting on the target data display component.
8. 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 6.
9. A non-volatile storage medium, characterized in that: The computer program implemented according to any one of the methods described in claims 1 to 6 is stored 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
Advertisement information positioning and displaying method and corresponding device, equipment and medium thereof
CN111861561A
Information display method and device in live broadcast room, storage medium and electronic equipment
CN111866537A
Information display method, client, electronic equipment and storage medium
CN112969087A
Interactive method, device, system and computer readable storage medium in live video streaming
WO2019072096A1
Virtual gift special effect synthesis method and apparatus, and live streaming system
WO2021047430A1
