Data transmission method, data transmission device, communication interaction equipment and storage medium
By using two interactive chips in the first communication interactive device to use time overlapping time slots for data transmission, the problem of reducing data transmission bandwidth in the prior art affecting sound quality is solved, and efficient data transmission without compressing data is achieved, and data transmission quality and efficiency are guaranteed.
Patent Information
- Application Number
- CN202510384481.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-28
- Publication Date
- 2025-06-13
AI Technical Summary
When the prior art reduces the data transmission bandwidth, it is easy to affect the sound quality of data transmission and cannot effectively expand broadband resources during the communication cycle.
By using two interactive chips in the first communication interactive device, data transmission is performed in the data transmission time slot and the data reception time slot respectively, and data transmission and reception are performed using time overlapping time slots to expand broadband resources during the communication cycle.
Without compressing data, sufficient broadband resources are provided for data transmission, ensuring the quality and efficiency of data transmission, simplifying the data transmission mechanism, and enhancing the reliability and fault tolerance of communication and interactive equipment.
Smart Images

Figure CN120151952A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication interaction, and particularly relates to a data transmission method, a data transmission device, a communication interaction device, and a computer-readable storage medium. Background Art
[0002] In an application scenario of communication interaction among multiple communication interaction devices, each communication interaction device can send data and receive data sent by other communication interaction devices.
[0003] In the related art, in order to reduce the bandwidth occupied during data transmission, any of the following methods can be used to improve the communication interaction device: 1. Adding a data detection module for data encoding to reduce the data throughput of the communication interaction device; 2. Increasing the encoding compression rate of the data to reduce the code rate; 3. Using a smaller maximum number of retransmissions of data packets to reduce the occupancy of bandwidth by Protocol Data Unit (PDU) data; 4. Using a physical layer with a rate of 2 Mbps (LE PHY = 2M) in low-power Bluetooth communication, for example, to increase the transmission bandwidth between multiple audio transmitters and audio receivers.
[0004] However, no matter which of the above methods is used, it will affect the audio quality of data transmission. Summary of the Invention
[0005] To overcome the problems in the related art, an exemplary embodiment of the present disclosure provides a data transmission method, which is applied to a first communication interaction device. The first communication interaction device includes at least two interaction chips. The method includes: during the data transmission time slot of the first interaction chip, sending first data to a plurality of second communication interaction devices in a broadcast manner through the first interaction chip, where the plurality of second communication interaction devices are communicatively connected to the first communication interaction device; during at least one second data reception time slot of the second interaction chip, receiving second data sent by the corresponding second communication interaction device in a broadcast manner through the second interaction chip, where each second data reception time slot corresponds to a second communication interaction device; where, within the same communication cycle, it includes: the time of one second data reception time slot of the second interaction chip overlaps with the data transmission time slot of the first interaction chip; or, there is at least one second data reception time slot of the second interaction chip whose time overlaps with the first data reception time slot of the first interaction chip, and the first data reception time slot is used to receive second data sent by the corresponding other second communication interaction devices in a broadcast manner through the first interaction chip.
[0006] In some embodiments, the data transmission method further includes: based on the second communication interaction device, determining the data reception time slots within each communication cycle, and such that within the same communication cycle: the first interaction chip includes one data transmission time slot and at least one first data reception time slot; the second interaction chip includes at least one second data reception time slot, wherein each second data reception time slot overlaps in time with one first data reception time slot respectively.
[0007] In some embodiments, the data transmission method further includes: based on the second communication interaction device, determining the data reception time slots within each communication cycle, and such that within the same communication cycle: the first interaction chip includes one data transmission time slot and at least one first data reception time slot; the second interaction chip includes a plurality of second data reception time slots, wherein there is one second data reception time slot that overlaps in time with the data transmission time slot, and each of the other second data reception time slots overlaps in time with one first data reception time slot respectively.
[0008] In some embodiments, in the data transmission time slot, the first data is transmitted through a first transmission frequency; in the second reception time slot that overlaps in time with the data transmission time slot, the second data is received through a second transmission frequency, wherein the second transmission frequency is different from the first transmission frequency.
[0009] In some embodiments, the data transmission method further includes: based on the number of second communication interaction devices and the communication cycle, determining the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot.
[0010] In some embodiments, the data transmission method further includes: based on the number of second communication interaction devices and the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot, determining the communication cycle.
[0011] In some embodiments, the first data is obtained in the following manner: the ambient signal is collected through a microphone; the ambient signal is subjected to analog-to-digital conversion processing to obtain the data to be processed; the data to be processed is subjected to encoding processing to obtain the first data.
[0012] Second aspect, the present disclosure also provides a data transmission device, which is applied to a first communication interaction device. The first communication interaction device includes at least two interaction chips. The device includes: a sending module, configured to send first data to a plurality of second communication interaction devices in a broadcast form through the first interaction chip during the data sending time slot of the first interaction chip, where the plurality of second communication interaction devices are communicatively connected to the first communication interaction device; a receiving module, configured to receive second data sent in a broadcast form by a corresponding second communication interaction device through the second interaction chip during at least one second data receiving time slot of the second interaction chip, where each second data receiving time slot corresponds to a second communication interaction device; where, within the same communication cycle, it includes: a second data receiving time slot of the second interaction chip overlaps in time with the data sending time slot of the first interaction chip; or, there is at least one second data receiving time slot of the second interaction chip that overlaps in time with the first data receiving time slot of the first interaction chip, and the first data receiving time slot is used to receive second data sent in a broadcast form by a corresponding other second communication interaction device through the first interaction chip.
[0013] Third aspect, the present disclosure also provides a communication interaction device, including: a first interaction chip, configured to send first data to a plurality of second communication interaction devices in a broadcast form during the data sending time slot, and receive second data sent in a broadcast form by a corresponding other second communication interaction device during the first data receiving time slot, where the plurality of second communication interaction devices are communicatively connected to the first communication interaction device; a second interaction chip, configured to receive second data sent in a broadcast form by a corresponding second communication interaction device, where each second data receiving time slot corresponds to a second communication interaction device; where, within the same communication cycle, it includes: a second data receiving time slot of the second interaction chip overlaps in time with the data sending time slot of the first interaction chip; or, there is at least one second data receiving time slot of the second interaction chip that overlaps in time with the first data receiving time slot.
[0014] Fourth aspect, the present disclosure also provides a computer-readable storage medium, which stores the following program, and the program is used to execute the data transmission method provided in any of the above aspects.
[0015] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure.
[0016] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: According to the data transmission method provided by the present disclosure, by controlling the data sending and receiving time slots of the first communication interaction device through two interaction chips, it is possible to effectively expand the broadband resources available for data transmission within the same communication cycle at the physical level. Furthermore, without compressing the data, there is sufficient broadband resources for data transmission, which can ensure the data transmission quality and data transmission efficiency. Moreover, by sending the first data of the first communication interaction device through the data sending time slot of the first interaction chip in the first communication interaction device, and receiving the second data sent by the corresponding second communication interaction device through the second data receiving time slot of the second interaction chip, it is possible to simplify the formulation of the data sending and receiving mechanism, make full use of the broadband resources, enable each communication interaction device (including the first communication interaction device and the second communication interaction device) to independently receive data, reduce communication latency, contribute to enhancing the reliability and fault tolerance of the communication interaction device, and improve the data transmission quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The present disclosure can be better understood by describing the exemplary embodiments thereof in conjunction with the accompanying drawings. In the drawings:
[0018] Figure 1 FIG. is a time slot distribution diagram shown in an exemplary embodiment of the present disclosure;
[0019] Figure 2 FIG. is a schematic flowchart of a data transmission method shown in an exemplary embodiment of the present disclosure;
[0020] Figure 3 FIG. is another time slot distribution diagram shown in an exemplary embodiment of the present disclosure;
[0021] Figure 4 FIG. is yet another time slot distribution diagram shown in an exemplary embodiment of the present disclosure;
[0022] Figure 5 FIG. is a schematic flowchart of another data transmission method shown in an exemplary embodiment of the present disclosure;
[0023] Figure 6 FIG. is a schematic flowchart of yet another data transmission method shown in an exemplary embodiment of the present disclosure;
[0024] Figure 7 FIG. is a schematic flowchart of a method for obtaining the first data shown in an exemplary embodiment of the present disclosure;
[0025] Figure 8 FIG. is a schematic framework diagram of a data transmission device shown in an exemplary embodiment of the present disclosure;
[0026] Figure 9A schematic diagram of a communication interaction device framework shown in another exemplary embodiment of the present disclosure. Detailed implementation manners
[0027] The following will describe the detailed implementation manners of the present disclosure. It should be noted that in the specific description of these implementation manners, for the sake of concise description, this specification may not describe all features of the actual implementation manners in detail. It should be understood that in the actual implementation process of any implementation manner, just as in the process of any engineering project or design project, in order to achieve the specific goals of the developer and to meet system-related or business-related restrictions, various specific decisions are often made, and these decisions may vary from one implementation manner to another. In addition, it should also be understood that although the efforts made in this development process may be complex and lengthy, for those of ordinary skill in the art related to the content disclosed in the present disclosure, some design, manufacturing, or production changes based on the technical content disclosed in the present disclosure are only conventional technical means and should not be understood as the content of the present disclosure being insufficient.
[0028] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should have the ordinary meaning understood by those of ordinary skill in the art within the technical field to which the present disclosure belongs. The "first", "second", and similar terms used in the present disclosure do not indicate any order, quantity, or importance, but are only used to distinguish different components. The terms such as "a" or "one" do not indicate a quantity limitation, but indicate the existence of at least one. The terms such as "include" or "comprise" mean that the elements or objects appearing before "include" or "comprise" cover the elements or objects listed after "include" or "comprise" and their equivalent elements, and do not exclude other elements or objects. The terms such as "connect" or "couple" are not limited to physical or mechanical connections, nor are they limited to direct or indirect connections.
[0029] For the application scenarios of communication interaction among multiple communication interaction devices, each communication interaction device can send data and receive data sent by other communication interaction devices. For example, the application scenarios may include, but are not limited to, any of the following scenarios: a broadcast scenario based on a wireless microphone (MIC), a scenario where multiple people communicate in the same game software, a scenario where multiple people communicate via walkie-talkies based on communication interaction devices, a scenario where multiple people communicate via conferencing software. That is, scenarios that require the participation of multiple people and enable the interactive sending and transmission of data between each other. In the broadcast scenario based on a wireless microphone (MIC), one or more speakers send voice data through the wireless microphone, and multiple listeners receive and hear this voice. For example, in a meeting, lecture, or religious activity, the lecturer or host speaks through the wireless microphone, and the listeners listen through the receiving device. In the scenario where multiple people communicate in the same game software, players can communicate through the in-game voice chat function to share strategies, coordinate actions, or simply for social interaction. In the scenario where multiple people communicate via walkie-talkies based on communication interaction devices, broadcasting, communication, vehicle dispatching, etc. can be carried out on the same channel through the walkie-talkies. In the scenario where multiple people communicate via conferencing software, there is no geographical restriction, enabling participants to communicate in real time, share the screen, and / or share files.
[0030] In the application scenario of communication interaction among multiple communication interaction devices, to enable each communication interaction device to send data and receive data sent by other communication interaction devices, it is necessary to stagger the data transmission time slots of each communication interaction device to ensure that only one communication interaction device sends data within the same communication cycle, thereby obtaining a Figure 1 communication interaction timing diagram as shown. Among them, Figure 1 T in is the cycle duration of a communication cycle. The solid-line box in each communication interaction device is its data transmission time slot for sending data, and the dashed-line box is the data reception time slot. Each data reception time slot corresponds to another communication interaction device and is used to receive data sent by the corresponding other communication interaction device. For each communication interaction device, within the same communication cycle, the total number of data transmission time slots and data reception time slots is the same as the number of participating communication interaction devices. It can be seen that in the application scenario of communication interaction among multiple communication interaction devices, a large amount of bandwidth is required for data transmission for each communication cycle. It should be noted that Figure 1 is only for example and is not limited to the application scenario where only 4 communication interaction devices communicate with each other. Also, to distinguish the 4 communication interaction devices, communication interaction device 1, communication interaction device 2, communication interaction device 3, and communication interaction device 4 are used for substitution respectively.
[0031] In the related art, in order to reduce the bandwidth occupied during data transmission, any of the following methods can be used to improve the communication interaction device: 1. Add a data detection module to perform data encoding to reduce the data throughput of the communication interaction device; 2. Increase the encoding compression rate of the data to reduce the code rate; 3. Use a smaller maximum retransmission times of data packets to reduce the bandwidth occupied by Protocol Data Unit (PDU) data; 4. Use a physical layer with a rate of 2Mbps (LE PHY = 2M) in low-power Bluetooth communication, for example, to increase the transmission bandwidth between multiple audio transmitters and audio receivers.
[0032] If the improvement is made by method 1, data encoding is only performed when the target audio data is detected. For example, the environmental signal is collected through a microphone, and the environmental signal is subjected to analog-to-digital conversion processing to obtain the data to be processed. The data detection module is used to detect whether there is target audio data in the data to be processed. When it is determined that the data to be processed includes the target audio data, the target audio data is encoded to obtain the data to be transmitted. However, data screening through the data detection module is prone to missed transmission, which will affect the data quality.
[0033] If the improvement is made by method 2, a low-code-rate encoding scheme is used, such as AMR, Codec2, etc. Although the code rate can be reduced, the listening quality will also be reduced, the resolution will be reduced, and the sound may even be unclear. Especially in a wireless environment, packet loss is likely to occur under conditions such as increasing the distance, being blocked by obstacles, or being interfered, which will cause the listening experience of the data receiving end (other communication interaction devices) to deteriorate or even be unacceptable. If it is not human voice but song sound, the requirement for the code rate will be higher, that is, using common Bluetooth audio encodings with higher code rates such as SBC, LC3, AAC, LDAC, etc. to reduce the code rate will result in worse sound quality.
[0034] If the improvement is made by method 3, packet loss will occur under conditions such as increasing the distance, being blocked by obstacles, or being interfered, which will affect the integrity of data received by other communication interaction devices.
[0035] If the improvement is made by method 4, the receiving sensitivity (RX sensitivity) of the audio receiving end will be reduced, and distortion is likely to occur.
[0036] Therefore, no matter which of the above methods is used, the audio quality of data transmission will be affected.
[0037] To solve the above problems, an exemplary embodiment of the present disclosure provides a data transmission method, which is applied to a first communication interaction device, and the first communication interaction device includes at least two interaction chips. As Figure 2 shown, the data transmission method may include the following steps:
[0038] Step S110, in the data transmission time slot of the first interaction chip, the first data is transmitted to multiple second communication interaction devices in a broadcast manner through the first interaction chip.
[0039] The first interaction chip can be understood as the interaction chip mainly used for data transmission in the first communication interaction device. The data transmission time slot can be understood as the specific time period for the first interaction chip to transmit data. Multiple second communication interaction devices are communicatively connected to the first communication interaction device. The first data can be understood as the audio data that the first communication interaction device needs to transmit to multiple second communication interaction devices. For example, the first data can be music data, human voice data, ambient sound data, etc., and the data content corresponding to the first data can be determined according to the actual acquisition situation.
[0040] In the process of communication interaction between the first communication interaction device and multiple second communication interaction devices, when the current moment is the starting moment of the data transmission time slot, in the data transmission time slot of the first interaction chip, the first data is transmitted to multiple second communication interaction devices in a broadcast manner, so that the multiple second communication interaction devices can receive the first data.
[0041] Step S120, in at least one second data reception time slot of the second interaction chip, the second data sent by the corresponding second communication interaction device in a broadcast manner is received through the second interaction chip.
[0042] The second interaction chip can be understood as the interaction chip mainly used for data reception in the first communication interaction device. The second data reception time slot can be understood as the specific time period for the second interaction chip to receive data. Since the number of second communication interaction devices is not unique, at least one second data reception time slot is included on the second interaction chip to receive the second data sent by the corresponding second communication interaction device in a broadcast manner. Among them, each second data reception time slot corresponds to a second communication interaction device.
[0043] In the process of communication interaction between the first communication interaction device and multiple second communication interaction devices, when the current moment is the starting moment of the second data reception time slot, the second data sent by the corresponding second communication interaction device in a broadcast manner is received through the second interaction chip to ensure the timeliness and integrity of data reception.
[0044] In some examples, within the same communication cycle, it includes: the time overlap between a second data reception time slot of a second interaction chip and the data transmission time slot of a first interaction chip. Since the first interaction chip and the second interaction chip are two relatively independent interaction chips, therefore, within the same communication cycle, it is allowed to have the time overlap between a second data reception time slot of the second interaction chip and the data transmission time slot of the first interaction chip, thereby enabling more efficient utilization of communication transmission resources, reducing unnecessary waiting time, improving data reception efficiency, and reducing communication latency.
[0045] In other examples, within the same communication cycle, the second interaction chip has at least one second data reception time slot that overlaps with the first data reception time slot of the first interaction chip. Among them, the first data reception time slot is used to receive second data sent in a broadcast form by a corresponding other second communication interaction device through the first interaction chip. That is, both the first interaction chip and the second interaction chip have data reception time slots for data reception, and the second interaction chip has at least one second data reception time slot that overlaps with the first data reception time slot of the first interaction chip, thereby effectively utilizing communication transmission resources so that second data sent by different second communication interaction devices can be received simultaneously within the same time period, effectively ensuring the timeliness of data reception, improving data reception efficiency, and reducing communication latency.
[0046] According to the data transmission method provided by the present disclosure, by controlling the data transmission and reception time slots of the first communication interaction device through two interaction chips, it is possible to effectively expand the communication transmission resources (such as broadband resources) that can perform data transmission within the same communication cycle from a physical level. Thus, without compressing data, there are sufficient communication transmission resources for data transmission, which can ensure data transmission quality and data transmission efficiency. Moreover, by sending the first data of the first communication interaction device through the data transmission time slot of the first interaction chip in the first communication interaction device and receiving the second data sent by the corresponding second communication interaction device through the second data reception time slot of the second interaction chip, it is possible to simplify the formulation of the data transmission and reception mechanism, make full use of communication transmission resources, enable each communication interaction device (including the first communication interaction device and the second communication interaction device) to independently receive data, reduce communication latency, help enhance the reliability and fault tolerance of the communication interaction device, and improve data transmission quality.
[0047] In some embodiments, the above data transmission method may further include the following steps: Based on the second communication interaction device, determine the data reception time slots within each communication cycle, and ensure that within the same communication cycle: The first interaction chip includes one data transmission time slot and at least one first data reception time slot; the second interaction chip includes at least one second data reception time slot, where each second data reception time slot overlaps in time with one first data reception time slot. That is, to ensure the rationality of the allocation of data reception time slots, determine the data transmission time slots of each second communication interaction device within each communication cycle to determine the time periods during which each second communication interaction device transmits the second data. To ensure orderly communication between the first communication interaction device and multiple second communication interaction devices and ensure that all second data within the same communication cycle can be received in a timely manner, determine the data reception time slots of the first communication interaction device within each communication cycle according to the data transmission time slots of each second communication interaction device within each communication cycle. Among them, within the same communication cycle, it is necessary to ensure that the first interaction chip includes one data transmission time slot and at least one first data reception time slot; the second interaction chip includes at least one second data reception time slot, where each second data reception time slot overlaps in time with one first data reception time slot. The first interaction chip can be used not only for data transmission but also for data reception.
[0048] Using the above method to determine the data reception time slots of the first interaction chip and the second interaction chip within the same communication cycle can ensure the synchronization of data transmission, and the overlapping of the time slots of the data reception time slots also helps to better utilize the communication transmission resources for data reception, reduce unnecessary waiting time, thereby effectively reducing communication latency and ensuring the accuracy and timeliness of data transmission.
[0049] In some application scenarios, for the first communication interaction device, within the same communication cycle, the timing arrangement of the data transmission time slot, the first data reception time slot of the first interaction chip, and the second data reception time slot of the second interaction chip may be as Figure 3 shown. Figure 3 In the figure, T is the cycle duration of a communication cycle. For the first interaction chip, the solid line box is the data transmission time slot, and the dashed line box is the first data reception time slot. For the second interaction chip, the dashed line box is the second data reception time slot.
[0050] In some other embodiments, the above data transmission method may further include the following steps: Based on the second communication interaction device, determine the data reception time slots within each communication cycle, and ensure that within the same communication cycle: The first interaction chip includes one data transmission time slot and at least one first data reception time slot; the second interaction chip includes multiple second data reception time slots, where there is one second data reception time slot that overlaps in time with the data transmission time slot, and each of the other second data reception time slots overlaps in time with one first data reception time slot respectively. That is, to make full use of the communication transmission resources provided by the two interaction chips, when determining the second data reception time slots of the second interaction chip within the same communication cycle, it is allowed that there is one second data reception time slot that overlaps in time with the data transmission time slot, and each of the other second data reception time slots overlaps in time with one first data reception time slot respectively. Furthermore, without increasing the total duration of the communication cycle, continuous data transmission and reception can be achieved, enabling data to be sent and received in the shortest time, thereby helping to reduce latency and improve communication efficiency.
[0051] In some application scenarios, for the first communication interaction device, within the same communication cycle, the timing arrangement of the data transmission time slot, the first data reception time slots of the first interaction chip, and the second data reception time slots of the second interaction chip may be as Figure 4 shown. Figure 4 In the figure, T is the cycle duration of a communication cycle. For the first interaction chip, the solid-line box is the data transmission time slot, and the dashed-line box is the first data reception time slot. For the second interaction chip, the dashed-line box is the second data reception time slot.
[0052] In some examples, during the data transmission time slot, the first data is sent through the first transmission frequency; during the second reception time slot that overlaps in time with the data transmission time slot, the second data is received through the second transmission frequency. Among them, the second transmission frequency is different from the first transmission frequency. For the second reception time slot that overlaps in time with the data transmission time slot, different transmission frequencies can be used for data transmission and data reception, which can effectively avoid frequency conflicts and interference. Furthermore, when the first data is sent through the first transmission frequency during the data transmission time slot, it will not only not affect the second interaction chip's reception of the second data during the second reception time slot that overlaps in time with the data transmission time slot, but also help reduce the idle time of the first communication interaction device waiting to receive the second data, improve resource utilization rate, and reduce communication latency, thereby ensuring the communication interaction quality between the first communication interaction device and multiple second communication interaction devices.
[0053] In some embodiments, as Figure 5 shown, the above data transmission method may further include:
[0054] Step S130: Determine the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot based on the number of second communication interaction devices and the communication cycle.
[0055] Since the communication cycle is relatively fixed and the number of second communication interaction devices is relatively flexible, it can be determined according to the connection situation between the first communication interaction device and multiple second communication interaction devices. Therefore, to improve the utilization rate of communication transmission resources and ensure the integrity and reliability of data transmission, the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot can be determined based on the number of second communication interaction devices and the communication cycle, so that the data transmission time slot, the first data reception time slot, and the second data reception time slot can be dynamically adjusted according to the actual device communication situation, which helps to enhance the ability of the first communication interaction device to send and receive data, avoid data loss, and also helps to enhance the flexibility of time slot determination, avoid unnecessary resource waste or over-occupation of communication transmission resources, and ensure the rationality of communication transmission resource allocation.
[0056] In some embodiments, as Figure 6 shown, the above data transmission method may further include:
[0057] Step S140: Determine the communication cycle based on the number of second communication interaction devices and the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot.
[0058] The durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot are relatively fixed, and the number of second communication interaction devices is relatively flexible. Therefore, to reduce latency, the communication cycle can be determined based on the number of second communication interaction devices and the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot, so that data can be sent or received in the shortest possible time, thereby reducing the overall communication latency and ensuring the data transmission performance of the first communication interaction device.
[0059] In some embodiments, as Figure 7 shown, the first data can be obtained through the following steps:
[0060] Step S210: Collect environmental signals through a microphone.
[0061] Use a microphone to collect signals to capture sound signals in the surrounding environment, thereby obtaining environmental signals.
[0062] Step S220: Perform analog-to-digital conversion processing on the environmental signals to obtain data to be processed.
[0063] Convert the analog environmental signal collected by the microphone into data to be processed through an analog-to-digital converter (ADC), so that the corresponding environmental signal can be recognized, stored, or transmitted by the first communication interaction device.
[0064] In some examples, to ensure data quality, during the analog-to-digital conversion process, it may include gain adjustment, sampling rate adjustment, and / or resolution adjustment of the environmental signal to improve the reliability and accuracy of the data to be processed.
[0065] Step S230, perform encoding processing on the data to be processed to obtain the first data.
[0066] Perform encoding processing on the data to be processed so that the obtained first data can meet the data transmission requirements, thereby ensuring the integrity, reliability, and effectiveness of data transmission.
[0067] In some optional application scenarios, the first interaction chip and the second interaction chip are chips with the same specifications. If there is no second reception time slot in the second interaction chip during the time period corresponding to the data transmission time slot of the first interaction chip, the maximum number of data transmission time slots of the first communication interaction device in a single communication cycle is 2N - 1. Among them, the first interaction chip includes 1 data transmission time slot and (N - 1) first data reception time slots, and the second interaction chip includes (N - 1) second data reception time slots. The data transmission time slot includes a data reception time slot, a first data reception time slot, or a second data reception time slot. And there is a second data reception time slot that overlaps in time with each first data reception time slot. For example, combined with Figure 3 , if the maximum number of data transmission time slots of the first interaction chip in a single communication cycle is 6, and there is no second reception time slot in the second interaction chip during the time period corresponding to the data transmission time slot of the first interaction chip, then in a single communication cycle, the first interaction chip includes one data transmission time slot and 5 first data reception time slots, the second interaction chip includes 5 second data reception time slots, and the 5 second data reception time slots overlap in time with the 5 first data reception time slots respectively. The maximum number of second communication interactions that the first communication interaction device can perform is 10.
[0068] In some other optionally applicable scenarios, the first interaction chip and the second interaction chip are chips with the same specifications. If there is a second receiving time slot in the second interaction chip during the time period corresponding to the data sending time slot of the first interaction chip, the maximum number of data transmission time slots of the first communication interaction device in a single communication cycle is 2N. Among them, the first interaction chip includes 1 data transmission time slot and (N - 1) first data receiving time slots, and the second interaction chip includes N second data receiving time slots. The data transmission time slot includes a data receiving time slot, a first data receiving time slot, or a second data receiving time slot. There is a second data receiving time slot that overlaps in time with each first data receiving time slot. For example, in combination with Figure 4 , if the maximum number of data transmission time slots of the first interaction chip in a single communication cycle is 6, and there is a second receiving time slot in the second interaction chip during the time period corresponding to the data sending time slot of the first interaction chip, then in a single communication cycle, the first interaction chip includes one data sending time slot and 5 first data receiving time slots, the second interaction chip includes 6 second data receiving time slots, and 5 second data receiving time slots overlap in time with 5 first data receiving time slots respectively. The maximum number of second communication interactions that the first communication interaction device can perform for communication is 11.
[0069] In some examples, the data transmission method provided by the present disclosure is also applicable to the application scenario where two communication interaction devices perform data transmission. To enable both interaction chips in the communication interaction device to be scheduled, the data sending time slot is determined in the first interaction chip, the second data receiving time slot is determined in the second interaction chip, and the data sending time slot overlaps in time with the second data receiving time slot, thereby ensuring that data transmission is completed within the shortest communication cycle, effectively reducing latency, and improving data transmission performance. In some other examples, the data transmission frequencies of the two communication interaction devices are different. Therefore, data is sent through the first interaction chip and received through the second interaction chip respectively in the same time period, which can effectively avoid the occurrence of frequency interference and help ensure the reliability and accuracy of data transmission.
[0070] Based on the same inventive concept, the present disclosure also provides a data transmission device, which is applied to the first communication interaction device, and the first communication interaction device includes at least two interaction chips. As Figure 8 shown, the data transmission device 300 may include:
[0071] A sending module 310, configured to send the first data to multiple second communication interaction devices in a broadcast form through the first interaction chip during the data sending time slot of the first interaction chip, where the multiple second communication interaction devices are communicatively connected to the first communication interaction device;
[0072] A receiving module 320, configured to receive second data sent in a broadcast manner by a corresponding second communication interaction device through a second interaction chip during at least one second data receiving time slot of the second interaction chip, where each second data receiving time slot corresponds to a second communication interaction device;
[0073] Wherein, within the same communication cycle, it includes: the time of one second data receiving time slot of the second interaction chip overlapping with the data sending time slot of the first interaction chip; or, there is at least one second data receiving time slot of the second interaction chip whose time overlaps with the first data receiving time slot of the first interaction chip, and the first data receiving time slot is used to receive second data sent in a broadcast manner by a corresponding other second communication interaction device through the first interaction chip.
[0074] In some embodiments, the data transmission device 300 may further include: a first determination module, configured to determine the data receiving time slots within each communication cycle based on the second communication interaction device, and such that within the same communication cycle: the first interaction chip includes one data sending time slot and at least one first data receiving time slot; the second interaction chip includes at least one second data receiving time slot, and each second data receiving time slot overlaps in time with a first data receiving time slot respectively.
[0075] In some embodiments, the data transmission device 300 may further include: a second determination module, configured to determine the data receiving time slots within each communication cycle based on the second communication interaction device, and such that within the same communication cycle: the first interaction chip includes one data sending time slot and at least one first data receiving time slot; the second interaction chip includes multiple second data receiving time slots, where there is one second data receiving time slot whose time overlaps with the data sending time slot, and each of the other second data receiving time slots overlaps in time with a first data receiving time slot respectively.
[0076] In some embodiments, during the data sending time slot, the first data is sent through a first transmission frequency; during the second receiving time slot whose time overlaps with the data sending time slot, the second data is received through a second transmission frequency, where the second transmission frequency is different from the first transmission frequency.
[0077] In some embodiments, the data transmission device 300 may further include: a third determination module, configured to determine the durations of the data sending time slot, the first data receiving time slot, and the second data receiving time slot based on the number of second communication interaction devices and the communication cycle.
[0078] In some embodiments, the data transmission device 300 may further include: a fourth determination module, configured to determine the communication cycle based on the number of second communication interaction devices and the durations of the data sending time slot, the first data receiving time slot, and the second data receiving time slot.
[0079] In some embodiments, the first data is obtained by the following device: an acquisition module, configured to acquire an environmental signal through a microphone; a first processing module, configured to perform analog-to-digital conversion processing on the environmental signal to obtain data to be processed; and a second processing module, configured to perform encoding processing on the data to be processed to obtain the first data.
[0080] Regarding the data transmission device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated herein.
[0081] Based on the same inventive concept, the present disclosure also provides a communication interaction device. As Figure 9 shown, the communication interaction device 400 may include:
[0082] A first interaction chip 410, configured to send the first data to a plurality of second communication interaction devices in a broadcast form during a data sending time slot, and receive second data sent in a broadcast form by corresponding other second communication interaction devices during a first data receiving time slot, wherein the plurality of second communication interaction devices are communicatively connected to the first communication interaction device;
[0083] A second interaction chip 420, configured to receive second data sent in a broadcast form by a corresponding second communication interaction device, wherein each second data receiving time slot corresponds to a second communication interaction device;
[0084] Wherein, within the same communication cycle, it includes: a time overlap between a second data receiving time slot of the second interaction chip and the data sending time slot of the first interaction chip; or, there is at least one second data receiving time slot of the second interaction chip that has a time overlap with the first data receiving time slot.
[0085] Based on the same inventive concept, the present disclosure also provides a computer-readable storage medium, which stores the following program, and the program is used to execute the data transmission method in any of the foregoing embodiments.
[0086] The present disclosure uses specific terms to describe the embodiments of the present disclosure. For example, "one embodiment", "an embodiment", and / or "some embodiments" mean a certain feature, structure, or characteristic related to at least one embodiment of the present disclosure. Therefore, it should be emphasized and noted that the "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more at different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures, or characteristics in one or more embodiments of the present disclosure can be appropriately combined.
[0087] In the context of the present disclosure, unless the context clearly dictates otherwise, words such as "a", "an", "one", and / or "the" are not intended to refer to the singular and may also include the plural. In general, the terms "comprising" and "including" merely indicate the inclusion of the steps and elements expressly identified, and such steps and elements do not constitute an exclusive listing. A method or apparatus may also contain other steps or elements.
[0088] Similarly, it should be noted that, in order to simplify the presentation of the present disclosure and thus assist in the understanding of one or more embodiments of the application, in the foregoing description of the embodiments of the present disclosure, various features are sometimes grouped together in one embodiment, drawing, or description thereof. However, this method of disclosure does not imply that the features required by the subject matter of the present disclosure are more than those claimed. In fact, the features of the embodiments are fewer than all the features of the individual embodiments disclosed above.
[0089] The basic concepts have been described above. Obviously, for those skilled in the art, the above disclosure is merely exemplary and does not constitute a limitation of the present disclosure. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and corrections to the present disclosure. Such modifications, improvements, and corrections are contemplated in the present disclosure, and thus still fall within the spirit and scope of the embodiments of the present disclosure.
Claims
1. A data transmission method, applied to a first communication interaction device, wherein the first communication interaction device includes at least two interaction chips, and the method includes: In a data transmission time slot of the first interaction chip, the first data is sent to a plurality of second communication interaction devices in a broadcasting form through the first interaction chip, wherein the plurality of second communication interaction devices are communicatively connected with the first communication interaction device; In at least one second data receiving time slot of the second interaction chip, second data sent by the corresponding second communication interaction device in the form of broadcast is received through the second interaction chip, wherein each second data receiving time slot corresponds to one second communication interaction device; Among them, within the same communication cycle, it includes: one of the second data receiving time slots of the second interactive chip overlaps with the time of the data sending time slot of the first interactive chip; or the second interactive chip has at least one second data receiving time slot that overlaps with the first data receiving time slot of the first interactive chip, and the first data receiving time slot is used to receive the second data sent by the corresponding other second communication interactive devices in the form of broadcast through the first interactive chip.
2. The data transmission method according to claim 1, wherein: The data transmission method further comprises: Based on the second communication interaction device, determine the data receiving time slot in each communication cycle, and make it so that in the same communication cycle: The first interactive chip includes one data sending time slot and at least one first data receiving time slot; the second interactive chip includes at least one second data receiving time slot, wherein each second data receiving time slot overlaps with one first data receiving time slot.
3. The data transmission method according to claim 1, wherein: The data transmission method further comprises: Based on the second communication interaction device, determine the data receiving time slot in each communication cycle, and make it so that in the same communication cycle: The first interactive chip includes one data sending time slot and at least one first data receiving time slot; the second interactive chip includes multiple second data receiving time slots, among which there is one second data receiving time slot that overlaps with the data sending time slot, and each of the other second data receiving time slots overlaps with one first data receiving time slot.
4. The data transmission method according to claim 3, wherein: In the data sending time slot, sending the first data via a first transmission frequency; In a second receiving time slot that overlaps with the data transmitting time slot, second data is received via a second transmission frequency, wherein the second transmission frequency is different from the first transmission frequency.
5. The data transmission method according to any one of claims 2 to 4, wherein: The data transmission method further comprises: Based on the number of the second communication interaction devices and the communication cycle, the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot are determined.
6. The data transmission method according to any one of claims 2 to 4, wherein: The data transmission method further comprises: The communication cycle is determined based on the number of the second communication interaction devices and the durations of the data transmission time slot, the first data reception time slot, and the second data reception time slot.
7. The data transmission method according to claim 1, wherein: The first data is obtained in the following manner: Collect environmental signals through microphones; Performing analog-to-digital conversion on the environmental signal to obtain data to be processed; The data to be processed is encoded to obtain the first data.
8. A data transmission device, applied to a first communication interaction device, wherein the first communication interaction device comprises at least two interaction chips, and the device comprises: A sending module, configured to send the first data to a plurality of second communication interaction devices in a broadcasting form through the first interaction chip in a data sending time slot of the first interaction chip, wherein the plurality of second communication interaction devices are communicatively connected with the first communication interaction device; A receiving module, configured to receive, through the second interaction chip, second data sent in a broadcasting form by a corresponding second communication interaction device in at least one second data receiving time slot of the second interaction chip, wherein each second data receiving time slot corresponds to one second communication interaction device; Among them, within the same communication cycle, it includes: one of the second data receiving time slots of the second interactive chip overlaps with the time of the data sending time slot of the first interactive chip; or the second interactive chip has at least one second data receiving time slot that overlaps with the first data receiving time slot of the first interactive chip, and the first data receiving time slot is used to receive the second data sent by the corresponding other second communication interactive devices in the form of broadcast through the first interactive chip.
9. A communication interaction device, comprising: A first interaction chip is used to send first data to multiple second communication interaction devices in the form of broadcast in a data sending time slot, and receive second data sent by other corresponding second communication interaction devices in the form of broadcast in a first data receiving time slot, wherein the multiple second communication interaction devices are communicatively connected with the first communication interaction device; A second interaction chip, used for receiving second data sent by a corresponding second communication interaction device in a broadcast form, wherein each second data receiving time slot corresponds to a second communication interaction device; Among them, within the same communication cycle, it includes: one of the second data receiving time slots of the second interactive chip overlaps with the data sending time slot of the first interactive chip; or the second interactive chip has at least one second data receiving time slot that overlaps with the first data receiving time slot.
10. A computer-readable storage medium storing the following program, wherein the program is used to execute the data transmission method according to any one of claims 1 to 7.