Livestreaming interface processing method and apparatus, device, and storage medium
By determining the wheat position type in the live broadcast interface and processing multi-layer views according to the type, the problem of low display efficiency and insufficient diversity in the live broadcast interface in the existing technology is solved, and a more efficient wheat position area display and continuous wheat interactive experience are achieved.
Patent Information
- Application Number
- PCT/CN2024/081763
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-16
- Filing Date
- 2024-03-14
- Publication Date
- 2024-09-19
AI Technical Summary
It is difficult to achieve diversified display in the existing video live broadcast interface, and the implementation efficiency of diversified display is low. Especially in the live broadcast scenario of continuous wheat, the theme of the empty wheat position does not display the theme, resulting in the empty wheat position being unable to adapt to the theme.
By determining the wheat position type of each wheat position area (video wheat position, voice wheat position or empty wheat position), multi-layer views are processed according to the type, including cropping the theme layer view, adjusting the transparency and rendering target of the wheat position layer view Images to ensure that different types of wheat position areas are displayed in different forms.
It improves the display efficiency and diversity of the live broadcast interface, ensures that the empty wheat space area matches the theme, and enhances the visual effects and interactive experience of continuous wheat.
Smart Images

Figure CN2024081763_19092024_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 patent application filed with the State Intellectual Property Office of China on March 16, 2023, with application number 202310271937.1 and invention name “Processing method, device, equipment and storage medium for live broadcast interface”, the entire contents of which are incorporated by reference into this application. 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. This also includes live streaming with microphones. In these live streaming scenarios, the live interface either cannot implement diverse displays, or the implementation of diverse displays is complex and inefficient.
[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 enrich the display mode of microphone positions and improve display efficiency.
[0007] In a first aspect, an embodiment of the present disclosure provides a method for processing a live broadcast interface, wherein the live broadcast interface includes multiple layers of views and at least one microphone area; the method includes:
[0008] For each microphone area, determining a microphone type of the microphone area; wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone;
[0009] At least part of the multiple views is processed according to the microphone type.
[0010] In a second aspect, an embodiment of the present disclosure further provides a device for processing a live broadcast interface, wherein the live broadcast interface includes multiple layers of views and at least one microphone area; the device includes:
[0011] a microphone type determination module, configured to determine, for each microphone area, a microphone type of the microphone area; wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone;
[0012] A view processing module is configured to process at least part of the multiple views according to the microphone position type.
[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 embodiments of the present disclosure disclose a method, apparatus, device, and storage medium for processing a live broadcast interface. The live broadcast interface includes multiple layers of views, and the live broadcast interface includes at least one microphone area. The method includes: for each microphone area, determining the microphone type of the microphone area; wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone; and processing at least part of the multiple layers of views according to the microphone type. 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] FIG2 is an example diagram of a live broadcast interface provided by an embodiment of the present disclosure;
[0022] FIG3 is a schematic diagram of a method for processing a live broadcast interface according to an embodiment of the present disclosure;
[0023] FIG4 is a structural diagram of a processing device for a live broadcast interface provided by an embodiment of the present disclosure;
[0024] FIG5 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] 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.
[0026] 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.
[0027] 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.
[0028] 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.
[0029] 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".
[0030] 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.
[0031] 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.
[0032] 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.
[0033] 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.
[0034] 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.
[0035] 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.
[0036] In the related art, the rendering layers of the video live broadcast room can be the microphone layer, the theme layer and the stream player layer from top to bottom. The theme layer view is not displayed in the entire microphone area (that is, the user can only see the theme outside the microphone area). For the microphone position with the video on it, the view of the microphone layer is not displayed, so that the video below the microphone layer can be seen. For the microphone position that is not on the video, the set color is added to the view of the microphone layer. The above method has the following defects: the empty microphone position theme does not display the theme, so that the empty microphone position cannot adapt to the theme well.
[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 views of a live broadcast interface are 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: For each microphone area, determine the microphone type of the microphone area.
[0040] Among them, the microphone type includes any of the following: video microphone, voice microphone and empty microphone. In this embodiment, the anchor can interact with the audience in the live broadcast room through the microphone during the live broadcast. The audience who use the microphone can be called "guests". The guest can choose to use the video microphone or the voice microphone. If the video microphone is selected, the video image can be displayed in the corresponding microphone area and the audio can be played in the live broadcast room; if the voice microphone is selected, the microphone area will not display the video image of the guest, but the audio of the guest can be played in the live broadcast room. An empty microphone can be understood as a microphone area where no audience member uses the microphone.
[0041] In this embodiment, the live broadcast interface includes three layers of views, and the live broadcast interface includes at least one microphone area. The three layers of views are: microphone layer view, theme layer view and stream player layer view. For example, Figure 2 is an example diagram of a live broadcast interface in this embodiment. As shown in Figure 2, the live broadcast interface includes three layers of views, which are the microphone layer view, theme layer view and stream player layer view from top to bottom, and includes 9 microphone areas, that is, the host can interact with 9 viewers at the same time. Among them, the number of microphone areas is pre-set when developing the live broadcast room, or it can be selected by the host when starting the broadcast, and is not limited here.
[0042] Specifically, the method for determining the microphone position type of the microphone position area may be: obtaining a field identifier related to the type of the microphone position area; and determining the microphone position type of the microphone position area according to the field identifier.
[0043] Among them, the field identifier can be obtained from the server. In this embodiment, the client can obtain relevant information of each microphone area from the server, and the relevant information includes a type-related field identifier. The specific field in the field identifier can indicate the current microphone type of each microphone area. If the microphone type is a video microphone, it means that the guest at the microphone position and the host are connected by video; if the microphone type is a voice microphone, it means that the guest at the microphone position and the host are connected by voice; if the microphone type is an empty microphone, it means that there is no guest connected to the microphone. In this embodiment, the microphone type is determined by the field identifier related to the microphone type, and the microphone type of each microphone area can be accurately determined.
[0044] S120: Process at least part of the multi-layer views according to the microphone position type.
[0045] In this embodiment, different microphone types display different content. For video microphones, the guest's video stream can be displayed in the microphone area; for voice microphones, guest-related content can be displayed in the microphone area; and for unoccupied microphones, the live broadcast interface's main content can be displayed in the microphone area. Therefore, different microphone types handle the three-layer view in different ways.
[0046] Optionally, the method of processing at least part of the multi-layer views according to the microphone position type may be: obtaining the hierarchical relationship of the multi-layer views; and processing at least part of the multi-layer views according to the hierarchical relationship and the microphone position type.
[0047] The hierarchical relationship can be understood as the layers at which the multiple views are located. In this embodiment, the three layers of views can be ranked and combined to determine the hierarchical relationship, resulting in six types of hierarchical relationships. For example, two of these hierarchical relationships can be: the microphone layer view is at the top layer, the theme layer view is in the middle layer, and the streaming player layer view is at the bottom layer; or the microphone layer view is at the top layer, the streaming player layer view is in the middle layer, and the theme layer view is at the bottom layer. These are not explained here one by one.
[0048] In this embodiment, the method of processing at least part of the views in the multi-layer view according to the hierarchical relationship and the microphone position type can be: if the microphone position type is a video microphone position, at least part of the views in the multi-layer view are processed to display the content in the streaming player layer view; if the microphone position type is a voice microphone position, at least part of the views in the multi-layer view are processed to display the content in the microphone layer view; if the microphone position type is an empty microphone position, at least part of the views in the multi-layer view are processed to display the content in the theme layer view.
[0049] Displaying the content in the stream player layer view can be understood as displaying the video stream in the microphone area. If the microphone type is a video microphone, if the stream player layer view is blocked by the microphone layer view or the theme layer view, the microphone layer view or the theme layer view needs to be processed.
[0050] The content in the microphone layer view can be, for example, the target image or live broadcast related information corresponding to the connected microphone user. When the microphone type is a voice microphone, if the microphone layer view is blocked by the streaming player layer view or the theme layer view, the streaming player layer view or the theme layer view needs to be processed.
[0051] Displaying the content in the theme layer view can be understood as displaying the theme content of the live broadcast interface. When the microphone type is empty, if the theme layer view is blocked by the microphone layer view or the stream player layer view, the microphone layer view or the stream player layer view needs to be processed.
[0052] In this embodiment, the hierarchical relationship of the three layers of views is: the microphone layer view is at the top layer, the theme layer view is at the middle layer, and the streaming player layer view is at the bottom layer.
[0053] Specifically, the method of processing at least part of the three-layer view according to the microphone type can be: if the microphone type is a video microphone, the display attribute of the microphone layer view is set to not displayed, and the theme layer view corresponding to the microphone area is cropped.
[0054] In this embodiment, when the microphone type is a video microphone, the video stream of the guest in the microphone area needs to be displayed on the view of the stream player layer. Since the stream player layer view is below the microphone layer view and the theme layer view, the microphone layer view and the theme layer view need to be processed to avoid the microphone layer view and the theme layer view blocking the stream player layer view, so that the guest's video stream is displayed in the microphone area. Specifically, if the microphone type is a video microphone, the display attribute of the microphone layer view corresponding to the microphone area is set to not display, and the theme layer view corresponding to the microphone area is cropped, so that the stream player layer view is displayed.
[0055] Specifically, a method for cropping the theme layer view corresponding to the microphone position area may be: determining the position information of the microphone position area in the live broadcast interface; and cropping the theme layer view at the position information.
[0056] Among them, the position information can be represented by the center point coordinates and size information of the microphone area, or by multiple vertex coordinates. When the position information is represented by the center point coordinates and size information of the microphone area, the position of the microphone area in the live broadcast interface can be known based on the center point coordinates and size information. When the microphone area is rectangular, the position information can be represented by four vertex coordinates, and the two vertex coordinates on the diagonal are obtained, that is, the position of the microphone area in the live broadcast interface can be obtained based on the four vertex coordinates or the two vertex coordinates on the diagonal. In this embodiment, after the position information of the microphone area in the live broadcast interface is determined, the theme layer view at the position information is cropped, so that the theme layer view in the microphone area of the video type can be accurately cropped.
[0057] Specifically, the method for processing at least part of the three-layer view according to the microphone position type can be: if the microphone position type is an empty microphone position, the display attribute of the microphone position layer view is set to display, and the transparency of the microphone position layer view is adjusted; or, the display attribute of the microphone position layer view is set to not display.
[0058] In this embodiment, when the microphone type is empty, there is no guest on the microphone in this microphone area. In order to make the content displayed in this microphone area match the theme of the live broadcast interface, the theme layer view of this microphone area needs to be displayed. Therefore, the microphone layer view needs to be processed. Specifically, the processing method for the microphone layer view can be: setting the display property of the microphone layer view to display and adjusting the transparency of the microphone layer view, or directly setting the display property of the microphone layer view to not display.
[0059] The transparency of the microphone layer view can be adjusted to any value greater than or equal to 0 or less than 1. "0" represents complete transparency, and "1" represents complete opacity. In this embodiment, in order to display the content of the theme layer view located below the microphone layer view, it is necessary to adjust the microphone layer view from complete opacity to partial transparency or complete transparency. In this embodiment, by adjusting the transparency of the microphone layer view, the microphone area of the empty microphone position can display the theme content, so that the microphone area matches the theme of the theme live broadcast interface, thereby improving the visual effect.
[0060] Specifically, the method of processing at least part of the three-layer view according to the microphone type may be: if the microphone type is a voice microphone, the display attribute of the microphone layer view is set to display, and the target image is rendered in the microphone layer view.
[0061] The target image can be any of the following: a virtual image or a user avatar corresponding to the microphone area. A virtual image can be understood as an avatar image, which can be pre-built; a user avatar can be understood as an image uploaded by the user for use as an avatar.
[0062] In this embodiment, when the microphone type is a voice microphone, a guest in that microphone area establishes a voice connection with the host. Here, the guest's image can be displayed in the microphone layer view in the microphone area, so the microphone layer view of that microphone area needs to be processed. Specifically, if the microphone type is a voice microphone, the microphone layer view can be processed by setting the display property of the microphone layer view to display, obtaining the target image corresponding to the user in the microphone area, and rendering the target image in the microphone layer view. In this embodiment, the target image corresponding to the user is displayed in the microphone area of the voice microphone, which increases the diversity of the live broadcast interface display and improves the visual effect.
[0063] Optionally, a method of rendering the target image in the microphone layer view may be: blurring the target image; and rendering the blurred target image in the microphone layer view.
[0064] The blurring method may be Gaussian blurring or mean blurring, which is not limited here. In this embodiment, the blurred target image is rendered in the microphone layer view to enrich the diversity of the live interface display.
[0065] Optionally, after rendering the target image in the microphone layer view, the following steps are further included: obtaining live broadcast related information corresponding to the microphone area; and displaying the live broadcast related information in the microphone layer view.
[0066] The live broadcast-related information may include information such as the microphone countdown and gift address. In this embodiment, the live broadcast-related information corresponding to the microphone area can be obtained from the server and then displayed in the microphone layer view. This allows the host to intuitively see the guest's live broadcast-related information, assisting the host in interacting with the guest and improving the interactive effect of the microphone connection.
[0067] Based on the above embodiment, FIG3 is a schematic diagram of a method for processing a live broadcast interface in this embodiment. As shown in FIG3 , the process of the method is as follows:
[0068] 1. The host, audience, and guests enter the live broadcast room;
[0069] 2. Determine the wheat pitch type for each wheat pitch area;
[0070] 3. If the current microphone area is a video microphone, the microphone layer view will not be displayed and the theme layer view will be cropped;
[0071] 4. If the current microphone area is empty, adjust the transparency of the microphone layer view;
[0072] 5. If the current microphone area is a voice microphone, blur the target image and render the blurred target image in the microphone layer view.
[0073] The technical solution of the disclosed embodiment determines the microphone type of each microphone area; the microphone type includes any one of the following: video microphone, voice microphone, and empty microphone; and processes at least a portion of the multi-layer view according to the microphone type. The live broadcast interface processing method provided by the disclosed embodiment processes at least a portion of the multi-layer view according to the microphone type, so that different types of microphone areas are displayed in different forms. This not only improves the diversity of the live broadcast interface display, but also allows different microphone types to accurately display their corresponding content, preventing display errors.
[0074] FIG4 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 multiple layers of views and at least one microphone area. As shown in FIG4 , the device includes:
[0075] The microphone type determination module 410 is configured to determine, for each microphone area, the microphone type of the microphone area; wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone;
[0076] The view processing module 420 is configured to process at least part of the multiple views according to the microphone position type.
[0077] Optionally, the multi-layer view is a three-layer view, namely: a microphone layer view, a theme layer view, and a streaming player layer view.
[0078] Optionally, the view processing module 420 is further configured to:
[0079] Obtaining the hierarchical relationship of the multi-layer view;
[0080] At least part of the multiple views is processed according to the hierarchical relationship and the microphone position type.
[0081] Optionally, the view processing module 420 is further configured to:
[0082] If the microphone position type is a video microphone position, processing at least part of the multi-layer views to display the content in the stream player layer view;
[0083] If the microphone type is a voice microphone, processing at least part of the multiple views to display the content in the microphone layer view;
[0084] If the microphone position type is an empty microphone position, at least part of the views in the multi-layer view are processed to display the content in the theme layer view.
[0085] Optionally, the hierarchical relationship is: the microphone layer view is at the top layer, the theme layer view is at the middle layer, and the streaming player layer view is at the bottom layer.
[0086] Optionally, the view processing module 420 is further configured to:
[0087] If the microphone type is a video microphone, the display property of the microphone layer view is set to not display, and the theme layer view corresponding to the microphone area is cropped.
[0088] Optionally, the view processing module 420 is further configured to:
[0089] Determine the position information of the microphone area in the live broadcast interface;
[0090] Crop the theme layer view at the location information.
[0091] Optionally, the view processing module 420 is further configured to:
[0092] If the microphone position type is an empty microphone position, the display property of the microphone position layer view is set to display, and the transparency of the microphone position layer view is adjusted; or, the display property of the microphone position layer view is set to not display.
[0093] Optionally, the view processing module 420 is further configured to:
[0094] If the microphone type is a voice microphone, the display property of the microphone layer view is set to display, and the target image is rendered in the microphone layer view.
[0095] Optionally, the view processing module 420 is further configured to:
[0096] Blurring the target image;
[0097] Render the blurred target image in the microphone layer view.
[0098] Optionally, it further includes: a live broadcast related information display module for:
[0099] Get the live broadcast related information corresponding to the microphone area;
[0100] Display live broadcast related information in the microphone layer view.
[0101] 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.
[0102] 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.
[0103] FIG5 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG5 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG5 ) 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 FIG5 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0104] As shown in FIG5 , 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.
[0105] 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 FIG5 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.
[0106] 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.
[0107] 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.
[0108] 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.
[0109] 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.
[0110] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. 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.
[0111] 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.
[0112] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0113] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0114] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device is caused to: determine, for each microphone area, a microphone type of the microphone area; wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone; and process at least some views in the multi-layer views according to the microphone type.
[0115] 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).
[0116] 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.
[0117] 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."
[0118] 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.
[0119] 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.
[0120] According to one or more embodiments of the present disclosure, a method for processing a live broadcast interface is provided, wherein the live broadcast interface includes multiple layers of views and at least one microphone area; the method includes:
[0121] For each microphone area, determining a microphone type of the microphone area; wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone;
[0122] At least part of the multiple views is processed according to the microphone type.
[0123] Furthermore, the multi-layer view is a three-layer view, namely: a microphone layer view, a theme layer view and a streaming player layer view.
[0124] Furthermore, processing at least part of the multiple views according to the microphone position type includes:
[0125] Obtaining the hierarchical relationship of the multi-layer view;
[0126] At least part of the multiple views is processed according to the hierarchical relationship and the microphone position type.
[0127] Furthermore, processing at least part of the multiple views according to the hierarchical relationship and the microphone position type includes:
[0128] If the microphone position type is a video microphone position, processing at least part of the multi-layer views to display the content in the stream player layer view;
[0129] If the microphone type is a voice microphone, processing at least part of the multiple views to display the content in the microphone layer view;
[0130] If the microphone position type is an empty microphone position, at least part of the views in the multi-layer view are processed to display the content in the theme layer view.
[0131] Furthermore, the hierarchical relationship is as follows: the microphone layer view is at the top layer, the theme layer view is at the middle layer, and the streaming player layer view is at the bottom layer.
[0132] Furthermore, processing at least part of the multiple views according to the microphone position type includes:
[0133] If the microphone type is a video microphone, the display attribute of the microphone layer view is set to not be displayed, and the theme layer view corresponding to the microphone area is cropped.
[0134] Furthermore, the theme layer view corresponding to the microphone area is cropped, including:
[0135] Determining position information of the microphone area in the live broadcast interface;
[0136] The theme layer view at the position information is cropped.
[0137] Furthermore, processing at least part of the multiple views according to the microphone position type includes:
[0138] If the microphone position type is an empty microphone position, the display attribute of the microphone position layer view is set to display, and the transparency of the microphone position layer view is adjusted; or, the display attribute of the microphone position layer view is set to not display.
[0139] Furthermore, it is characterized in that processing at least part of the multiple views according to the microphone position type includes:
[0140] If the microphone type is a voice microphone, the display attribute of the microphone layer view is set to display, and the target image is rendered in the microphone layer view.
[0141] Furthermore, rendering the target image in the microphone layer view includes:
[0142] Performing blur processing on the target image;
[0143] The blurred target image is rendered in the microphone layer view.
[0144] Furthermore, after rendering the target image in the microphone layer view, the method further includes:
[0145] Obtaining live broadcast related information corresponding to the microphone area;
[0146] The live broadcast related information is displayed in the microphone layer view.
[0147] 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 encompasses 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 the present disclosure.
[0148] 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.
[0149] 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, wherein the live broadcast interface includes multiple layers of views and the live broadcast interface includes at least one microphone area, the method comprising: For each microphone area, determining a microphone type of the microphone area; wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone; At least part of the multiple views is processed according to the microphone type.
2. The method according to claim 1, wherein: The multi-layer view is a three-layer view, which includes a microphone layer view, a theme layer view and a streaming player layer view.
3. The method according to claim 2, wherein: Processing at least part of the multiple views according to the microphone position type includes: Obtaining the hierarchical relationship of the multi-layer views; At least part of the multiple views is processed according to the hierarchical relationship and the microphone position type.
4. The method according to claim 3, wherein: Processing at least part of the multiple views according to the hierarchical relationship and the microphone position type includes: If the microphone type is a video microphone, processing at least part of the multiple views to display the content in the stream player layer view; If the microphone type is a voice microphone, processing at least part of the multiple views to display the content in the microphone layer view; If the microphone position type is an empty microphone position, at least part of the views in the multi-layer views are processed to display the content in the theme layer view.
5. The method according to claim 3, wherein: The hierarchical relationship is: the microphone layer view is at the top layer, the theme layer view is at the middle layer, and the streaming player layer view is at the bottom layer.
6. The method according to claim 5, wherein: Processing at least part of the multiple views according to the hierarchical relationship and the microphone position type includes: If the microphone type is a video microphone, the display attribute of the microphone layer view is set to not be displayed, and the theme layer view corresponding to the microphone area is cropped.
7. The method according to claim 6, wherein: The theme layer view corresponding to the microphone area is clipped, including: Determine the position information of the microphone area in the live broadcast interface; The theme layer view at the position information is cropped.
8. The method according to claim 5, wherein: Processing at least part of the multiple views according to the hierarchical relationship and the microphone position type includes: If the microphone position type is an empty microphone position, the display property of the microphone position layer view is set to display, and the transparency of the microphone position layer view is adjusted; or, the display property of the microphone position layer view is set to not display.
9. The method according to claim 5, wherein: Processing at least part of the multiple views according to the hierarchical relationship and the microphone position type includes: If the microphone type is a voice microphone, the display attribute of the microphone layer view is set to display, and the target image is rendered in the microphone layer view.
10. The method according to claim 9, wherein: Rendering the target image in the microphone layer view includes: Performing blur processing on the target image; The blurred target image is rendered in the microphone layer view.
11. The method according to claim 9, wherein: After rendering the target image in the microphone layer view, the method further includes: Obtaining live broadcast related information corresponding to the microphone area; The live broadcast related information is displayed in the microphone layer view.
12. A device for processing a live broadcast interface, the live broadcast interface comprising multiple layers of views, and the live broadcast interface comprising at least one microphone area, the device comprising: A microphone type determination module, configured to determine the microphone type of each microphone area, wherein the microphone type includes any one of the following: a video microphone, a voice microphone, and an empty microphone; A view processing module is used to process at least part of the views in the multi-layer views according to the microphone position type.
13. An electronic device, comprising: 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-11.
14. A storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the method for processing a live broadcast interface as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Live broadcast voice interaction method, an anchor client, an audience client and a storage medium
CN109407923A
Microphone connection method, system and device, electronic equipment and storage medium
CN112312226A
Multi-channel live broadcast display control method and device, equipment and medium
CN114710681A
Live broadcast room microphone connection method, apparatus and device, and storage medium
CN114710684A
Video-based conversational interface
US11483494B1
