Transmission control method and device, electronic equipment and computer readable storage medium
By receiving interaction interval information and adjusting the packet sending strategy, data transmission in multi-link scenarios of wireless communication equipment is optimized, packet loss and lag problems are solved, and user experience is improved.
Patent Information
- Application Number
- CN202411319478.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-06
AI Technical Summary
In the multi-link scenario of wireless communication equipment, the packet transmission performance is affected, resulting in packet loss and lag, which may affect the user experience.
By receiving the interaction interval information sent by the controlled device, the transmission of the data packet to be transmitted is controlled according to the interaction interval information, and the packet transmission time and packet size are adjusted to optimize the data transmission process.
It reduces the occurrence of abnormal situations such as lag during transmission, improves the quality of Bluetooth data transmission in multi-link scenarios, and improves the user experience.
Smart Images

Figure CN119095019A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technology, and specifically to a transmission control method, device, electronic device, and computer-readable storage medium. Background Art
[0002] With the continuous development of Internet of Things technology and the popularization of wireless communication devices, there are more and more scenarios for using wireless communication devices such as Bluetooth devices for data transmission, and multi-link connection scenarios of wireless communication devices are also very common. For example, a smart TV can be equipped with a Bluetooth remote control, connected to one or more Bluetooth speakers, and can also be connected to other Bluetooth devices such as Bluetooth controllers if necessary.
[0003] In the multi-link scenario of wireless communication devices, the data packet transmission performance will be greatly affected, resulting in packet loss, jamming, etc. Taking Bluetooth audio output as an example, when data packet transmission is affected, jamming, audio interruption, and asynchrony may occur, which has a great impact on user experience. Summary of the invention
[0004] The embodiments of the present application provide a transmission control method, device, electronic device and computer-readable storage medium, which can reduce the situation where data transmission jams occur when the device interacts with multiple devices during communication, ensure the stability of data transmission, and improve user experience.
[0005] In a first aspect, an embodiment of the present application provides a transmission control method, which is applied to a master control device, and the method includes:
[0006] receiving interaction interval information sent by a controlled device, where the interaction interval information is determined by the controlled device according to interaction time information of an interaction device other than the master control device to which the controlled device is connected;
[0007] The sending of the data packet to be transmitted to the controlled device is controlled according to the interaction interval information.
[0008] Optionally, in some embodiments of the present application, controlling the sending of the to-be-transmitted data packet to the controlled device according to the interaction interval information includes:
[0009] Determine transmission score information according to the interaction interval information and preset interval score relationship information;
[0010] Determine the transmission quality information corresponding to the controlled device according to the transmission score information;
[0011] The sending of the data packet to be transmitted to the controlled device is controlled according to the transmission quality information.
[0012] Optionally, in some embodiments of the present application, controlling the sending of the to-be-transmitted data packet to the controlled device according to the transmission quality information includes:
[0013] If the transmission quality information meets the first preset level, determining a first packet sending time according to the interaction interval information, and sending the data packet to be transmitted based on the first packet sending time;
[0014] If the transmission quality information meets the second preset level, determining a second packet sending time according to the interaction interval information, adjusting the size of the data packet to be transmitted based on the second packet sending time, and sending the adjusted first data packet to be transmitted based on the second packet sending time;
[0015] If the transmission quality information satisfies a third preset level, sending a notification message to the controlled device, the notification message instructing the controlled device to adjust the interaction time between the controlled device and the interaction device other than the master device based on the interaction time information, receiving the target interaction interval information obtained after the controlled device adjusts the interaction time based on the notification message, determining a third packet sending time based on the target interaction interval information, adjusting the size of the data packet to be transmitted based on the third packet sending time, and sending the adjusted second data packet to be transmitted based on the third packet sending time;
[0016] The first preset level is higher than the second preset level, and the second preset level is higher than the third preset level.
[0017] Optionally, in some embodiments of the present application, adjusting the size of the to-be-transmitted data packet based on the second packet sending time includes:
[0018] Based on the time length of the second packet sending time and at least one preset data packet format type, determine the first data packet to be transmitted corresponding to the second packet sending time, wherein the data packets corresponding to each of the preset data packet format types respectively correspond to a time block length, and the sum of the time block lengths required to transmit the first data packets to be transmitted is less than the time length of the second packet sending time.
[0019] Optionally, in some embodiments of the present application, sending the adjusted first data packet to be transmitted based on the second packet sending time includes:
[0020] Obtaining the timestamp corresponding to each second packet sending time;
[0021] The first data packets to be transmitted corresponding to the second packet sending times are added to the queue to be transmitted according to the timestamps, and the first data packets to be transmitted corresponding to the second packet sending times are sent when the time corresponding to the timestamps is reached.
[0022] In a second aspect, an embodiment of the present application provides a transmission control method, which is applied to a controlled device, and the method includes:
[0023] Determine interaction interval information according to interaction time information with the interaction device;
[0024] Sending the interaction interval information to a main control device;
[0025] Receive a data packet to be transmitted that is sent by the master control device according to the control of the interaction interval information.
[0026] Optionally, in some embodiments of the present application, before receiving the data packet to be transmitted sent by the master control device according to the control of the interaction interval information, the method further includes:
[0027] If a notification message is received, adjusting the interaction time with the interaction devices other than the master device based on the interaction time information to obtain target interaction interval information;
[0028] Sending the target interaction interval information to the main control device;
[0029] The receiving the data packet to be transmitted sent by the master control device according to the control of the interaction interval information includes:
[0030] Receive a data packet to be transmitted that is sent by the master control device according to the control of the target interaction interval information.
[0031] In a third aspect, an embodiment of the present application further provides a transmission control device, which is applied to a main control device, and the device includes:
[0032] A first receiving module, configured to receive interaction interval information sent by a controlled device, wherein the interaction interval information is determined by the controlled device according to interaction time information of an interaction device other than the master control device to which the controlled device is connected;
[0033] The first sending module is used to control the sending of the to-be-transmitted data packet to the controlled device according to the interaction interval information.
[0034] Optionally, in some embodiments of the present application, the first sending module includes:
[0035] A first determining unit, configured to determine transmission score information according to the interaction interval information and preset interval score relationship information;
[0036] A second determining unit, configured to determine transmission quality information corresponding to the controlled device according to the transmission scoring information;
[0037] The first processing unit is used to control the sending of the to-be-transmitted data packet to the controlled device according to the transmission quality information.
[0038] Optionally, in some embodiments of the present application, the first sending module further includes:
[0039] A second processing unit, configured to determine a first packet sending time according to the interaction interval information if the transmission quality information meets a first preset level, and send the data packet to be transmitted based on the first packet sending time;
[0040] a third processing unit, configured to determine a second packet sending time according to the interaction interval information if the transmission quality information satisfies a second preset level, adjust the size of the data packet to be transmitted based on the second packet sending time, and send the adjusted first data packet to be transmitted based on the second packet sending time;
[0041] a fourth processing unit, configured to send a notification message to the controlled device if the transmission quality information satisfies a third preset level, the notification message instructing the controlled device to adjust the interaction time between the controlled device and an interaction device other than the master device based on the interaction time information, and receive target interaction interval information obtained after the controlled device adjusts the interaction time based on the notification message, and determine a third packet sending time based on the target interaction interval information, and adjust the size of the data packet to be transmitted based on the third packet sending time, and send the adjusted second data packet to be transmitted based on the third packet sending time;
[0042] The first preset level is higher than the second preset level, and the second preset level is higher than the third preset level.
[0043] Optionally, in some embodiments of the present application, the first sending module further includes:
[0044] A third determination unit is used to determine the first data packet to be transmitted corresponding to the second packet sending time based on the time length of the second packet sending time and at least one preset data packet format type, wherein the data packets corresponding to each of the preset data packet format types respectively correspond to a time block length, and the sum of the time block lengths required to transmit the first data packet to be transmitted is less than the time length of the second packet sending time.
[0045] Optionally, in some embodiments of the present application, the first sending module further includes:
[0046] A first acquisition unit, used to acquire a timestamp corresponding to each second packet sending time;
[0047] The fifth processing unit is used to add the first data packets to be transmitted corresponding to each second packet sending time to the queue to be transmitted according to each timestamp, and send the first data packets to be transmitted corresponding to each second packet sending time when the time corresponding to each timestamp is reached.
[0048] In a fourth aspect, an embodiment of the present application further provides a transmission control device, which is applied to a controlled device, and the device includes:
[0049] A processing module, used to determine interaction interval information according to interaction time information with an interaction device;
[0050] A second sending module, used for sending the interaction interval information to a main control device;
[0051] The second receiving module is used to receive the data packet to be transmitted sent by the main control device according to the control of the interaction interval information.
[0052] Optionally, in some embodiments of the present application, the second receiving module includes:
[0053] a sixth processing unit, configured to adjust the interaction time with the interaction devices other than the master control device based on the interaction time information if the notification message is received, and obtain target interaction interval information;
[0054] a seventh processing unit, configured to send the target interaction interval information to the main control device;
[0055] The first receiving unit is used to receive a data packet to be transmitted sent by the main control device according to the control of the target interaction interval information.
[0056] In a fifth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps in the above-mentioned transmission control method when executed by the processor.
[0057] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned transmission control method are implemented.
[0058] In a seventh aspect, the embodiments of the present application further provide a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the transmission control method provided in the various optional implementations described in the embodiments of the present application.
[0059] In summary, the embodiments of the present application receive the interaction interval information sent by the controlled device, where the interaction interval information is determined by the controlled device according to the interaction time information of the interactive device other than the main control device to which the controlled device is connected; a technical solution is provided for controlling the sending of the data packet to be transmitted to the controlled device according to the interaction interval information, and according to the interaction interval information of the controlled device, factors affecting the data transmission between the controlled device and the controlled device are determined, and then data packets are sent according to the factors affecting the data transmission, thereby completing the optimization of the data transmission process and reducing the occurrence of abnormal situations such as freezes during the transmission process. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0061] Figure 1 It is a schematic diagram of a scenario in which a master control device according to an embodiment of the present application executes the transmission control method;
[0062] Figure 2 It is a schematic diagram of the overall flow of the transmission control method provided in the embodiment of the present application;
[0063] Figure 3 It is a schematic diagram of a method for sending a data packet to be transmitted executed by a master control device provided in an embodiment of the present application;
[0064] Figure 4 is a schematic diagram of an interaction time adjustment method performed by a controlled device provided in an embodiment of the present application;
[0065] Figure 5 is a schematic diagram of a scenario in which a controlled device according to an embodiment of the present application executes the transmission control method;
[0066] Figure 6 is a first structural schematic diagram of a transmission control device provided in an embodiment of the present application;
[0067] Figure 7 is a second structural schematic diagram of the transmission control device provided in an embodiment of the present application;
[0068] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0070] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the above features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0071] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.
[0072] First, the terms involved in this application are explained:
[0073] Bluetooth time block: refers to the time slot in Bluetooth technology. Time Division Multiplexing (TDM) is used in Bluetooth to achieve parallel communication. In Bluetooth communication, time is divided into a series of short time slots, each of which is used to transmit a small piece of data. The length of the Bluetooth time slot is fixed and is allocated according to communication requirements. In different Bluetooth specifications, the length of the time slot may be different. Each time slot can be used to send and receive data to achieve communication between Bluetooth devices. The length of the time slot can be adjusted according to different communication modes and requirements. For example, in the Bluetooth Basic Rate specification, the time slot length is 625 microseconds, while in the Bluetooth Low Energy specification, the time slot length is 1.25 milliseconds. In the embodiment of the present application, the unit of the Bluetooth time block is slots, and one slot is 625 microseconds.
[0074] Polling data packet: Poll packet, "Poll" is a mechanism for polling operations. Polling is a common programming technique used to check whether one or more resources are available or whether the status has changed. In polling, the program periodically queries the resources to determine whether their status meets specific conditions. If the conditions are met, the program can continue to perform the corresponding operation. In the embodiment of the present application, the Poll data packet is a Bluetooth air packet containing link control information.
[0075] Null packet: Null is a special value or placeholder, indicating that a variable or object has no valid value or does not reference any actual data. In the embodiment of the present application, the Null packet is also a Bluetooth air packet containing link control information.
[0076] Received Signal Strength Indication: RSSI. In the field of communications, especially in wireless communications, RSSI is used to indicate the strength of the received signal.
[0077] The embodiments of the present application provide a transmission control method, device, electronic device, and computer-readable storage medium. Specifically, the embodiments of the present application provide a transmission control device suitable for an electronic device, the electronic device including a main control device, such as a smart device (such as a mobile phone, a computer, a tablet computer, a smart TV, etc.), and can also be used in other communication processing devices that require wireless communication.
[0078] In the prior art, taking the transmission control scenario of wireless communication using Bluetooth devices as an example, Bluetooth multi-link connection scenarios are very common. For example, a smart TV is connected to a smart phone, a Bluetooth remote control, and one or more Bluetooth speakers. When necessary, it can also be connected to other devices such as Bluetooth controllers.
[0079] However, the existing data transmission strategy ignores the interference in multi-link scenarios. In multi-link scenarios, the communication processing device must not only ensure data transmission, but also ensure the connection status with other devices. If the Bluetooth chip in the communication processing device is interacting with other devices and communication data from other devices is transmitted at the same time, the Bluetooth chip cannot ensure timely reception of data, which is prone to jamming caused by packet loss.
[0080] Therefore, the data packet transmission performance in the Bluetooth multi-link scenario will be greatly affected, resulting in packet loss when receiving data packets, and various problems such as freezes, disconnections, and asynchrony when outputting data transmitted via Bluetooth communication.
[0081] The embodiment of the present application provides a transmission control method, device, electronic device and computer-readable storage medium, which adopts a technical solution of receiving interaction interval information sent by a controlled device and controlling the transmission of a data packet to be transmitted to the controlled device according to the interaction interval information.
[0082] In summary, the transmission control method in the embodiment of the present application can determine the factors affecting the data transmission between the master device and the controlled device based on the interaction interval information of the controlled device, and then modify the strategy for sending the data to be transmitted, thereby completing the optimization of the data transmission process and achieving the repair of abnormal situations such as freezes during the transmission process.
[0083] By adopting the embodiments of the present application, it is possible to analyze the factors affecting the transmission of data packets during the connection process based on the interaction interval information of the controlled device, and derive the optimal packet sending strategy for data transmission, thereby achieving the technical effect of improving the quality of Bluetooth data transmission in multi-link scenarios and enhancing the user experience without changing the Bluetooth power.
[0084] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.
[0085] For details, please refer to Figure 1 , Figure 1 : is a schematic diagram of a scenario in which a master control device according to an embodiment of the present application executes the transmission control method, wherein the specific execution process of the master control device executing the transmission control method is as follows:
[0086] S101: receiving interaction interval information sent by a controlled device.
[0087] In the embodiment of the present application, the interaction interval information is determined by the controlled device according to the interaction time information of the interaction device other than the master control device to which the controlled device is connected.
[0088] It should be noted that the executor of the transmission control method provided in the embodiment of the present application is a main control device, and the above-mentioned main control device can be any smart device with wireless communication function, such as mobile phones, computers, tablets, smart TVs, smart watches, headphones, speakers, etc.
[0089] As an optional embodiment, taking the audio transmission scenario in which the main control device is a smart phone and the controlled device is a smart TV as an example, the smart phone receives the interaction interval information sent by the smart TV, and the interaction interval information is used to indicate the interaction status of the smart TV with the Bluetooth speaker, Bluetooth handle and Bluetooth remote control.
[0090] It should be noted that the above-mentioned Bluetooth speakers, Bluetooth controllers and Bluetooth remote controls, that is, other interactive devices connected to the smart TV except the above-mentioned main control device, the above-mentioned interaction interval information is determined based on the interaction time information (that is, the above-mentioned interaction situation) between the smart TV and the Bluetooth speakers, Bluetooth controllers and Bluetooth remote controls.
[0091] It should also be noted that in the embodiments of the present application, the above-mentioned master device can be referred to as the master device, and the above-mentioned controlled device can be referred to as the slave device. When the smart TV is connected to other devices such as a Bluetooth speaker, a Bluetooth handle, and a Bluetooth remote control, the smart TV can be the master device of the Bluetooth speaker, the Bluetooth handle, and the Bluetooth remote control. Correspondingly, the Bluetooth speaker, the Bluetooth handle, and the Bluetooth remote control can be the slave devices of the smart TV. The relationship between the master device and the controlled device can be set or modified according to the actual application scenario and application situation, and the number of the master device and the controlled device can also be set or modified according to the actual application scenario and application situation, without specific limitation.
[0092] Before receiving the interaction interval information sent by the controlled device, optionally, the transmission control method provided in the embodiment of the present application further includes: establishing a communication connection with the controlled device.
[0093] Optionally, still taking the audio transmission scenario where the master device is a smart phone and the controlled device is a smart TV as an example, a communication connection request is sent to the smart TV, and a Bluetooth communication link with the smart TV is established through a Bluetooth module or a Bluetooth chip.
[0094] Specifically, after successfully establishing a communication connection with the controlled device, the interaction interval information sent by the controlled device is received.
[0095] It should be noted that in the embodiment of the present application, after the master device and the slave device establish a connection, the devices need to regularly perform packet sending operations (master device sending packets) and packet reply operations (slave device replying packets) to complete information exchange, otherwise it will be considered that the wireless communication between the devices is closed and the communication link will time out and disconnect. Among them, the master device sends a polling data packet (Pollpacket) to the slave device, and the slave device replies to the master device with a null packet (Null packet).
[0096] Optionally, the interaction interval information sent by the controlled device is recorded in a field added to the null data packet replied to the master device, that is, the slave device adds a field at the end of the Null packet, and the field contains the communication information between the slave device and other devices. The communication information includes the interaction interval between the smart TV and the Bluetooth remote control, the timestamp of sending packets with other devices, and the length information of the packet.
[0097] As an optional embodiment, still taking the master device as a smart phone and the controlled device as a smart TV as an example, the smart phone receives the Null packet replied by the smart TV, and determines the communication information field A between the smart TV and the Bluetooth audio device (or device A), and the communication information field B between the smart TV and the Bluetooth remote control (or device B) according to the field information last added in the Null packet.
[0098] It should be noted that the communication information field A includes but is not limited to the interaction interval between the smart TV and the Bluetooth audio device, the timestamp of the packet sent by the Bluetooth audio device, and the packet length information; the communication information field B includes but is not limited to the interaction interval between the smart TV and the Bluetooth remote control device, the timestamp of the packet sent by the Bluetooth remote control device, and the packet length information.
[0099] S102: Control the sending of the data packet to be transmitted to the controlled device according to the interaction interval information.
[0100] In the present application embodiment, Figure 2 As shown, Figure 2 It is a schematic diagram of the overall process of the transmission control method provided in an embodiment of the present application, S1011: the master device establishes a connection with the slave device. After the master device and the slave device have established a connection, the interaction interval information is determined according to the connection information replied by the slave device, S1021: and the score information of the audio transmission channel of the slave device is calculated according to the interaction interval information, and then the corresponding transmission quality information is determined according to the score information, S1032: finally, the packet sending strategy is adjusted according to the above-mentioned transmission quality information, and the sending of the above-mentioned data packet to be transmitted to the above-mentioned controlled device is controlled, S1031: if before S1032, it is necessary to notify the slave device to adjust the packet sending and monitoring strategy, a notification message is sent to the slave device.
[0101] It should be noted that controlling the sending of the above-mentioned data packets to be transmitted to the above-mentioned controlled device according to the above-mentioned transmission quality information mainly includes: directly sending the data packets to be transmitted according to the interaction interval information; sending after modifying the format of the data packets to be transmitted according to the interaction interval information; and notifying the slave device to adjust the interaction time according to the interaction interval information, and modifying the format of the data packets to be transmitted before sending.
[0102] After receiving the interaction interval information sent by the controlled device, optionally, the transmission control method provided in the embodiment of the present application further includes: determining transmission scoring information according to the interaction interval information and preset interval scoring relationship information; and determining transmission quality information corresponding to the controlled device according to the transmission scoring information.
[0103] Optionally, after receiving the interaction interval information of the slave device, the master device first organizes and calculates all the interaction interval information of the slave device to obtain the interaction interval information of the slave device, including but not limited to: the maximum idle interval and the minimum idle interval; and determines the transmission score information based on the interaction interval information and the preset interval score relationship information.
[0104] It should be noted that the audio channel transmission quality rating standard can be distinguished by three indicators: the maximum idle interval of the slave device, the minimum idle interval of the slave device, and the received signal strength indication (RSSI) between devices. The preset interval scoring relationship information can be set according to the actual usage or scenario, and the idle intervals involved in the scoring may not only include the maximum interval and the minimum interval. This application does not make specific restrictions. In the embodiment of this application, the preset interval scoring relationship information is shown in Table 1:
[0105] Table 1
[0106] Maximum idle interval score Minimum idle interval score Signal strength indicator score More than 24 slots 40 More than 12 slots 40 Greater than -45db 20 12-24 slots 30 6-12slots 30 -60db to -45db 15 Less than 12 slots 20 Less than 6 slots 20 Less than -60db 10
[0107] Optionally, the transmission quality information corresponding to the slave device is comprehensively calculated based on the size of the maximum idle interval and the corresponding score, the size of the minimum idle interval and the corresponding score, and the signal strength indication and the corresponding score.
[0108] It should be noted that the transmission channel score can be obtained by adding the above three scores. In practical applications, different weights can be given to the above three scores respectively, and other scoring items can be added or reduced.
[0109] After determining the transmission quality information corresponding to the above-mentioned controlled device according to the above-mentioned transmission scoring information, optionally, the transmission control method provided in the embodiment of the present application further includes: controlling the sending of the above-mentioned data packet to be transmitted to the above-mentioned controlled device according to the above-mentioned transmission quality information.
[0110] In an embodiment of the present application, if the transmission quality information satisfies a first preset level, a first packet sending time is determined according to the interaction interval information, and the data packet to be transmitted is sent based on the first packet sending time.
[0111] Optionally, if the transmission score information is greater than 80 and the transmission quality information is determined to meet the first preset level (channel quality is better), there is no need to modify the format of the data packet to be transmitted. The first packet sending time is determined according to the interaction interval information, and the data packet to be transmitted is sent to the slave device within the first packet sending time.
[0112] It should be noted that the first packet sending time is at least one time period corresponding to the interaction interval information. Since the channel quality is good, the packet can be sent within this time period. Even if the transmission time of the data packet to be transmitted is greater than the first packet sending time, the data transmission quality will not be affected under the channel quality.
[0113] In an embodiment of the present application, if the above-mentioned transmission quality information meets the second preset level, the second packet sending time is determined according to the above-mentioned interaction interval information, and the size of the above-mentioned data packet to be transmitted is adjusted based on the above-mentioned second packet sending time, and the adjusted first data packet to be transmitted is sent based on the above-mentioned second packet sending time.
[0114] Optionally, if the transmission score information is less than or equal to 80 and greater than 60, and the transmission quality information is determined to meet the second preset level (average channel quality), it is necessary to modify the format of the data packet to be transmitted, determine the second packet sending time according to the interaction interval information, and send the data packet to be transmitted with the modified format to the slave device within the second packet sending time.
[0115] Optionally, the second packet sending time, i.e., at least one time period corresponding to the interaction interval information, requires modification of the format of the data packet to be transmitted due to average channel quality.
[0116] Optionally, the transmission control method provided in the embodiment of the present application further includes: determining a first data packet to be transmitted corresponding to the second packet sending time according to a time length of the second packet sending time and at least one preset data packet format type.
[0117] In an embodiment of the present application, each data packet corresponding to the above-mentioned preset data packet format type corresponds to a time block length, and the sum of the time block lengths required to transmit the above-mentioned first data packet to be transmitted is less than the time length of the above-mentioned second packet sending time.
[0118] Specifically, the audio transmission scenario in which the master device is a smart phone and the controlled device is a smart TV is still taken as an example. Bluetooth audio data packets can have three preset data packet formats, namely: DH1 (corresponding to a time block length of 2 slots), DH3 (corresponding to a time block length of 4 slots) and DH5 (corresponding to a time block length of 6 slots). According to the time length of the above-mentioned second packet sending time and the time block length corresponding to the preset data packet format, the first data packet to be transmitted corresponding to the second packet sending time is determined.
[0119] Optionally, if the master device calculates that the maximum idle interval of the slave device is 16 slots, the master device divides the audio data into 2*DH5+DH3 packets for transmission; if the master device calculates that the minimum idle interval of the slave device is 10 slots, the master device divides the audio data into DH5+DH3 packets for transmission.
[0120] After adjusting the size of the above-mentioned data packet to be transmitted based on the above-mentioned second packet sending time, optionally, the transmission control method provided in the embodiment of the present application also includes: sending the adjusted first data packet to be transmitted based on the above-mentioned second packet sending time.
[0121] Optionally, obtain the timestamp corresponding to each of the above-mentioned second packet sending times; add the to-be-transmitted data packets corresponding to each second packet sending time to the to-be-transmitted queue according to each timestamp, and when the time corresponding to each timestamp is reached, send the first to-be-transmitted data packets corresponding to each second packet sending time.
[0122] Optional, such as Figure 3 As shown, Figure 3 Schematic diagram of a method for sending a data packet to be transmitted by a master device according to an embodiment of the present application. The master device determines at least one interaction interval information, that is, the second packet sending time (i.e., the second packet sending time) based on the interaction time information A of the data packet interacting with the A device and the interaction time information B of the data packet interacting with the B device. Figure 3 The 10slots and 16slots parts in the packet are divided into two formats: 2*DH5+DH3 and DH5+DH3 according to the second packet sending time.
[0123] Optionally, after the format of the data packet to be transmitted is changed, Figure 3 As shown, an audio data cache queue is generated, the master device first passes the audio data packaged according to the idle interval into the queue, the queue sends packets according to the timestamp provided by the slave device, cyclically skips the exchange of data packets when the slave device is connected to other devices, and completes the packet sending in the idle interval (when the time corresponding to each timestamp is reached, the data packets to be transmitted corresponding to each second packet sending time are sent).
[0124] In an embodiment of the present application, if the above-mentioned transmission quality information meets the third preset level, a notification message is sent to the above-mentioned controlled device, and the above-mentioned notification message instructs the above-mentioned controlled device to adjust the interaction time between the above-mentioned controlled device and the interactive device other than the above-mentioned master control device based on the above-mentioned interaction time information, and receives the target interaction interval information obtained after the above-mentioned controlled device adjusts the above-mentioned interaction time based on the above-mentioned notification message, and determines the third packet sending time based on the above-mentioned target interaction interval information, and adjusts the size of the above-mentioned data packet to be transmitted based on the above-mentioned third packet sending time, and sends the adjusted second data packet to be transmitted based on the above-mentioned third packet sending time.
[0125] Optionally, if the transmission score information is less than or equal to 60, and it is determined that the transmission quality information meets the third preset level (poor channel quality), it is necessary to modify the format of the data packet to be transmitted, and send a notification message to the slave device to notify the slave device to adjust the packet sending and monitoring strategies with the interactive devices other than the above-mentioned master control device, determine the third packet sending time according to the adjusted target interaction interval information of the slave device, and send the modified format of the data packet to be transmitted to the slave device within the third packet sending time.
[0126] Optionally, due to poor channel quality, the slave device needs to adjust the interaction time with interactive devices other than the master device. The above-mentioned third packet sending time is at least one time period corresponding to the adjusted interaction interval information. In addition, the format of the data packet to be transmitted needs to be modified according to the third packet sending time.
[0127] It should be noted that the above notification message completes the interaction through the regular packet sending operation (master device sending packets) and packet reply operation (slave device replying packets) between devices. The master device adds a field after the Poll packet to notify the slave device to adjust the packet sending strategy of the slave device and other devices, as well as the strategy of the slave device to monitor data packets. After receiving the Pollpacket from the master device, the slave device adjusts all communication links, unifies the connection intervals of all links, and schedules the packets sent with other devices to continuous slots, leaving enough free slots for monitoring audio data packets. Correspondingly, after the adjustment is completed, the slave device adds the target interaction interval information after the adjustment to the field after the Null packet, and replies the Null packet to the master device. After receiving it, the master device recalculates the interval information of the audio transmission channel, and the master device adopts the corresponding packet sending strategy according to the interval information.
[0128] Optionally, the transmission control method provided in the embodiment of the present application further includes: determining a second data packet to be transmitted corresponding to the third packet sending time based on the time length of the third packet sending time and at least one preset data packet format type.
[0129] For example, the master device calculates that the new idle interval of the slave device (ie, the above target interaction interval information) is 12 slots, and the master device divides the audio data into 2*DH5 packets for transmission.
[0130] After adjusting the size of the above-mentioned data packet to be transmitted based on the above-mentioned third packet sending time, optionally, the transmission control method provided in the embodiment of the present application also includes: sending the adjusted second data packet to be transmitted based on the above-mentioned third packet sending time.
[0131] Optionally, obtain the timestamp corresponding to the above-mentioned third packet sending time; add the second data packets to be transmitted corresponding to each third packet sending time to the queue to be transmitted according to each timestamp, and when the time corresponding to each timestamp is reached, send the second data packets to be transmitted corresponding to each third packet sending time.
[0132] Optional, such as Figure 4 As shown, Figure 4 1 is a schematic diagram of an interaction time adjustment method performed by a controlled device according to an embodiment of the present application. The slave device reschedules the interaction time information A of the data packet interacting with the A device and the interaction time information B of the data packet interacting with the B device to a continuous time period, thereby determining the target interaction interval information, that is, the third packet sending time (i.e. Figure 4 The 12 slots part in the packet) and divide the audio data into 2*DH5 format according to the third packet sending time.
[0133] Optionally, after completing the format change of the data packet to be transmitted, an audio data cache queue is generated, and the master device first passes the audio data packaged according to the idle interval into the queue. The queue sends packets according to the timestamp provided by the slave device. The slave device exchanges data packets when connected with other devices, and completes packet sending in the idle interval (when the time corresponding to each timestamp is reached, the data packets to be transmitted corresponding to each third packet sending time are sent).
[0134] It should also be noted that the first preset level is higher than the second preset level, and the second preset level is higher than the third preset level.
[0135] Through the embodiments of the present application, factors affecting data transmission between the master device and the controlled device are determined based on the interaction interval information of the controlled device, and then the strategy for sending the data to be transmitted is modified, thereby completing the optimization of the data transmission process and achieving the repair of abnormal situations such as freezes during the transmission process.
[0136] The embodiments of the present application also provide a transmission control method, device, electronic device, and computer-readable storage medium. Specifically, the embodiments of the present application provide a transmission control device suitable for an electronic device, the electronic device including a controlled device, such as a smart device (such as a mobile phone, a computer, a tablet computer, a smart TV, etc.), and can also be used in other communication processing devices that require wireless communication.
[0137] For details, please refer to Figure 5 , Figure 5 : is a schematic diagram of a scenario in which a controlled device performs the transmission control method provided in an embodiment of the present application, wherein the specific execution process of the transmission control method performed by the master device is as follows:
[0138] S201: Determine interaction interval information according to interaction time information with an interaction device.
[0139] As an optional embodiment, after establishing a communication connection with the main control device, the interaction time information between itself and other interaction devices except the main control device is obtained, and the interaction interval information is determined according to the interaction time information.
[0140] In the present application embodiment, Figure 2 As shown, Figure 2 It is an overall flow chart of the transmission control method provided in an embodiment of the present application, in which a master device establishes a connection with a slave device. After the master device and the slave device have completed the connection establishment, S2011: determine their own connection information (interaction interval information), S2021: reply the connection information to the master device, S2032: receive the data packet to be transmitted sent by the master control device according to the control of the connection information, S2031: if a notification message is received before S2032, adjust the packet sending and monitoring strategies according to the notification message, and reply the adjusted connection information to the master device.
[0141] Optionally, still taking the audio transmission scenario where the main control device is a smartphone and the controlled device is a smart TV as an example, after establishing a communication connection with the smartphone, the interaction time information between itself and other interactive devices except the smartphone is obtained, and the interaction interval information is determined based on the interaction time information.
[0142] It should be noted that other interactive devices besides smartphones may be devices such as Bluetooth speakers, Bluetooth controllers and Bluetooth remote controls.
[0143] It should also be noted that in the embodiments of the present application, the above-mentioned master device can be referred to as the master device, and the above-mentioned controlled device can be referred to as the slave device. When the smart TV is connected to other devices such as a Bluetooth speaker, a Bluetooth handle, and a Bluetooth remote control, the smart TV can be the master device of the Bluetooth speaker, the Bluetooth handle, and the Bluetooth remote control. Correspondingly, the Bluetooth speaker, the Bluetooth handle, and the Bluetooth remote control can be the slave devices of the smart TV. The relationship between the master device and the controlled device can be set or modified according to the actual application scenario and application situation, and the number of the master device and the controlled device can also be set or modified according to the actual application scenario and application situation, without specific limitation.
[0144] S202: Send the interaction interval information to the main control device.
[0145] Optionally, in the embodiment of the present application, after the master device and the slave device establish a connection, the devices need to regularly perform packet sending operations (master device sends packets) and packet reply operations (slave device replies packets) to complete information exchange, otherwise it will be considered that the wireless communication between the devices is closed and the communication link will time out and disconnect. Among them, the master device sends packets, that is, sends a polling data packet (Pollpacket) to the slave device, and the slave device replies to the master device with a null packet (Null packet).
[0146] In the embodiment of the present application, the interaction interval information is recorded in a field added to the null data packet in the reply to the master device, that is, a field is added at the end of the Null packet, and the field contains the communication information with other devices, and the communication information includes the interaction interval between the smart TV and the Bluetooth remote control, the timestamp of the packet sent with other devices, and the length of the packet. And the Null packet is sent to the master device, that is, the interaction interval information is sent to the master device.
[0147] S203: Receive a data packet to be transmitted sent by the master control device according to the control of the interaction interval information.
[0148] Optionally, receiving the data packets to be transmitted sent by the main control device according to the control of the provided interaction interval information mainly includes: receiving the data packets to be transmitted directly sent according to the interaction interval information; receiving the data packets to be transmitted after the format of the data packets to be transmitted is modified according to the interaction interval information; and after adjusting the interaction time according to the notification message, receiving the data packets to be transmitted after the format of the data packets to be transmitted is modified according to the target interaction interval information.
[0149] Before receiving the data packet to be transmitted sent by the above-mentioned master control device according to the control of the above-mentioned interaction interval information, the transmission control method provided in the embodiment of the present application also includes: if a notification message is received, adjusting the interaction time with the interaction device other than the above-mentioned master control device based on the above-mentioned interaction time information to obtain the target interaction interval information; sending the above-mentioned target interaction interval information to the above-mentioned master control device; receiving the data packet to be transmitted sent by the above-mentioned master control device according to the control of the above-mentioned interaction interval information, including: receiving the data packet to be transmitted sent by the above-mentioned master control device according to the control of the above-mentioned target interaction interval information.
[0150] Optionally, the audio transmission scenario in which the master device is a smart phone and the controlled device is a smart TV is still taken as an example. Figure 4 As shown, if a notification message sent by the main device is received, the interaction time information A of the data packet interacting with device A and the interaction time information B of the data packet interacting with device B are rescheduled to a continuous time period, thereby determining the target interaction interval information, and sending the above target interaction interval information to the above main control device, and receiving the data packet to be transmitted sent by the above main control device according to the control of the above target interaction interval information.
[0151] It should be noted that the above notification message completes the interaction through the regular packet sending operation (master device sending packets) and packet reply operation (slave device replying packets) between devices. The master device adds a field after the Poll packet to notify the slave device to adjust the packet sending strategy of the slave device and other devices, as well as the strategy of the slave device to monitor data packets. After receiving the Pollpacket from the master device, the slave device adjusts all communication links, unifies the connection intervals of all links, and schedules the packets sent with other devices to continuous slots, leaving enough free slots for monitoring audio data packets. Correspondingly, after the adjustment is completed, the slave device adds the target interaction interval information after the adjustment to the field after the Null packet, and replies the Null packet to the master device. After receiving it, the master device recalculates the interval information of the audio transmission channel, and the master device adopts the corresponding packet sending strategy according to the interval information.
[0152] Through the embodiments of the present application, factors affecting data transmission between the master device and the controlled device are determined based on the interaction interval information of the controlled device, and then the strategy for sending the data to be transmitted is modified, thereby completing the optimization of the data transmission process and achieving the repair of abnormal situations such as freezes during the transmission process.
[0153] In order to better implement the transmission control method of the present application, the present application also provides a transmission control device based on the above transmission control method. The meanings of the terms are the same as those in the above transmission control method, and the specific implementation details can refer to the description in the method embodiment.
[0154] See also Figure 6 , Figure 6 The structure of the transmission control device provided in the embodiment of the present application is shown in FIG. Figure 1 , wherein the transmission control device is applied to a main control device, and specifically can be as follows:
[0155] A first receiving module 601 is used to receive interaction interval information sent by a controlled device, where the interaction interval information is determined by the controlled device according to interaction time information of an interaction device other than the master device to which the controlled device is connected;
[0156] The first sending module 602 is used to control the sending of the data packet to be transmitted to the controlled device according to the interaction interval information.
[0157] Optionally, in some embodiments of the present application, the first sending module 602 includes:
[0158] A first determining unit, configured to determine transmission score information according to the above-mentioned interaction interval information and preset interval score relationship information;
[0159] A second determining unit, configured to determine the transmission quality information corresponding to the controlled device according to the transmission scoring information;
[0160] The first processing unit is used to control the sending of the data packet to be transmitted to the controlled device according to the transmission quality information.
[0161] Optionally, in some embodiments of the present application, the first sending module 602 further includes:
[0162] A second processing unit, configured to determine a first packet sending time according to the interaction interval information if the transmission quality information satisfies a first preset level, and send the data packet to be transmitted based on the first packet sending time;
[0163] A third processing unit is configured to determine a second packet transmission time according to the interaction interval information if the transmission quality information satisfies a second preset level, adjust the size of the data packet to be transmitted based on the second packet transmission time, and send the adjusted first data packet to be transmitted based on the second packet transmission time;
[0164] a fourth processing unit, configured to send a notification message to the controlled device if the transmission quality information satisfies a third preset level, the notification message instructing the controlled device to adjust the interaction time between the controlled device and the interaction device other than the master device based on the interaction time information, and receiving target interaction interval information obtained after the controlled device adjusts the interaction time based on the notification message, and determining a third packet sending time based on the target interaction interval information, and adjusting the size of the data packet to be transmitted based on the third packet sending time, and sending the adjusted second data packet to be transmitted based on the third packet sending time;
[0165] The first preset level is higher than the second preset level, and the second preset level is higher than the third preset level.
[0166] Optionally, in some embodiments of the present application, the first sending module 602 further includes:
[0167] A third determination unit is used to determine the first data packet to be transmitted corresponding to the second packet sending time based on the time length of the second packet sending time and at least one preset data packet format type, wherein the data packets corresponding to the respective preset data packet format types respectively correspond to a time block length, and the sum of the time block lengths required to transmit the first data packet to be transmitted is less than the time length of the second packet sending time.
[0168] Optionally, in some embodiments of the present application, the first sending module 602 further includes:
[0169] A first acquisition unit, used to acquire a timestamp corresponding to each of the second packet sending times;
[0170] The fifth processing unit is used to add the first data packets to be transmitted corresponding to each second packet sending time to the queue to be transmitted according to each timestamp, and send the first data packets to be transmitted corresponding to each second packet sending time when the time corresponding to each timestamp is reached.
[0171] In the embodiment of the present application, the first receiving module 601 first receives the interaction interval information sent by the controlled device, and then the first sending module 602 controls the sending of the to-be-transmitted data packet to the controlled device according to the interaction interval information.
[0172] See also Figure 7 , Figure 7 The structure of the transmission control device provided in the embodiment of the present application is shown in FIG. Figure 2 , wherein the transmission control device is applied to the controlled device, and specifically can be as follows:
[0173] Processing module 701, used to determine interaction interval information according to interaction time information with an interaction device;
[0174] The second sending module 702 is used to send the above-mentioned interaction interval information to the main control device;
[0175] The second receiving module 703 is used to receive the data packet to be transmitted sent by the above-mentioned master control device according to the control of the above-mentioned interaction interval information.
[0176] Optionally, in some embodiments of the present application, the second receiving module 703 includes:
[0177] a sixth processing unit, configured to adjust the interaction time with the interaction devices other than the master control device based on the interaction time information if the notification message is received, and obtain target interaction interval information;
[0178] A seventh processing unit, configured to send the target interaction interval information to the main control device;
[0179] The first receiving unit is used to receive the data packet to be transmitted sent by the above-mentioned main control device according to the control of the above-mentioned target interaction interval information.
[0180] In the embodiment of the present application, the processing module 701 first determines the interaction interval information according to the interaction time information with the interaction device, then the second sending module 702 sends the above interaction interval information to the main control device, and finally, the second receiving module receives the data packet to be transmitted sent by the above main control device according to the control of the above interaction interval information.
[0181] Among them, the embodiment of the present application determines the factors affecting the data transmission between the master device and the controlled device based on the interaction interval information of the controlled device, and then modifies the strategy for sending the data to be transmitted, thereby completing the optimization of the data transmission process and achieving the repair of abnormal situations such as freezes during the transmission process.
[0182] In addition, the present application also provides an electronic device, such as Figure 8 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:
[0183] The electronic device may include components such as a processor 801 with one or more processing cores, a memory 802 with one or more computer-readable storage media, a power supply 803, and an input unit 804. Those skilled in the art will appreciate that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0184] The processor 801 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 802, and calling data stored in the memory 802, the processor 801 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 801 may include one or more processing cores; preferably, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless Bluetooth communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801.
[0185] The memory 802 can be used to store software programs and modules. The processor 801 executes various functional applications and data processing by running the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 802 may also include a memory controller to provide the processor 801 with access to the memory 802.
[0186] The electronic device also includes a power supply 803 for supplying power to each component. Preferably, the power supply 803 can be logically connected to the processor 801 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 803 can also include any components such as one or more DC or AC power supplies, recharging systems, power supply device debugging circuits, power converters or inverters, and power status indicators.
[0187] The electronic device may further include an input unit 804, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0188] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 801 in the electronic device will load the executable file corresponding to the process of one or more application programs into the memory 802 according to the following instructions, and the processor 801 will run the application program stored in the memory 802, thereby implementing the steps in any transmission control method provided in the embodiments of the present application.
[0189] In summary, the embodiments of the present application receive the interaction interval information sent by the controlled device, where the interaction interval information is determined by the controlled device based on the interaction time information between the controlled device and the connected interactive device other than the main control device; a technical solution is provided for controlling the sending of the data packet to be transmitted to the controlled device according to the interaction interval information, and according to the interaction interval information of the controlled device, factors affecting the data transmission between the controlled device and the controlled device are determined, and then the strategy for sending the data to be transmitted is modified, thereby completing the optimization of the transmission process and achieving the repair of abnormal situations such as freezes during the transmission process.
[0190] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0191] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0192] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any transmission control method provided in the present application.
[0193] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0194] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0195] Since the instructions stored in the computer-readable storage medium can execute the steps in any transmission control method provided in the present application, the beneficial effects that can be achieved by any transmission control method provided in the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0196] The above is a detailed introduction to a transmission control method, device, electronic device and computer-readable storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0197] It should be noted that in the specific implementation of this application, related data such as user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
Claims
1. A transmission control method, characterized in that: Applied to a master control device, the method comprises: receiving interaction interval information sent by a controlled device, where the interaction interval information is determined by the controlled device according to interaction time information of an interaction device other than the master control device to which the controlled device is connected; The sending of the data packet to be transmitted to the controlled device is controlled according to the interaction interval information.
2. The method according to claim 1, characterized in that The step of controlling the sending of the to-be-transmitted data packet to the controlled device according to the interaction interval information includes: Determine transmission score information according to the interaction interval information and preset interval score relationship information; Determine the transmission quality information corresponding to the controlled device according to the transmission score information; The sending of the to-be-transmitted data packet to the controlled device is controlled according to the transmission quality information.
3. The method according to claim 2, characterized in that The step of controlling the sending of the to-be-transmitted data packet to the controlled device according to the transmission quality information includes: If the transmission quality information meets the first preset level, determining a first packet sending time according to the interaction interval information, and sending the data packet to be transmitted based on the first packet sending time; If the transmission quality information meets the second preset level, determining a second packet sending time according to the interaction interval information, adjusting the size of the data packet to be transmitted based on the second packet sending time, and sending the adjusted first data packet to be transmitted based on the second packet sending time; If the transmission quality information satisfies a third preset level, sending a notification message to the controlled device, the notification message instructing the controlled device to adjust the interaction time between the controlled device and the interaction device other than the master device based on the interaction time information, receiving the target interaction interval information obtained after the controlled device adjusts the interaction time based on the notification message, determining a third packet sending time based on the target interaction interval information, adjusting the size of the data packet to be transmitted based on the third packet sending time, and sending the adjusted second data packet to be transmitted based on the third packet sending time; The first preset level is higher than the second preset level, and the second preset level is higher than the third preset level.
4. The method according to claim 3, characterized in that The adjusting the size of the data packet to be transmitted based on the second packet sending time includes: Based on the time length of the second packet sending time and at least one preset data packet format type, determine the first data packet to be transmitted corresponding to the second packet sending time, wherein the data packets corresponding to each of the preset data packet format types respectively correspond to a time block length, and the sum of the time block lengths required to transmit the first data packets to be transmitted is less than the time length of the second packet sending time.
5. The method according to claim 4, characterized in that The step of sending the adjusted first data packet to be transmitted based on the second packet sending time includes: Obtaining the timestamp corresponding to each second packet sending time; The first data packets to be transmitted corresponding to the second packet sending times are added to the queue to be transmitted according to the timestamps, and the first data packets to be transmitted corresponding to the second packet sending times are sent when the time corresponding to the timestamps is reached.
6. A transmission control method, characterized in that: Applied to a controlled device, the method comprises: Determining interaction interval information according to interaction time information with an interaction device, wherein the interaction device is a device other than a master control device that interacts with the controlled device; Sending the interaction interval information to a main control device; Receive a data packet to be transmitted that is sent by the master control device according to the control of the interaction interval information.
7. The method according to claim 6, characterized in that Before receiving the data packet to be transmitted sent by the master control device according to the control of the interaction interval information, the method further includes: If a notification message sent by the master control device is received, adjusting the interaction time with the interaction device based on the interaction time information to obtain target interaction interval information; Sending the target interaction interval information to the main control device; The receiving the data packet to be transmitted sent by the master control device according to the control of the interaction interval information includes: Receive a data packet to be transmitted that is sent by the master control device according to the control of the target interaction interval information.
8. A transmission control device, characterized in that: Applied to a main control device, the device comprises: A first receiving module, configured to receive interaction interval information sent by a controlled device, wherein the interaction interval information is determined by the controlled device according to interaction time information of an interaction device other than the master control device to which the controlled device is connected; The first sending module is used to control the sending of the to-be-transmitted data packet to the controlled device according to the interaction interval information.
9. A transmission control device, characterized in that: Applied to controlled equipment, including: A processing module, used to determine interaction interval information according to interaction time information with an interaction device; A second sending module, used for sending the interaction interval information to a main control device; The second receiving module is used to receive the data packet to be transmitted sent by the main control device according to the control of the interaction interval information.
10. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in the transmission control method according to any one of claims 1 to 7 when executing the computer program.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the transmission control method according to any one of claims 1 to 7 are implemented.
