Connection establishment system, method, and apparatus for co-streaming, device, and storage medium
By designing the Jianlian system in the continuous microphone, and using the combination of the Jianlian process management module and the Jianlian functional module, the reuse difficulty of the Jianlian process in different broadcast scenarios is solved, and the process decoupling and cost reduction are achieved.
Patent Information
- Application Number
- PCT/CN2024/139962
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-20
- Filing Date
- 2024-12-17
- Publication Date
- 2025-06-26
AI Technical Summary
In the multi-person microphone scenario, the construction and connection process of each scenario is coupled in the business process, which makes it difficult to reuse the construction and connection process between different scenarios and is highly optimized.
A construction and connection system in a continuous microphone was designed, including a construction and connection process management module and multiple construction and connection functional modules. The target construction and connection process management module was used to determine the target construction and connection process, and the operation of the construction and connection functional module was controlled based on this process to achieve the decoupling of the construction and connection process and business process.
It is realized that different business processes can reuse the same construction and connection system. When there is optimization of the construction and connection process, only the construction and connection system needs to be adjusted, which reduces the optimization cost and improves development efficiency.
Smart Images

Figure CN2024139962_26062025_PF_FP_ABST
Abstract
Description
A system, method, device, equipment and storage medium for establishing a connection in a live broadcast
[0001] This application claims priority to the Chinese invention patent application entitled “A system, method, device, equipment and storage medium for establishing a connection in a live broadcast” and application number 202311765021.8, filed on December 20, 2023. The entire contents of that application are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of data processing, and in particular to a system, method, apparatus, device, and storage medium for establishing a connection in a live broadcast. Background Art
[0003] Connecting with a live broadcaster has become a common form of live streaming. Typically, connecting with a live broadcaster refers to real-time communication and interaction between hosts, or between hosts and viewers, similar to a video or voice call. Connecting with a live broadcaster can include the connection process.
[0004] In actual applications, multi-person connection scenarios can include different connection business scenarios such as the host inviting the audience to a video chat, and the audience applying to enter the voice call room where the host is located. Since the connection process is coupled in the business process, different connection scenarios need to implement their own connection processes. If the connection process is optimized, the connection process of each connection scenario needs to be adjusted separately, which results in high optimization costs. Summary of the Invention
[0005] In order to solve the above technical problems, an embodiment of the present disclosure provides a connection system in a live broadcast; the connection system includes a connection process management module and multiple connection function modules.
[0006] The connection process management module is used to determine the target connection process, and respond to the connection request of the live broadcast business system, and control the operation of multiple connection function modules based on the target connection process; wherein, the target connection process includes multiple connection sub-processes, and there is a corresponding relationship between the connection sub-processes and the connection function modules; the connection function module is used to respond to the call request of the connection process management module, execute the corresponding connection sub-process and return the execution result to the connection process management module.
[0007] In an optional embodiment, the connection system also includes a process detection module; the process detection module is used to detect the first target connection sub-process and send the execution result of the first target connection sub-process to the connection business system; wherein, the first target connection sub-process is a sub-process to be detected that is pre-injected into the connection business system.
[0008] In an optional embodiment, the connection system also includes a parameter injection module; the parameter injection module is used to obtain connection parameters from the connection business system when receiving a call request from the connection process management module, and return the connection parameters to the connection process management module; wherein the call request is triggered by the connection process management module when the second target connection sub-process is detected, and there is a corresponding relationship between the connection parameters and the second target connection sub-process, and the second target connection sub-process is a sub-process for parameter injection that is pre-injected by the connection business system.
[0009] In an optional implementation, multiple connection function modules include a connection communication module; the connection communication module is specifically used to respond to the call request of the connection process management module, apply for connection to the microphone connection server, and return the response message of the connection application to the connection process management module.
[0010] In an optional implementation, multiple connection function modules include a connection message module; the connection message module is specifically used to send the connection application feedback message to the connection process management module when receiving the connection application feedback message from the connection server; wherein, the connection application feedback message is used to indicate whether the connection application is accepted.
[0011] In an optional implementation, the multiple connection function modules include a connection media module; the connection media module is specifically used to respond to the call request of the connection process management module, initialize the local audio and video functions, and apply to the RTC server to join the connected microphone room.
[0012] In the second aspect, the present disclosure provides a connection method, which is applied to a connection system, the connection system including a connection process management module and multiple connection function modules, the method including: receiving a connection request from the connection business system; calling the connection process management module, and controlling the operation of multiple connection function modules based on a predetermined target connection process; wherein the target connection process includes multiple connection sub-processes, and there is a corresponding relationship between the connection sub-processes and the connection function modules, and the connection function module is used to respond to the call request of the connection process management module, execute the corresponding connection sub-process and return the execution result to the connection process management module.
[0013] In an optional embodiment, the connection system also includes a process detection module; the method also includes: calling the process detection module to detect the first target connection sub-process; wherein the first target connection sub-process is a sub-process to be detected that is pre-injected into the connection business system; calling the process detection module sends the execution result of the first target connection sub-process to the connection business system.
[0014] In an optional embodiment, the connection system also includes a parameter injection module; the method also includes: when the connection process management module detects the second target connection sub-process, calling the parameter injection module, obtaining the connection parameters from the target business system, and returning the connection parameters to the connection process management module; wherein, there is a corresponding relationship between the connection parameters and the second target connection sub-process, and the second target connection sub-process is a sub-process for parameter injection that is pre-injected by the microphone connection business system.
[0015] In the third aspect, the present disclosure provides a connection device in a live broadcast, which is applied to a connection system. The connection system includes a connection process management module and multiple connection function modules. The device includes: a receiving module for receiving a connection request from the live broadcast business system; a control module for calling the connection process management module to control the operation of multiple connection function modules based on a predetermined target connection process; wherein the target connection process includes multiple connection sub-processes, and there is a corresponding relationship between the connection sub-processes and the connection function modules. The connection function module is used to respond to the call request of the connection process management module, execute the corresponding connection sub-process and return the execution result to the connection process management module.
[0016] In a fourth aspect, the present disclosure provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device implements the above method.
[0017] In a fifth aspect, the present disclosure provides a connection device in a live broadcast, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the above method is implemented.
[0018] In a sixth aspect, the present disclosure provides a computer program product, which includes a computer program / instructions, and the computer program / instructions implement the above method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0020] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0021] FIG1 is a signaling interaction diagram of a host inviting an audience to engage in a video chat, provided by an embodiment of the present disclosure;
[0022] FIG2 is a schematic structural diagram of a system for establishing a live broadcast in an embodiment of the present disclosure;
[0023] FIG3 is a flow chart of a connection establishment method provided by an embodiment of the present disclosure;
[0024] FIG4 is a schematic structural diagram of another connection system provided by an embodiment of the present disclosure;
[0025] FIG5 is a schematic structural diagram of a linking device in a live broadcast provided by an embodiment of the present disclosure;
[0026] FIG6 is a structural diagram of a connection device in a live broadcast provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0028] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0029] In online live streaming, live broadcasting has become a common form of communication. Generally speaking, live broadcasting refers to real-time communication and interaction between hosts or between hosts and guests in a manner similar to video or voice calls.
[0030] In actual applications, multi-person live broadcast scenarios can include the host inviting the audience to a video chat, the audience applying to enter the voice call room where the host is located, etc., which usually involves the establishment and control of the live broadcast process between the host or audience and the live broadcast service server, real-time collaboration RTC server, etc.
[0031] Taking the connection between the host and the audience as an example, as shown in Figure 1, a signaling interaction diagram for the host end to invite the audience end to conduct a video chat is provided in an embodiment of the present disclosure, wherein the host end sends a connection request (invite) to the connection server end. After receiving the connection request (invite), the connection server end processes the invitation logic and sends a connection invitation notification (msg_invite) to the audience end to apply for connection to the audience end. When the audience end receives the connection invitation notification, the invitation pop-up window is displayed on the interface of the audience end. Assuming that the user on the audience end triggers the acceptance of the connection operation (for example, clicking the OK button on the invitation pop-up window) in response to the connection request from the host end, the audience end sends an acceptance connection message (reply) to the connection server end. After receiving the reply message, the connection server end processes the acceptance connection logic and sends an acceptance connection notification (msg_reply) to the host end. After receiving the acceptance connection notification, the host end performs a corresponding display on the interface of the host end.
[0032] After receiving the link-in request, the viewer sends a message to the link-in server requesting to join the link-in room. Upon receiving the Join_channel return message from the link-in server, the viewer initializes the local audio and video functions and requests to join the link-in room from the Real-Time Communications (RTC) server. Once the viewer successfully joins the link-in room, the microphone position is displayed on the viewer's interface.
[0033] Because the connection process and business process in the live broadcast are coupled together, different live broadcast scenarios correspond to different business processes. For example, the process of the host inviting the audience to a video chat is different from the process of the audience applying to enter the voice call room where the host is located. For the modification or optimization of the connection process that is common between different scenarios, each scenario needs to be modified and optimized separately, which reduces development efficiency.
[0034] To this end, the embodiment of the present disclosure provides a connection system in a live broadcast, the connection system includes a connection process management module and multiple connection function modules; the connection process management module is used to determine the target connection process, and respond to the connection request of the live broadcast business system, and control the operation of multiple connection function modules based on the target connection process, the target connection process includes multiple connection sub-processes, and there is a corresponding relationship between the connection sub-processes and the connection function modules; the connection function module is used to respond to the call request of the connection process management module, execute the corresponding connection sub-process and return the execution result to the connection process management module. It can be seen that the embodiment of the present disclosure decouples the connection process from the business process, so that different business processes can reuse the same connection system. When there is optimization in the connection process, only the connection system needs to be adjusted, which reduces the optimization cost.
[0035] In addition, the embodiment of the present disclosure utilizes a connection process management module to connect multiple connection function modules in series, thereby achieving decoupling between the various connection function modules in the connection system.
[0036] Based on this, an embodiment of the present disclosure provides a connection system in a live broadcast. Refer to Figure 2, which is a structural diagram of a connection system provided by an embodiment of the present disclosure, wherein the connection system includes a connection process management module 201 and multiple connection function modules. Specifically, the multiple connection function modules include a connection authority verification module 202, a connection communication module 203, a connection message module 204, and a connection media module 205 as an example.
[0037] The connection process management module 201 is used to determine a target connection process, and in response to a connection request from the microphone connection business system, control the operation of multiple connection function modules based on the target connection process.
[0038] In the embodiment of the present disclosure, the target connection process may include multiple connection sub-processes, and there is a corresponding relationship between the connection sub-processes and the connection functional modules. When the connection process management module receives a connection request from the live broadcast business system, it can control the operation of the connection module corresponding to the connection sub-process based on the operation order of the multiple connection sub-processes.
[0039] In actual applications, different connection scenarios correspond to different connection processes. As an example, the connection scenarios can include the host inviting the audience to a video chat, and can also include the audience applying to enter the voice call room where the host is located. For example, in the scenario where the host invites the audience to a video chat, the connection functions can include processing the connection application and processing the connection acceptance. Because the connection process is coupled with the business process, when modifying and optimizing the connection process, it is usually necessary to modify and optimize the codes corresponding to multiple business processes separately, which seriously reduces development efficiency.
[0040] In an optional implementation, the connection process can be extracted from the business process by encapsulating each function in the connection process into an independent module, and having the independent module be responsible for executing the corresponding task, thereby achieving the reuse of the connection process for different business scenarios.
[0041] In the embodiment of the present disclosure, the connection process management module is used to determine the connection processes corresponding to each business scenario according to a preset execution order, so that when a connection request is received from the live broadcast business system, the operation of multiple connection function modules can be controlled based on the predetermined target connection process.
[0042] In the embodiment of the present disclosure, the connection request is used to request the microphone connection server to establish a communication connection with the microphone connection business system, wherein the microphone connection business system may include a host terminal and a client terminal.
[0043] In the embodiment of the present disclosure, the linking function module is used to respond to the call request of the linking process management module, execute the corresponding linking sub-process, and return the execution result of the linking sub-process to the linking process management module.
[0044] In the embodiment of the present disclosure, the linking process management module is also used to receive the execution results returned by each linking functional module. Since the linking system provided by the embodiment of the present disclosure only cares about the execution results of each linking sub-process and does not depend on the specific operation process of a certain linking sub-process, in actual application, if the linking sub-process is modified, it will not affect the linking process. Similarly, if the linking process is modified, it will not affect the specific linking functional module.
[0045] In the connection system provided by the embodiment of the present disclosure, the connection process management module is used to respond to the connection request of the microphone connection business system and control the operation of multiple connection function modules based on the target connection process; wherein, the target connection process includes multiple connection sub-processes, and there is a corresponding relationship between the connection sub-processes and the connection function modules; the connection function module is used to respond to the call request of the connection process management module, execute the corresponding connection sub-process and return the execution result to the connection process management module. It can be seen that the embodiment of the present disclosure decouples the connection process from the business process, so that different business processes can reuse the same connection system. When there is optimization in the connection process, only the connection system needs to be adjusted, which reduces the optimization cost.
[0046] In addition, the embodiment of the present disclosure utilizes a connection process management module to connect multiple connection function modules in series, thereby achieving decoupling between the various connection function modules in the connection system.
[0047] As shown in FIG2 , multiple connection function modules may include a connection permission verification module 202 , wherein the connection permission verification module is specifically used to respond to a call request from the connection process management module, perform permission verification on the connection request, and return the permission verification result.
[0048] In one optional implementation, the connection request may include information such as permissions for the live broadcast service system. Upon receiving the call request from the connection process management module, the connection permission verification module may perform a permission verification on the connection request based on the permissions and other information contained in the connection request. Furthermore, the permission verification result may be returned to the connection process management module.
[0049] In the disclosed embodiment, the plurality of connection function modules may include a connection communication module 203, wherein the connection communication module is specifically configured to respond to a call request from the connection process management module and apply for connection to the microphone connection service end. Further, a response message to the connection application is returned to the connection process management module, and the connection process management module sends a response request to the microphone connection service system.
[0050] In the embodiment of the present disclosure, multiple connection function modules may include a connection message module 204, wherein the connection message module is specifically used to send the connection application feedback message to the connection process management module when receiving the connection application feedback message from the connection server.
[0051] The live broadcast application feedback message is used to indicate whether the live broadcast application is accepted.
[0052] For example, in a scenario where the audience applies to join the live broadcast room where the host is located, the audience sends a live broadcast application to the host through the live broadcast server. After receiving the live broadcast application, the host returns a live broadcast application feedback message to the live broadcast server. Upon receiving the live broadcast application feedback message, the live broadcast server forwards the live broadcast application feedback message to the connection message module. Upon receiving the live broadcast application feedback message from the live broadcast server, the connection message module sends the live broadcast application feedback message to the connection process management module so that the connection process management module determines whether to approve the audience to enter the live broadcast room based on the live broadcast application feedback message.
[0053] In the embodiment of the present disclosure, multiple connection function modules may include a connection media module 205, wherein the connection media module is specifically used to respond to the call request of the connection process management module, initialize local audio and video functions, and apply to the RTC server to join the connected microphone room.
[0054] In the embodiment of the present disclosure, initializing the local audio and video function may include starting local audio acquisition or video acquisition, etc.
[0055] In an optional implementation, the media linking module is further configured to start pushing the audio and video process to the RTC server upon receiving a message indicating successful joining of the co-located room returned by the RTC server.
[0056] In an optional implementation, the connection system may further include a process detection module, wherein the process detection module is used to provide the call-back function of the execution result of the connection sub-process for the microphone connection business system.
[0057] In the embodiment of the present disclosure, the process detection module is used to detect the first target linking sub-process and send the execution result of the first target linking sub-process to the microphone connection business system.
[0058] In an optional implementation, the microphone connection service system may pre-inject the sub-process to be detected into the microphone connection server. When the subsequent process detection module detects the execution result of the first target connection sub-process, it sends the execution result to the microphone connection service system.
[0059] In the embodiment of the present disclosure, the first target linking sub-process is a sub-process to be detected that is pre-injected into the live broadcast service system.
[0060] For example, assume the target linking process includes linking sub-processes A, B, C, and D, and the Lianmai business system has pre-installed a check for linking sub-process B. While running each linking sub-process based on the target linking process, upon detecting linking sub-process B, the process detection module can send the execution result of linking sub-process B to the Lianmai business system so that the Lianmai business system can perform appropriate processing based on the execution result. For example, the execution result of linking sub-process B can be displayed on the Lianmai business system's corresponding user interface to provide a prompt to the user.
[0061] In an optional implementation, the connection system may further include a parameter injection module, wherein the parameter injection module is used to inject differentiated parameters in different connection scenarios into the connection server.
[0062] In the embodiment of the present disclosure, the parameter injection module is used to obtain connection parameters from the live broadcast business service system when receiving a call request from the connection process management module, and return the connection parameters to the connection process management module.
[0063] In an optional implementation, the call connection business system can pre-inject the sub-process to be injected with parameters into the call connection server, so that the subsequent parameter injection module can return the connection parameters to the connection process management module when receiving the call request from the connection process management module.
[0064] In the embodiment of the present disclosure, the call request is triggered by the connection process management module when the second target connection sub-process is detected, wherein the second target connection sub-process is a sub-process for parameter injection pre-injected by the microphone connection service server.
[0065] In the disclosed embodiment, there is a correspondence between the connection parameters and the second target connection sub-process. Therefore, when the connection process management module executes the second target connection sub-process, the parameter injection module can obtain the corresponding connection parameters from the live broadcast business service system based on the correspondence between the connection parameters and the second target connection sub-process.
[0066] It can be seen that the embodiment of the present disclosure decouples the connection process from the business process, so that different business processes can reuse the same connection system. When the connection process needs to be optimized, only the connection system needs to be adjusted, which reduces the optimization cost.
[0067] In addition, the embodiment of the present disclosure can also utilize the linkage process management module to connect multiple linkage function modules in series to achieve decoupling between the various linkage function modules in the linkage system.
[0068] Based on the above system embodiment, the present disclosure further provides a connection method in a live broadcast. Referring to FIG3 , which is a flow chart of a connection method provided in an embodiment of the present disclosure, the method is applied to a connection system, which includes a connection process management module and multiple connection function modules. The method includes:
[0069] S301: Receive a connection request from the live broadcast service system.
[0070] S302: Calling the connection process management module to control the operation of multiple connection function modules based on a predetermined target connection process.
[0071] The target linking process includes multiple linking sub-processes, and there is a corresponding relationship between the linking sub-processes and the linking function modules. The linking function modules are used to respond to the call request of the linking process management module, execute the corresponding linking sub-processes and return the execution results to the linking process management module.
[0072] In an optional embodiment, the linkage system also includes a process detection module; the method also includes: calling the process detection module to detect the first target linkage sub-process; wherein the first target linkage sub-process is a sub-process to be detected that is pre-injected into the target business system; calling the process detection module sends the execution result of the first target linkage sub-process to the target business system.
[0073] In an optional embodiment, the connection system also includes a parameter injection module; the method also includes: when the connection process management module detects the second target connection sub-process, calling the parameter injection module, obtaining the connection parameters from the target business system, and returning the connection parameters to the connection process management module.
[0074] There is a corresponding relationship between the association parameters and the second target association sub-process, and the second target association sub-process is a sub-process for parameter injection that is pre-injected into the target business system.
[0075] In the connection method provided by the embodiment of the present disclosure, first, a connection request is received from the microphone connection business system; then, the connection process management module is called to control the operation of multiple connection function modules based on a predetermined target connection process; wherein, the multiple connection function modules are respectively configured with corresponding connection sub-processes, and the connection function module is used to respond to the call request of the connection process management module, execute the corresponding connection sub-process and return the execution result to the connection process management module. It can be seen that the embodiment of the present disclosure decouples the connection process from the business process, so that different business processes can reuse the same connection system. When there is optimization in the connection process, only the connection system needs to be adjusted, thereby reducing the optimization cost.
[0076] In addition, the embodiment of the present disclosure utilizes a connection process management module to connect multiple connection function modules in series, thereby achieving decoupling between the various connection function modules in the connection system.
[0077] Based on the above system embodiments, the present disclosure also provides a schematic diagram of the structure of the connection system. Specifically, using the example of a host already in a live broadcast room and a viewer applying to join the live broadcast room, this diagram describes the interaction between the live broadcast service system and the live broadcast service. Figure 4 shows another schematic diagram of the structure of the connection system provided by an embodiment of the present disclosure.
[0078] The microphone connection business system pre-injects the sub-process to be detected (for example, the linking sub-process A) into the process detection module, and pre-injects the sub-process to be parameter-injected (for example, the linking sub-process B) into the parameter injection module.
[0079] In an optional implementation, the interaction between the live broadcast business system and the live broadcast service interface can be implemented through an interface. Specifically, the live broadcast service interface can provide the live broadcast business system with a process detection interface and a parameter injection interface, so that the live broadcast business system can control the connection process based on each interface.
[0080] The connection process management module predetermines the target connection process so that the multiple connection function modules run in the order of connection function module A, connection function module B, and connection function module C.
[0081] It can be seen that the embodiment of the present disclosure achieves decoupling between multiple connection function modules, that is, each connection function module is responsible for its own connection sub-process, and they do not affect each other. Therefore, when modifying or optimizing the connection process of multiple business scenarios, there is no need to modify or optimize the connection process of each business scenario separately. It is only necessary to modify the connection function module that is reused by multiple business scenarios.
[0082] In addition, the disclosed embodiments also achieve decoupling between the connection process management module and multiple connection function modules, and the connection process management module controls the operation order of multiple connection function modules. Therefore, in actual applications, the connection process management module can be used to modify, add, or delete connection function modules to achieve connection process reuse in different business scenarios.
[0083] The connection process management module responds to the connection request of the microphone connection business system and controls multiple connection function modules to run in the order of connection function module A, connection function module B, and connection function module C.
[0084] Among them, when the linking function module A receives the call request from the linking process management module, it executes the corresponding linking sub-process (linking sub-process A) and returns the execution result of the linking sub-process to the linking process management module.
[0085] When the linking function module B receives the call request from the linking process management module, it executes the corresponding linking sub-process (linking sub-process B) and returns the execution result of the linking sub-process to the linking process management module.
[0086] When the linking function module C receives the call request from the linking process management module, it executes the corresponding linking sub-process (linking sub-process C) and returns the execution result of the linking sub-process to the linking process management module.
[0087] When the process detection module detects the first target linked sub-process (ie, linked sub-process A), it sends the execution result of the linked sub-process A to the microphone connection business system.
[0088] When the connection process management module detects the second target connection sub-process (i.e., connection sub-process B), it sends a call request to the parameter injection module; when the parameter injection module receives the call request from the connection process management module, it obtains the connection parameters from the conference call business system and returns the connection parameters to the connection process management module.
[0089] It can be seen that the embodiment of the present disclosure decouples the connection process from the business process, so that different business processes can reuse the same connection system. When the connection process needs to be optimized, only the connection system needs to be adjusted, which reduces the optimization cost.
[0090] In addition, the embodiment of the present disclosure utilizes a connection process management module to connect multiple connection function modules in series, thereby achieving decoupling between the various connection function modules in the connection system.
[0091] Based on the above method embodiment, the present disclosure further provides a connection device in a live broadcast. Referring to FIG5 , which is a schematic structural diagram of a connection device in a live broadcast provided by an embodiment of the present disclosure, the device includes:
[0092] The receiving module 501 is configured to receive a connection establishment request from the live broadcast service system;
[0093] The control module 502 is used to call the linkage process management module to control the operation of multiple linkage function modules based on a predetermined target linkage process; wherein, the target linkage process includes multiple linkage sub-processes, and there is a corresponding relationship between the linkage sub-processes and the linkage function modules. The linkage function module is used to respond to the call request of the linkage process management module, execute the corresponding linkage sub-process and return the execution result to the linkage process management module.
[0094] In an optional embodiment, the connection system also includes a process detection module; the device also includes: a first calling module, used to call the process detection module to detect the first target connection sub-process; wherein the first target connection sub-process is a sub-process to be detected that is pre-injected into the connection business system; a second calling module, used to call the process detection module to send the execution result of the first target connection sub-process to the connection business system.
[0095] In an optional embodiment, the connection system also includes a parameter injection module; the device also includes: a third calling module, which is used to call the parameter injection module when the connection process management module detects the second target connection sub-process, obtain the connection parameters from the target business system, and return the connection parameters to the connection process management module; wherein, there is a corresponding relationship between the connection parameters and the second target connection sub-process, and the second target connection sub-process is a sub-process for parameter injection that is pre-injected by the microphone connection business system.
[0096] It can be seen that the embodiment of the present disclosure decouples the connection process from the business process, so that different business processes can reuse the same connection system. When the connection process needs to be optimized, only the connection system needs to be adjusted, which reduces the optimization cost.
[0097] In addition, the embodiment of the present disclosure utilizes a connection process management module to connect multiple connection function modules in series, thereby achieving decoupling between the various connection function modules in the connection system.
[0098] In addition to the above-mentioned method and apparatus, the embodiments of the present disclosure further provide a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device implements the connection establishment method in the embodiment of the present disclosure.
[0099] The embodiments of the present disclosure further provide a computer program product, which includes a computer program / instructions. When the computer program / instructions are executed by a processor, the method for establishing a live connection in the embodiment of the present disclosure is implemented.
[0100] In addition, the embodiment of the present disclosure further provides a connection device in a microphone connection, as shown in FIG6 , which may include:
[0101] Processor 601, memory 602, input device 603, and output device 604. The number of processors 601 in the connection device in the microphone connection can be one or more, and Figure 6 uses a single processor as an example. In some embodiments of the present disclosure, the processor 601, memory 602, input device 603, and output device 604 can be connected via a bus or other means, wherein Figure 6 uses a bus connection as an example.
[0102] The memory 602 can be used to store software programs and modules, and the processor 601 executes various functional applications and data processing of the connected device in the microphone connection by running the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The input device 603 can be used to receive input digital or character information, and to generate signal input related to user settings and function control of the connected device in the microphone connection.
[0103] Specifically in this embodiment, the processor 601 will load the executable files corresponding to the processes of one or more applications into the memory 602 according to the following instructions, and the processor 601 will run the applications stored in the memory 602, thereby realizing the various functions of the connected devices in the above-mentioned microphone connection.
[0104] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0105] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A connection system in a live broadcast, the connection system comprising a connection process management module and a plurality of connection function modules; The connection process management module is used to determine the target connection process, and in response to the connection request of the microphone connection business system, control the operation of the multiple connection function modules based on the target connection process; wherein, The target association process includes a plurality of association sub-processes, and there is a corresponding relationship between the association sub-processes and the association function modules; The association function module is used to respond to the call request of the association process management module, execute the corresponding association sub-process and return the execution result to the association process management module.
2. The system according to claim 1, wherein: The connection system also includes a process detection module; The process detection module is used to detect the first target association sub-process and send the execution result of the first target association sub-process to the live broadcast business system; wherein, the first target association sub-process is a sub-process to be detected that is pre-injected into the live broadcast business system.
3. The system according to claim 1, wherein: The connection system also includes a parameter injection module; The parameter injection module is used to obtain connection parameters from the connection business system when receiving a call request from the connection process management module, and return the connection parameters to the connection process management module; wherein the call request is triggered by the connection process management module when a second target connection sub-process is detected, and there is a corresponding relationship between the connection parameters and the second target connection sub-process, and the second target connection sub-process is a sub-process for parameter injection that is pre-injected by the connection business system.
4. The system according to claim 1, wherein: The plurality of association function modules include an association communication module; The connection communication module is specifically used to respond to the call request of the connection process management module, apply for connection to the microphone connection server, and return a response message of the connection application to the connection process management module.
5. The system according to claim 1, wherein: The plurality of association function modules include an association message module; The connection message module is specifically used to send the connection application feedback message to the connection process management module when receiving the connection application feedback message from the connection service end; wherein the connection application feedback message is used to indicate whether the connection application is accepted.
6. The system according to claim 1, wherein: The plurality of association function modules include an association media module; The linking media module is specifically used to respond to the call request of the linking process management module, initialize the local audio and video functions and apply to the RTC server to join the microphone room.
7. A method for establishing a connection in a live broadcast, wherein: The method is applied to a connection system, the connection system includes a connection process management module and multiple connection function modules, and the method includes: Receive connection requests from the live broadcast business system; The linking process management module is called to control the operation of the multiple linking function modules based on a predetermined target linking process; wherein the target linking process includes multiple linking sub-processes, and there is a corresponding relationship between the linking sub-processes and the linking function modules, and the linking function modules are used to respond to the calling request of the linking process management module, execute the corresponding linking sub-process and return the execution result to the linking process management module.
8. The method according to claim 7, wherein: The connection system further includes a process detection module; the method further includes: Calling the process detection module to detect the first target association sub-process; wherein the first target association sub-process is a sub-process to be detected that is pre-injected by the microphone connection business system; The process detection module is called to send the execution result of the first target association sub-process to the microphone connection business system.
9. The method according to claim 7, wherein: The connection system further includes a parameter injection module; the method further includes: When the association process management module detects the second target association sub-process, the parameter injection module is called to obtain the association parameters from the target business system, and the association parameters are returned to the association process management module; wherein, there is a corresponding relationship between the association parameters and the second target association sub-process, and the second target association sub-process is a sub-process for parameter injection that is pre-injected by the live broadcast business system.
10. A connection device in a live broadcast, the device is applied to a connection system, the connection system includes a connection process management module and multiple connection function modules, the device includes: A receiving module is used to receive a connection request from a live broadcast service system; A control module is used to call the linkage process management module and control the operation of the multiple linkage function modules based on a predetermined target linkage process; wherein the target linkage process includes multiple linkage sub-processes, and there is a corresponding relationship between the linkage sub-processes and the linkage function modules, and the linkage function modules are used to respond to the calling request of the linkage process management module, execute the corresponding linkage sub-process and return the execution result to the linkage process management module.
11. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a terminal device, the terminal device implements the method according to any one of claims 7 to 9.
12. A device for establishing a connection in a live broadcast, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 7 to 9 is implemented.
Citation Information
Patent Citations
Microphone connection method, microphone connection device, server and terminal for live streaming
CN108900919A
Microphone connection switching method and device, computer equipment and storage medium
CN112104913A
Microphone connection method, system and device, electronic equipment and storage medium
CN112312226A
Microphone connection system, method, device and equipment and storage medium
CN115484468A
Microphone connection system, method, device and equipment and storage medium
CN115484469A