Live broadcast interaction processing method and device

By converting live interactive data objects into universal data and generating templates, the problem in the existing technology of developing separate frameworks for each live PK gameplay is solved, realizing the reuse and flexible combination of components, improving development efficiency and reducing costs. .

CN119364033APending Publication Date: 2025-01-24SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411412150.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

When the existing technology supports multiple live PK gameplay, it is necessary to develop a separate technical framework for each gameplay, resulting in high development costs, complex maintenance and expansion, and inflexible.

Method used

By receiving the first interactive data objects for the target live broadcast room, it converts it to the second interactive data object that meets the preset specifications, and generates live interactive templates based on this to create a live interactive page. The relevant components of different PK game methods can be combined to reuse to reduce development and repetition.

Benefits of technology

It improves development efficiency, reduces development costs, simplifies subsequent maintenance and expansion, and enables the reuse and flexible combination of various PK gameplay components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364033A_ABST
    Figure CN119364033A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a live broadcast interaction processing method. The live broadcast interaction processing method comprises the following steps: receiving a first interaction data object for a target live broadcast room; converting the first interactive data object into a second interactive data object, wherein the second interactive data object is universal data conforming to a preset specification; generating a live broadcast interaction template based on the second interaction data object; and creating a live broadcast interaction page according to the live broadcast interaction template. According to the technical scheme provided by the embodiment of the invention, the development efficiency can be improved, the development cost is reduced, and subsequent maintenance and expansion are more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of Internet technology, and in particular to a live interactive processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] With the rapid development of the live broadcast industry, the demand for live broadcast interaction is becoming more and more diversified. As an important gameplay in live broadcast interaction, live broadcast PK has gradually attracted widespread attention and love. The existing live broadcast PK gameplay has developed into various forms, such as classic PK gameplay, random PK gameplay, invitation PK, etc.

[0003] However, in the prior art, in order to support multiple PK gameplays, it is usually necessary to develop a corresponding technical framework for each gameplay separately, which not only increases the development cost, but also makes subsequent maintenance and expansion complicated and inflexible.

[0004] It should be noted that the above content is not necessarily prior art, nor is it intended to limit the scope of patent protection of this application. Summary of the invention

[0005] The embodiments of the present application provide a live interactive processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product to solve or alleviate one or more of the technical problems raised above.

[0006] An aspect of an embodiment of the present application provides a live interactive processing method, the method comprising:

[0007] Receiving a first interactive data object for a target live broadcast room;

[0008] Converting the first interactive data object into a second interactive data object, wherein the second interactive data object is general data that complies with a preset specification;

[0009] Generate a live interactive template based on the second interactive data object; and

[0010] Create a live interactive page based on the live interactive template.

[0011] Optionally, converting the first interaction data object into a second interaction data object includes:

[0012] The first live broadcast interaction data objects are uniformly converted into the first live broadcast interaction data objects through a live broadcast interaction adapter.

[0013] Optionally, generating a live interactive template based on the second interactive data object includes:

[0014] Obtaining the interaction mode in the second interaction data object by parsing the second interaction data object; and

[0015] The live interactive template is created based on the interactive mode.

[0016] Optionally, creating the live interactive template based on the interactive mode includes:

[0017] Initialize multiple related components of the user interface and create corresponding view management objects; and

[0018] The view management object is associated with the plurality of related components to form a two-way data binding between the view management object and the plurality of related components.

[0019] Optionally, creating the live interactive template based on the interactive mode includes:

[0020] Combining the multiple related components based on the interaction mode to generate the live interaction template;

[0021] Render the live interactive template to the user interface.

[0022] Optionally, used in a live interactive processing architecture;

[0023] The live interactive processing architecture includes: a basic service layer, a business logic layer, an intermediate packaging layer and a user interface layer;

[0024] The basic service layer is used to provide basic data related to live broadcast interaction and define a basic data model of a live broadcast interaction template;

[0025] The business logic layer is used to process the basic data provided by the basic service layer;

[0026] The intermediate packaging layer is used to obtain the data model provided by the basic service layer and the status information provided by the business logic layer, and adapt to the user interface layer;

[0027] The user interface layer is used to receive the data provided by the intermediate packaging layer and display the data on the user interface.

[0028] Optionally, the intermediate packaging layer includes a layout container; the layout container is used to:

[0029] Determine the display position of each of the related components on the user interface according to the live interactive template;

[0030] Each of the related components is arranged at a corresponding display position of the user interface.

[0031] Another aspect of the embodiments of the present application provides a live interactive processing device, the device comprising:

[0032] Another aspect of an embodiment of the present application provides a computer device, including:

[0033] at least one processor; and

[0034] a memory communicatively coupled to the at least one processor;

[0035] Wherein: the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.

[0036] Another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method described above is implemented.

[0037] Another aspect of an embodiment of the present application provides a computer program product, including a computer program, which implements the method described above when executed by a processor.

[0038] The embodiment of the present application adopts the above technical solution and may include the following advantages: by receiving the first interactive data object for the target live broadcast room, converting the first interactive data object into a second interactive data object, and generating a live interactive template based on the second interactive data object. The live interaction may be a live PK. Different live interactive modules can combine related components in different PK gameplays, so that components of various PK gameplays can be reused, that is, through the live interactive template combination when needed, thereby improving development efficiency, reducing development costs, and making subsequent maintenance and expansion more convenient. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0040] Figure 1 The flowchart of the live interactive processing method according to the first embodiment of the present application is schematically shown;

[0041] Figure 2 Schematically shows Figure 1 Flow chart of sub-steps of step S104;

[0042] Figure 3 Schematically shows Figure 2 Flow chart of sub-steps of step S202;

[0043] Figure 4 Schematically shows Figure 2 Flow chart of sub-steps of step S202;

[0044] Figure 5 The live interactive processing architecture diagram according to the first embodiment of the present application is schematically shown;

[0045] Figure 6 The following schematically shows an application example diagram according to the first embodiment of the present application;

[0046] Figure 7 A block diagram of a live interactive processing device according to Embodiment 2 of the present application is schematically shown; and

[0047] Figure 8 The hardware architecture diagram of the computer device according to the third embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0049] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0050] In the description of the present application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed, but are only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as a limitation on the present application.

[0051] First, the following terms are explained:

[0052] Live PK: refers to two or more anchors competing through real-time live broadcast. The audience can participate in it by giving gifts, voting, etc. to support their favorite anchor.

[0053] Secondly, in order to facilitate those skilled in the art to understand the technical solutions provided by the embodiments of the present application, the relevant technologies are described below. The applicant understands that, in the prior art, in order to support multiple PK gameplays, it is usually necessary to develop a corresponding technical framework for each gameplay separately, which not only increases the development cost, but also makes subsequent maintenance and expansion complicated and inflexible.

[0054] To this end, the embodiment of the present application provides a live interactive processing technical solution. In this technical solution: related components in different PK gameplays are combined, and related components can be reused in other PK gameplays in the form of plug-ins, thereby greatly improving development efficiency and facilitating maintenance. See below for details.

[0055] The technical solutions of the present application are described below through multiple embodiments. It should be noted that these embodiments can be implemented in a variety of different forms and should not be construed as being limited to the embodiments described here.

[0056] Embodiment 1

[0057] Figure 1 The flowchart of the live interactive processing method according to the first embodiment of the present application is schematically shown.

[0058] like Figure 1 As shown, the live interactive processing method may include steps S100 to S106, wherein:

[0059] Step S100, receiving a first interactive data object for a target live broadcast room.

[0060] Step S102: converting the first interactive data object into a second interactive data object, wherein the second interactive data object is general data conforming to a preset specification.

[0061] Step S104: Generate a live interactive template based on the second interactive data object.

[0062] Step S106, creating a live interactive page according to the live interactive template.

[0063] The live interactive processing method provided in this embodiment receives a first interactive data object for a target live broadcast room, converts the first interactive data object into a second interactive data object, and generates a live interactive template based on the second interactive data object. The live interactive can be a live PK. Different live interactive modules can combine related components in different PK gameplays, so that components of various PK gameplays can be reused, that is, combined through live interactive templates when needed, thereby improving development efficiency, reducing development costs, and making subsequent maintenance and expansion more convenient.

[0064] The following combination Figure 1 , each step in steps S100 to S106 and other optional steps are described in detail.

[0065] Step S100 , receiving the first interactive data object for the target live broadcast room.

[0066] Exemplarily, the data of the first interactive data object may have multiple data sources, such as room entry interface and broadcast. The room entry interface is an application program interface defined by the server for access through a standard network request. In some embodiments, the standard network request may be an HTTPS protocol, which may be used to encrypt information when transmitting data between the client and the server. Broadcast is a real-time data update mechanism actively pushed by the server. The user end has two data sources, one is the room entry interface and the other is the broadcast.

[0067] Step S102 , converting the first interactive data object into a second interactive data object, wherein the second interactive data object is general data that complies with a preset specification.

[0068] The first live interactive data object can contain PK member information (such as identity information, nickname, PK points, win-loss relationship, etc.), gameplay information (such as PK prop cards, lore gameplay), and PK configuration (such as preparation time, start time, freeze time, penalty time, etc.). Through standardized processing, the first interactive data object is converted into a standard second interactive data object that meets the preset specifications, achieving data standardization and normalization, and avoiding the problem of different data needing to write different processing logic separately.

[0069] In an optional embodiment, step S102 includes: converting the first interactive data object into the first live interactive data object through a live interactive adapter. The live interactive adapter can be a data conversion tool for converting and standardizing data from different sources and structures. The live interactive adapter can identify and process the first interactive data object and convert it into a standard format preset by the platform, i.e., a second interactive data object.

[0070] In this embodiment, through standardized processing of the live interactive adapter, the first interactive data object is uniformly converted into the first live interactive data object, thereby achieving data standardization and normalization, facilitating subsequent processing and reuse, and reducing the complexity of development and maintenance.

[0071] Step S104 , generate a live interactive template based on the second interactive data object.

[0072] Exemplarily, the live interactive templates may be classic PK templates, random PK templates, and invitation PK templates. Classic PK is a live PK interactive gameplay based on two hosts conducting non-joined video streams and non-connected screens. In the matching stage, you need to join the matching pool first, and then the PK system randomly pulls up two hosts for PK interaction. Random PK is a PK interactive gameplay based on two hosts conducting confluence and video connection. In the matching stage, you need to join the matching pool first, and then the PK system randomly pulls up two hosts for PK interaction. Invitation PK is a PK interactive gameplay based on two hosts conducting confluence and video connection. Before initiating, you need to know clearly who the other party is and it is a directional PK interaction conducted in the broadcasting state.

[0073] In an optional embodiment, if Figure 2 As shown, step S104 may include:

[0074] Step S200: acquiring the interaction mode in the second interaction data object by parsing the second interaction data object.

[0075] Step S202, creating the live interactive template based on the interactive mode.

[0076] Exemplarily, parsing the second interactive data object may include reading data fields, identifying data types, and understanding the meaning of the data. In some embodiments, the second interactive data object may be distributed to a PK factory method, where a factory method defines an interface for creating an object but lets the subclass decide which class to instantiate. For example, the interactive mode may be pkType (first type) and pkSubType (second type), which are used to confirm the type of live interactive template to be created. When pkType=1 and pkSubTyp=0, a classic PK template is created; when pkType=8 and pkSubTyp=100, a multiplayer PK template is created, etc.

[0077] In this embodiment, the corresponding live interactive template is generated according to the interactive mode, and the live interactive template that adapts to different interactive modes and scenes can be created to improve diversity. In addition, the live interactive template can avoid the need to develop a corresponding technical framework for each gameplay, thereby reducing development costs and facilitating subsequent maintenance and expansion.

[0078] In an optional embodiment, if Figure 3 As shown, step S202 may include:

[0079] Step S300, initializing multiple related components of the user interface and creating corresponding view management objects.

[0080] Step S302: Associating the view management object with the multiple related components to form a two-way data binding between the view management object and the multiple related components.

[0081] Exemplarily, multiple related components of the user interface can be PK bar components, countdown components, assist seat components, start animation components, end animation components, PK prop card components and lore gameplay components. Initialization is to configure multiple related components of these user interfaces to the initial state, so as to facilitate the subsequent use of each related component. Creating a corresponding view management object can be creating a corresponding view logic layer ViewModel. ViewModel is a view model responsible for managing user interface data and business logic, which can serve as a bridge between the user interface and background data. After forming a two-way data binding, data state changes occur during the live interaction process (such as, at the beginning, playing PK animation, giving gifts in live PK triggers PK score refresh, PK settlement animation, etc.), and ViewModel will synchronize the corresponding state to the relevant components of the user interface.

[0082] In this embodiment, by associating view management objects and related components to form a two-way data binding, the background data and the user interface are kept synchronized, so that the user interface can accurately reflect the current state of the data and the user's operations can be correctly reflected in the data.

[0083] In an optional embodiment, if Figure 4 As shown, step S202 may include:

[0084] Step S400, combining the multiple related components based on the interaction mode to generate the live interaction template.

[0085] Step S402, rendering the live interactive template to the user interface.

[0086] Exemplarily, different related components need to be assembled according to different interaction modes to generate corresponding live interaction templates. When the interaction mode is classic PK, assemble the basic components related to PK, such as PK bar, countdown, start animation and settlement animation. When the interaction mode is invitation PK, etc., which requires two people to merge data and connect video, you can also assemble additional customized components, such as PK prop cards and lore gameplay and other related components. The rendering process is to convert abstract data objects and user interface components into specific visual elements and present them on the user interface. After rendering, the live interactive template can be displayed on the user's device (such as mobile phone, computer, etc.), allowing users to perform interactive operations, such as participating in PK, sending gifts, commenting, etc.

[0087] In this embodiment, by combining related components in different PK gameplay into a live interactive template, and reusing related components in other PK gameplay in the form of plug-ins, the development efficiency is improved, the development cost is reduced, and subsequent maintenance and expansion are more convenient.

[0088] Step S106 , create a live interactive page according to the live interactive template.

[0089] Through the live broadcast interaction template, a corresponding live broadcast interaction page is created, and the rendered live broadcast interaction template is displayed on the corresponding live broadcast interaction page to facilitate user interaction operations.

[0090] In an optional embodiment, it is used in a live interactive processing architecture, such as Figure 5 As shown, the live interactive processing architecture includes: a basic service layer, a business logic layer, an intermediate packaging layer and a user interface layer (UI layer). The basic service layer is used to provide basic data related to live interactive, and define the basic data model of the live interactive template. The basic service layer can also be used to define the basic data model of the live interactive module. In some optional embodiments, it includes data management such as PK status, user information, room information, etc., and is responsible for processing PK-related data acquisition, preservation and persistence, etc. For example, in different scenarios, the data source is diverse, such as Socket (the endpoint for communicating parties to transmit data on the network, which can be an interface between the application and the network, allowing different programs to communicate through the network), polling interface, other business provision, etc. The basic service layer can also provide different strategy modes to implement different scenarios. Different data sources can be selected in different scenarios, and different behaviors can be achieved by combining different strategies (data sources).

[0091] The business logic layer is used to process the basic data provided by the basic service layer. The business logic layer can also be used to implement PK business logic, including PK matching invitation, PK ongoing logic processing, etc. For example, PK state machine (a state machine is a mathematical model or computer program used to describe the state transition behavior of a system under specific conditions), mutually exclusive business, etc. The business logic layer relies on the data model and data source provided by the basic service layer.

[0092] The intermediate packaging layer is used to obtain the data model provided by the basic service layer (such as room page information, user state information and PK information, etc.) and the status information provided by the business logic layer (such as the horizontal and vertical screen status of the live broadcast room, PK process status, preparation state, progress state, freeze state and penalty state, etc.), and adapt to the user interface layer. The intermediate packaging layer can also be used for logic adaptation, interface encapsulation, error handling, etc. For example, logic adaptation adapts the underlying business logic to the logic of the upper user interface layer (UI layer) so that data is correctly transmitted and processed. By encapsulating the underlying interface, a high-level interface is provided for the user interface layer to use. Interact with the basic service layer to obtain data models and status information. Interact with the business logic layer, encapsulate the underlying interface, provide a high-level interface to interact with the business logic layer, encapsulate the underlying interface, provide a high-level interface to interact with the user interface layer, and transmit the adapted data. The user interface layer (UI layer) is used to receive the data provided by the intermediate packaging layer and display the data to the user interface.

[0093] In this embodiment, the live interactive processing architecture is divided into a basic service layer, a business logic layer, an intermediate packaging layer and a user interface layer. Each layer is responsible for different functions, thereby modularly managing the live interactive processing and improving the maintainability, scalability and development efficiency of the live interactive processing.

[0094] In an optional embodiment, the intermediate packaging layer includes a layout container, and the layout container is used to: determine the display position of each of the related components in the user interface according to the live interactive template. Set each of the related components at the corresponding display position of the user interface. The user interface layer also needs to provide a layout container in the middle layer of the intermediate package. The layout container is used to manage the layout of various user interface related components, dynamically calculate the position of the user interface through the plug-in, and place the related components at the specified position.

[0095] In this embodiment, different live interactive templates can be adaptively displayed on the user interface by planning the layout of the layout container and assembling and configuring different related components.

[0096] In order to make this application easier to understand, the following Figure 6 An exemplary application is provided.

[0097] In this exemplary application, taking the user entering the room as an example, the operation process is as follows:

[0098] S1: When a user enters the live broadcast room, the room entry network interface returns the first interactive data object Object A (PKData).

[0099] S2: The first interactive data is transparently transmitted to the intermediate packaging layer. Through the live interactive adapter, the first interactive data object (Object A) is converted into a second interactive data object (Object B), which is a general data object.

[0100] S3: Distribute the converted second interactive data object to the PK factory.

[0101] PK factory means defining an interface for creating objects, but letting subclasses decide which class to instantiate.

[0102] S4: The PK factory creates different live interactive templates (PK templates) according to the interactive mode (ObjectB.pkType and ObjectB.pkSubType) in the second interactive data object.

[0103] S5: When pkType=1 and pkSubType=0, create a classic PK template; when pkType=2 and pkSubType=0, create a random PK template; when pkType=6 and pkSubType=0, create an invitation PK template; when pkType=6 and pkSubType=89, create a gold battle PK template; when pk Type=8 and pkSubType=100, create a multiplayer PK template.

[0104] In this exemplary application: related components in different live interactive gameplays are combined, and related components can be reused in other live interactive gameplays in the form of plug-ins, thereby greatly improving development efficiency and facilitating maintenance.

[0105] Embodiment 2

[0106] Figure 7 The block diagram of the live interactive processing device according to the second embodiment of the present application is schematically shown. The device can be divided into one or more program modules, one or more program modules are stored in a storage medium, and are executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can complete specific functions. The following description will specifically introduce the functions of each program module in this embodiment. Figure 7As shown, the apparatus 1600 may include: a receiving module 1610, a conversion module 1620, a generation module 1630 and a creation module 1640, wherein:

[0107] The receiving module 1610 is used to receive a first interactive data object for a target live broadcast room;

[0108] A conversion module 1620, configured to convert the first interactive data object into a second interactive data object, wherein the second interactive data object is general data conforming to a preset specification;

[0109] A generating module 1630, configured to generate a live interactive template based on the second interactive data object;

[0110] The creation module 1640 is used to create a live interactive page according to the live interactive template.

[0111] As an optional embodiment, converting the first interactive data object into a second interactive data object includes:

[0112] The first interactive data objects are uniformly converted into the second interactive data objects through a live interactive adapter.

[0113] As an optional embodiment, generating a live interactive template based on the second interactive data object includes:

[0114] Obtaining the interaction mode in the second interaction data object by parsing the second interaction data object; and

[0115] The live broadcast interaction template is created based on the interaction mode. The live broadcast interaction template is created based on the interaction mode, including:

[0116] Initialize multiple related components of the user interface and create corresponding view management objects; and

[0117] The view management object is associated with the plurality of related components to form a two-way data binding between the view management object and the plurality of related components.

[0118] As an optional embodiment, the creating the live interactive template based on the interactive mode includes:

[0119] Combining the multiple related components based on the interaction mode to generate the live interaction template;

[0120] Render the live interactive template to the user interface.

[0121] As an optional embodiment, it is used in a live interactive processing architecture;

[0122] The live interactive processing architecture includes: a basic service layer, a business logic layer, an intermediate packaging layer and a user interface layer;

[0123] The basic service layer is used to provide basic data related to live broadcast interaction and define a basic data model of a live broadcast interaction template;

[0124] The business logic layer is used to process the basic data provided by the basic service layer;

[0125] The intermediate packaging layer is used to obtain the data model provided by the basic service layer and the status information provided by the business logic layer, and adapt to the user interface layer;

[0126] The user interface layer is used to receive the data provided by the intermediate packaging layer and display the data on the user interface.

[0127] As an optional embodiment, the intermediate packaging layer includes a layout container; the layout container is used for:

[0128] Determine the display position of each of the related components on the user interface according to the live interactive template;

[0129] Each of the related components is arranged at a corresponding display position of the user interface.

[0130] Embodiment 3

[0131] Figure 8 The schematic diagram of the hardware architecture of a computer device 10000 suitable for implementing the live interactive processing method according to the third embodiment of the present application is shown schematically. In some embodiments, the computer device 10000 may be a terminal device such as a smart phone, a wearable device, a tablet computer, a personal computer, a vehicle terminal, a game console, a virtual device, a workbench, a digital assistant, a set-top box, a robot, etc. In other embodiments, the computer device 10000 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. Figure 8 As shown, the computer device 10000 includes but is not limited to: a memory 10010, a processor 10020, and a network interface 10030 that can communicate with each other through a system bus. Among them:

[0132] The memory 10010 includes at least one type of computer-readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (such as an SD or DX memory), a random access memory (RAM), a static random access memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 10010 may be an internal storage module of the computer device 10000, such as a hard disk or a memory of the computer device 10000. In other embodiments, the memory 10010 may also be an external storage device of the computer device 10000, such as a plug-in hard disk equipped on the computer device 10000, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 10010 may also include both the internal storage module of the computer device 10000 and its external storage device. In this embodiment, the memory 10010 is generally used to store the operating system and various application software installed on the computer device 10000, such as the program code of the live interactive processing method, etc. In addition, the memory 10010 can also be used to temporarily store various data that have been output or will be output.

[0133] In some embodiments, the processor 10020 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other chips. The processor 10020 is generally used to control the overall operation of the computer device 10000, such as performing control and processing related to data interaction or communication with the computer device 10000. In this embodiment, the processor 10020 is used to run the program code stored in the memory 10010 or process data.

[0134] The network interface 10030 may include a wireless network interface or a wired network interface, and the network interface 10030 is generally used to establish a communication link between the computer device 10000 and other computer devices. For example, the network interface 10030 is used to connect the computer device 10000 to an external terminal through a network, and to establish a data transmission channel and a communication link between the computer device 10000 and the external terminal. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.

[0135] It should be pointed out that Figure 8 Only a computer device having components 10010 - 10030 is shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.

[0136] In this embodiment, the live interactive processing method stored in the memory 10010 can also be divided into one or more program modules and executed by one or more processors (such as processor 10020) to complete the embodiment of the present application.

[0137] Embodiment 4

[0138] An embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the live interactive processing method in the embodiment are implemented.

[0139] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEP ROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the computer-readable storage medium can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store the operating system and various application software installed on the computer device, such as the program code of the live interactive processing method in the embodiment. In addition, the computer-readable storage medium can also be used to temporarily store various types of data that have been output or are to be output.

[0140] Embodiment 5

[0141] An embodiment of the present application also provides a computer program product, including a computer program, which implements the method in the above embodiment when executed by a processor.

[0142] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by general-purpose computer devices, they can be concentrated on a single computer device, or distributed on a network composed of multiple computer devices, optionally, they can be implemented by executable program codes of computer devices, so that they can be stored in a storage device and executed by the computer device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0143] It should be noted that the above are only preferred embodiments of the present application, and the patent protection scope of the present application is not limited thereto. Any equivalent structure or equivalent process transformation made using the contents of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A live interactive processing method, characterized in that: The method comprises: Receiving a first interactive data object for a target live broadcast room; Converting the first interactive data object into a second interactive data object, wherein the second interactive data object is general data that complies with a preset specification; Generate a live interactive template based on the second interactive data object; and Create a live interactive page based on the live interactive template.

2. The method according to claim 1, characterized in that Converting the first interactive data object into a second interactive data object comprises: The first interactive data objects are uniformly converted into the second interactive data objects through a live interactive adapter.

3. The method according to claim 1, characterized in that Generating a live interactive template based on the second interactive data object includes: Obtaining the interaction mode in the second interaction data object by parsing the second interaction data object; and The live interactive template is created based on the interactive mode.

4. The method according to claim 3, characterized in that The creating the live interactive template based on the interactive mode includes: Initialize multiple related components of the user interface and create corresponding view management objects; and The view management object is associated with the plurality of related components to form a two-way data binding between the view management object and the plurality of related components.

5. The method according to claim 4, characterized in that The creating the live interactive template based on the interactive mode includes: Combining the multiple related components based on the interaction mode to generate the live interaction template; Render the live interactive template to the user interface.

6. The method according to claim 1, characterized in that Used in live interactive processing architecture; The live interactive processing architecture includes: a basic service layer, a business logic layer, an intermediate packaging layer and a user interface layer; The basic service layer is used to provide basic data related to live broadcast interaction and define a basic data model of a live broadcast interaction template; The business logic layer is used to process the basic data provided by the basic service layer; The intermediate packaging layer is used to obtain the data model provided by the basic service layer and the status information provided by the business logic layer, and adapt to the user interface layer; The user interface layer is used to receive the data provided by the intermediate packaging layer and display the data on the user interface.

7. The method according to claim 6, characterized in that The intermediate packaging layer includes a layout container; the layout container is used to: Determine the display position of each of the related components on the user interface according to the live interactive template; Each of the related components is arranged at a corresponding display position of the user interface.

8. A live interactive processing device, characterized in that: The device comprises: A receiving module, used for receiving a first interactive data object for a target live broadcast room; A conversion module, used to convert the first interactive data object into a second interactive data object, wherein the second interactive data object is general data that complies with a preset specification; A generating module, used for generating a live interactive template based on the second interactive data object; A creation module is used to create a live interactive page based on the live interactive template.

9. A computer device, characterized in that: include: at least one processor; and a memory communicatively connected to the at least one processor; wherein: The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to claims 1 to 7 are implemented.