One-to-many broadcast interaction method and system, computer device and storage medium

By generating and broadcasting audio packets with frame length limitations, containing audio frames and control bytes, the problems of communication bandwidth limitations and high packet loss rate in one-to-many broadcast interactions are solved, enabling effective control and audio data transmission at the receiving end.

CN122340432APending Publication Date: 2026-07-03SHENZHEN TIMEKETTLE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN TIMEKETTLE TECH CO LTD
Filing Date
2026-04-02
Publication Date
2026-07-03

Smart Images

  • Figure CN122340432A_ABST
    Figure CN122340432A_ABST
Patent Text Reader

Abstract

This invention relates to a one-to-many broadcast interaction method, system, computer device, and storage medium. The method is applied to a master transmitter and includes: acquiring a first audio frame to be broadcast and a first control byte, the first control byte being used to control multiple receivers; generating a first audio packet including the first audio frame and the first control byte, the frame length of the first audio packet being less than or equal to an audio frame length threshold, the audio frame length threshold being determined based on communication parameters between the master transmitter and the multiple receivers; and broadcasting the first audio packet to the multiple receivers. This invention reduces the probability of control byte loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communications, and more particularly to a one-to-many broadcast interaction method, system, computer device, and storage medium. Background Technology

[0002] With the development of wireless communication, there are more and more interaction methods. One-to-many interaction is a very common method.

[0003] In one-to-many interaction, broadcasting technology is typically used to enable multiple devices to receive the signal. This involves a broadcast source sending a signal to other devices, which then receive it. However, achieving bidirectional interaction in one-to-many interactions is difficult; usually, only one device can send an uplink message. This is mainly due to limitations in communication bandwidth, which cannot support large amounts of data uploading simultaneously, and multiple simultaneous data uploads can also cause interference.

[0004] Furthermore, for one-to-many broadcast technology, it is necessary to transmit both audio data and control command data. However, in existing technologies, due to the high packet loss rate of broadcast technology, it is difficult to guarantee that every device will receive the control commands. Summary of the Invention

[0005] In order to solve the above-mentioned technical problems, or at least partially solve the above-mentioned technical problems, the present invention provides a one-to-many broadcast interaction method, system, computer device and storage medium.

[0006] In a first aspect, the present invention provides a one-to-many broadcast interaction method, the method being applied to a master transmitter, the method comprising: Obtain the first audio frame and the first control byte to be broadcast and sent. The first control byte is used to control multiple receiving ends. A first audio packet is generated, which includes the first audio frame and the first control byte. The frame length of the first audio packet is less than or equal to an audio frame length threshold, which is determined based on the communication parameters between the main transmitter and the plurality of receivers. The first audio packet is broadcast to the plurality of receiving terminals.

[0007] Optionally, obtaining the first control byte to be broadcast includes: In response to the first control command currently input by the user, the first control command is decomposed into the first control byte; The first control byte includes a command object, an execution mode, and an execution action. The command object includes at least some of the multiple receiving ends. The execution mode includes synchronous execution. The execution action includes turning the microphone on or off.

[0008] Optionally, the data structure of the first audio packet is: audio packet header, audio packet type, effective data length, first control byte, audio packet sequence number, first audio frame and checksum; The valid data includes one or more of the following: the first control byte, the audio packet sequence number, the first audio frame, and the checksum. The checksum is used to verify the validity of the first audio packet.

[0009] Optionally, after broadcasting the first audio packet to the plurality of receiving terminals, the method further includes: Determine the cumulative duration of the first control byte; wherein the cumulative duration is the time from the input time of the first control instruction to which the first control byte belongs to the current time; After the cumulative duration of action is greater than or equal to the control duration threshold, a second control command newly input by the user is allowed to be responded to. The second control instruction is decomposed into a second control byte.

[0010] Optionally, after broadcasting the first audio packet to the plurality of receiving terminals, the method further includes: If the second audio frame and the second control byte are not acquired, the first audio packet continues to be broadcast to the plurality of receiving ends according to the first transmission interval until the cumulative number of transmissions of the first audio packet is greater than or equal to the transmission count threshold; wherein, the second audio frame is a subsequent audio frame of the first audio frame, the first transmission interval is determined based on the ambient noise and the distance between the main transmitter and the plurality of receiving ends, and the transmission count threshold is determined based on the communication parameters.

[0011] Optionally, the method further includes: If the second audio frame is obtained but the second control byte is not obtained, a second audio packet is generated that includes the second audio frame and the first control byte. The second audio frame is a subsequent audio frame of the first audio frame, and the frame length of the second audio packet is less than or equal to the audio frame length threshold. The second audio packet is broadcast to the plurality of receiving terminals; and, Upon obtaining the second audio frame and the second control byte, a third audio packet is generated that includes the second audio frame and the second control byte, wherein the frame length of the third audio packet is less than or equal to the audio frame length threshold. The third audio packet is broadcast to the plurality of receiving terminals.

[0012] Optionally, the transmission interval between the third audio packet and the target audio packet transmitted in the last broadcast is the second transmission interval. The target audio packet and the third audio packet contain different control bytes. The second transmission interval is determined based on the ambient noise and the distance between the main transmitter and the plurality of receivers.

[0013] In a second aspect, a one-to-many broadcast interaction system is provided, the one-to-many broadcast interaction system comprising a master transmitter and multiple receivers, wherein the master transmitter performs the method described in any of the preceding descriptions.

[0014] Thirdly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as described in any of the preceding claims.

[0015] Fourthly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method as described in any of the preceding claims.

[0016] This invention provides a one-to-many broadcast interaction method, system, computer device, and storage medium. In the method of this embodiment, a master transmitter acquires a first audio frame to be broadcast and a first control byte, the first control byte being used to control multiple receivers; a first audio packet is generated including the first audio frame and the first control byte, the frame length of the first audio packet being less than or equal to an audio frame length threshold, the audio frame length threshold being determined based on communication parameters between the master transmitter and the multiple receivers; the first audio packet is then broadcast to the multiple receivers. In this method, the master transmitter continuously broadcasts audio frames to the multiple receivers. Therefore, by adding control bytes to the audio frames to form audio packets, and broadcasting the control bytes simultaneously with the audio frames, each receiver receives the control bytes at the same time as receiving the audio frames, reducing the probability of control byte loss and minimizing interference to the control bytes. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0018] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 The diagram shows the application environment of the one-to-many broadcast interaction method according to an embodiment of the present invention. Figure 2 The diagram shown is a flowchart of a one-to-many broadcast interaction method according to an embodiment of the present invention. Figure 3 The diagram shown is a schematic diagram of the main transmitter sending data according to an embodiment of the present invention; Figure 4 The diagram shown is a schematic diagram of the main transmitter sending data according to an embodiment of the present invention; Figure 5 The diagram shown is an internal structural diagram of a computer device in an embodiment of the present invention. Detailed Implementation

[0020] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] Figure 1 This is a diagram illustrating the application environment of the one-to-many broadcast interaction method in the first embodiment of the present invention. (Refer to...) Figure 1 This one-to-many broadcast interaction method is applied to a one-to-many broadcast interaction system. The one-to-many broadcast interaction system includes a master transmitter 110 and multiple receivers 120. The master transmitter 110 and the multiple receivers 120 are connected via a network. Specifically, the master transmitter 110 can be a desktop terminal or a mobile terminal. The desktop terminal can be a server, translation device, etc., and the mobile terminal can be at least one of a mobile phone, tablet computer, laptop computer, translation device, etc. The master transmitter 110 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0022] like Figure 2 As shown, in the first embodiment of the present invention, a one-to-many broadcast interaction method is provided. The first embodiment of the present invention mainly applies this method to the above-mentioned... Figure 1 Let's take the main transmitter 110 as an example. (Refer to...) Figure 2 The one-to-many broadcast interaction method includes steps 210 to 230: Step 210: Obtain the first audio frame to be broadcast and the first control byte. The first control byte is used to control multiple receiving ends.

[0023] As an example, the main transmitter can listen to externally input audio frames in real time and determine the currently listened-to audio frame as the first audio frame to be broadcast.

[0024] If the main transmitter is equipped with a microphone, it can also use its own microphone to capture audio frames in real time and determine the captured audio frame as the first audio frame to be broadcast.

[0025] The main sender will also obtain the first control byte to be broadcast, which is used to control multiple receivers.

[0026] Step 220: Generate a first audio packet including a first audio frame and a first control byte. The frame length of the first audio packet is less than or equal to an audio frame length threshold, which is determined based on communication parameters between the main sender and multiple receivers.

[0027] As an example, the main transmitter determines the audio frame length threshold in advance based on the communication parameters between the main transmitter and multiple receivers.

[0028] In practical applications, communication parameters may include one or more of the following: communication rate and communication bandwidth.

[0029] For example, if communication rate and communication bandwidth are selected as communication parameters, the main transmitter can first obtain the communication rate and communication bandwidth between each receiver. Based on the communication rate and communication bandwidth, the secure transmission frame length between the main transmitter and the receiver is calculated, thereby obtaining the secure transmission frame length between the main transmitter and multiple receivers. Then, according to preset rules, the audio frame length threshold is determined based on the secure transmission frame length between the main transmitter and multiple receivers.

[0030] The preset rule can be any of the following: the maximum secure transmission frame length between the main transmitter and multiple receivers is determined as the audio frame length threshold; the maximum secure transmission frame length between the main transmitter and multiple receivers is subtracted from the redundancy, and the resulting value is determined as the audio frame length threshold; the average secure transmission frame length between the main transmitter and multiple receivers is subtracted from the redundancy, and the resulting value is determined as the audio frame length threshold; half of the maximum secure transmission frame length between the main transmitter and multiple receivers is determined as the audio frame length threshold.

[0031] The preset rules can also be other rules, which will not be elaborated here.

[0032] After obtaining the first audio frame and the first control byte to be broadcast, the main transmitter generates a first audio packet containing the first audio frame and the first control byte, wherein the frame length of the first audio packet is less than or equal to the audio frame length threshold.

[0033] In practical applications, the master transmitter can directly generate a first audio packet containing the first audio frame and the first control byte, with a frame length less than or equal to the audio frame length threshold, based on the first audio frame to be broadcast, the first control byte, and the audio frame length threshold. Alternatively, the master transmitter can respond to a user's request to assemble the first audio frame and the first control byte, generating a first audio packet containing the first audio frame and the first control byte, and determining whether the frame length of the first audio packet is less than or equal to the audio frame length threshold. If the frame length of the first audio packet is less than or equal to the audio frame length threshold, it is retained; otherwise, the current first audio packet is deleted, awaiting user reassembly or automatic packet assembly.

[0034] By limiting the length of the first audio frame to within the audio frame length threshold, the main transmitter can ensure the safe transmission of the first audio frame.

[0035] Step 230: Broadcast the first audio packet to multiple receiving terminals.

[0036] As an example, after receiving the first audio packet, the main sender broadcasts the first audio packet to multiple receivers.

[0037] In practical applications, the main transmitter can periodically broadcast the first audio packet to multiple receivers.

[0038] In the method of this embodiment of the invention, the main sending end obtains a first audio frame to be broadcast and a first control byte, the first control byte being used to control multiple receiving ends; generates a first audio packet including the first audio frame and the first control byte, the frame length of the first audio packet being less than or equal to an audio frame length threshold, the audio frame length threshold being determined according to the communication parameters between the main sending end and the multiple receiving ends; and broadcasts the first audio packet to the multiple receiving ends. In the method of this embodiment of the invention, the main sending end continuously sends audio frames to the multiple receiving ends in a broadcast manner. Therefore, by adding control bytes to the audio frames to form audio packets, the control bytes are broadcast and sent simultaneously with the audio frames, so that each receiving end receives the control bytes at the same time as receiving the audio frames, reducing the probability of control byte loss and also reducing interference to the control bytes.

[0039] In this embodiment of the invention, step 210, obtaining the first control byte to be broadcast, includes: In response to the first control command currently input by the user, the first control command is decomposed into the first control byte; The first control byte includes a command object, an execution mode, and an execution action. The command object includes at least some of the multiple receiving ends. The execution mode includes synchronous execution. The execution action includes turning the microphone on or off.

[0040] As an example, users can input corresponding control commands to the main sender according to actual business needs.

[0041] In practical applications, control commands can be to turn on the microphones of all receivers, turn off the microphones of some receivers, turn on the microphone of a specific receiver, or other commands.

[0042] The main sending end listens in real time to see if the user inputs a control command. After receiving the first control command currently input by the user, it responds to the first control command by decomposing the first control command into a first control byte, where the first control byte includes the command object, execution method, and execution action.

[0043] In practical applications, the first control instruction is decomposed according to the command object, execution method and execution action. It may also need to be encoded or preprocessed into the format, bit rate, etc. of the first control instruction, which will not be elaborated here.

[0044] In this embodiment of the invention, the data structure of the first audio packet is as follows: audio packet header, audio packet type, effective data length, first control byte, audio packet sequence number, first audio frame, and checksum; The valid data includes one or more of the following: the first control byte, the audio packet sequence number, the first audio frame, and the checksum. The checksum is used to verify the validity of the first audio packet.

[0045] As an example, after obtaining the first audio frame and the first control byte to be broadcast, the main sender generates a first audio packet including the first audio frame and the first control byte. The frame length of the first audio packet is less than or equal to the audio frame length threshold, and the data structure of the first audio packet is an audio packet header, an audio packet type, an effective data length, a first control byte, an audio packet sequence number, a first audio frame, and a checksum.

[0046] It should be noted that in the first audio packet, the audio packet header is used to determine the start of the data; the audio packet type is used to determine whether it is audio or instruction, etc.; the valid data includes one or more of the following: the first control byte, the audio packet sequence number, the first audio frame, and the checksum; the valid data length refers to the length of the valid data as described above; the audio packet sequence number is used to check the data reception status and determine whether there is any packet loss; the first audio frame is the current audio data; and the checksum is used to verify the validity of the first audio packet.

[0047] In practical applications, to meet users' complex control needs for the receiving end, it is supported to add multiple control bytes to the audio packet. That is, the first audio packet can include one first control byte or multiple first control bytes.

[0048] For example, the first audio packet may include, in sequence, a first control byte A, a first control byte B, and a first control byte C. The control bytes A, B, and C may be the same or different.

[0049] In practical applications, to support the batch broadcasting of audio frames, multiple audio frames can be added to an audio packet. That is, the first audio packet can include one first audio frame or multiple first audio frames.

[0050] For example, the first audio packet may also include multiple first audio frames in sequence. Similarly, the multiple first audio frames may be the same or different.

[0051] The first audio packet may also include some other defined bytes in addition to the above structure, or it may not include any control instructions, that is, in this case, there is no need to broadcast control instructions to control the receiving end.

[0052] In this embodiment of the invention, after broadcasting the first audio packet to multiple receiving ends, the method further includes: Determine the cumulative duration of the first control byte, wherein the cumulative duration is the time from the input time of the first control instruction to which the first control byte belongs to the current time; After the cumulative duration of action is greater than or equal to the control duration threshold, a second control command input by the user is allowed to be responded to. The second control instruction is decomposed into a second control byte.

[0053] As an example, after receiving the first control instruction currently input by the user, the main sender can also continuously listen to whether the user continues to input control instructions, and continuously count the duration from the input time of the first control instruction to which the first control byte belongs to the current time to determine the cumulative duration of the first control byte, and determine whether the cumulative duration is greater than or equal to the control duration threshold. If the cumulative duration is greater than or equal to the control duration threshold, then the user's newly input second control instruction is allowed to be responded to, and the second control instruction is decomposed into a second control byte. Otherwise, the current state is maintained, and the user's subsequent input control instructions are not responded to for the time being.

[0054] In practical applications, to avoid missing responses to user-inputted control commands, the second control command can be the first control command input by the user after the first control command. Alternatively, to avoid delaying responses to the latest user-inputted control command, the second control command can be the first control command input by the user after determining that the cumulative action duration is greater than or equal to the control duration.

[0055] Setting the cumulative duration is to ensure that the first control instruction represented by the first control byte can be fully received by multiple receiving ends, and to prevent the second control instruction from overwriting the first control instruction. This allows multiple receiving ends to be controlled based on the first control byte, preventing the loss of control over a particular receiving end.

[0056] In this embodiment of the invention, after broadcasting the first audio packet to multiple receiving ends, the method further includes: If the second audio frame and the second control byte are not obtained, the first audio packet is broadcast to multiple receiving ends according to the first transmission interval until the cumulative number of transmissions of the first audio packet is greater than or equal to the transmission count threshold. The second audio frame is a subsequent audio frame of the first audio frame. The first transmission interval is determined based on the ambient noise and the distance between the main transmitter and multiple receivers. The transmission count threshold is determined based on the communication parameters.

[0057] As an example, the main transmitter pre-determines a first transmission interval based on ambient noise and the distance between the main transmitter and multiple receivers. Generally, the greater the distance between the main transmitter and multiple receivers and the greater the ambient noise, the larger the first transmission interval.

[0058] The main sender also determines the transmission threshold based on the communication parameters between itself and multiple receivers.

[0059] In practical applications, the transmission threshold can be set based on communication bandwidth, or automatically generated based on factors such as communication bandwidth and environmental noise. For example, a higher environmental noise level will result in a higher transmission threshold. The transmission threshold can also be preset by the user. Typically, the transmission threshold is 6 or 9 times.

[0060] Setting the first transmission interval and transmission count threshold is to ensure that the control instructions represented by the control bytes can be fully received by multiple receivers, thereby enabling control of multiple receivers based on the control bytes and avoiding loss of control over a particular receiver.

[0061] The main transmitter will listen to externally input audio frames in real time or directly acquire audio frames. If the main transmitter does not acquire the subsequent audio frames of the first audio frame, i.e. the second audio frame, and the second control byte, it will continuously broadcast and send the first audio packet multiple times according to the first transmission interval until the cumulative number of transmissions of the first audio packet is greater than or equal to the transmission number threshold, such as 6 or 9 times as mentioned above, and then stop sending.

[0062] It is understood that the first transmission interval refers to the transmission interval between audio packets containing the same control bytes. Broadcast data may be affected by external noise, mutual interference between multiple broadcast data, or other interference, but this interference is usually not continuous or long-term. The first transmission interval in this embodiment ensures that at least one of the multiple control bytes is received by the receiving end, which can, to some extent, prevent all control bytes from being interfered with. This allows for control of multiple receiving ends based on the control bytes, preventing loss of control over any particular receiving end.

[0063] Assuming that the control bytes in both audio packets indicate "mute microphone", if the first control byte is interfered with, since the interference may not be continuous or may not be strong, the interference may become smaller or disappear after the first transmission interval. In this case, the second control byte may not be interfered with, thus avoiding interference in both audio packets and ensuring that the receiver receives at least one "mute microphone" control byte.

[0064] In this embodiment of the invention, the method further includes: If the second audio frame is obtained but the second control byte is not obtained, a second audio packet is generated, which includes the second audio frame and the first control byte. The second audio frame is a subsequent audio frame of the first audio frame, and the frame length of the second audio packet is less than or equal to an audio frame length threshold. Broadcast the second audio packet to multiple receivers; and, Having obtained the second audio frame and the second control byte, a third audio packet is generated, which includes the second audio frame and the second control byte. The frame length of the third audio packet is less than or equal to an audio frame length threshold. A third audio packet is broadcast to multiple receivers.

[0065] As an example, when the main transmitter obtains the second audio frame but does not obtain the second control byte, it generates a second audio packet that includes the second audio frame and the original first control byte, and the frame length is less than or equal to the audio frame length threshold, and broadcasts the second audio packet to multiple receivers.

[0066] By acquiring the second audio frame, updating the first audio frame in the first audio packet to the second audio frame to form a second audio packet for broadcasting, the new audio frame can be broadcast to multiple receiving ends in a timely manner.

[0067] Upon receiving the second audio frame and the second control byte, the main transmitter generates a third audio packet that includes the second audio frame and the second control byte, and whose frame length is less than or equal to the audio frame length threshold. The third audio packet is then broadcast to multiple receivers.

[0068] By generating a third audio packet containing the second audio frame and the second control byte after obtaining the second audio frame and the second control byte, and broadcasting it, new audio frames and new control bytes can be broadcast to multiple receiving ends in a timely manner.

[0069] In this embodiment of the invention, the transmission interval between the third audio packet and the target audio packet transmitted in the last broadcast is the second transmission interval. The target audio packet and the third audio packet contain different control bytes. The second transmission interval is determined based on the ambient noise and the distance between the main transmitter and multiple receivers.

[0070] As an example, if the main transmitter needs to broadcast a third audio packet this time, and the third audio packet contains different control bytes than the target audio packet broadcast last time, in order to ensure that the previous control byte can be received by the receiver, the main transmitter pre-determines a second transmission interval based on the ambient noise and the distance between the main transmitter and multiple receivers, and broadcasts the third audio packet according to the second transmission interval.

[0071] Understandably, control commands and audio frames in an audio packet can be combined into the audio packet according to requirements and actual conditions. As shown above, when a second control command is not received but a second audio frame is received, the audio packet carries the first control byte corresponding to the first control command, as well as the second audio frame; when a second control command and a second audio frame are received, the audio packet carries the second control byte corresponding to the second control command, as well as the second audio frame.

[0072] The second transmission interval actually refers to the transmission interval between audio packets containing different control bytes. The second transmission interval allows the preceding control byte to be received and executed more fully.

[0073] For example, the previously sent control byte corresponds to the control instruction "mute microphone," and the next sent control byte corresponds to the control instruction "turn on microphone." These two byte sequences are sent sequentially with a second transmission interval. Since the same control byte may be carried by multiple audio packets, "mute microphone" may be sent multiple times. The second transmission interval between "turn on microphone" and the last "mute microphone" ensures that even if some "mute microphone" messages are interfered with or lost, the "mute microphone" instruction can still be received and executed by more receivers before the "turn on microphone" instruction is received.

[0074] In this embodiment of the invention, the audio packet may not include any control bytes, but only the audio frame and other necessary information. That is, in this case, it is not necessary to broadcast control bytes to control the receiving end.

[0075] Figure 3 , Figure 4This is a schematic diagram of the main sending end transmitting data according to an embodiment of the present invention.

[0076] like Figure 3 As shown, the main transmitter can continuously send multiple audio packets 310 containing control bytes, then continuously send audio packets 320 without control bytes, and then send audio packets 330 containing control bytes; multiple audio packets 320 without control bytes can be spaced between two audio packets containing control bytes. The control bytes included in audio packets 310 and audio packets 320 can be the same or different.

[0077] like Figure 4 As shown, the main transmitter can also continuously send audio packets 410, including control bytes.

[0078] The aforementioned one-to-many broadcast interaction method is derived by utilizing the unique technical features of the one-to-many broadcast interaction method, and achieves the beneficial effect of solving the technical problems raised in the background art. The second embodiment of the present invention provides a one-to-many broadcast interaction system, which includes a master transmitter 110 and multiple receivers 120. The master transmitter 110 performs the method described in the first embodiment of the present invention and can achieve the same beneficial effects.

[0079] The third embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method described in the first embodiment of the present invention and achieves the same beneficial effects.

[0080] The fourth embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it implements the method described in the first embodiment of the present invention and achieves the same beneficial effects.

[0081] The aforementioned one-to-many broadcast interaction method achieves the beneficial effect of solving the technical problems raised in the background art.

[0082] Figure 2 This is a flowchart illustrating a one-to-many broadcast interaction method in one embodiment. It should be understood that, although... Figure 2 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0083] Figure 5 An internal structural diagram of a computer device in one embodiment is shown. Specifically, this computer device may be... Figure 1 The main transmitter 110 in the example. Figure 5 As shown, the computer device includes a processor, memory, network interface, input device, and display screen connected via a system bus. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system and may also store computer programs. When executed by the processor, these programs enable the processor to perform a one-to-many broadcast interaction method. The internal memory may also store computer programs, which, when executed by the processor, enable the processor to perform a one-to-many broadcast interaction method. The display screen can be an LCD screen or an e-ink screen. The input device can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0084] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present invention and does not constitute a limitation on the computer device to which the present invention is applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0085] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided by this invention can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0086] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0087] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. 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 invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features of the invention herein.

Claims

1. A one-to-many broadcast interaction method, characterized by, The method is applied to the main transmitter, and the method includes: Obtain the first audio frame and the first control byte to be broadcast and sent. The first control byte is used to control multiple receiving ends. A first audio packet is generated, which includes the first audio frame and the first control byte. The frame length of the first audio packet is less than or equal to an audio frame length threshold, which is determined based on the communication parameters between the main transmitter and the plurality of receivers. The first audio packet is broadcast to the plurality of receiving terminals.

2. The method of claim 1, wherein, The step of obtaining the first control byte to be broadcast includes: In response to the first control command currently input by the user, the first control command is decomposed into the first control byte; The first control byte includes a command object, an execution mode, and an execution action. The command object includes at least some of the multiple receiving ends. The execution mode includes synchronous execution. The execution action includes turning the microphone on or off.

3. The method of claim 1, wherein, The data structure of the first audio packet is as follows: audio packet header, audio packet type, effective data length, first control byte, audio packet sequence number, first audio frame, and checksum; The valid data includes one or more of the following: the first control byte, the audio packet sequence number, the first audio frame, and the checksum. The checksum is used to verify the validity of the first audio packet.

4. The method according to any one of claims 1 to 3, characterized in that, After broadcasting the first audio packet to the plurality of receiving terminals, the method further includes: Determine the cumulative duration of the first control byte; wherein the cumulative duration is the time from the input time of the first control instruction to which the first control byte belongs to the current time; After the cumulative duration of action is greater than or equal to the control duration threshold, a second control command newly input by the user is allowed to be responded to. The second control instruction is decomposed into a second control byte.

5. The method of claim 4, wherein, After broadcasting the first audio packet to the plurality of receiving terminals, the method further includes: If the second audio frame and the second control byte are not acquired, the first audio packet continues to be broadcast to the plurality of receiving ends according to the first transmission interval until the cumulative number of transmissions of the first audio packet is greater than or equal to the transmission count threshold; wherein, the second audio frame is a subsequent audio frame of the first audio frame, the first transmission interval is determined based on the ambient noise and the distance between the main transmitter and the plurality of receiving ends, and the transmission count threshold is determined based on the communication parameters.

6. The method of claim 4, wherein, The method further includes: If the second audio frame is obtained but the second control byte is not obtained, a second audio packet is generated that includes the second audio frame and the first control byte. The second audio frame is a subsequent audio frame of the first audio frame, and the frame length of the second audio packet is less than or equal to the audio frame length threshold. The second audio packet is broadcast to the plurality of receiving terminals; and, Upon obtaining the second audio frame and the second control byte, a third audio packet is generated that includes the second audio frame and the second control byte, wherein the frame length of the third audio packet is less than or equal to the audio frame length threshold. The third audio packet is broadcast to the plurality of receiving terminals.

7. The method of claim 6, wherein, The second transmission interval is the interval between the transmission of the third audio packet and the target audio packet transmitted in the last broadcast. The target audio packet and the third audio packet contain different control bytes. The second transmission interval is determined based on the ambient noise and the distance between the main transmitter and the plurality of receivers.

8. A one-to-many broadcast interactive system, characterized by The one-to-many broadcast interaction system includes a master transmitter and multiple receivers, wherein the master transmitter performs the method as described in any one of claims 1 to 7.

9. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 7.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 7.