Virtual scene live broadcast method and device, equipment, storage medium and program product
By adding live broadcast controls to the virtual handle interface of the first terminal, the function of starting virtual scene live broadcast is realized, which solves the problems of low equipment resource utilization and low operating efficiency, and improves the efficiency of virtual scene live broadcast and the utilization of equipment resources. Rate.
Patent Information
- Application Number
- CN202310421724.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-18
- Publication Date
- 2024-10-22
AI Technical Summary
In the existing technology, the first terminal can only be used as a virtual handle to control virtual objects in the virtual scene displayed on the second terminal, and cannot start the live broadcast of the virtual scene, resulting in low device resource utilization and low operating efficiency.
By displaying the virtual handle interface, including live broadcast controls, on the first terminal, it sends live broadcast instructions in response to user operations, starts the live broadcast of the virtual scene, synthesizes the live broadcast content with the scene images, and sends them to the second terminal to realize the live broadcast of the virtual scene.
It enriches the functions of the virtual controller device, improves the utilization of device resources, simplifies the operation process by starting live broadcast with one click, and improves the operational efficiency of virtual scene live broadcast.
Smart Images

Figure CN118828034A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to a method, device, equipment, storage medium and program product for live broadcasting of a virtual scene. Background Art
[0002] In the related art, the experience of a virtual scene can be realized through the collaboration of two electronic devices, that is, a first terminal (such as a smart phone) is used as a virtual handle to control virtual objects in the virtual scene displayed by a second terminal (such as a smart TV) to realize the experience of the virtual scene. However, in the process of experiencing the virtual scene, the first terminal in the related art can only be used as a virtual handle. Summary of the invention
[0003] The embodiments of the present application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for live broadcasting of a virtual scene, which can start live broadcasting of a virtual scene through a device serving as a virtual handle, thereby improving the utilization rate of device resources.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The embodiment of the present application provides a method for live broadcasting of a virtual scene, which is applied to a first terminal and includes:
[0006] Displaying a virtual handle interface, where the virtual handle interface is used to control a virtual object in a virtual scene displayed on the second terminal, and the virtual handle interface includes a live broadcast control;
[0007] In response to a trigger operation on the live broadcast control, a live broadcast instruction for the virtual scene is sent, wherein the live broadcast instruction is used to instruct to start a live broadcast for the virtual scene.
[0008] The embodiment of the present application provides a method for live broadcasting of a virtual scene, which is applied to a server and includes:
[0009] Receiving live broadcast content of the virtual scene;
[0010] The virtual scene is displayed on the second terminal, and the virtual objects in the virtual scene are controlled through a virtual handle interface displayed on the first terminal, and the virtual handle interface includes a live broadcast control;
[0011] The live broadcast content is sent after the live broadcast for the virtual scene is started according to the live broadcast instruction triggered by the first terminal through the live broadcast control;
[0012] The live broadcast content is synthesized with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene, and the live broadcast picture is used to be sent to the second terminal so that the second terminal displays the live broadcast picture.
[0013] The embodiment of the present application provides a live broadcast device of a virtual scene, which is applied to a first terminal and includes:
[0014] A display module, used to display a virtual handle interface, where the virtual handle interface is used to control virtual objects in a virtual scene displayed on the second terminal, and the virtual handle interface includes a live broadcast control;
[0015] The first sending module is used to send a live broadcast instruction for the virtual scene in response to a trigger operation on the live broadcast control, and the live broadcast instruction is used to instruct to start the live broadcast for the virtual scene.
[0016] In the above scheme, the first sending module is also used to send the live content of the virtual scene after sending the live broadcast instruction for the virtual scene, and after starting the live broadcast for the virtual scene based on the live broadcast instruction; wherein the live broadcast content is used to synthesize the live broadcast content with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene.
[0017] In the above scheme, the display module is also used to receive a scanning operation for the graphic code displayed by the second terminal before displaying the virtual handle interface; in response to the scanning operation, establish a communication connection between the first terminal and the second terminal; the display module is also used to display the virtual handle interface when the communication connection between the first terminal and the second terminal is successfully established.
[0018] In the above solution, the display module is also used to run a virtual handle applet in response to the scanning operation, and establish a communication connection between the first terminal and the second terminal through the virtual handle applet.
[0019] In the above scheme, the display module is also used to display the device connection control for the second terminal before displaying the virtual handle interface; in response to the trigger operation of the device connection control, establish a communication connection between the first terminal and the second terminal; the display module is also used to display the virtual handle interface when the communication connection between the first terminal and the second terminal is successfully established.
[0020] In the above scheme, the first sending module is also used to display a start prompt control of the live broadcast acquisition device in response to a trigger operation on the live broadcast control; wherein the start prompt control is used to confirm whether to turn on the live broadcast acquisition device, and the live broadcast acquisition device includes at least one of an image acquisition device and a sound acquisition device; in response to a confirmation start instruction triggered by the start prompt control, the live broadcast acquisition device is turned on, and a live broadcast instruction for the virtual scene is sent.
[0021] In the above scheme, the display module is also used to display the device start control of the live broadcast acquisition device in the virtual handle interface, and the live broadcast acquisition device includes at least one of the image acquisition device and the sound acquisition device; in response to the trigger operation of the device start control, the live broadcast acquisition device is turned on.
[0022] In the above scheme, the first sending module is also used to obtain the live content collected by the live collection device; send the live content to the server, and the server is used to send the live content to a third terminal of the live viewing object, so that the third terminal outputs the live content.
[0023] In the above scheme, the display module is also used to display the device closing control of the live broadcast acquisition device in the virtual handle interface; the first sending module is also used to close the live broadcast acquisition device in response to a trigger operation on the device closing control.
[0024] In the above scheme, the display module is also used to display the live broadcast closing control of the virtual scene in the virtual handle interface; the first sending module is also used to send a live broadcast closing instruction for the virtual scene in response to a trigger operation on the live broadcast closing control, and the live broadcast closing instruction is used to instruct to close the live broadcast of the virtual scene.
[0025] In the above scheme, the display module is also used to display sharing controls for the live broadcast of the virtual scene in the virtual handle interface; based on the sharing controls, a live broadcast sharing instruction for the target object is received; the first sending module is also used to respond to the live broadcast sharing instruction and send live broadcast invitation information to the server, so that the server sends the live broadcast invitation information to the fourth terminal of the target object, and the live broadcast invitation information is used to invite the target object to watch the live broadcast of the virtual scene.
[0026] In the above scheme, the display module is also used to display an information release control for the live broadcast of the virtual scene in the virtual handle interface; based on the information release control, the target information input for the live broadcast of the virtual scene is received; the first sending module is also used to respond to the release instruction for the target information and send the target message to the server, and the server is used to send the target message to the third terminal of the viewing object of the live broadcast, so that the third terminal displays the target message.
[0027] The embodiment of the present application provides a live broadcast device of a virtual scene, which is applied to a server and includes:
[0028] A receiving module, used for receiving the live broadcast content of the virtual scene;
[0029] The virtual scene is displayed on the second terminal, and the virtual objects in the virtual scene are controlled through a virtual handle interface displayed on the first terminal, and the virtual handle interface includes a live broadcast control;
[0030] The live broadcast content is sent after the live broadcast for the virtual scene is started according to the live broadcast instruction triggered by the first terminal through the live broadcast control;
[0031] A synthesis module is used to synthesize the live broadcast content with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene, and the live broadcast picture is used to be sent to the second terminal so that the second terminal displays the live broadcast picture.
[0032] The present application also provides an electronic device, including:
[0033] A memory for storing computer executable instructions;
[0034] The processor is used to implement the live broadcast method of the virtual scene provided in the embodiment of the present application when executing the computer executable instructions stored in the memory.
[0035] An embodiment of the present application also provides a computer-readable storage medium storing computer-executable instructions or a computer program. When the computer-executable instructions or the computer program are executed by a processor, the live broadcast method of the virtual scene provided in the embodiment of the present application is implemented.
[0036] An embodiment of the present application also provides a computer program product, including computer executable instructions or a computer program. When the computer executable instructions or the computer program are executed by a processor, the live broadcast method of the virtual scene provided in the embodiment of the present application is implemented.
[0037] The embodiments of the present application have the following beneficial effects:
[0038] Applying the above-mentioned embodiment of the present application, the first terminal displays a virtual handle interface, which is used to control the virtual objects in the virtual scene displayed by the second terminal. The virtual handle interface includes a live broadcast control, through which a live broadcast instruction for the virtual scene can be triggered, and the live broadcast instruction is used to instruct to start the live broadcast for the virtual scene. Here, the first terminal can not only act as a virtual handle to control the virtual objects in the virtual scene displayed by the second terminal, but also control the start of the live broadcast for the virtual scene. In this way, 1) the functions of the device serving as a virtual handle can be enriched and the utilization rate of device resources can be improved; 2) the live broadcast for the virtual scene can be started with one click through the live broadcast control, which is simple to operate, improves the operational efficiency of starting the live broadcast of the virtual scene, and further improves the utilization rate of device resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 1 is a schematic diagram of the architecture of a live broadcast system 100 for a virtual scene provided in an embodiment of the present application;
[0040] Figure 2 It is a structural diagram of an electronic device 500 for implementing a live broadcast method of a virtual scene provided in an embodiment of the present application;
[0041] Figure 3 It is a flowchart of a method for live broadcasting of a virtual scene provided in an embodiment of the present application;
[0042] Figure 4A and Figure 4B is a display schematic diagram of a virtual handle interface provided in an embodiment of the present application;
[0043] Figure 5 is a schematic diagram of the display process of the virtual handle interface provided in an embodiment of the present application;
[0044] Figure 6 is a schematic diagram of a process for establishing a communication connection provided in an embodiment of the present application;
[0045] Figure 7 This is a schematic diagram of the startup process of the live broadcast collection device provided in an embodiment of the present application;
[0046] Figure 8 is a display schematic diagram of a virtual handle interface provided in an embodiment of the present application;
[0047] Fig. 9 It is a flowchart of a method for live broadcasting of a virtual scene provided in an embodiment of the present application;
[0048] Fig.10 is a schematic diagram of displaying connection guidance information provided in an embodiment of the present application;
[0049] Fig.11It is a schematic diagram of displaying a live screen of a virtual scene provided in an embodiment of the present application;
[0050] Fig.12 This is a schematic diagram of the viewing process of the target live broadcast room provided in an embodiment of the present application;
[0051] Fig.13 It is a flowchart of a method for live broadcasting of a virtual scene provided in an embodiment of the present application;
[0052] Fig.14 It is a flowchart of a live broadcast method of a virtual scene provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0054] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0055] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0056] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meanings as those commonly understood by those skilled in the art. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0057] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0058] 1) Client: an application running in the terminal to provide various services, such as a client that supports virtual scenes (such as a game client).
[0059] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.
[0060] 3) Cloud gaming: Also known as gaming on demand, it is an online gaming technology based on cloud computing technology. Cloud gaming technology enables thin clients with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud gaming scenario, the game is not run on the player's game terminal, but on a cloud server, which renders the game scene into a video and audio stream and transmits it to the player's game terminal over the network. The player's game terminal does not need to have powerful graphics computing and data processing capabilities, but only needs to have basic streaming media playback capabilities and the ability to obtain player input commands and send them to the cloud server.
[0061] 4) Mini programs are programs developed based on front-end languages (such as JavaScript) that implement services in Hypertext Markup Language (HTML) pages. After being downloaded from the client, they can be immediately interpreted and executed in the client, saving the step of installation in the client.
[0062] 5) Virtual scene: The virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictional virtual environment, or a purely fictional virtual environment. In the embodiment of the present application, the virtual scene can be a game.
[0063] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium and computer program product for live broadcasting of a virtual scene, which can start live broadcasting of a virtual scene through a device serving as a virtual handle, thereby improving the utilization rate of device resources.
[0064] It should be noted that the data collection and processing in this application should be strictly in accordance with the requirements of relevant national laws and regulations when applied in examples, and the informed consent or separate consent of the personal information subject should be obtained, and subsequent data use and processing should be carried out within the scope of authorization of laws and regulations and the personal information subject.
[0065] The following describes a live broadcast system for a virtual scene provided by an embodiment of the present application. Figure 1 , Figure 1It is a schematic diagram of the architecture of the live broadcast system 100 of the virtual scene provided in an embodiment of the present application. To support an exemplary application, the first terminal 400-1 (corresponding to the anchor end of the virtual scene), the third terminal 400-2 (corresponding to the audience end of the virtual scene) and the server 200 establish a communication connection through a network 300. The network 300 can be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.
[0066] The first terminal 400-1 is used to display a virtual handle interface, which is used to control virtual objects in a virtual scene displayed on the second terminal, and the virtual handle interface includes a live broadcast control; in response to a trigger operation on the live broadcast control, a live broadcast instruction for the virtual scene is sent to the server 200;
[0067] The server 200 is configured to receive a live broadcast instruction for a virtual scene sent by the first terminal 400-1; in response to the live broadcast instruction, start the live broadcast for the virtual scene; and send the live broadcast picture of the virtual scene to the third terminal 400-2;
[0068] The third terminal 400-2 is used to receive the live broadcast picture of the virtual scene sent by the server 200; and display the live broadcast picture of the virtual scene. In some examples, the live broadcast picture of the virtual scene may include at least one of the following: the scene picture of the virtual scene, comment information published for the live broadcast of the virtual scene, and the live broadcast content of the anchor object corresponding to the live broadcast of the virtual scene.
[0069] In some embodiments, the live broadcast method of the virtual scene provided in the embodiment of the present application can be implemented by various electronic devices, for example, it can be implemented by a terminal (such as the first terminal 400-1 and the third terminal 400-2) alone, or it can be implemented by a terminal and a server in collaboration. The live broadcast method of the virtual scene provided in the embodiment of the present application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, games, etc.
[0070] In some embodiments, the server (e.g., server 200) may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal (e.g., the first terminal 400-1, the third terminal 400-2) may be a laptop, a tablet computer, a desktop computer, a smart phone, a smart home appliance (e.g., a smart TV), a smart watch, a vehicle terminal, a wearable device, a virtual reality (VR) device, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0071] In some embodiments, the live broadcast method of the virtual scene provided in the embodiment of the present application can be implemented with the aid of cloud technology (Cloud Technology). Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and network in a wide area network or a local area network to realize the calculation, storage, processing, and sharing of data. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the application of cloud computing business model, which can form a resource pool, which is used on demand and is flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing resources and storage resources. As an example, the server (such as server 200) can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0072] In some embodiments, multiple servers may form a blockchain, and the servers are nodes on the blockchain. Information connections may exist between each node in the blockchain, and information may be transmitted between nodes through information connections. Among them, data related to the live broadcast method of the virtual scene provided in the embodiment of the present application (such as scene data of the virtual scene) may be stored on the blockchain.
[0073] In some embodiments, the terminal or server can implement the live broadcast method of the virtual scene provided in the embodiment of the present application by running various computer executable instructions or computer programs. For example, the computer executable instructions can be commands, machine instructions or software instructions at the microprogram level. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (Application, APP), that is, a program that needs to be installed in the operating system to run, such as a game client, a live broadcast client, etc.; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.
[0074] The following describes an electronic device for implementing a live broadcast method of a virtual scene provided by an embodiment of the present application. Figure 2 , Figure 2It is a structural diagram of an electronic device 500 for implementing a live broadcast method of a virtual scene provided in an embodiment of the present application. The electronic device 500 provided in an embodiment of the present application may be a terminal (such as the first terminal 400-1 mentioned above) or a server. The electronic device 500 provided in an embodiment of the present application includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together through a bus system 540. It can be understood that the bus system 540 is used to realize connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, in Figure 2 Various buses are labeled as bus system 540 .
[0075] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0076] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0077] The memory 550 may be removable, non-removable, or a combination thereof. The memory 550 may include one or more storage devices physically located away from the processor 510. The memory 550 includes a volatile memory or a non-volatile memory, and may also include both a volatile memory and a non-volatile memory. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.
[0078] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0079] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0080] A network communication module 552, used to reach other electronic devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;
[0081] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);
[0082] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.
[0083] In some embodiments, the live broadcast device of the virtual scene provided in the embodiments of the present application can be implemented in a software manner. Figure 2 A live broadcast device 555 of a virtual scene stored in a memory 550 is shown, which may be software in the form of a program and a plug-in, etc., and includes the following software modules: a display module 5551 and a first sending module 5552. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.
[0084] The following describes the live broadcast method of the virtual scene provided by the embodiment of the present application. Figure 3 , Figure 3 : is a flowchart of a live broadcast method of a virtual scene provided in an embodiment of the present application. The live broadcast method of a virtual scene provided in an embodiment of the present application includes:
[0085] Step 101: The first terminal displays a virtual handle interface.
[0086] The virtual handle interface is used to control virtual objects in a virtual scene displayed on the second terminal, and the virtual handle interface includes a live broadcast control.
[0087] Here, the first terminal may be provided with an application supporting a virtual handle, such as a virtual handle client, a virtual handle applet, etc. When the user needs to use the virtual handle, a running instruction of the application set for the first terminal may be triggered. The first terminal responds to the running instruction, runs the application, and displays a virtual handle interface. In this way, the first terminal can be used as a virtual handle. The virtual handle interface may display the operation controls included in the virtual handle. For example, see Figure 4A The virtual handle interface includes multiple operation controls, such as operation control 1, operation control 2, etc. The user can control the virtual object in the virtual scene through the operation controls displayed in the virtual handle interface.
[0088] It should be noted that, in some embodiments, the second terminal can be used to display a virtual scene, which actually runs on a server (such as a cloud server). After the server renders the scene screen of the virtual scene, it sends the scene screen of the virtual scene to the second terminal. The second terminal displays the virtual scene based on the received scene screen of the virtual scene. Thus, the virtual scene can be a virtual scene in a cloud service mode, such as a cloud game. In actual applications, the first terminal can establish a communication connection with the second terminal, so that the first terminal controls the virtual objects in the virtual scene through the virtual handle interface; of course, the first terminal and the second terminal can also establish communication connections with the server respectively, so that the first terminal obtains the operation information of the virtual object in the virtual scene triggered by the user through the virtual handle interface, and sends the operation information to the server. The server renders the scene data of the virtual scene according to the operation information, so as to send the rendered scene screen of the virtual scene to the second terminal, and the second terminal then displays the virtual scene after the user controls the virtual object through the virtual handle interface.
[0089] In some other embodiments, the virtual scene can also be run on a second terminal that has established a communication connection with the first terminal. On the premise that the first terminal and the second terminal have established a communication connection, the first terminal can be used as a virtual handle of the virtual scene to control the virtual objects of the virtual scene running on the second terminal. In practical applications, the first terminal can be a smart phone, and the second terminal can be a smart TV, a tablet computer, etc.
[0090] In some embodiments, before displaying the virtual handle interface, the first terminal may perform the following processing: receiving a scanning operation for a graphic code displayed by the second terminal; and establishing a communication connection between the first terminal and the second terminal in response to the scanning operation. Here, the user can establish a communication connection between the first terminal and the second terminal by scanning the graphic code displayed by the second terminal. In this way, the user operation can be simplified, the efficiency of establishing the communication connection can be improved, and the user experience can be improved.
[0091] In some embodiments, in response to a scanning operation, the first terminal may establish a communication connection between the first terminal and the second terminal in the following manner: in response to the scanning operation, a virtual handle applet is run, and a communication connection between the first terminal and the second terminal is established through the virtual handle applet. Here, establishing a communication connection between the first terminal and the second terminal is achieved through the virtual handle applet. When the first terminal receives a scanning operation for a graphic code displayed by the second terminal, the virtual handle applet is run in response to the scanning operation, thereby establishing a communication connection between the first terminal and the second terminal through the virtual handle applet. Here, the applet is a lightweight application that can save the steps of installation on the client and is quick to start. In this way, it can not only improve the efficiency of establishing a communication connection, but also reduce the occupation of hardware processing resources and storage resources of the first terminal, thereby improving the user experience.
[0092] In some embodiments, the first terminal may display the virtual handle interface in the following manner: when the communication connection between the first terminal and the second terminal is successfully established, the first terminal displays the virtual handle interface. Here, when the communication connection between the first terminal and the second terminal is successfully established, the first terminal directly displays the virtual handle interface, thereby achieving the purpose of quickly displaying the virtual handle interface. As an example, see Figure 5 , Figure 5 is a schematic diagram of the display process of the virtual handle interface provided by the embodiment of the present application. Here, the second terminal displays a graphic code, such as Figure 5 As shown in (1); the first terminal receives a scanning operation for the graphic code, such as Figure 5 As shown in (2); the first terminal establishes a communication connection between the first terminal and the second terminal in response to the scanning operation for the graphic code, and when the communication connection between the first terminal and the second terminal is successfully established, the first terminal displays a virtual handle interface, such as Figure 5 As shown in (3).
[0093] In some embodiments, before displaying the virtual handle interface, the first terminal may perform the following processing: displaying a device connection control for the second terminal; establishing a communication connection between the first terminal and the second terminal in response to a trigger operation on the device connection control; when the communication connection between the first terminal and the second terminal is successfully established, the first terminal displays the virtual handle interface. Here, the first terminal may provide a device connection control for the second terminal, through which a communication connection between the first terminal and the second terminal may be established. As an example, see Figure 6 , Figure 6 is a schematic diagram of a process for establishing a communication connection provided by an embodiment of the present application. Here, the first terminal displays a device connection control for the second terminal, such as Figure 6In response to the trigger operation for the device connection control, the identified connectable device is displayed, and the connectable device includes a second terminal, such as Figure 6 As shown in (2); in response to the confirmation selection operation for the second terminal, a communication connection between the first terminal and the second terminal is established. In actual applications, after the communication connection between the first terminal and the second terminal is established, the first terminal can directly display the virtual handle interface to achieve the purpose of quickly displaying the virtual handle interface.
[0094] In the embodiment of the present application, the virtual handle interface includes a live broadcast control. The user can control the start of the live broadcast of the virtual scene through the live broadcast control. Figure 4A In the virtual handle interface, a live broadcast control "One-click to start live broadcast" for a virtual scene is displayed. In this way, the first terminal can not only act as a virtual handle to control the virtual objects of the virtual scene displayed by the second terminal, but also control the start of live broadcast for the virtual scene, which can enrich the functions of the device as a virtual handle and improve the utilization rate of device resources; and the live broadcast control can be used to start the live broadcast for the virtual scene with one click, which is simple to operate and improves the operational efficiency of starting the live broadcast of the virtual scene.
[0095] Step 102: In response to a trigger operation on a live broadcast control, a live broadcast instruction for a virtual scene is sent.
[0096] The live broadcast instruction is used to instruct to start the live broadcast of the virtual scene.
[0097] Here, when the first terminal receives a trigger operation for the live broadcast control, in response to the trigger operation, a live broadcast instruction for the virtual scene is sent. The live broadcast instruction is used to instruct to start the live broadcast for the virtual scene. In some examples, the first terminal can send the live broadcast instruction to the second terminal, and the second terminal responds to the live broadcast instruction to start the live broadcast for the virtual scene and display the live broadcast screen of the virtual scene.
[0098] In other examples, the first terminal can send a live broadcast instruction to the server, and the server controls the start of the live broadcast for the virtual scene. Specifically, the first terminal can send a live broadcast instruction to the live broadcast server, and the live broadcast server starts the live broadcast for the virtual scene. After the live broadcast server starts the live broadcast for the virtual scene, the first terminal will send the live broadcast content of the virtual scene (such as the image and sound of the anchor) to the live broadcast server; at this time, the live broadcast server can send the live broadcast content to the cloud server of the virtual scene; after the cloud server receives the live broadcast content, it synthesizes the live broadcast content and the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene, and pushes the live broadcast picture of the virtual scene to the second terminal for display. Specifically, the cloud server can directly send the live broadcast picture to the second terminal, or it can be forwarded to the second terminal through the live broadcast server.
[0099] In actual application, the live broadcast picture of the virtual scene includes at least one of the following information: the scene picture of the virtual scene, comment information published on the live broadcast of the virtual scene, and the live broadcast content of the anchor object corresponding to the live broadcast of the virtual scene.
[0100] In some embodiments, the first terminal may send a live broadcast instruction for a virtual scene in response to a trigger operation on a live broadcast control in the following manner: in response to a trigger operation on a live broadcast control, a start prompt control for a live broadcast acquisition device is displayed; wherein the start prompt control is used to confirm whether to turn on the live broadcast acquisition device, and the live broadcast acquisition device includes at least one of an image acquisition device and a sound acquisition device; in response to a confirmation start instruction triggered by the start prompt control, the live broadcast acquisition device is turned on, and a live broadcast instruction for the virtual scene is sent.
[0101] Here, when live broadcasting a virtual scene, a live broadcast acquisition device may also be turned on to collect live broadcast content during the live broadcast process. The live broadcast acquisition device includes at least one of an image acquisition device and a sound acquisition device. The image acquisition device is used to collect video images during the live broadcast process (such as the video images of the anchor), and the sound acquisition device is used to collect audio information during the live broadcast process (such as the voice information of the anchor). In actual applications, when the first terminal receives a trigger operation for a live broadcast control, in response to the trigger operation, an opening prompt control of the live broadcast acquisition device is displayed to prompt confirmation through the opening prompt control whether to turn on the live broadcast acquisition device. When a confirmation opening instruction based on the triggering of the opening prompt control is received, the live broadcast acquisition device is turned on in response to the confirmation opening instruction, and a live broadcast instruction for the virtual scene is sent at the same time.
[0102] As an example, see Figure 7 , Figure 7 1 is a schematic diagram of the start-up process of the live broadcast collection device provided in the embodiment of the present application. Here, the first terminal displays the live broadcast control, such as Figure 7 As shown in (1); the first terminal responds to the trigger operation for the live broadcast control, displays the start prompt control of the live broadcast acquisition device, and the start prompt control includes a confirmation control "Confirm" for triggering the confirmation start instruction, a confirmation control "Cancel" for triggering the cancellation start instruction, and a prompt message "Please start the live broadcast acquisition device"; in response to the confirmation start instruction triggered by the confirmation control "Confirm", the live broadcast acquisition device is turned on, such as Figure 7 As shown in (2).
[0103] In some embodiments, the first terminal can start the live broadcast acquisition device in the following manner: in the virtual handle interface, display the device start control of the live broadcast acquisition device, the live broadcast acquisition device includes at least one of an image acquisition device and a sound acquisition device; in response to the trigger operation for the device start control, start the live broadcast acquisition device. Here, the start of the live broadcast acquisition device may be unrelated to the sending of the live broadcast instruction, so that only the live broadcast for the virtual scene can be started without the host performing the live broadcast. At this time, the device start control of the live broadcast acquisition device can be displayed in the virtual handle interface, so that the user can start the live broadcast acquisition device based on the device start control at any time of the live broadcast according to personal needs. When the first terminal receives the trigger operation for the device start control, the live broadcast acquisition device is started in response to the trigger operation. The live broadcast acquisition device is used to collect live content during the live broadcast process, and the live broadcast acquisition device includes at least one of an image acquisition device and a sound acquisition device. The image acquisition device is used to collect video images during the live broadcast process (such as the host's video image), and the sound acquisition device is used to collect audio information during the live broadcast process (such as the host's voice information). As an example, see Figure 8 , Figure 8 It is a display schematic diagram of the virtual handle interface provided in an embodiment of the present application. Here, the virtual handle interface displays a device start control “Start live broadcast acquisition device” of the live broadcast acquisition device.
[0104] In some embodiments, the first terminal can broadcast live in the following manner: obtain live content collected by a live collection device; send the live content to a server, which is used to send the live content to a third terminal of the live viewing object, so that the third terminal outputs the live content. Here, the live content collected by the live collection device can be sent to the third terminal of the live viewing object, so that the live viewing object can watch the live content of the live anchor object while watching the scene picture of the live virtual scene, thereby improving the live effect. Specifically, the live content can be sent to the live server, and the live server forwards the live content to the cloud server running the virtual scene. After receiving the live content, the cloud server synthesizes the live content and the scene picture of the virtual scene to obtain the live picture of the virtual scene, and pushes the live picture of the virtual scene to the third terminal for display. Specifically, the cloud server can directly send the live picture to the third terminal, or forward it to the third terminal through the live server. In this way, the third terminal can output the live content.
[0105] In some embodiments, the first terminal can turn off the live broadcast acquisition device in the following manner: display the device turn-off control of the live broadcast acquisition device in the virtual handle interface; and turn off the live broadcast acquisition device in response to a trigger operation on the device turn-off control. Here, after the live broadcast acquisition device is turned on, the live broadcast acquisition device can also be turned off through the device turn-off control. In this way, it is convenient for the anchor object to turn on or off the live broadcast acquisition device as needed, thereby increasing the freedom of the anchor object's live broadcast and improving the anchor object's live broadcast experience. As an example, continue to refer to Figure 8 The virtual handle interface displays a device closing control of the live broadcast acquisition device, “Close the live broadcast acquisition device”.
[0106] In some embodiments, the first terminal can turn off the live broadcast for the virtual scene in the following manner: in the virtual handle interface, display a live broadcast turn-off control for the virtual scene; in response to a trigger operation on the live broadcast turn-off control, send a live broadcast turn-off instruction for the virtual scene, and the live broadcast turn-off instruction is used to instruct to turn off the live broadcast for the virtual scene. Here, in the virtual handle interface, a live broadcast turn-off control for the virtual scene can also be provided, and the live broadcast turn-off control can be used to control the turn-off of the live broadcast for the virtual scene. In this way, the anchor can start the live broadcast through the live broadcast control, and can also turn off the live broadcast through the live broadcast turn-off control, which further enriches the function of the device as a virtual handle and improves the user experience. As an example, see Figure 4B , when the trigger operation for the live broadcast control in the virtual handle interface is triggered and the live broadcast starts, the virtual handle interface switches from displaying the live broadcast control "One-click live broadcast" to displaying the live broadcast close control "Close live broadcast". In some examples, the first terminal can send a live broadcast close instruction to the second terminal, and the second terminal responds to the live broadcast close instruction to close the live broadcast for the virtual scene and display the scene picture of the virtual scene. In other examples, the first terminal can send a live broadcast close instruction to the server, and the server controls the closing of the live broadcast for the virtual scene and controls the second terminal to display the scene picture of the virtual scene. For example, when the virtual scene is a cloud game, the first terminal can send a live broadcast close instruction to the cloud game server, and the cloud game server closes the live broadcast for the virtual scene, and pushes the scene picture of the virtual scene to the second terminal for display.
[0107] In some embodiments, the first terminal may share the live broadcast in the following manner: displaying a sharing control for the live broadcast of the virtual scene in the virtual handle interface; receiving a live broadcast sharing instruction for the target object based on the sharing control; and sending a live broadcast invitation message to the server in response to the live broadcast sharing instruction, so that the server sends the live broadcast invitation message to the fourth terminal of the target object, and the live broadcast invitation message is used to invite the target object to watch the live broadcast of the virtual scene.
[0108] Here, in the virtual handle interface, a sharing control for the live broadcast of the virtual scene can also be provided. Through the sharing control, the live broadcast of the virtual scene can be shared with other users to invite other users to watch the live broadcast of the virtual scene. In actual applications, the live broadcast sharing instruction for the target object can be triggered by the sharing control. For example, the first terminal displays at least one object for selection in response to the trigger operation for the sharing control, and the at least one object includes the target object. In response to the confirmation selection operation for the target object, the live broadcast sharing instruction for the target object is received. Continuing, the first terminal sends a live broadcast invitation message to the server (such as the server of the instant messaging client) in response to the live broadcast sharing instruction. After receiving the live broadcast invitation message, the server sends the live broadcast invitation message to the fourth terminal of the target object. At this time, the target object can watch the live broadcast of the virtual scene based on the live broadcast invitation message.
[0109] In actual applications, when selecting a target object based on a sharing control, you can also select a sharing method, such as SMS sharing, instant messaging application sharing, social circle of friends sharing, etc. As an example, continue to refer to Figure 8 The virtual controller interface displays a sharing control "Live Sharing" for the live broadcast of the virtual scene. In this way, the live broadcast can be shared with other users through the sharing control to attract more users to watch the live broadcast, thereby increasing the host's enthusiasm and enthusiasm for the live broadcast, and further enriching the functions of the device as a virtual controller to improve the user experience.
[0110] In some embodiments, the first terminal can publish information during the live broadcast in the following manner: in the virtual handle interface, displaying an information release control for the live broadcast of the virtual scene; based on the information release control, receiving target information input for the live broadcast of the virtual scene; in response to a publishing instruction for the target information, sending a target message to the server, and the server is used to send the target message to a third terminal of the live broadcast viewing object, so that the third terminal displays the target message.
[0111] Here, in the virtual handle interface, an information release control for the live broadcast of the virtual scene can also be provided, and the user (such as the anchor) can release information during the live broadcast based on the information release control. In this way, based on the information release control, the target information input for the live broadcast of the virtual scene can be received. When a release instruction for the target information is received, the target message is sent to the server (such as the live broadcast server) in response to the release instruction, and the live broadcast server distributes it to the third terminal of the live broadcast viewing object, so that the third terminal displays the target message. As an example, continue to refer to Figure 8The virtual handle interface displays an information release control "Information Release" for the live broadcast of the virtual scene. In this way, the information release control can be used to send the content you want to express to the viewers of the live broadcast, thereby improving the interactivity between the anchor and the audience, thereby increasing the anchor's enthusiasm and initiative for live broadcasting, and further enriching the functions of the device as a virtual handle, improving the user experience.
[0112] It should be noted that the trigger operation mentioned in the embodiments of the present application can be any operation that can trigger the corresponding function, such as single-click, double-click, drag, etc. The controls mentioned in the embodiments of the present application can be equivalent to function items and can have various presentation forms, such as graphic buttons, progress bars, menus, lists, etc. The embodiments of the present application do not impose any restrictions on this.
[0113] Applying the above-mentioned embodiment of the present application, the first terminal displays a virtual handle interface, which is used to control the virtual objects in the virtual scene displayed by the second terminal. The virtual handle interface includes a live broadcast control, through which a live broadcast instruction for the virtual scene can be triggered, and the live broadcast instruction is used to instruct to start the live broadcast for the virtual scene. Here, the first terminal can not only act as a virtual handle to control the virtual objects in the virtual scene displayed by the second terminal, but also control the start of the live broadcast for the virtual scene. In this way, 1) the functions of the device serving as a virtual handle can be enriched and the utilization rate of device resources can be improved; 2) the live broadcast for the virtual scene can be started with one click through the live broadcast control, which is simple to operate, improves the operational efficiency of starting the live broadcast of the virtual scene, and further improves the utilization rate of device resources.
[0114] The following is a description of the live broadcast method of the virtual scene provided by the embodiment of the present application. Fig. 9 , Fig. 9 : is a flowchart of a live broadcast method of a virtual scene provided in an embodiment of the present application. The live broadcast method of a virtual scene provided in an embodiment of the present application includes:
[0115] Step 201: The server receives live content of a virtual scene.
[0116] The virtual scene is displayed on the second terminal, and the virtual objects in the virtual scene are controlled through a virtual handle interface displayed on the first terminal, and the virtual handle interface includes a live broadcast control.
[0117] The live broadcast content is sent after the live broadcast for the virtual scene is started according to the live broadcast instruction triggered by the first terminal through the live broadcast control.
[0118] In practical applications, the server may be a server for running a virtual scene, for example, if the virtual scene is a cloud game, the server is a cloud game server. The server may render the scene data of the virtual scene, obtain the scene picture of the virtual scene, and then push the scene picture of the virtual scene to the second terminal for display.
[0119] In an embodiment of the present application, a live broadcast control is displayed in the virtual handle interface displayed on the first terminal. The user can trigger a live broadcast instruction for the virtual scene based on the live broadcast control at the first terminal to control the start of the live broadcast for the virtual scene.
[0120] Step 202: synthesize the live broadcast content with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene.
[0121] In actual applications, when the user triggers a live broadcast instruction for a virtual scene based on the live broadcast control on the first terminal, the first terminal sends a live broadcast instruction to the live broadcast server. At this time, the live broadcast server responds to the live broadcast instruction and starts the live broadcast for the virtual scene. At the same time, the live broadcast server can also return a prompt message of successful live broadcast to the first terminal. After receiving the prompt message of successful live broadcast, the first terminal confirms that the live broadcast for the virtual scene has been started, and sends the collected live broadcast content to the live broadcast server. After receiving the live broadcast content, the live broadcast server forwards it to the server running the virtual scene. The server running the virtual scene can synthesize the scene picture of the virtual scene with the live broadcast content to obtain the live broadcast picture of the virtual scene.
[0122] Step 203: Send the live picture of the virtual scene to the second terminal, so that the second terminal displays the live picture of the virtual scene.
[0123] In actual applications, after the server running the virtual scene obtains the live picture of the virtual scene, the live picture of the virtual scene is sent to the second terminal. Specifically, the server can directly send the live picture to the second terminal, or forward it to the second terminal through a live server. After the second terminal receives the live picture of the virtual scene, it displays the live picture of the virtual scene.
[0124] Continue to see Fig.14 , Fig.14 : is a flowchart of a live broadcast method of a virtual scene provided in an embodiment of the present application. Here, the live broadcast method of a virtual scene provided in an embodiment of the present application includes:
[0125] Step 301: The first terminal displays a virtual handle interface including live broadcast controls.
[0126] Here, the first terminal corresponds to the host terminal of the live broadcast.
[0127] Step 302: The first terminal sends a live broadcast instruction for the virtual scene to the live broadcast server in response to a trigger operation on the live broadcast control.
[0128] Step 303: The live broadcast server starts the live broadcast of the virtual scene in response to the received live broadcast instruction, and returns a live broadcast start success notification to the first terminal.
[0129] Step 304: The first terminal receives the live broadcast start success notification and sends the live broadcast content of the virtual scene to the live broadcast server.
[0130] Step 305: The live broadcast server receives the live broadcast content of the virtual scene, and sends the live broadcast content of the virtual scene to the virtual scene server running the virtual scene.
[0131] Here, when the virtual scene is a cloud game, the virtual scene server is a cloud game server.
[0132] Step 306: The virtual scene server obtains the scene picture of the rendered virtual scene, and synthesizes the live broadcast content and the scene picture to obtain the live broadcast picture of the virtual scene.
[0133] Step 307: The virtual scene server sends the live broadcast image to the live broadcast server.
[0134] Step 308: The live broadcast server distributes the live broadcast image to the second terminal and the third terminal of the live broadcast audience watching the live broadcast.
[0135] Here, the second terminal is a terminal of the anchor end for displaying a virtual scene.
[0136] Next, the second terminal is described. After the second terminal receives the live screen of the virtual scene, it displays the live screen of the virtual scene. In some embodiments, before displaying the live screen of the virtual scene, the second terminal may also perform the following processing: in response to the display instruction for the virtual scene, determine whether the second terminal has established a communication connection with the first terminal; when the second terminal has established a communication connection with the first terminal, determine to execute the operation of running the virtual scene; when the second terminal has not established a communication connection with the first terminal, display connection guidance information, which is used to indicate the connection establishment method indicated by the connection guidance information to establish a communication connection between the second terminal and the first terminal.
[0137] Here, the virtual scene can be run by triggering a display instruction for the virtual scene at the second terminal. In response to the display instruction for the virtual scene, the second terminal can first determine whether the second terminal has established a communication connection with the first terminal. If the second terminal has established a communication connection with the first terminal, the virtual scene is displayed; if the second terminal has not established a communication connection with the first terminal, the connection guidance information can be displayed. Among them, the connection guidance information is used to indicate the establishment of a communication connection between the second terminal and the first terminal through the connection establishment method indicated by the connection guidance information. For example, the connection guidance information may include a graphic code (such as a QR code) and corresponding prompt information "Scan the QR code to connect"; the connection guidance information may also include only prompt information, such as "Open mobile phone XXX to connect".
[0138] In some embodiments, the connection guidance information includes a graphic code, and the graphic code is used for the first terminal to trigger a scanning operation for the graphic code, establish a communication connection between the first terminal and the second terminal, and jump the interface to the virtual handle interface; accordingly, the second terminal can also perform the following processing: obtain a link corresponding to the virtual handle interface; encode the link to obtain a graphic code. Here, when the connection guidance information includes a graphic code, the link corresponding to the virtual handle interface can be obtained first, and then the link can be encoded to obtain and display the graphic code. Based on this, the first terminal can establish a communication connection between the first terminal and the second terminal by scanning the graphic code displayed by the second terminal. At the same time, after the communication connection between the first terminal and the second terminal is successfully established, the virtual handle interface is displayed.
[0139] As an example, see Fig.10 , Fig.10 is a schematic diagram of displaying the connection guide information provided by an embodiment of the present application. Here, in response to the selection operation for the virtual scene "virtual scene 1", the operation instruction for the virtual scene is triggered, such as Fig.10 At this time, since it is determined that the second terminal has not established a communication connection with the first terminal, the second terminal displays connection guidance information, which includes a graphic code (such as a QR code) and a corresponding prompt message "Scan the QR code to connect", such as Fig.10 As shown in (2).
[0140] In some embodiments, the second terminal may display the live broadcast screen of the virtual scene in the following manner: displaying the live broadcast screen of the virtual scene, including at least one of the following information: the scene screen of the virtual scene, the comment information published for the live broadcast of the virtual scene, and the live broadcast content of the anchor object corresponding to the live broadcast of the virtual scene. Fig.11 , Fig.111 is a schematic diagram of a live broadcast screen of a virtual scene provided by an embodiment of the present application. Here, the live broadcast screen of the virtual scene includes: a scene screen of the virtual scene, comment information published for the live broadcast of the virtual scene, and the live broadcast content of the anchor object.
[0141] In some embodiments, the second terminal can display the live broadcast of the target live broadcast room in the following manner: display the live broadcast room entry control; based on the live broadcast room entry control, receive the live broadcast room entry instruction for the target live broadcast room, the target live broadcast room is used to broadcast the target virtual scene live; in response to the live broadcast room entry instruction, display the live broadcast screen of the target virtual scene. Here, the user can also watch the live broadcast of the virtual scene through the live broadcast room entry control provided by the second terminal. When the live broadcast room entry instruction for the target live broadcast room is received based on the room entry control, the live broadcast screen of the target virtual scene is displayed in response to the live broadcast room entry instruction. In this way, the user can not only broadcast live, but also watch the live broadcast of other virtual scenes on the second terminal, providing user experience.
[0142] In some embodiments, the second terminal can interact in the target live broadcast room in the following manner: display the live broadcast interaction control for the target live broadcast room; in response to the live broadcast interaction instruction triggered based on the live broadcast interaction control, perform the live broadcast interaction operation indicated by the live broadcast interaction instruction for the target live broadcast room. Here, the live broadcast interaction control may include at least one of the following: comment control (used to publish comment information for the target live broadcast room), hidden comment control (used to hide the comment information displayed in the target live broadcast room), resource gift control (used to send virtual resources to the anchor of the target live broadcast room, such as virtual gifts, virtual gold coins, etc.), like control (used to like the target live broadcast room), share control (used to share the target live broadcast room to other users), etc.
[0143] As an example, see Fig.12 , Fig.12 : is a schematic diagram of the viewing process of the target live broadcast room provided by the embodiment of the present application. Here, the second terminal displays the live broadcast room to enter the control "live broadcast room", such as Fig.12 In response to a trigger operation for entering the live broadcast room control "live broadcast room", at least one live broadcast room for selection is displayed, and the at least one live broadcast room includes a target live broadcast room, such as Fig.12 In response to the selection operation for the target live broadcast room, a live broadcast room entry instruction for the target live broadcast room is received. At this time, in response to the live broadcast room entry instruction, a live broadcast screen of the target virtual scene broadcasted by the target live broadcast room is displayed, such as Fig.12As shown in (3) in the figure, the live broadcast screen of the target virtual scene includes the scene screen of the target virtual scene, the comment information published for the target live broadcast room, and the live broadcast content of the anchor object in the target live broadcast room. At the same time, comment controls, hidden comment controls, resource donation controls, etc. are also displayed.
[0144] It should be noted that the trigger operation mentioned in the embodiments of the present application can be any operation that can trigger the corresponding function, such as single-click, double-click, drag, etc. The controls mentioned in the embodiments of the present application can be equivalent to function items and can have various presentation forms, such as graphic buttons, progress bars, menus, lists, etc. The embodiments of the present application do not impose any restrictions on this.
[0145] Using the above-mentioned embodiments of the present application, the live broadcast content received by the server is sent after the live broadcast for the virtual scene is started according to the live broadcast instruction triggered by the first terminal through the live broadcast control. That is, the first terminal can be used as a virtual handle to control the virtual objects in the virtual scene displayed by the second terminal, and can also control the start of the live broadcast for the virtual scene. In this way, 1) the functions of the device used as a virtual handle can be enriched and the utilization rate of device resources can be improved; 2) the live broadcast for the virtual scene can be started with one click through the live broadcast control, which is simple to operate, improves the operational efficiency of starting the live broadcast of the virtual scene, and further improves the utilization rate of device resources.
[0146] The following will take the virtual scene as a cloud game as an example to illustrate the exemplary application of the embodiment of the present application in an actual application scenario. In the related art, the first terminal (such as a smart phone) is used as a virtual handle to control the game object of the cloud game of the second terminal (such as a smart TV). However, during the experience of the cloud game, the first terminal can only be used as a virtual handle.
[0147] Based on this, the embodiment of the present application provides a live broadcast method of a virtual scene to at least solve the above-mentioned problems. Next, taking the first terminal smart phone and the second terminal as a smart TV as an example, the live broadcast method of the virtual scene provided by the embodiment of the present application is explained. In the embodiment of the present application, by providing a live broadcast control on the mobile phone terminal, the user can control the start of the live broadcast for the cloud game through the live broadcast control, shorten the user's operation path for live broadcast, improve the user's willingness to live broadcast, and increase the user's chance of using the TV terminal to live broadcast the cloud game and retain it. In actual application, the user can scan the graphic code (such as a QR code) of the virtual handle applet displayed on the TV terminal through the mobile phone terminal, enter the virtual handle interface of the virtual handle applet, click the live broadcast control on the virtual handle interface, control the start of the live broadcast for the cloud game, and the mobile phone terminal can also turn on the camera. At this time, the TV terminal enters the cloud game and displays the real-time live broadcast screen of the cloud game. At the same time, it can also display comment information to interact with the live audience.
[0148] The anchor live broadcast process may include:
[0149] 1) If Fig.10 As shown in (1), on a TV terminal, the host can trigger a selection operation for a cloud game through a remote control device (such as a remote control of a TV terminal) to enter the cloud game.
[0150] 2) If Fig.10 As shown in (2), the system detects that the TV terminal is not connected to an external device (for example, a mobile phone terminal or a handle device that supports a virtual handle), and displays connection guidance information to guide the user to connect the TV terminal through the mobile phone terminal.
[0151] 3) If Figure 5 As shown in (2), the anchor scans the QR code of the virtual handle applet displayed on the TV terminal through the mobile terminal.
[0152] 4) If Figure 5 As shown in (3), after the scanning of the QR code is completed, the mobile terminal runs the virtual handle applet to display the virtual handle interface, and displays the live broadcast control "One-click to start live broadcast" in the virtual handle interface.
[0153] 5) If Figure 4A and Figure 4B As shown, after the trigger operation for the live broadcast control is triggered on the mobile terminal and the live broadcast starts, the virtual handle interface switches from displaying the live broadcast control "One-click start live broadcast" to displaying the live broadcast close control "Close live broadcast", and the camera of the mobile terminal is turned on at the same time.
[0154] 6) If Fig.11 As shown, the TV terminal displays the live broadcast screen of the cloud game, including the game screen of the cloud game, comment information and the live broadcast content of the anchor.
[0155] The process for viewers to watch live broadcasts includes:
[0156] 1) If Fig.12 As shown in (1), a live broadcast room entry control "live broadcast room" is displayed on the TV terminal, and the user can trigger the trigger operation for the live broadcast entry control through the remote control of the TV terminal.
[0157] 2) If Fig.12 As shown in (2), the TV terminal responds to the trigger operation of entering the live broadcast room control "live broadcast room" and displays at least one live broadcast room for selection; the user can trigger the selection operation for the target live broadcast room through the remote control of the TV terminal.
[0158] 3) If Fig.12As shown in (3), the TV terminal responds to the selection operation for the target live broadcast and enters the target live broadcast room. In the target live broadcast room, the user can perform interactive operations such as commenting, hiding comments, and donating virtual resources.
[0159] Next, the live broadcast method of the virtual scene provided in the embodiment of the present application is described in detail. Fig.13 The live broadcast method of the virtual scene provided in the embodiment of the present application includes:
[0160] (1) The user selects a designated cloud game on the TV terminal through the remote control, triggering a start command for the cloud game to start the cloud game on the cloud game client of the TV terminal.
[0161] (2) Before the cloud game client of the TV terminal starts the cloud game, it detects whether the TV terminal has established a communication connection with the mobile terminal; if not, execute (3); if so, execute (4).
[0162] (3) The cloud game client on the TV terminal obtains a QR code image link containing a link to the virtual controller applet from the cloud game server and displays the QR code on the TV terminal. The user scans the QR code to establish a connection between the mobile terminal and the cloud game client on the TV terminal.
[0163] (4) The mobile terminal displays the virtual controller screen of the virtual controller applet and displays the live broadcast controls in the virtual controller interface. At this time, the TV terminal enters the game screen of the cloud game.
[0164] (5) The mobile terminal determines whether the user clicks the live broadcast control. If so, execute (6); if not, execute (10).
[0165] (6) The virtual handle applet of the mobile terminal asks the user for permission to open the camera.
[0166] (7) After the user agrees, the virtual controller applet will inform the cloud gaming server of the live broadcast event.
[0167] (8) The live video stream data collected in real time by the camera is sent to the cloud game server through the socket link.
[0168] (9) After receiving the live broadcast event, the cloud game server renders the game screen of the cloud game while receiving the live video stream of the user from the virtual controller applet, splices the video stream of the game screen and the live video stream to splice the user's live data onto the game screen, and sends the spliced live stream of the cloud game to the TV terminal.
[0169] (10) The virtual controller applet on the mobile terminal informs the cloud game server that there is no need for live broadcast. The cloud game server directly renders the game screen and pushes the video stream of the game screen to the TV terminal.
[0170] (11) After the TV terminal receives the video stream data from the cloud game server, it directly decodes, renders and displays it without any other operations.
[0171] (12) If the user wants to terminate the live broadcast, he / she clicks the live broadcast close control displayed on the virtual controller interface. The virtual controller applet notifies the cloud game server of the live broadcast close event, turns off the camera, and stops pushing the live video stream to the cloud game server. The cloud game server then continues to render the game screen, and there is no need to perform video stream splicing operations.
[0172] When watching the live broadcast of cloud games, the server generates a live broadcast room link, which is displayed by the cloud game client of the TV terminal. When other users click on the live broadcast room, the cloud game server simultaneously pushes the live video data of the user to other users. Other users can choose to make comments or give virtual resources (such as gifts) and other interactive operations. The cloud game server pushes comments and other events to the clients of each viewer, and the viewer's client renders and displays comments or virtual resources (such as gifts).
[0173] In actual applications, the above-mentioned second terminal can be not only a TV terminal but also a non-TV terminal, such as a cloud game mobile terminal, a tablet computer terminal, etc., which is not limited here.
[0174] By applying the above-mentioned embodiments of the present application, a one-click live broadcast function is provided on a terminal that supports a virtual handle, so that users can directly broadcast cloud games and their own images on the TV terminal, thereby reducing the user's operation path for live broadcasting, which can greatly improve the user's willingness to broadcast live and increase the user's active time on the cloud game client of the TV terminal. At the same time, the live broadcast screen can be opened to all users, thereby increasing the user's popularity in the game area and promoting cloud games through the relationship chain between users.
[0175] The following further describes an exemplary structure of a live broadcast device 555 of a virtual scene provided in an embodiment of the present application implemented as a software module. The live broadcast device of a virtual scene provided in an embodiment of the present application is applied to a first terminal. In some embodiments, such as Figure 2 As shown, the software modules in the live broadcast device 555 of the virtual scene stored in the memory 550 may include: a display module 5551, used to display a virtual handle interface, the virtual handle interface is used to control the virtual objects in the virtual scene displayed on the second terminal, and the virtual handle interface includes a live broadcast control; a first sending module 5552, used to send a live broadcast instruction for the virtual scene in response to a trigger operation for the live broadcast control, and the live broadcast instruction is used to instruct the start of a live broadcast for the virtual scene.
[0176] In some embodiments, the first sending module 5552 is further used to send live content of the virtual scene after sending a live broadcast instruction for the virtual scene, and after starting the live broadcast for the virtual scene based on the live broadcast instruction; wherein the live broadcast content is used for synthesizing the live broadcast content with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene.
[0177] In some embodiments, the display module 5551 is also used to receive a scanning operation for the graphic code displayed by the second terminal before displaying the virtual handle interface; in response to the scanning operation, establish a communication connection between the first terminal and the second terminal; the display module 5551 is also used to display the virtual handle interface when the communication connection between the first terminal and the second terminal is successfully established.
[0178] In some embodiments, the display module 5551 is further used to run a virtual handle applet in response to the scanning operation, and establish a communication connection between the first terminal and the second terminal through the virtual handle applet.
[0179] In some embodiments, the display module 5551 is also used to display a device connection control for the second terminal before displaying the virtual handle interface; in response to a trigger operation on the device connection control, a communication connection between the first terminal and the second terminal is established; the display module 5551 is also used to display the virtual handle interface when the communication connection between the first terminal and the second terminal is successfully established.
[0180] In some embodiments, the first sending module 5552 is also used to display a start prompt control of a live broadcast capture device in response to a trigger operation on the live broadcast control; wherein the start prompt control is used to confirm whether to turn on the live broadcast capture device, and the live broadcast capture device includes at least one of an image capture device and a sound capture device; in response to a confirmation start instruction triggered by the start prompt control, the live broadcast capture device is turned on, and a live broadcast instruction for the virtual scene is sent.
[0181] In some embodiments, the display module 5552 is also used to display a device start-up control of a live broadcast capture device in the virtual handle interface, where the live broadcast capture device includes at least one of an image capture device and a sound capture device; and in response to a trigger operation for the device start-up control, the live broadcast capture device is turned on.
[0182] In some embodiments, the first sending module 5552 is further used to obtain live content collected by the live collection device; send the live content to a server, and the server is used to send the live content to a third terminal of the live viewing object, so that the third terminal outputs the live content.
[0183] In some embodiments, the display module 5552 is also used to display a device closing control of the live broadcast acquisition device in the virtual handle interface; the first sending module 5552 is also used to close the live broadcast acquisition device in response to a trigger operation on the device closing control.
[0184] In some embodiments, the display module 5552 is also used to display a live broadcast closing control for the virtual scene in the virtual handle interface; the first sending module 5552 is also used to send a live broadcast closing instruction for the virtual scene in response to a trigger operation on the live broadcast closing control, and the live broadcast closing instruction is used to instruct to close the live broadcast for the virtual scene.
[0185] In some embodiments, the display module 5552 is also used to display sharing controls for the live broadcast of the virtual scene in the virtual handle interface; based on the sharing controls, a live broadcast sharing instruction for the target object is received; the first sending module 5552 is also used to send live broadcast invitation information to the server in response to the live broadcast sharing instruction, so that the server sends the live broadcast invitation information to the fourth terminal of the target object, and the live broadcast invitation information is used to invite the target object to watch the live broadcast of the virtual scene.
[0186] In some embodiments, the display module 5552 is also used to display an information release control for the live broadcast of the virtual scene in the virtual handle interface; based on the information release control, target information input for the live broadcast of the virtual scene is received; the first sending module 5552 is also used to send the target message to the server in response to a release instruction for the target information, and the server is used to send the target message to a third terminal of the viewing object of the live broadcast, so that the third terminal displays the target message.
[0187] Applying the above-mentioned embodiment of the present application, the first terminal displays a virtual handle interface, which is used to control the virtual objects in the virtual scene displayed by the second terminal. The virtual handle interface includes a live broadcast control, through which a live broadcast instruction for the virtual scene can be triggered, and the live broadcast instruction is used to instruct to start the live broadcast for the virtual scene. Here, the first terminal can not only act as a virtual handle to control the virtual objects in the virtual scene displayed by the second terminal, but also control the start of the live broadcast for the virtual scene. In this way, 1) the functions of the device serving as a virtual handle can be enriched and the utilization rate of device resources can be improved; 2) the live broadcast for the virtual scene can be started with one click through the live broadcast control, which is simple to operate, improves the operational efficiency of starting the live broadcast of the virtual scene, and further improves the utilization rate of device resources.
[0188] An embodiment of the present application also provides a live broadcast device for a virtual scene, which is applied to a server, including: a receiving module, used to receive the live broadcast content of the virtual scene; wherein the virtual scene is displayed on a second terminal, and the virtual objects in the virtual scene are controlled through a virtual handle interface displayed on a first terminal, and the virtual handle interface includes a live broadcast control; wherein the live broadcast content is sent after the live broadcast for the virtual scene is started according to a live broadcast instruction triggered by the first terminal through the live broadcast control; a synthesis module, used to synthesize the live broadcast content with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene, and the live broadcast picture is used to be sent to the second terminal so that the second terminal displays the live broadcast picture.
[0189] Using the above-mentioned embodiments of the present application, the live broadcast content received by the server is sent after the live broadcast for the virtual scene is started according to the live broadcast instruction triggered by the first terminal through the live broadcast control. That is, the first terminal can be used as a virtual handle to control the virtual objects in the virtual scene displayed by the second terminal, and can also control the start of the live broadcast for the virtual scene. In this way, 1) the functions of the device used as a virtual handle can be enriched and the utilization rate of device resources can be improved; 2) the live broadcast for the virtual scene can be started with one click through the live broadcast control, which is simple to operate, improves the operational efficiency of starting the live broadcast of the virtual scene, and further improves the utilization rate of device resources.
[0190] The embodiment of the present application also provides a computer program product, which includes computer executable instructions or computer programs, and the computer executable instructions or computer programs are stored in a computer-readable storage medium. The processor of the electronic device reads the computer executable instructions or computer programs from the computer-readable storage medium, and the processor executes the computer executable instructions or computer programs, so that the electronic device executes the live broadcast method of the virtual scene provided in the embodiment of the present application.
[0191] An embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions or computer programs. When the computer-executable instructions or computer programs are executed by a processor, the processor will execute the live broadcast method of the virtual scene provided in the embodiment of the present application.
[0192] In some embodiments, the computer-readable storage medium may be a memory such as RAM, ROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
[0193] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0194] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0195] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.
[0196] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for live broadcasting of a virtual scene, characterized in that: Applied to a first terminal, the method includes: Displaying a virtual handle interface, where the virtual handle interface is used to control a virtual object in a virtual scene displayed on the second terminal, and the virtual handle interface includes a live broadcast control; In response to a trigger operation on the live broadcast control, a live broadcast instruction for the virtual scene is sent, wherein the live broadcast instruction is used to instruct to start a live broadcast for the virtual scene.
2. The method according to claim 1, characterized in that After sending the live broadcast instruction for the virtual scene, the method further includes: After starting the live broadcast for the virtual scene based on the live broadcast instruction, sending the live broadcast content of the virtual scene; The live broadcast content is used to synthesize the live broadcast content with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene.
3. The method according to claim 2, characterized in that The live broadcast picture of the virtual scene includes at least one of the following information: The scene picture of the virtual scene, the comment information published on the live broadcast of the virtual scene, and the live broadcast content of the virtual scene.
4. The method according to claim 1, characterized in that Before displaying the virtual handle interface, the method further includes: receiving a scanning operation for the graphic code displayed by the second terminal; In response to the scanning operation, establishing a communication connection between the first terminal and the second terminal; The displaying of the virtual handle interface includes: When the communication connection between the first terminal and the second terminal is successfully established, the virtual handle interface is displayed.
5. The method according to claim 4, characterized in that The step of establishing a communication connection between the first terminal and the second terminal in response to the scanning operation includes: In response to the scanning operation, a virtual handle applet is run, and A communication connection is established between the first terminal and the second terminal through the virtual handle applet.
6. The method according to claim 1, characterized in that Before displaying the virtual handle interface, the method further includes: displaying a device connection control for the second terminal; In response to a triggering operation on the device connection control, establishing a communication connection between the first terminal and the second terminal; The displaying of the virtual handle interface includes: When the communication connection between the first terminal and the second terminal is successfully established, the virtual handle interface is displayed.
7. The method according to claim 1, characterized in that The sending of a live broadcast instruction for the virtual scene in response to a trigger operation for the live broadcast control includes: In response to a trigger operation on the live broadcast control, displaying a start prompt control of the live broadcast acquisition device; The opening prompt control is used to confirm whether to open the live broadcast acquisition device, and the live broadcast acquisition device includes at least one of an image acquisition device and a sound acquisition device; In response to a confirmation start instruction triggered by the start prompt control, the live broadcast acquisition device is turned on, and a live broadcast instruction for the virtual scene is sent.
8. The method according to claim 1, characterized in that The method further comprises: In the virtual handle interface, a device start control of a live broadcast acquisition device is displayed, and the live broadcast acquisition device includes at least one of an image acquisition device and a sound acquisition device; In response to a trigger operation for opening a control for the device, the live broadcast acquisition device is opened.
9. The method according to claim 7 or 8, characterized in that The method further comprises: Acquire live broadcast content collected by the live broadcast collection device; The live broadcast content is sent to a server, and the server is used to send the live broadcast content to a third terminal of a viewing object of the live broadcast, so that the third terminal outputs the live broadcast content.
10. The method according to claim 7 or 8, characterized in that The method further comprises: In the virtual handle interface, a device closing control of the live broadcast acquisition device is displayed; In response to a trigger operation for closing a control on the device, closing the live broadcast acquisition device.
11. The method according to claim 1, characterized in that The method further comprises: In the virtual handle interface, a live broadcast closing control of the virtual scene is displayed; In response to a trigger operation on the live broadcast closing control, a live broadcast closing instruction for the virtual scene is sent, and the live broadcast closing instruction is used to instruct to close the live broadcast for the virtual scene.
12. The method according to claim 1, characterized in that The method further comprises: In the virtual handle interface, displaying a sharing control for the live broadcast of the virtual scene; Based on the sharing control, a live broadcast sharing instruction for a target object is received; In response to the live broadcast sharing instruction, live broadcast invitation information is sent to the server, so that the server sends the live broadcast invitation information to the fourth terminal of the target object, and the live broadcast invitation information is used to invite the target object to watch the live broadcast of the virtual scene.
13. The method according to claim 1, characterized in that The method further comprises: In the virtual handle interface, displaying an information publishing control for the live broadcast of the virtual scene; Based on the information publishing control, receiving target information of the live broadcast input for the virtual scene; In response to a publishing instruction for the target information, the target message is sent to a server, and the server is used to send the target message to a third terminal of a viewing object of the live broadcast, so that the third terminal displays the target message.
14. A method for live broadcasting of a virtual scene, characterized in that: Applied to a server, the method comprises: Receiving live broadcast content of the virtual scene; The virtual scene is displayed on the second terminal, and the virtual objects in the virtual scene are controlled through a virtual handle interface displayed on the first terminal, and the virtual handle interface includes a live broadcast control; The live broadcast content is sent after the live broadcast for the virtual scene is started according to the live broadcast instruction triggered by the first terminal through the live broadcast control; The live broadcast content is synthesized with the scene picture of the virtual scene to obtain the live broadcast picture of the virtual scene, and the live broadcast picture is used to be sent to the second terminal so that the second terminal displays the live broadcast picture.
15. A live broadcast device for a virtual scene, characterized in that: Applied to a first terminal, the device includes: A display module, used to display a virtual handle interface, where the virtual handle interface is used to control virtual objects in a virtual scene displayed on the second terminal, and the virtual handle interface includes a live broadcast control; The first sending module is used to send a live broadcast instruction for the virtual scene in response to a trigger operation on the live broadcast control, and the live broadcast instruction is used to instruct to start the live broadcast for the virtual scene.
16. An electronic device, characterized in that: The electronic device comprises: A memory for storing computer executable instructions; The processor is used to implement the live broadcast method of the virtual scene described in any one of claims 1 to 14 when executing the computer executable instructions stored in the memory.
17. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that: When the computer executable instructions or computer program are executed by a processor, the method for live broadcasting of a virtual scene as described in any one of claims 1 to 14 is implemented.
18. A computer program product comprising computer executable instructions or a computer program, characterized in that When the computer executable instructions or computer program are executed by a processor, the method for live broadcasting of a virtual scene as described in any one of claims 1 to 14 is implemented.
Citation Information
Patent Citations
Cloud game control system and method
CN111714877A
Cloud game live broadcast method, cloud game server and computer readable storage medium
CN111818004A
Virtual scene picture display method and device, computer equipment and storage medium
CN112915537A
Game data processing method and device and storage medium
CN113423018A
Operation control method and device, equipment, storage medium and computer program product
CN114100121A
