Microphone connection method and device, equipment and storage medium
By displaying the virtual continuous wheat interface in the live broadcast room and generating a virtual continuous wheat request, the problem of low efficiency of continuous wheat testing in the existing technology is solved, and the continuous wheat development and testing without real machine equipment is realized, which reduces the cost and improves the efficiency. .
Patent Information
- Application Number
- CN202310316110.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-09-24
AI Technical Summary
The existing live broadcast room continuous microphone test solution is inefficient and error-prone, resulting in high development and testing costs.
By displaying the virtual connection interface in the live broadcast room, generating a virtual connection request and sending it to the live broadcast server, creating a virtual object and realizing connection between the target object and the virtual object, it reduces the dependence on real equipment and improves testing efficiency. .
Lianmai development and testing can be completed without real machine equipment, which reduces development and testing costs, improves efficiency, and reduces the possibility of errors.
Smart Images

Figure CN118695046A
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of live broadcast technology, and in particular to a method, device, equipment and storage medium for connecting to microphones. Background Art
[0002] Most current live broadcast rooms support multiple people connecting to the microphone, so it is often necessary to test the connection to the microphone during the development and testing of the live broadcast room. The existing connection to the microphone test solution is inefficient and prone to errors. Summary of the invention
[0003] The embodiments of the present disclosure provide a method, apparatus, device, and storage medium for connecting to a microphone, which reduce the development and testing costs of connecting to a microphone and improve the development and testing efficiency of connecting to a microphone.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for connecting to a microphone, the method being executed by a client and comprising:
[0005] Based on the first microphone connection operation triggered by the target object in the live broadcast room, a virtual microphone connection interface is displayed;
[0006] Generate a virtual microphone connection request based on a second microphone connection operation triggered by the target object on the virtual microphone connection interface;
[0007] Sending the virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object;
[0008] Receive information of at least one virtual object returned by the live broadcast server, and display the information of the at least one virtual object in a corresponding microphone area.
[0009] In a second aspect, an embodiment of the present disclosure further provides a method for connecting microphones, the method being executed by a live broadcast server, comprising:
[0010] Receive a virtual microphone connection request sent by the client through the live broadcast room, and create a virtual object according to the virtual microphone connection request;
[0011] Sending a microphone connection request to a microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and a target object according to the microphone connection request;
[0012] Receive microphone connection success information returned by the microphone connection server, and send the information of the virtual object to the client according to the microphone connection success information, so that the client displays the information of the virtual object in the corresponding microphone position area.
[0013] In a third aspect, an embodiment of the present disclosure further provides a virtual microphone connection device, which is arranged in a client and includes:
[0014] A virtual microphone connection interface display module, used for displaying a virtual microphone connection interface based on a first microphone connection operation triggered by a target object in a live broadcast room;
[0015] A virtual microphone connection request generating module, configured to generate a virtual microphone connection request based on a second microphone connection operation triggered by a target object on the virtual microphone connection interface;
[0016] A virtual microphone connection request sending module, used for sending the virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object;
[0017] The information display module is used to receive the information of at least one virtual object returned by the live broadcast server, and display the information of the at least one virtual object in the corresponding microphone area.
[0018] In a fourth aspect, the embodiments of the present disclosure further provide a virtual microphone connection device, which is arranged in a live broadcast server and includes:
[0019] A virtual microphone connection request receiving module is used to receive a virtual microphone connection request sent by a client through a live broadcast room, and create a virtual object according to the virtual microphone connection request;
[0020] A microphone connection request sending module, configured to send a microphone connection request to a microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and a target object according to the microphone connection request;
[0021] The information sending module is used to receive the microphone connection success information returned by the microphone connection server, and send the information of the virtual object to the client according to the microphone connection success information, so that the client displays the information of the virtual object in the corresponding microphone position area.
[0022] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0023] one or more processors;
[0024] a storage device for storing one or more programs,
[0025] When the one or more programs are executed by the one or more processors, the one or more processors implement the virtual microphone connection method as described in the embodiment of the present disclosure.
[0026] In a sixth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the virtual microphone connection method as described in the embodiments of the present disclosure.
[0027] The disclosed embodiments disclose a virtual microphone connection method, apparatus, device and storage medium. Based on a first microphone connection operation triggered by a target object in a live broadcast room, a virtual microphone connection interface is displayed; based on a second microphone connection operation triggered by the target object on the virtual microphone connection interface, a virtual microphone connection request is generated; the virtual microphone connection request is sent to a live broadcast server, so that the live broadcast server creates at least one virtual object; information of at least one virtual object returned by the live broadcast server is received, and the information of at least one virtual object is displayed in a corresponding microphone position area. The microphone connection method provided by the disclosed embodiments reduces the development and testing costs of microphone connection and improves the development and testing efficiency of microphone connection. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0029] Figure 1 is a flowchart of a method for connecting to a microphone provided by an embodiment of the present disclosure;
[0030] Figure 2 is a schematic diagram of displaying a virtual microphone connection interface provided by an embodiment of the present disclosure;
[0031] Figure 3 is a flowchart of a method for connecting to a microphone provided by an embodiment of the present disclosure;
[0032] Figure 4 is a signaling diagram of a microphone connection method provided by an embodiment of the present disclosure;
[0033] Figure 5 This is a schematic diagram of the structure of a microphone connection device provided by an embodiment of the present disclosure.
[0034] Figure 6 is a structural schematic diagram of a microphone connection device provided by an embodiment of the present disclosure;
[0035] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0037] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0038] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0039] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0040] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0041] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0042] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the target object should be informed of the type, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure in an appropriate manner in accordance with relevant laws and regulations, and the target object's authorization should be obtained.
[0043] For example, in response to receiving an active request from a target object, a prompt message is sent to the target object to clearly prompt the target object that the operation requested to be performed will require obtaining and using the target object's personal information. Thus, the target object can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0044] As an optional but non-limiting implementation, in response to receiving an active request from the target object, the prompt information may be sent to the target object in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the target object to select "agree" or "disagree" to provide personal information to the electronic device.
[0045] It is understandable that the above notification and target object authorization acquisition process is only illustrative and does not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0046] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.
[0047] Figure 1 A flow chart of a microphone connection method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to a situation where a target object and a virtual object are connected to a microphone. The method can be executed by a microphone connection device, which can be implemented in the form of software and / or hardware. Optionally, the device is arranged in an electronic device where a client is located, which can be a mobile terminal, a PC or a server, etc.
[0048] like Figure 1 As shown, the method includes:
[0049] S110, based on the first microphone connection operation triggered by the target object in the live broadcast room, display a virtual microphone connection interface.
[0050] Among them, at least one microphone connection control is displayed in the virtual microphone connection interface. The virtual microphone connection interface can be provided by a virtual microphone connection tool, and the virtual microphone connection tool can be configured in the live broadcast room when testing the microphone connection. The target object can be a real object, and the target object can create a live broadcast room in the live broadcast APP, so as to broadcast live in the live broadcast room, or interact with other objects through microphone connection.
[0051] In this embodiment, after the user creates and enters the live broadcast room, the virtual microphone connection tool can be opened through the pre-configured debugging entry in the live broadcast room, thereby displaying the virtual microphone connection interface. Among them, the debugging entry can be embodied in the form of a button. The virtual microphone connection interface is displayed with a triggerable microphone connection control, and the user sends a virtual microphone connection request to the live broadcast server by triggering the microphone connection control.
[0052] Optionally, based on the first microphone connection operation triggered by the target object in the live broadcast room, the process of displaying the virtual microphone connection interface may be: when it is detected that the target object triggers the first virtual microphone connection operation in the live broadcast room, determining the number of empty microphone positions in the live broadcast room; based on the first virtual microphone connection operation, displaying the virtual microphone connection interface, and generating a microphone connection control for the number of empty microphone positions in the virtual microphone connection interface.
[0053] Among them, the number of empty microphone positions can be understood as the number of microphone positions that are not connected to the microphone, and the number of microphone connection controls in the virtual microphone connection interface is determined by the number of empty microphone positions. In this embodiment, the total number of microphone positions that can be connected to the microphone is pre-set in the live broadcast room. When it is detected that the target object triggers the first virtual microphone connection operation in the live broadcast room, the number of microphone positions that are currently connected to the microphone is first determined, and then the number of microphone positions that have been connected is subtracted from the total number of microphone positions to obtain the number of empty microphone positions. Exemplarily, assuming that the total number of microphone positions that can be connected to the microphone in the live broadcast room is 9, and the number of microphone positions that are currently connected to the microphone is 4, the number of empty microphone positions is 5, that is, the number of microphone connection controls in the virtual microphone connection interface is also 5. Exemplarily, Figure 2 is a schematic diagram showing a virtual microphone connection interface in this embodiment. Figure 2 As shown, in the left figure, the target object clicks the "Virtual Microphone Connection" button in the live broadcast room, and the terminal obtains that the number of currently connected microphones is 4, so the number of empty microphones is determined to be 5; in the right figure, the virtual microphone connection interface pops up in the live broadcast room page, and 5 microphone connection controls are generated in the virtual microphone connection interface.
[0054] S120: Generate a virtual microphone connection request based on the second microphone connection operation triggered by the target object on the virtual microphone connection interface.
[0055] In this embodiment, the process of generating the virtual microphone connection request based on the second microphone connection operation triggered by the target object on the virtual microphone connection interface may be: generating the virtual microphone connection request based on the second microphone connection operation triggered by the target object on at least one microphone connection control.
[0056] Specifically, based on the second microphone connection operation triggered by the target object on the virtual microphone connection interface, a virtual microphone connection request is generated: after the virtual microphone connection interface pops up, the user can click all or part of the microphone connection controls in the virtual microphone connection interface to generate a virtual microphone connection request. The number of virtual microphone connection requests is related to the number of microphone connection controls clicked by the target object. Figure 2 For example, five microphone connection controls are displayed in the virtual microphone connection interface, and the user can click three of the microphone connection controls to generate three virtual microphone connection requests.
[0057] S130: Send a virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object.
[0058] In this embodiment, after generating a virtual live broadcast request, the client sends the virtual live broadcast request to the live broadcast server. The live broadcast server first creates a virtual object according to the virtual live broadcast request, and then sends a live broadcast request to the live broadcast server based on the virtual object, so that the live broadcast server establishes a live broadcast between the virtual object and the target object according to the live broadcast request. When receiving the live broadcast success information returned by the live broadcast server, the live broadcast server sends the information of the virtual object to the client.
[0059] S140, receiving information of at least one virtual object returned by the live broadcast server, and displaying the information of at least one virtual object in a corresponding microphone area.
[0060] The information of the virtual object at least includes the identification information of the virtual object and the audio and video associated with the virtual object. The identification information may be the name, avatar and other information of the virtual object. In this embodiment, when the client where the target object is located receives the information of at least one virtual object returned by the live broadcast server, it indicates that the target object is successfully connected to the at least one virtual object, and the information of the virtual object is displayed in the corresponding microphone area. That is, the information of the virtual object is displayed in the corresponding microphone area, or the audio and video are played in the corresponding microphone area.
[0061] The technical solution of the disclosed embodiment is to display a virtual microphone connection interface based on a first microphone connection operation triggered by a target object in a live broadcast room; generate a virtual microphone connection request based on a second microphone connection operation triggered by the target object on the virtual microphone connection interface; send the virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object; receive information of at least one virtual object returned by the live broadcast server, and display the information of the at least one virtual object in a corresponding microphone area. In the microphone connection method provided by the disclosed embodiment, a client sends a microphone connection request to a live broadcast server, so that the live broadcast server creates a virtual object, thereby realizing microphone connection between a target object and a virtual object, and completing microphone connection development and testing through virtual objects without the need for real equipment, which can not only reduce the development and testing costs of microphone connection, but also improve the development and testing efficiency of microphone connection.
[0062] Figure 3 A flow chart of a microphone connection method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to a situation where a target object and a virtual object are connected to a microphone. The method can be executed by a microphone connection device, which can be implemented in the form of software and / or hardware. Optionally, the device is arranged in an electronic device where a live broadcast server is located.
[0063] like Figure 3 As shown, the method includes:
[0064] S310, receiving a virtual microphone connection request sent by the client through the live broadcast room, and creating a virtual object according to the virtual microphone connection request.
[0065] The virtual microphone connection request can be generated by the target object in the live broadcast room of the client. The triggering method can be referred to in the above embodiment and will not be described here. The virtual object can also be called a robot instance, which can be a structured data, and the structure of the data is preset by the developer.
[0066] In this embodiment, after receiving the microphone connection request sent by the client, the live broadcast server first determines whether the microphone connection request is a virtual microphone connection request. If it is a virtual microphone connection request, a virtual object will be created according to the virtual microphone connection request.
[0067] Optionally, a method of creating a virtual object according to a virtual microphone connection request includes: obtaining pre-stored information of the virtual object; and generating set structured data according to the information of the virtual object, thereby obtaining the virtual object.
[0068] The information of the virtual object may include identification information of the virtual object, such as name, avatar, etc. In this embodiment, a virtual object information list is pre-built and stored in a database. When the live broadcast server receives a virtual microphone connection request, it randomly obtains information of a virtual object from the information list. After obtaining the information of the virtual object, the information of the virtual object is assembled according to a set structure to generate a set structured data, thereby obtaining the virtual object.
[0069] S320: Send a link-up request to the link-up server based on the virtual object, so that the link-up server establishes a link-up between the virtual object and the target object according to the link-up request.
[0070] The microphone connection server can be understood as a server responsible for microphone connection, for example, a Web Real-Time Communication (WebRTC) server. In this embodiment, the microphone connection server establishes a microphone connection with the target object according to the microphone connection request, which can refer to the microphone connection function of the existing WebRTC server and is not limited here.
[0071] The live broadcast server may send the connection request to the connection server through the connection engine. Specifically, the method of sending the connection request to the connection server based on the virtual object may be: running the connection engine; and sending the connection request to the connection server through the connection engine.
[0072] The connection request carries information about the virtual object. The connection engine has the function of calling the connection server, for example, it can be a web real-time communication software toolkit (WebRTC Software Development Kit, WebRTCSDK). The connection engine can be deployed in the live broadcast server or in the browser. If the connection engine is deployed in the live broadcast server, the connection engine can be directly moved in the live broadcast server, so that the connection request is sent to the connection server through the connection engine. If the connection engine is deployed in the browser, you need to start the browser first, and then run the connection engine in the browser.
[0073] Optionally, the method of running the joint microphone engine may be: starting a headless browser; and running the joint microphone engine in the headless browser.
[0074] The headless browser may be any existing browser, such as Chrome browser, etc. Specifically, when creating the virtual object, the headless browser is started, and then the microphone connection engine is run in the headless browser, and finally the microphone connection request is sent to the microphone connection server through the microphone connection engine.
[0075] S330: When the microphone connection is successful, the information of the virtual object is sent to the client, so that the client displays the information of the virtual object in the corresponding microphone area.
[0076] The information of the virtual object includes at least: identification information of the virtual object and audio and video associated with the virtual object. In this embodiment, after the microphone connection server connects the virtual object with the target object, it returns microphone connection success information to the live broadcast server. The live broadcast server sends the information of the virtual object to the client according to the microphone connection success information, so that the client displays the information of the virtual object in the corresponding microphone area.
[0077] The technical solution of this embodiment receives a virtual microphone connection request sent by the client through the live broadcast room, and creates a virtual object according to the virtual microphone connection request; sends a microphone connection request to the microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and the target object according to the microphone connection request; receives the microphone connection success information returned by the microphone connection server, and sends the information of the virtual object to the client according to the microphone connection success information, so that the client displays the information of the virtual object in the corresponding microphone area. A virtual object is generated based on the virtual microphone connection request sent by the client, and a microphone connection is established between the virtual object and the target object through the microphone connection server, thereby realizing the microphone connection between the target object and the virtual object. The microphone connection development and testing are completed through the virtual object without the need for real equipment, which can not only reduce the development and testing costs of the microphone connection, but also improve the development and testing efficiency of the microphone connection.
[0078] Based on the above embodiments, Figure 4 is a signaling diagram of a microphone connection method in this embodiment, such as Figure 4 As shown, the method comprises the following steps:
[0079] 1. The target object opens the virtual microphone connection interface in the live broadcast room and clicks the microphone connection control to generate a virtual microphone connection request;
[0080] 2. The client sends a virtual microphone connection request to the live broadcast server;
[0081] 3. The live broadcast server creates a virtual object according to the virtual microphone connection request, starts the interfaceless browser, and runs the microphone connection engine in the interfaceless browser;
[0082] 4. The live broadcast server sends a connection request to the connection server through the connection engine;
[0083] 5. The microphone connection server establishes a microphone connection between the virtual object and the target object;
[0084] 6. The microphone connection server returns the microphone connection success information to the live broadcast server;
[0085] 7. The live broadcast server sends the virtual object information to the client;
[0086] 8. The client displays the information of the virtual object at the corresponding microphone position.
[0087] Figure 5 A schematic diagram of a structure of a microphone connection device provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the device comprises:
[0088] A virtual microphone connection interface display module 510 is used to display a virtual microphone connection interface based on a first microphone connection operation triggered by a target object in a live broadcast room;
[0089] A virtual microphone connection request generating module 520, configured to generate a virtual microphone connection request based on a second microphone connection operation triggered by a target object on the virtual microphone connection interface;
[0090] A virtual microphone connection request sending module 530, configured to send the virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object;
[0091] The information display module 540 is used to receive the information of at least one virtual object returned by the live broadcast server, and display the information of the at least one virtual object in the corresponding microphone area.
[0092] Optionally, the virtual microphone connection interface display module 510 is further used for:
[0093] When it is detected that the target object triggers the first virtual microphone connection operation in the live broadcast room, the number of empty microphone positions in the live broadcast room is determined;
[0094] A virtual microphone connection interface is displayed based on the first virtual microphone connection operation, and a microphone connection control for the number of empty microphone positions is generated in the virtual microphone connection interface.
[0095] Optionally, the virtual microphone connection request generating module 520 is further configured to:
[0096] A virtual microphone connection request is generated based on a second microphone connection operation triggered by the target object for at least one microphone connection control.
[0097] Figure 6 A schematic diagram of a structure of a microphone connection device provided by an embodiment of the present disclosure is shown in FIG. Figure 6As shown, the device comprises:
[0098] The virtual microphone connection request receiving module 610 is used to receive a virtual microphone connection request sent by the client through the live broadcast room, and create a virtual object according to the virtual microphone connection request;
[0099] A microphone connection request sending module 620 is used to send a microphone connection request to a microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and the target object according to the microphone connection request;
[0100] The information sending module 630 is used to send the information of the virtual object to the client when the microphone connection is successful, so that the client displays the information of the virtual object in the corresponding microphone area.
[0101] Optionally, the virtual microphone connection request receiving module 610 is further configured to:
[0102] Obtaining information of pre-stored virtual objects;
[0103] The setting structured data is generated based on the information of the virtual object, thereby obtaining the virtual object.
[0104] Optionally, the microphone connection request sending module 620 is further configured to:
[0105] Run the microphone engine;
[0106] The microphone connection request is sent to the microphone connection server through the microphone connection engine; wherein the microphone connection request carries the information of the virtual object.
[0107] Optionally, the microphone connection request sending module 620 is further configured to:
[0108] Launch the headless browser;
[0109] Run the live broadcast engine in a headless browser.
[0110] Optionally, the information of the virtual object includes at least: identification information of the virtual object, and audio and video associated with the virtual object.
[0111] The microphone connection device provided in the embodiments of the present disclosure can execute the microphone connection method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
[0112] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
[0113] Figure 7This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 7 , which shows an electronic device (eg, Figure 7 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0114] like Figure 7 As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0115] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0116] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0117] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0118] The electronic device provided by the embodiment of the present disclosure and the microphone connection method provided by the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0119] An embodiment of the present disclosure provides a computer storage medium on which a computer program is stored. When the program is executed by a processor, the microphone connection method provided in the above embodiment is implemented.
[0120] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0121] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0122] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0123] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0124] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a virtual microphone interface based on a first microphone operation triggered by a target object in a live broadcast room; generates a virtual microphone request based on a second microphone operation triggered by the target object on the virtual microphone interface; sends the virtual microphone request to a live broadcast server, so that the live broadcast server creates at least one virtual object; receives information of at least one virtual object returned by the live broadcast server, and displays the information of the at least one virtual object in a corresponding microphone area.
[0125] Alternatively, the computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: receives a virtual microphone connection request sent by the client through the live broadcast room, and creates a virtual object according to the virtual microphone connection request; sends a microphone connection request to a microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and the target object according to the microphone connection request; and if the microphone connection is successful, sends the information of the virtual object to the client, so that the client displays the information of the virtual object in the corresponding microphone area.
[0126] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the target object computer, partially on the target object computer, as a separate software package, partially on the target object computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the target object computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0127] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0128] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0129] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0130] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0131] According to one or more embodiments of the present disclosure, a virtual microphone connection method is provided, and the method is executed by a client, including:
[0132] Based on the first microphone connection operation triggered by the target object in the live broadcast room, a virtual microphone connection interface is displayed;
[0133] Generate a virtual microphone connection request based on a second microphone connection operation triggered by the target object on the virtual microphone connection interface;
[0134] Sending the virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object;
[0135] Receive information of at least one virtual object returned by the live broadcast server, and display the information of the at least one virtual object in a corresponding microphone area.
[0136] Further, based on the first virtual microphone connection operation triggered by the target object in the live broadcast room, a virtual microphone connection interface is displayed, including:
[0137] When it is detected that the target object triggers a first virtual microphone connection operation in the live broadcast room, determining the number of empty microphone positions in the live broadcast room;
[0138] Displaying a virtual microphone connection interface based on the first virtual microphone connection operation, and generating a microphone connection control for the number of empty microphone positions in the virtual microphone connection interface;
[0139] Generating a virtual microphone connection request based on a second microphone connection operation triggered by a target object on the virtual microphone connection interface includes:
[0140] A virtual microphone connection request is generated based on a second microphone connection operation triggered by the target object on at least one of the microphone connection controls.
[0141] The embodiment of the present disclosure also provides a method for connecting microphones, which is executed by a live broadcast server and includes:
[0142] Receive a virtual microphone connection request sent by the client through the live broadcast room, and create a virtual object according to the virtual microphone connection request;
[0143] Sending a microphone connection request to a microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and a target object according to the microphone connection request;
[0144] When the microphone connection is successful, the information of the virtual object is sent to the client, so that the client displays the information of the virtual object in the corresponding microphone area.
[0145] Further, creating a virtual object according to the virtual microphone connection request includes:
[0146] Obtaining information of pre-stored virtual objects;
[0147] The setting structured data is generated according to the information of the virtual object, thereby obtaining the virtual object.
[0148] Further, sending a microphone connection request to a microphone connection server based on the virtual object includes:
[0149] Run the microphone engine;
[0150] The microphone connection request is sent to the microphone connection server through the microphone connection engine; wherein the microphone connection request carries the information of the virtual object.
[0151] Furthermore, the operation of the microphone connection engine includes:
[0152] Launch the headless browser;
[0153] The microphone connection engine is run in the interfaceless browser.
[0154] Furthermore, the information of the virtual object includes at least: identification information of the virtual object, and audio and video associated with the virtual object.
[0155] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0156] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0157] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for connecting to a microphone. It is characterized in that The method is executed by a client and includes: Based on the first microphone connection operation triggered by the target object in the live broadcast room, a virtual microphone connection interface is displayed; Generate a virtual microphone connection request based on a second microphone connection operation triggered by the target object on the virtual microphone connection interface; Sending the virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object; Receive information of at least one virtual object returned by the live broadcast server, and display the information of the at least one virtual object in a corresponding microphone area.
2. The method according to claim 1, It is characterized in that Based on a first virtual microphone connection operation triggered by a target object in a live broadcast room, displaying a virtual microphone connection interface includes: when it is detected that the target object triggers the first virtual microphone connection operation in the live broadcast room, determining the number of empty microphone positions in the live broadcast room; based on the first virtual microphone connection operation, displaying a virtual microphone connection interface, and generating a microphone connection control for the number of empty microphone positions in the virtual microphone connection interface; Generating a virtual microphone connection request based on a second microphone connection operation triggered by a target object on the virtual microphone connection interface includes: A virtual microphone connection request is generated based on a second microphone connection operation triggered by the target object on at least one of the microphone connection controls.
3. A method for connecting to a microphone. It is characterized in that The method is executed by a live broadcast server and includes: Receive a virtual microphone connection request sent by the client through the live broadcast room, and create a virtual object according to the virtual microphone connection request; Sending a microphone connection request to a microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and a target object according to the microphone connection request; When the microphone connection is successful, the information of the virtual object is sent to the client, so that the client displays the information of the virtual object in the corresponding microphone area.
4. The method according to claim 3, It is characterized in that Creating a virtual object according to the virtual microphone connection request includes: Obtaining information of pre-stored virtual objects; The setting structured data is generated according to the information of the virtual object, thereby obtaining the virtual object.
5. The method according to claim 3, It is characterized in that Sending a microphone connection request to a microphone connection server based on the virtual object includes: Run the microphone connection engine; The microphone connection request is sent to the microphone connection server through the microphone connection engine; wherein the microphone connection request carries the information of the virtual object.
6. The method according to claim 5, It is characterized in that Run the Lianmai engine, including: Launch the headless browser; The microphone connection engine is run in the interfaceless browser.
7. The method according to claim 3, It is characterized in that The information of the virtual object includes at least: identification information of the virtual object, and audio and video associated with the virtual object.
8. A microphone connection device, It is characterized in that The device is arranged in a client and includes: A virtual microphone connection interface display module, used for displaying a virtual microphone connection interface based on a first microphone connection operation triggered by a target object in a live broadcast room; A virtual microphone connection request generating module, configured to generate a virtual microphone connection request based on a second microphone connection operation triggered by a target object on the virtual microphone connection interface; A virtual microphone connection request sending module, used for sending the virtual microphone connection request to a live broadcast server, so that the live broadcast server creates at least one virtual object; The information display module is used to receive the information of at least one virtual object returned by the live broadcast server, and display the information of the at least one virtual object in the corresponding microphone area.
9. A microphone connection device, It is characterized in that The device is arranged in a live broadcast server and includes: A virtual microphone connection request receiving module is used to receive a virtual microphone connection request sent by a client through a live broadcast room, and create a virtual object according to the virtual microphone connection request; A microphone connection request sending module, configured to send a microphone connection request to a microphone connection server based on the virtual object, so that the microphone connection server establishes a microphone connection between the virtual object and a target object according to the microphone connection request; The information sending module is used to receive the microphone connection success information returned by the microphone connection server, and send the information of the virtual object to the client according to the microphone connection success information, so that the client displays the information of the virtual object in the corresponding microphone position area.
10. An electronic device, It is characterized in that The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the microphone connection method as described in any one of claims 1-7.
11. A storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the microphone connection method as described in any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Cited By
Co-streaming method and apparatus, device, and storage medium
EP4694154A1
