Screen mirroring method and apparatus, device, and storage medium
By obtaining and casting the user's operation content in the live video chat room, it solves the problem that Lianmai users' operation content cannot be seen by other users, and improves the interactivity and user experience in the live broadcast room.
Patent Information
- Application Number
- PCT/CN2024/079662
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-03
- Filing Date
- 2024-03-01
- Publication Date
- 2024-09-12
AI Technical Summary
In the live video chat room, when a Lianmai user opens other content in the live broadcast room, other users cannot see the user's operation content, resulting in no perception of the content in the live broadcast room and affecting the live broadcast effect.
Provide a screen casting method and device, by obtaining the video stream of the target content triggered by the user on the live broadcast interface, casting it to the user's microphone display, and pushing it to other users' clients, so that other users can intuitively See the user's actions.
It improves the interactivity between users during the live broadcast process, improves the user experience, and makes the content in the live broadcast room more diverse and interactive.
Smart Images

Figure CN2024079662_12092024_PF_FP_ABST
Abstract
Description
Screen projection method, device, equipment and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 3, 2023, with application number 202310217923.1, and invention name “Screen projection method, device, equipment and storage medium”, all contents of which are incorporated into this application by reference. Technical Field
[0002] The embodiments of the present disclosure relate to the field of video live broadcast technology, and in particular to a screen projection method, apparatus, device, and storage medium. Background Art
[0003] In related technologies, the microphone in a video chat room can only display the image captured by the camera of the participating client, and cannot display other images. If the connected user opens other content in the live broadcast room, such as opening a text document or mini-program, other users in the live broadcast room cannot see the content opened by the connected user and are unaware of the content in the live broadcast room, affecting the live broadcast effect.
[0004] Summary of the Invention
[0005] The embodiments of the present disclosure provide a screen projection method, apparatus, device and storage medium, which can display the target content triggered by a user in a live broadcast room at the user's microphone position, so that other users in the live broadcast room can intuitively see the content triggered by the user, thereby increasing the diversity of interactions between users during the live broadcast process and improving the user experience.
[0006] In a first aspect, an embodiment of the present disclosure provides a screen projection method, comprising:
[0007] Displaying target content based on an operation triggered by the first user on the live broadcast interface;
[0008] Obtaining a video stream corresponding to the target content;
[0009] The video stream is projected to the first user's microphone for display, and the video stream is pushed to the client where the second user is located.
[0010] In a second aspect, the embodiments of the present disclosure further provide a screen projection method, including:
[0011] Receiving a video stream pushed by a client where the first user is located; wherein the video stream includes a video stream corresponding to the target content;
[0012] The video stream corresponding to the target content is rendered to the first user microphone for display.
[0013] In a third aspect, the present disclosure further provides a screen projection device, including:
[0014] A target content display module, configured to display target content based on an operation triggered by the first user on the live broadcast interface;
[0015] A video stream acquisition module, configured to acquire the video stream corresponding to the target content;
[0016] The screen projection module is used to project the video stream to the microphone position of the first user for display, and push the video stream to the client where the second user is located.
[0017] In a fourth aspect, an embodiment of the present disclosure further provides a screen projection device, comprising:
[0018] A video stream receiving module, configured to receive a video stream pushed by a client where the first user is located; wherein the video stream includes a video stream corresponding to the target content;
[0019] The display module is used to render the video stream corresponding to the target content to the first user microphone for display.
[0020] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0021] one or more processors;
[0022] a storage device for storing one or more programs,
[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the screen projection method as described in the embodiment of the present disclosure.
[0024] In a sixth 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 screen projection method as described in an embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] 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.
[0026] FIG1 is a flow chart of a screen projection method provided by an embodiment of the present disclosure;
[0027] FIG2 is a schematic diagram of a first user client interface provided by an embodiment of the present disclosure;
[0028] FIG3 is an example diagram showing target content provided by an embodiment of the present disclosure;
[0029] FIG4 is a schematic diagram of a screen projection method provided by an embodiment of the present disclosure;
[0030] FIG5 is an example diagram of projecting target content to a first user's microphone position provided by an embodiment of the present disclosure;
[0031] FIG6 is a flow chart of a screen projection method provided by an embodiment of the present disclosure;
[0032] FIG7 is a structural diagram of a screen projection device provided by an embodiment of the present disclosure;
[0033] FIG8 is a structural diagram of a screen projection device provided by an embodiment of the present disclosure;
[0034] FIG9 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] 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.
[0036] 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.
[0037] 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.
[0038] 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.
[0039] 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".
[0040] 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.
[0041] 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.
[0042] 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.
[0043] 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.
[0044] 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.
[0045] 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.
[0046] Currently, live streamers can connect to multiple guests via microphones in live chat rooms, and users in the chat room can see the content displayed on the host's microphone and the guest's microphones. In related technologies, the host's microphone can only display images captured by the host's client. When users perform other operations in the live broadcast interface, such as opening mini-programs, mini-games, or text documents, the audience cannot see the content opened by the host, making them unaware of the content in the live broadcast room. Furthermore, the content opened by the host can obscure the microphone and comment area, thereby affecting the interaction between the host and the audience and the host's ability to manage the live broadcast room.
[0047] Figure 1 is a flow chart of a screen projection method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where the content triggered by the user in the live broadcast room is projected. The method can be executed by a screen projection device set on the client where the first user is located. The device 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, PC or server, etc.
[0048] As shown in FIG1 , the method includes:
[0049] S110: Display target content based on an operation triggered by the first user on the live broadcast interface.
[0050] The first user can be a connected user, such as a live streamer or a guest connected to the live streamer. The target content can be any content that can be displayed and shared, such as mini-programs, mini-games, web pages, documents, etc. The target content can be mounted as a container in a live streaming application (Application, APP) and displayed in the function panel of the live streaming interface.
[0051] The application scenario of this embodiment can be a video live broadcast scenario or a voice live broadcast scenario, during which the first user can have a video and / or voice connection with other users, for example, a video chat room, a voice chat room, or a karaoke scene.
[0052] In this embodiment, during the process of the first user interacting with multiple other users in the live broadcast room, the microphone area in the first user interface includes the microphone of the connected user. In the video chat scenario, the terminal where the first user is located collects the first user's image in real time and displays the collected image in the first user's microphone. If the other connected users turn on the camera, the image collected by the camera in real time is displayed in their microphone. When the first user does not trigger the target content, the first user's microphone displays the image collected by its camera in real time, so that the first user and the other connected users can interact with each other through video. In the voice chat scenario, the terminals where the first user and the other connected users are located collect their own voice information respectively, and the first user's microphone and the other microphones display their corresponding relevant information (such as avatars). For example, Figure 2 is a schematic diagram of a first user interface in this embodiment. As shown in Figure 2, the live broadcast interface displays the microphones of each user participating in the connection. Taking the first user as the anchor as an example, the images collected by their respective cameras are displayed in the anchor microphone and the guest microphones. When the anchor wants to share the triggered target content with other users (guests and viewers) in the live broadcast room, the anchor finds or searches for the target content in the function panel of the anchor interface and triggers the searched target content.
[0053] The microphone position can be understood as a medium for users in the live broadcast room to participate in the interactive live broadcast. Users in the microphone position (microphone users) can participate in the interactive live broadcast, while users not in the microphone position (audience users) can only watch the interactive live broadcast. The microphone position includes attributes such as status (Status) and user (User). Among them, the microphone position status includes empty state, dedicated state, and closed state. When the microphone position is occupied, the user attribute is the user information of the user in the current microphone position. In this embodiment, the live broadcast interface displays the microphone position of each user participating in the live broadcast. As shown in Figure 2 of the above embodiment, the live broadcast interface displays the host microphone position and the guest microphone positions.
[0054] Specifically, the process of displaying the target content based on the operation triggered by the first user in the live broadcast interface can be: requesting the tag information of the target content from the server based on the first operation triggered by the first user in the live broadcast interface; receiving the tag information sent by the server, and displaying the tag information in the panel corresponding to the target content; displaying the target content based on the second operation triggered by the first user on the tag information.
[0055] Among them, the tag information can be understood as meta-information. In this embodiment, a list of multiple content identifiers (such as names and / or covers, etc.) or a search box for the target content is displayed in the function panel of the first user interface. The first operation triggered by the first user in the live broadcast interface can be that the first user clicks on the identifier of the target content or enters the search information of the target content in the search box and clicks search. When it is detected that the first user triggers the first operation, a first request is generated and sent to the server where the target content is located. The server returns the tag information of the target content to the client where the first user is located according to the first request, and displays the tag information in the function panel. Among them, the tag information may include a functional introduction of the target content, a start button for the target content, and an example picture of the target content. For example, assuming that the target content is a mini-game, the tag content includes a functional introduction of the mini-game, an example picture of the mini-game during operation, and a start button for the mini-game.
[0056] The first user triggers the second operation on the displayed tag information to trigger the target content. For example: entering a mini-program, a mini-game, or opening a web page or a text document, etc. For example, FIG3 is an example diagram of triggering the target content in this embodiment. As shown in FIG3 , the function panel displays the identifiers of content a, content b, content c, etc. Taking the first user as the anchor as an example, if the anchor wants to trigger content b, then content b is the target content. The user clicks the identifier of content b, and the tag information of content b is displayed on the function panel. The anchor clicks the "Start" button in the tag information to complete the operation of triggering the target content. As shown in FIG3 , during the process of the anchor triggering the target content, the function panel blocks part of the guest microphone position and part of the anchor microphone position. Therefore, in order to prevent the anchor from continuing to block the microphone position area when operating the target content, it is necessary to adopt the solution of this embodiment to display the target content in the anchor microphone position.
[0057] In this embodiment, the first user can trigger the target content in the live broadcast interface, which can improve the convenience of displaying the target content.
[0058] S120: Obtain a video stream corresponding to the target content.
[0059] The video stream corresponding to the target content may be a video stream generated during the process of the first user operating the target content. For example, if the target content is a mini-game, the video stream may be a video generated during the first user operating the mini-game; if the target content is a text document, the video stream may be a video generated during the first user operating the text document.
[0060] In this embodiment, the process of obtaining the video stream corresponding to the target content may be to pull the video stream from the container where the target content is located. The method of obtaining the video stream corresponding to the target content may be: if the target content is video, then directly pull the video stream corresponding to the target content; if the target content is text, then take a screenshot (i.e., record the screen) of the screen containing the target content at a set frame rate to obtain the video stream corresponding to the target content.
[0061] In this embodiment, when the first user triggers the target content, the video stream corresponding to the target content is pulled. If the current scene is a video chat, the acquisition operation of the camera of the client where the first user is located is simultaneously paused, that is, the camera of the client where the first user is located is temporarily turned off.
[0062] Specifically, the process of obtaining the video stream corresponding to the target content can be: displaying the screen projection entrance corresponding to the target content; sending a screen projection request to the server through the screen projection entrance; receiving the screen projection feedback information returned by the server based on the screen projection request; and obtaining the video stream corresponding to the target content based on the screen projection feedback information.
[0063] Among them, the screen projection entrance can be reflected by a screen projection button, and displaying the screen projection entrance can be understood as adjusting the state of the screen projection button to be clickable. The screen projection feedback information may be information that allows screen projection. In this embodiment, when the screen projection entrance of the target content is displayed, the client where the first user is located generates a screen projection request based on the first user's click operation on the screen projection entrance, and sends the screen projection request to the server where the live broadcast is located. The server returns the screen projection feedback information to the client where the first user is located based on the screen projection request. When the client where the first user is located receives the screen projection feedback information returned by the server, it notifies the container where the target content is located to output the video stream. When the container where the target content is located receives the notification, it outputs the video stream at the set frame rate.
[0064] Among them, the screen projection request carries a first user identifier. Optionally, the process of receiving the screen projection feedback information returned by the server can be: allowing screen projection information. For example, when the first user identifier belongs to the preset first user identifier, the server returns the information allowing screen projection to perform screen projection.
[0065] Optionally, after sending a screen projection request to the server through the screen projection entrance, the following steps are also included: receiving layout information returned by the server according to the screen projection request; and updating the interface layout of the client where the current first user is located according to the layout information.
[0066] The layout information can be understood as a layout that supports screen projection, and the layout information includes the layout of the first user's microphone position and / or the guest microphone position. In this embodiment, a layout that supports screen projection is pre-configured. When the server receives a screen projection request sent by the client where the first user is located, the layout information that supports screen projection is returned to the client where the first user is located, so that the client where the first user is located updates the interface layout according to the received layout information to ensure that the target content can be smoothly projected on the screen later.
[0067] S130: Project the video stream to the microphone position of the first user for display, and push the video stream to the client of the second user.
[0068] Among them, the second user can be understood as other users in the current live broadcast room except the first user, and can be the anchor, guest or audience.
[0069] In this embodiment, after the video stream of the target content is obtained, the video stream is projected to the first user microphone position for display, that is, the video source of the first user microphone position is replaced by the image captured by the camera with the video stream of the target content.
[0070] Optionally, after sending a screen projection request to the server through the screen projection entrance, the following steps are also included: receiving audio and video parameters returned by the server according to the screen projection request; accordingly, the method of pushing the video stream to the client where the second user is located can be: pushing the video stream to the client where the second user is located based on the audio and video parameters.
[0071] Among them, the audio and video parameters include information such as resolution and bit rate. The video stream is pushed to the client where the second user is located according to the audio and video parameters such as resolution and bit rate, so that the client where the second user is located displays the video stream at the microphone position of the first user.
[0072] In one application scenario, in order to realize screen projection of video chat, the cooperation of live broadcast client, container client, live broadcast server and container server is required. Among them, the live broadcast client is used for the first user to broadcast live and interact with the guests; the live broadcast server is used for live broadcast related services and the issuance and management of screen projection parameters; the container client is responsible for starting the open container (mini-game, mini-program) and encapsulating the screen projection output capability; the container server is used to manage the meta information (meta) of the open container. Figure 4 is a schematic diagram of a screen projection method in this embodiment. As shown in Figure 4, the screen projection process includes the following steps:
[0073] 1. When detecting that the first user triggers the target content, the container client pulls tag information from the container server;
[0074] 2. Mount the container client on the live broadcast client;
[0075] 3. Based on the triggering operation of the first user, the live broadcast client sends a screen projection request to the live broadcast server;
[0076] 4. The live broadcast server returns layout information and audio and video parameters to the live broadcast client, allowing screen casting;
[0077] 5. The live broadcast client notifies the container client to output the video stream;
[0078] 6. The container client inputs the video stream to the live client at the set frame rate;
[0079] 7. Start screen projection and streaming.
[0080] For example, Figure 5 shows an example of projecting the target content onto the first user's microphone position in this embodiment. As shown in Figure 5, taking the first user as the anchor, projecting the target content onto the anchor's microphone position not only prevents the target content from obscuring other areas of the live broadcast interface, but also facilitates interaction between users in the live broadcast room. Furthermore, pushing the target content's video stream to the second user's client allows viewers to intuitively perceive the live broadcast content, enhancing the interactivity of the live broadcast.
[0081] The technical solution of this embodiment displays target content based on an operation triggered by a first user in a live broadcast interface; obtains a video stream corresponding to the target content; projects the video stream to the first user's microphone position for display, and pushes the video stream to the client of the second user. The disclosed embodiment provides a screen projection method that projects the video stream of the target content triggered by the first user to the first user's microphone position for display, which can increase the diversity of interactions between users during a live broadcast and enhance the user experience.
[0082] FIG6 is a flow chart of a screen projection method provided by an embodiment of the present disclosure. The method can be performed by a screen projection device provided at the viewer end. The device 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. As shown in FIG6, the method includes the following steps:
[0083] S610: Receive a video stream pushed by a client where a first user is located.
[0084] The video stream includes a video stream corresponding to the target content. The video stream corresponding to the target content is obtained by the first user during the process of triggering the target content on the client where the first user is located. The specific acquisition method is described in the above embodiment and is not described here. In this embodiment, the first user first sends the video stream to the streaming server, which then forwards it to the client where the second user is located.
[0085] S620: Render the video stream corresponding to the target content to the first user's microphone position for display.
[0086] In this embodiment, the client where the second user is located will receive the layout information sent by the client where the first user is located while receiving the video stream. The client where the second user is located will first update the layout of its live broadcast interface according to the layout information, and then render the video stream corresponding to the target content to the microphone position of the first user for display, so that the audience can see the target content triggered by the first user.
[0087] The technical solution of this embodiment receives a video stream pushed by a client of a first user; the video stream includes a video stream corresponding to target content; and renders the video stream corresponding to the target content to the microphone position of the first user for display. This allows viewers to intuitively perceive the live broadcast content and improves the interactivity of the live broadcast.
[0088] FIG7 is a schematic diagram of the structure of a screen projection device provided by an embodiment of the present disclosure. As shown in FIG7 , the device includes:
[0089] The target content display module 710 is configured to display target content based on an operation triggered by the first user on the live broadcast interface;
[0090] The video stream acquisition module 720 is used to acquire the video stream corresponding to the target content;
[0091] The screen projection module 730 is used to project the video stream to the microphone position of the first user for display, and push the video stream to the client where the second user is located.
[0092] Optionally, the target content display module 710 is further configured to:
[0093] Requesting tag information of target content from a server based on a first operation triggered by a first user on a live broadcast interface;
[0094] receiving the tag information sent by the server, and displaying the tag information in a panel corresponding to the target content;
[0095] The target content is displayed based on a second operation triggered by the first user on the tag information.
[0096] Optionally, the video stream acquisition module 720 is further configured to:
[0097] Display the screen projection entrance corresponding to the target content;
[0098] Send a screen casting request to the server through the screen casting portal;
[0099] Receive screen projection feedback information returned by the server according to the screen projection request;
[0100] The video stream corresponding to the target content is obtained based on the screen projection feedback information.
[0101] Optionally, the system further includes: a layout information receiving module, configured to:
[0102] Receiving layout information returned by the server according to the screen projection request;
[0103] Accordingly, it also includes: a layout update module, which is used to:
[0104] The interface layout of the client where the current first user is located is updated according to the layout information; wherein the layout information includes the layout of the first user's microphone position and / or the guest microphone position.
[0105] Optionally, it further includes: an audio and video parameter receiving module, which is used to:
[0106] Receive audio and video parameters returned by the server according to the screen projection request;
[0107] Optionally, it also includes a streaming module for:
[0108] The video stream is pushed to the client of the second user based on the audio and video parameters.
[0109] FIG8 is a schematic diagram of the structure of a screen projection device provided by an embodiment of the present disclosure. As shown in FIG8 , the device includes:
[0110] The video stream receiving module 810 is configured to receive a video stream pushed by a client where the first user is located; wherein the video stream includes a video stream corresponding to the target content;
[0111] The display module 820 is configured to render the video stream corresponding to the target content to the first user microphone for display.
[0112] The screen projection device provided in the embodiments of the present disclosure can execute the screen projection method provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
[0113] 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.
[0114] FIG9 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Referring to FIG9 , a schematic diagram of the structure of an electronic device (such as a terminal device or server in FIG9 ) 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 FIG9 is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present disclosure.
[0115] As shown in FIG9 , 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.
[0116] 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 FIG9 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 be implemented or present instead.
[0117] 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.
[0118] 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.
[0119] The electronic device provided by the embodiment of the present disclosure and the screen projection method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0120] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the screen projection method provided by the above embodiment is implemented.
[0121] 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.
[0122] 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.
[0123] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0124] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0125] 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: displays the target content based on the operation triggered by the first user in the live broadcast interface; obtains the video stream corresponding to the target content; projects the video stream to the microphone position of the first user for display, and pushes the video stream to the client where the second user is located.
[0126] Alternatively, the computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: receives a video stream pushed by the client where the first user is located; wherein the video stream includes a video stream corresponding to the target content; and renders the video stream corresponding to the target content to the microphone position of the first user for display.
[0127] 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).
[0128] 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.
[0129] 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."
[0130] 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.
[0131] 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.
[0132] According to one or more embodiments of the present disclosure, a screen projection method is provided, including:
[0133] Displaying target content based on an operation triggered by the first user on the live broadcast interface;
[0134] Obtaining a video stream corresponding to the target content;
[0135] The video stream is projected to the first user's microphone for display, and the video stream is pushed to the second user's client.
[0136] Furthermore, displaying target content based on an operation triggered by the first user on the live broadcast interface includes:
[0137] Requesting tag information of target content from a server based on a first operation triggered by a first user on a live broadcast interface;
[0138] receiving the tag information sent by the server, and displaying the tag information in a panel corresponding to the target content;
[0139] The target content is displayed based on a second operation triggered by the first user on the tag information.
[0140] Furthermore, obtaining the video stream corresponding to the target content includes:
[0141] Display the screen projection entrance corresponding to the target content;
[0142] Send a screen projection request to the server through the screen projection entrance;
[0143] Receive screen projection feedback information returned by the server according to the screen projection request;
[0144] The video stream corresponding to the target content is obtained and pulled according to the screen projection feedback information.
[0145] Furthermore, after sending the screen projection request to the server through the screen projection entrance, it also includes:
[0146] Receiving layout information returned by the server according to the screen projection request;
[0147] The interface layout of the client where the current first user is located is updated according to the layout information; wherein the layout information includes the layout of the first user's microphone position and / or the guest microphone position.
[0148] Furthermore, after sending the screen projection request to the server through the screen projection entrance, it also includes:
[0149] Receive audio and video parameters returned by the server according to the screen projection request;
[0150] Accordingly, pushing the video stream to the client where the second user is located includes:
[0151] The video stream is pushed to the client of the second user based on the audio and video parameters.
[0152] The present disclosure also provides a screen projection method, including:
[0153] Receiving a video stream pushed by a client where the first user is located; wherein the video stream includes a video stream corresponding to the target content;
[0154] The video stream corresponding to the target content is rendered to the first user microphone for display.
[0155] 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.
[0156] 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.
[0157] 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 screen projection method, include: Displaying target content based on an operation triggered by the first user on the live broadcast interface; Obtaining a video stream corresponding to the target content; The video stream is projected to the microphone position of the first user for display, and the video stream is pushed to the client where the second user is located.
2. The method according to claim 1, in, Displaying target content based on an operation triggered by the first user on the live broadcast interface includes: Requesting tag information of target content from a server based on a first operation triggered by a first user on a live broadcast interface; receiving the tag information sent by the server, and displaying the tag information in a panel corresponding to the target content; The target content is displayed based on a second operation triggered by the first user on the tag information.
3. The method according to claim 1, in, Obtaining a video stream corresponding to the target content includes: Display the screen projection entrance corresponding to the target content; Sending a screen projection request to the server through the screen projection entrance; Receiving screen projection feedback information returned by the server according to the screen projection request; Obtain the video stream corresponding to the target content according to the screen projection feedback information.
4. The method according to claim 3, further comprising: include: Receiving layout information returned by the server according to the screen projection request; Updating the interface layout of the client where the first user is located according to the layout information; That In the above, the layout information includes the layout of the first user's microphone position and / or the guest's microphone position.
5. The method according to claim 3, further comprising: include: Receiving audio and video parameters returned by the server according to the screen projection request; Accordingly, pushing the video stream to the client where the second user is located includes: The video stream is pushed to the client where the second user is located based on the audio and video parameters.
6. A screen projection method, include: Receiving a video stream pushed by a client where the first user is located; wherein the video stream includes a video stream corresponding to the target content; The video stream corresponding to the target content is rendered to the first user microphone for display.
7. A screen projection device, include: A target content display module, configured to display target content based on an operation triggered by the first user on the live broadcast interface; A video stream acquisition module, used to acquire the video stream corresponding to the target content; The screen projection module is used to project the video stream to the microphone position of the first user for display, and push the video stream to the client where the second user is located.
8. A screen projection device, include: A video stream receiving module, configured to receive a video stream pushed by a client where the first user is located; wherein the video stream includes a video stream corresponding to the target content; The display module is used to render the video stream corresponding to the target content to the first user microphone for display.
9. An electronic device, the electronic device include: 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 screen projection method as described in any one of claims 1-6.
10. A storage medium comprising computer executable instructions, wherein the computer executable instructions, when executed by a computer processor, are used to execute the screen projection method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Video conference method, video conference terminal and video conference system
CN103702064A
Video playing method and device, terminal and storage medium
CN112470482A
Video live broadcast method, video sending method, device and equipment for game match
CN112788358A
Live streaming method and device, electronic equipment and storage medium
CN113784156A
Game data display method and device under microphone connection live broadcast and electronic equipment
CN115134625A
