Live streaming interface processing method and apparatus, device and storage medium
By obtaining the layout information of the live broadcast interface and processing the theme layer view, the problem of complexity and low efficiency of live broadcast interface processing in the existing technology is solved, and more efficient content display is achieved.
Patent Information
- Application Number
- PCT/CN2024/087139
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2024-04-11
- Publication Date
- 2024-10-31
AI Technical Summary
When processing live video interfaces, especially Lianmai live broadcasts, in the existing technology, since the theme layer view is located above the streaming player layer, the background view needs to be divided into multiple sub-pictures, resulting in a complex and inefficient processing solution for the live broadcast interface. .
By obtaining the layout information of the live broadcast interface, including the position information of the microphone area, the corresponding area in the theme layer view is processed to display the content in the streaming player layer view, and the theme layer view is adjusted or cropped to avoid occlusion.
The processing efficiency of the live broadcast interface is improved, the processing process is simplified, and the content display effect is enhanced.
Smart Images

Figure CN2024087139_31102024_PF_FP_ABST
Abstract
Description
Live broadcast interface processing method, device, equipment and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese invention patent application with application number 202310485627.X, entitled "Processing method, device, equipment and storage medium for live broadcast interface" and filing date April 28, 2023, and the entire application is incorporated herein by reference. Technical Field
[0003] The embodiments of the present disclosure relate to the field of interface processing technology, and in particular to a method, apparatus, device, and storage medium for processing a live broadcast interface. Background Art
[0004] In recent years, live video streaming has brought people a more real-time experience. Live video streaming also includes the presentation of live broadcasting with microphones connected. In live broadcasting with microphones connected, multiple layers of views are displayed in the live broadcast interface, such as the theme layer view and the streaming player layer view. For the theme layer view, since its level is higher than the streaming player layer view, setting an integrated background view will obscure the content in the streaming player layer view. In the existing technology, it is necessary to split the background image into multiple sub-images, and then set the split sub-images in corresponding positions respectively, which makes the processing solution of the live broadcast interface more complicated and less efficient.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a method, apparatus, device, and storage medium for processing a live broadcast interface, which processes a theme layer view according to layout information, thereby improving the processing efficiency of the live broadcast interface.
[0007] In a first aspect, an embodiment of the present disclosure provides a method for processing a live broadcast interface, the method comprising:
[0008] Obtaining layout information of a live broadcast interface; wherein the layout information includes location information of at least one microphone area;
[0009] The area corresponding to the microphone area in the theme layer view is processed according to the layout information to display the content in the area corresponding to the microphone area in the stream pulling player layer view; wherein the theme layer view is located above the stream pulling player layer view.
[0010] In a second aspect, an embodiment of the present disclosure further provides a device for processing a live broadcast interface, the device comprising:
[0011] A layout information acquisition module, configured to acquire layout information of a live broadcast interface; wherein the layout information includes location information of at least one microphone area;
[0012] A view processing module is used to process the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the stream pulling player layer view; wherein, the theme layer view is located above the stream pulling player layer view.
[0013] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0014] one or more processors;
[0015] a storage device for storing one or more programs,
[0016] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for processing the live broadcast interface as described in the embodiment of the present disclosure.
[0017] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the method for processing a live broadcast interface as described in an embodiment of the present disclosure.
[0018] The disclosed embodiments disclose a method, apparatus, device, and storage medium for processing a live broadcast interface, the method comprising: obtaining layout information of the live broadcast interface; wherein the layout information includes location information of at least one microphone area; processing the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the stream player layer view; wherein the theme layer view is located above the stream player layer view. The method for processing the live broadcast interface provided by the disclosed embodiments directly processes the area corresponding to the microphone area in the theme layer view according to the layout information of the live broadcast interface to display the content in the area corresponding to the microphone area in the stream player layer view, thereby improving the processing efficiency of the live broadcast interface. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0020] FIG1 is a flow chart of a method for processing a live broadcast interface provided by an embodiment of the present disclosure;
[0021] FIG2a is an example diagram of a live broadcast interface processing provided by an embodiment of the present disclosure;
[0022] FIG2b is an example diagram of a live broadcast interface processing provided by an embodiment of the present disclosure;
[0023] FIG2c is an example diagram of a live broadcast interface processing provided by an embodiment of the present disclosure;
[0024] FIG3 is a schematic structural diagram of a device for processing a live broadcast interface provided by an embodiment of the present disclosure;
[0025] FIG4 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0028] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0033] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0034] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0035] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0036] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0037] Figure 1 is a flow chart of a method for processing a live broadcast interface provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to situations where a live broadcast interface is processed. The method can be executed by a processing device for the live broadcast interface, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal, a PC or a server, etc.
[0038] As shown in FIG1 , the method includes:
[0039] S110, obtaining layout information of the live broadcast interface.
[0040] The live broadcast interface includes at least one microphone area, and the live broadcast interface includes a theme layer view and a stream player layer view, and both the theme layer view and the stream player layer view include areas corresponding to the microphone areas. The layout information includes the location information of at least one microphone area, that is, the layout information includes the number of microphones included in the interface and the location of each microphone area. The location information of the microphone area may include the vertex coordinates and / or border length of the microphone area. For example, assuming the microphone area is rectangular, the location information of the microphone area may be represented by the coordinates of four vertices, or by the coordinates, height, and width of a vertex, or by the coordinates of two vertices on a diagonal. If the microphone area is polygonal, the location information of the microphone area may be represented by the coordinates of the multiple vertices that constitute the polygon. If the microphone area is circular, the microphone area may be represented by the coordinates of the circle's center and radius. The layout information may be pre-configured and the live broadcast user may select it as needed. For example, it may be a 1v6 layout (one host microphone and six guest microphones), a nine-square grid layout (the interface includes nine microphone areas), etc.
[0041] In this application scenario, the live broadcast interface can be used for live broadcast and microphone connection. For example, during a live broadcast, the host can interact with the audience via microphone, and the audience on the microphone can be called "guests." Or, multiple hosts can connect to each other via microphone. In this interface, the content of each connected microphone object in the microphone area of the stream player layer view needs to be displayed. Therefore, the theme layer view above the stream player layer view needs to be processed.
[0042] S120: Process the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the stream pulling player layer view.
[0043] Among them, the theme layer view is located above the stream player layer view. The theme layer view will block the content played in the area corresponding to the microphone area in the stream player layer view, so the theme layer view needs to be processed.
[0044] The area corresponding to the microphone area in the theme layer view can be understood as the area in the theme layer view that is located at the same position as the microphone area. In this embodiment, in order to display the content in the area corresponding to the microphone area in the stream player layer view, it is necessary to adjust the transparency of the area corresponding to the microphone area in the theme layer view, or to crop the area corresponding to the microphone area in the theme layer view.
[0045] Optionally, the process of processing the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view can be: obtaining the canvas and theme image corresponding to the theme layer view; processing the area corresponding to the microphone area in the canvas according to the layout information, and / or processing the area corresponding to the microphone area in the theme image according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view.
[0046] The canvas corresponding to the theme layer view can be understood as the canvas requested from the display system when drawing the theme layer view. The theme image is drawn on the canvas to obtain the theme layer view. The theme image can be an image selected by the user as the theme, an image stored locally by the user, downloaded from the server, or pre-configured by the application. This embodiment does not limit the method for obtaining the theme image or its content.
[0047] In this embodiment, the area in the canvas corresponding to the microphone position area is processed according to the layout information, and / or the area in the subject image corresponding to the microphone position area is processed according to the layout information. The processing methods include: one is to process the area in the canvas corresponding to the microphone position area according to the layout information; the other is to process the area in the canvas corresponding to the microphone position area according to the layout information, and process the area in the subject image corresponding to the microphone position area according to the layout information.
[0048] Optionally, the area corresponding to the microphone area in the canvas may be processed according to the layout information by adjusting the transparency of the area corresponding to the microphone area in the canvas according to the layout information; or cropping the area corresponding to the microphone area in the canvas according to the layout information.
[0049] Among them, transparency is a value between 0-1, "0" means completely transparent, and "1" means completely opaque. In this embodiment, in order to display the content in the area corresponding to the microphone area in the streaming player layer view, one way is to adjust the area corresponding to the microphone area in the theme layer view from completely opaque to partially transparent or completely transparent. That is, the transparency value needs to be adjusted from 1 to a value less than 1 (for example: 0.3). In this embodiment, in order to improve the display effect, the transparency can be adjusted directly from 1 to 0, that is, from completely opaque to completely transparent. Specifically, the process of adjusting the transparency of the area corresponding to the microphone area in the canvas according to the layout information can be: first, obtain the pixel points contained in the area corresponding to the microphone area in the canvas, and then adjust the transparency value of these pixel points to a value less than 1.
[0050] In this embodiment, another method for displaying the content in the area corresponding to the microphone area in the stream player layer view is to crop the area corresponding to the microphone area in the theme layer view. The process of cropping the area corresponding to the microphone area in the canvas based on the layout information can be: first, determining the position of the area corresponding to the microphone area in the canvas based on the layout information, and then cropping the area from the canvas.
[0051] In this embodiment, if the transparency of the area of the canvas corresponding to the microphone area is adjusted, the transparency of the theme image rendered on the canvas in the area corresponding to the microphone area will also be the adjusted value, that is, the content in this area will be partially or completely transparent, thereby allowing the content in the area corresponding to the microphone area in the stream player layer view to be displayed. If the area of the canvas corresponding to the microphone area is cropped, the theme image can only be rendered on the uncropped portion of the canvas, that is, the cropped portion will appear as a "hollowed-out" portion, thereby allowing the content in the area corresponding to the microphone area in the underlying stream player layer view to be displayed.
[0052] Optionally, the method of processing the area in the subject image corresponding to the microphone area according to the layout information can be: adjusting the transparency of the area in the subject image corresponding to the microphone area according to the layout information; or cropping the area in the subject image corresponding to the microphone area according to the layout information.
[0053] In this embodiment, to improve the display effect, the transparency of the area corresponding to the microphone position in the subject image can be directly adjusted from 1 to 0, that is, adjusted from completely opaque to completely transparent. Specifically, the process of adjusting the transparency of the area corresponding to the microphone position in the subject image based on the layout information can be: first, obtaining the pixels contained in the area corresponding to the microphone position in the subject image, and then adjusting the transparency values of these pixels to a value less than 1.
[0054] Specifically, the process of cropping the area corresponding to the microphone area in the subject image according to the layout information may be: first determining the position of the area corresponding to the microphone area in the subject image according to the layout information, and then cropping the area from the canvas.
[0055] Optionally, the process of processing the area in the canvas corresponding to the microphone area according to the layout information, and / or processing the area in the theme image corresponding to the microphone area according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view can be: obtaining a processed theme layer view based on the processed canvas and / or the processed theme image; and superimposing the processed theme layer view with the streaming player layer view to display the content in the area corresponding to the microphone area in the streaming player layer view.
[0056] In this embodiment, if the method for processing the area corresponding to the microphone position area in the theme layer view according to the layout information is to process the area corresponding to the microphone position area in the canvas according to the layout information, then the method for obtaining the processed theme layer view based on the processed canvas and / or the processed theme image is: rendering the unprocessed theme image onto the processed canvas. That is, when the theme image is not processed, the unprocessed theme image is rendered onto the processed canvas. If the method for processing the area corresponding to the microphone position area in the theme layer view according to the layout information is to process the area corresponding to the microphone position area in the canvas according to the layout information, and the area corresponding to the microphone position area in the theme image is processed according to the layout information, then the method for obtaining the processed theme layer view based on the processed canvas and / or the processed theme image is: rendering the processed theme image onto the processed canvas. That is, when the theme image is processed, the processed theme image is rendered onto the processed canvas to obtain the processed theme layer view.
[0057] Specifically, if the transparency of the area on the canvas corresponding to the microphone area is adjusted and the subject image is not processed, the subject image is rendered onto the canvas with the adjusted transparency. If the area on the canvas corresponding to the microphone area is cropped and the subject image is not processed, the subject image is rendered onto the cropped canvas. If the transparency of both the canvas and the area on the subject image corresponding to the microphone area is adjusted, the subject image with the adjusted transparency is rendered onto the canvas with the adjusted transparency. If both the canvas and the area on the subject image corresponding to the microphone area are cropped, the cropped subject image is rendered onto the cropped canvas. If the transparency of the area on the canvas corresponding to the microphone area is adjusted and the area on the subject image corresponding to the microphone area is cropped, the cropped subject image is rendered onto the canvas with the adjusted transparency. If the area on the canvas corresponding to the microphone area is cropped and the transparency of the area on the subject image corresponding to the microphone area is adjusted, the subject image with the adjusted transparency is rendered onto the cropped canvas.
[0058] Optionally, the process of superimposing the processed theme layer view with the stream pulling player layer view to display the content in the area corresponding to the microphone area in the stream pulling player layer view can be: superimposing the processed theme layer view on the stream pulling player layer view to display the content in the area corresponding to the microphone area in the stream pulling player layer view.
[0059] In this embodiment, the processed theme layer view is superimposed on the streaming player layer view to prevent the content in the area corresponding to the microphone area in the streaming player layer view from being blocked, thereby displaying the content in the area corresponding to the microphone area in the streaming player layer view.
[0060] Optionally, the process of processing the area corresponding to the microphone area in the canvas according to the layout information, and / or processing the area corresponding to the microphone area in the theme image according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view can also be: first superimposing the processed canvas with the streaming player layer view, and then rendering the processed theme image onto the canvas superimposed on the streaming player layer view, obtaining the processed theme layer view superimposed on the streaming player layer view, to display the content in the area corresponding to the microphone area in the streaming player layer view. In this embodiment, first superimposing the canvas with the streaming player layer view can improve the efficiency of theme layer view processing.
[0061] For example, Figures 2a-2c are example diagrams of the live broadcast interface processing in this embodiment. Figure 2a is the processed theme layer view. As can be seen from Figure 2a, the area corresponding to the microphone area in the theme layer view is "hollowed out". Figure 2b is the stream player layer view. As can be seen from Figure 2b, the screen of each connected microphone user is displayed in the corresponding microphone area. Figure 2c is the superposition of the theme layer view and the stream player layer view. As can be seen from Figure 2c, the microphone area displays the screen of each connected microphone user, and other areas display the content of the theme image.
[0062] The technical solution of the embodiment of the present disclosure obtains layout information of the live broadcast interface; wherein the layout information includes location information of at least one microphone area; the area corresponding to the microphone area in the theme layer view is processed according to the layout information to display the content in the area corresponding to the microphone area in the stream player layer view; wherein the theme layer view is located above the stream player layer view. The method for processing the live broadcast interface provided by the embodiment of the present disclosure directly processes the area corresponding to the microphone area in the theme layer view according to the layout information of the live broadcast interface to display the content in the area corresponding to the microphone area in the stream player layer view, thereby improving the processing efficiency of the live broadcast interface.
[0063] FIG3 is a schematic diagram of the structure of a processing device for a live broadcast interface provided by an embodiment of the present disclosure. The live broadcast interface includes at least one microphone area, and the live broadcast interface includes a theme layer view and a stream player layer view. As shown in FIG3 , the device includes:
[0064] The layout information acquisition module 310 is used to obtain layout information of the live broadcast interface; wherein the layout information includes location information of at least one microphone area;
[0065] The view processing module 320 is used to process the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view; wherein the theme layer view is located above the streaming player layer view.
[0066] Optionally, the view processing module 320 is further configured to:
[0067] Get the canvas and theme image corresponding to the theme layer view;
[0068] The area corresponding to the microphone area in the canvas is processed according to the layout information, and / or the area corresponding to the microphone area in the theme image is processed according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view.
[0069] Optionally, the view processing module 320 is further configured to:
[0070] The transparency of the area in the canvas corresponding to the microphone area is adjusted according to the layout information; or the area in the canvas corresponding to the microphone area is cropped according to the layout information.
[0071] Optionally, the view processing module 320 is further configured to:
[0072] The transparency of the area corresponding to the microphone area in the subject image is adjusted according to the layout information; or the area corresponding to the microphone area in the subject image is cropped according to the layout information.
[0073] Optionally, the view processing module 320 is further configured to:
[0074] Obtain a processed subject layer view based on the processed canvas and / or the processed subject image;
[0075] The processed theme layer view is superimposed on the stream pulling player layer view to display the content in the area corresponding to the microphone area in the stream pulling player layer view.
[0076] Optionally, the view processing module 320 is further configured to:
[0077] When the subject image is not processed, the unprocessed subject image is rendered onto the processed canvas; or, when the subject image is processed, the processed subject image is rendered onto the processed canvas to obtain a processed subject layer view.
[0078] Optionally, the view processing module 320 is further configured to:
[0079] The processed theme layer view is overlaid on the stream pulling player layer view to display the content in the area corresponding to the microphone area in the stream pulling player layer view.
[0080] Optionally, the position information of the microphone area includes vertex coordinates and / or border length of the microphone area.
[0081] The live broadcast interface processing device provided in the embodiment of the present disclosure can execute the live broadcast interface processing method provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
[0082] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0083] FIG4 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG4 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG4 ) 500 suitable for implementing an embodiment of the present disclosure is shown below. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG4 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0084] As shown in FIG4 , the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0085] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although FIG4 shows the electronic device 500 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0086] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0087] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0088] The electronic device provided by the embodiment of the present disclosure and the method for processing the live broadcast interface provided by the above embodiment belong to the same inventive concept. Technical details not fully described in this embodiment can be found in the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0089] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for processing the live broadcast interface provided in the above embodiment.
[0090] It should be noted that the computer-readable medium described above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0091] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0092] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0093] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0094] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device is enabled to: obtain the layout information of the live broadcast interface; wherein the layout information includes the location information of at least one microphone area; process the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the stream player layer view; wherein the theme layer view is located above the stream player layer view.
[0095] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0096] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0097] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."
[0098] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0099] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0100] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0101] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0102] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A method for processing a live broadcast interface, characterized in that: The method comprises: Acquire layout information of the live broadcast interface; wherein the layout information includes location information of at least one microphone area; The area corresponding to the microphone area in the theme layer view is processed according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view; wherein the theme layer view is located above the streaming player layer view.
2. The method according to claim 1, characterized in that Processing the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the stream pulling player layer view; including: Obtain the canvas and theme image corresponding to the theme layer view; The area in the canvas corresponding to the microphone area is processed according to the layout information, and / or the area in the theme image corresponding to the microphone area is processed according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view.
3. The method according to claim 2, characterized in that Processing an area in the canvas corresponding to the microphone area according to the layout information includes: The transparency of the area in the canvas corresponding to the microphone area is adjusted according to the layout information; or the area in the canvas corresponding to the microphone area is cropped according to the layout information.
4. The method according to claim 2, characterized in that: Processing the area corresponding to the microphone position area in the subject image according to the layout information includes: The transparency of the area corresponding to the microphone position area in the subject image is determined according to the layout information. or, cropping the area in the subject image corresponding to the microphone position area according to the layout information.
5. The method according to claim 2, characterized in that: Processing the area corresponding to the microphone area in the canvas according to the layout information, and / or processing the area corresponding to the microphone area in the theme image according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view, including: Obtain a processed subject layer view based on the processed canvas and / or the processed subject image; The processed theme layer view is superimposed on the streaming player layer view to display the content in the area corresponding to the microphone position area in the streaming player layer view.
6. The method according to claim 5, characterized in that Get a processed subject layer view based on a processed canvas and / or a processed subject image, including: When the subject image is not processed, the unprocessed subject image is rendered onto the processed canvas; or, when the subject image is processed, the processed subject image is rendered onto the processed canvas to obtain a processed subject layer view.
7. The method according to claim 5, characterized in that Overlaying the processed theme layer view with the streaming player layer view to display the content in the area corresponding to the microphone position area in the streaming player layer view, including: The processed theme layer view is superimposed on the streaming player layer view to display the content in the area corresponding to the microphone position area in the streaming player layer view.
8. The method according to claim 1, characterized in that The position information of the microphone area includes vertex coordinates and / or border length of the microphone area.
9. A live broadcast interface processing device, characterized in that: The device comprises: A layout information acquisition module, used to acquire layout information of the live broadcast interface; wherein the layout information includes location information of at least one microphone area; A view processing module is used to process the area corresponding to the microphone area in the theme layer view according to the layout information to display the content in the area corresponding to the microphone area in the streaming player layer view; wherein the theme layer view is located above the streaming player layer view.
10. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the live broadcast interface processing method as described in any one of claims 1-8.
11. A storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the live broadcast interface processing method as described in any one of claims 1-8.
Citation Information
Patent Citations
Layer mixing method and device based on open graphics library (OpenGL)
CN104038807A
Video live-broadcasting method and device, and computer equipment
CN108810599A
Display method and device, equipment and storage medium
CN114217889A
Live broadcast page display method and device, equipment, storage medium and program product
CN115174946A
Accelerating Video from an Arbitrary Graphical Layer
US20130129324A1
