Broadcast source control method, device, equipment and computer-readable storage medium
By detecting the receiving end information within the broadcast range and adjusting the broadcast parameters of the LE Audio broadcast source, the problem of fixed broadcast effects is solved, and intelligent control and power consumption optimization are achieved.
Patent Information
- Application Number
- CN202211061996.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2025-07-11
- Estimated Expiration
- 2042-08-31
AI Technical Summary
LE Audio broadcast source cannot flexibly adjust broadcast parameters based on the receiving end information, resulting in fixed broadcast effects and inability to optimize.
The target wireless communication technology detects the receiving end information within the broadcast range, and sets the broadcast parameters of the broadcast source device according to the receiving end information, including the number of broadcast retransmissions, transmission power, and transmission time interval, etc., to realize intelligent control.
It realizes the adjustment of broadcast parameters based on the reception side information, improves the flexibility and efficiency of broadcasting effects, and reduces equipment power consumption.
Smart Images

Figure CN115696227B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of broadcast technology, and particularly to a broadcast source control method, device, equipment and computer-readable storage medium. Background Art
[0002] Based on the LE Audio (Low Energy Audio) technology, the broadcast source does not need to establish a Bluetooth connection with the receiving device. Therefore, information such as whether there is a receiving device and the capabilities of the receiving device is unknown to the broadcast source. The broadcast source can only play information in a loop and can only broadcast according to a fixed parameter mode during broadcasting, and cannot adjust the broadcast parameters according to the receiving device information to flexibly adjust the broadcast effect. Summary of the Invention
[0003] The main purpose of the present invention is to provide a broadcast source control method, device, equipment and computer-readable storage medium, aiming to propose an intelligent control solution for the broadcast source to realize adjusting the broadcast parameters according to the receiving device information to flexibly adjust the broadcast effect.
[0004] To achieve the above object, the present invention provides a broadcast source control method. The broadcast source control method is applied to a broadcast source device and includes the following steps:
[0005] Detect the broadcast receiving device information within the broadcast range of the broadcast source device based on a target wireless communication technology, where the communication range of the target wireless communication technology covers the broadcast range;
[0006] Set the broadcast parameters of the broadcast source device according to the broadcast receiving device information and broadcast according to the set broadcast parameters.
[0007] Optionally, when the broadcast receiving device information includes information indicating whether there is a receiving device within the broadcast range, the step of detecting the broadcast receiving device information within the broadcast range of the broadcast source device based on the target wireless communication technology includes:
[0008] Send a communication request outward through the target wireless communication technology;
[0009] If no response message is received in response to the communication request within a preset time after sending the communication request, it is determined that there is no receiving device within the broadcast range.
[0010] Optionally, after the step of sending a communication request outward through the target wireless communication technology, the method further includes:
[0011] If the response message is received within a preset time after sending the communication request, determine whether the device sending the response message is in a broadcast receiving state according to the response message;
[0012] If it is determined that at least one device sending the response message is in the broadcast receiving state, it is determined that there is a receiving device within the broadcast range;
[0013] If it is determined that none of the devices sending the response message are in the broadcast receiving state, it is determined that there is no receiving device within the broadcast range.
[0014] Optionally, when the broadcast receiver information includes the distance between the receiving device within the broadcast range and the broadcast source device, the step of detecting the broadcast receiver information within the broadcast range of the broadcast source device based on the target wireless communication technology includes:
[0015] When it is determined that there is a receiving device within the broadcast range, obtain the device location sent by the receiving device based on the target wireless communication technology, and calculate the distance between the receiving device and the broadcast source device according to the device location and the location of the broadcast source; or,
[0016] When it is determined that there is a receiving device within the broadcast range, communicate with the receiving device based on the target wireless communication technology, and calculate the distance between the receiving device and the broadcast source device based on the time difference between the transmission and reception of the communication signal and the propagation speed.
[0017] Optionally, when the broadcast receiver information includes information indicating whether there is a receiving device within the broadcast range, the step of setting the broadcast parameters of the broadcast source device according to the broadcast receiver information includes:
[0018] When it is determined according to the broadcast receiver information that there is no receiving device within the broadcast range, set the broadcast source device to the low power consumption mode.
[0019] Optionally, when the broadcast receiver information includes the distance between the receiving device within the broadcast range and the broadcast source device, the step of setting the broadcast parameters of the broadcast source device according to the broadcast receiver information includes:
[0020] When it is determined that there is a receiving device within the broadcast range, determine the maximum distance among the distances between each receiving device and the broadcast source device according to the broadcast receiver information;
[0021] Set the broadcast retransmission times, broadcast transmission power, and / or broadcast sending time interval of the broadcast source device according to the maximum distance, where the greater the maximum distance, the greater the set broadcast retransmission times, the greater the set broadcast transmission power, and the longer the set broadcast sending time interval.
[0022] Optionally, the step of detecting the information of the broadcast receiving end within the broadcast range of the broadcast source device based on the target wireless communication technology includes:
[0023] Detecting the information of the broadcast receiving end within the broadcast range of the broadcast source device based on the target wireless communication technology at preset time intervals;
[0024] The step of setting the broadcast parameters of the broadcast source device according to the information of the broadcast receiving end and performing broadcasting according to the set broadcast parameters includes:
[0025] After each detection of the information of the broadcast receiving end, comparing the information of the broadcast receiving end detected this time with the information of the broadcast receiving end detected last time;
[0026] If the change in the information of the broadcast receiving end detected this time compared to the information of the broadcast receiving end detected last time reaches the preset parameter change condition, updating the broadcast parameters of the broadcast source device according to the information of the broadcast receiving end detected this time, and performing broadcasting according to the updated broadcast parameters;
[0027] If the change in the information of the broadcast receiving end detected this time compared to the information of the broadcast receiving end detected last time does not reach the preset parameter change condition, continuing to perform broadcasting according to the current broadcast parameters of the broadcast source device.
[0028] To achieve the above object, the present invention further provides a broadcast source control device, which is deployed on the broadcast source device, and the broadcast source control device includes:
[0029] A detection module, configured to detect the information of the broadcast receiving end within the broadcast range of the broadcast source device based on the target wireless communication technology, wherein the communication range of the target wireless communication technology covers the broadcast range;
[0030] A control module, configured to set the broadcast parameters of the broadcast source device according to the information of the broadcast receiving end, and perform broadcasting according to the set broadcast parameters.
[0031] To achieve the above object, the present invention further provides a broadcast source control device, which includes: a memory, a processor, and a broadcast source control program stored on the memory and executable on the processor. When the broadcast source control program is executed by the processor, the steps of the above broadcast source control method are implemented.
[0032] In addition, to achieve the above object, the present invention further proposes a computer-readable storage medium, on which a broadcast source control program is stored. When the broadcast source control program is executed by the processor, the steps of the above broadcast source control method are implemented.
[0033] In the present invention, the broadcast source device detects the information of the broadcast receivers within the broadcast range based on a target wireless communication technology whose communication range can cover the broadcast range, sets the broadcast parameters of the broadcast source device according to the information of the broadcast receivers, and performs broadcasting according to the set broadcast parameters, realizing an intelligent control scheme for the broadcast source, which can adjust the broadcast parameters according to the receiver information to flexibly adjust the broadcast effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is a schematic flowchart of the first embodiment of the broadcast source control method of the present invention;
[0035] Figure 2 It is a schematic diagram of the functional modules of the preferred embodiment of the broadcast source control device of the present invention;
[0036] Figure 3 It is a schematic diagram of the structure of the hardware operating environment involved in the solution of the embodiment of the present invention.
[0037] The realization, functional features and advantages of the object of the present invention will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0038] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0039] Refer to Figure 1 , Figure 1 It is a schematic flowchart of the first embodiment of the broadcast source control method of the present invention.
[0040] The embodiments of the present invention provide an embodiment of the broadcast source control method. It should be noted that although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than here. In this embodiment, the broadcast source control method is applied to the broadcast source device. In this embodiment, the broadcast source control method includes:
[0041] Step S10, detecting the information of the broadcast receivers within the broadcast range of the broadcast source device based on a target wireless communication technology, wherein the communication range of the target wireless communication technology covers the broadcast range;
[0042] The broadcast source device can be a device capable of sending broadcasts based on broadcast technology. In this embodiment, the broadcast technology adopted by the broadcast source device can be but is not limited to the LE Audio broadcast technology. Since the broadcast source device generally does not need to establish a communication connection with the receiver when sending broadcast data, the broadcast source device cannot know whether there is a receiver, the capabilities of the receiver, etc., and thus can only perform broadcasting according to fixed broadcast parameters, and cannot flexibly adjust the broadcast parameters according to the specific situation of the receiver to obtain a better broadcast effect.
[0043] In this embodiment, a solution is proposed for the above problems. Specifically, the broadcast source device can detect the information of broadcast receiving devices within the broadcast range of the broadcast source device based on the target wireless communication technology. Herein, the target wireless communication technology is a wireless communication technology whose communication range can cover the broadcast range of the broadcast source device. It should be noted that the communication range of the target wireless communication technology can cover the broadcast range means that the communication distance is greater than or equal to the broadcast distance minus a certain error. That is, even if the communication distance is slightly smaller than the broadcast distance, it can also be considered that the communication range can cover the broadcast range of the broadcast source device.
[0044] In the specific implementation, which wireless communication technology is selected as the target wireless communication technology can be determined according to the broadcast technology or the type of the broadcast source device. For example, when the broadcast source device uses the LE Audio broadcast technology for broadcasting, the target wireless communication technology can adopt the UWB (Ultra Wide Band) technology; the communication range of the UWB technology is comparable to the broadcast range of the broadcast source device, and the UWB technology has the advantages of low system complexity, low transmit signal power spectral density, insensitivity to channel fading, low interceptability, high positioning accuracy, etc., and is especially suitable for high-speed wireless access in indoor and other dense multipath scenarios, that is, it can be applied to the usage scenarios of the LE Audio broadcast technology.
[0045] A communication module (such as a communication chip) based on the target wireless communication technology can be set in the broadcast source device, and the communication module is used to communicate with the receiving devices within the broadcast range, so as to obtain the information of the broadcast receiving devices. In the specific implementation, the information of the broadcast receiving devices can include information indicating whether there are receiving devices within the broadcast range, or can include the distance between the receiving devices and the broadcast source device when there are receiving devices within the broadcast range, or can also include other information, which is not limited in this embodiment.
[0046] Step S20: Set the broadcast parameters of the broadcast source device according to the information of the broadcast receiving devices, and perform broadcasting according to the set broadcast parameters.
[0047] After the broadcast source device obtains the information of the broadcast receiving devices, it can set the broadcast parameters of the broadcast source device according to the information of the broadcast receiving devices, and perform broadcasting according to the set broadcast parameters. Among them, the broadcast parameters can include the number of broadcast retransmissions, broadcast transmit power, broadcast transmission time interval, broadcast content type, etc., which are not limited in this embodiment.
[0048] For example, in one embodiment, when the broadcast receiver information includes the device type of the receiver device, the broadcast content type can be determined according to the device type. For example, when the receiver devices all have a display screen and a speaker, the broadcast content type can be determined as video and audio; when the receiver devices all have only a speaker without a display screen, the broadcast content type can be determined as audio, so as to avoid the broadcast source device from performing ineffective video broadcasts and wasting device resources.
[0049] In a specific embodiment, the broadcast source device can detect the broadcast receiver information before broadcasting, set the broadcast parameters according to the detected broadcast receiver information, and then start broadcasting. Or it can detect the broadcast receiver information regularly during the broadcasting process and flexibly adjust the broadcast parameters during the broadcasting process.
[0050] In this embodiment, the broadcast source device detects the broadcast receiver information within the broadcast range through a target wireless communication technology whose communication range can cover the broadcast range, sets the broadcast parameters of the broadcast source device according to the broadcast receiver information, and broadcasts according to the set broadcast parameters, implementing an intelligent control scheme for the broadcast source, which can adjust the broadcast parameters according to the receiver information to flexibly adjust the broadcast effect.
[0051] Further, in one embodiment, step S10 includes:
[0052] Step S101, sending a communication request outward through the target wireless communication technology;
[0053] When the broadcast receiver information includes information indicating whether there is a receiver device within the broadcast range, the broadcast source device can send a communication request outward through the target wireless communication technology. Specifically, it can send a communication request outward through the communication module based on the target wireless communication technology set in the broadcast source device. The information carried in the communication request can be used to indicate to other devices a request to establish a communication connection or a request to feedback a response message, and the specific information carried is not limited in this embodiment.
[0054] Step S102, if no response message is received in response to the communication request within a preset duration after sending the communication request, it is determined that there is no receiver device within the broadcast range.
[0055] The broadcast source device can start timing after sending the communication request outward and detect whether a response message in response to the communication request is received within the preset duration. Among them, the preset duration can be set as needed. Generally, the preset duration can be set to be greater than the time interval from when the broadcast source device sends the communication request to when it receives the response message from the receiver device at the farthest distance within the communication range.
[0056] If no response message is received for the communication request within the preset duration, it can be determined that there is no receiving-end device within the broadcast range, that is, the broadcast receiving-end information indicating the absence of a receiving-end device within the broadcast range is obtained.
[0057] It should be noted that when the broadcast source device periodically detects the broadcast receiving-end information, it can periodically send out communication requests, and the interval duration between two consecutive communication requests is set to be greater than the preset duration.
[0058] In one embodiment, if a response message is received for the communication request within the preset duration, the broadcast source device can determine that there is a receiving-end device within the broadcast range.
[0059] In another embodiment, when the communication distance of the target wireless communication technology is greater than the broadcast distance, or when a response message is received for the communication request within the preset duration, the broadcast source device detects whether the distance between the device that sends the response message and the broadcast source device is less than or equal to the broadcast distance. If the distances between all devices that send response messages and the broadcast source device are greater than the broadcast distance, it can be determined that there is no receiving-end device within the broadcast range. If the distance between at least one device that sends the response message and the broadcast source device is less than or equal to the broadcast distance, it can be determined that there is a receiving-end device within the broadcast range.
[0060] In another embodiment, when a response message is received for the communication request within the preset duration, the broadcast source device further determines whether the broadcast reception code is carried in the response message. If the broadcast reception code is carried in at least one response message, it can be determined that there is a receiving-end device within the broadcast range. If the broadcast reception code is not carried in any of the response messages, it can be determined that there is no receiving-end device within the broadcast range; wherein, when other devices receive the communication request, they can carry the broadcast reception code in the response message, and the broadcast reception code can be input by the user of other devices into the device, which is used to indicate that the user has the permission to listen to the broadcast.
[0061] Furthermore, in another embodiment, after step S101, the following steps are further included:
[0062] Step S103, if the response message is received within the preset duration after sending the communication request, determine whether the device that sends the response message is in the broadcast reception state according to the response message;
[0063] Step S104, if it is determined that at least one device that sends the response message is in the broadcast reception state, determine that there is a receiving-end device within the broadcast range;
[0064] Step S105, if it is determined that none of the devices sending the response message is in the broadcast receiving state, it is determined that there is no receiving device within the broadcast range.
[0065] If a response message is received within a preset time period after sending a communication request, the broadcast source device can further determine whether the device sending the response message is in the broadcast receiving state according to the response message. In this embodiment, there is no limitation on the method for determining whether the device sending the response message is in the broadcast receiving state according to the response message.
[0066] For example, in one embodiment, the response message may carry information indicating whether the device is in the broadcast receiving state, and the broadcast source device can determine whether the device is in the broadcast receiving state according to this information; when other devices receive the communication request sent by the broadcast source device, they can detect whether they receive broadcasts. If so, they can carry information indicating that the device is in the broadcast receiving state in the response message. If not, they can either not feedback a response message or carry information indicating that the device is not in the broadcast receiving state in the response message; other devices can determine whether to receive broadcasts according to their own device types. For example, when the device is a device without a display screen and a speaker, it can be determined not to receive broadcasts, or other devices can output a prompt message after receiving the communication request, prompting the user whether to receive broadcasts, and determine whether to receive broadcasts according to the instruction input by the user.
[0067] Further, in one embodiment, the step S20 includes:
[0068] Step S201, when it is determined that there is no receiving device within the broadcast range according to the broadcast receiving end information, set the broadcast source device to the low power consumption mode.
[0069] When the broadcast receiving end information includes information indicating whether there is a receiving device within the broadcast range, the broadcast source device can enter the low power consumption mode to reduce the power consumption of the broadcast source device. Among them, the low power consumption mode can be a mode of stopping broadcasting, or a mode of further operating according to the low power consumption operation parameters after stopping broadcasting, which can be specifically set according to needs and is not limited here.
[0070] Further, based on the above first embodiment, a second embodiment of the broadcast source control method of the present invention is proposed. In this embodiment, the step S10 includes:
[0071] Step S106, when it is determined that there is a receiving device within the broadcast range, obtain the device positioning sent by the receiving device based on the target wireless communication technology, and calculate the distance between the receiving device and the broadcast source device according to the device positioning and the positioning of the broadcast source;
[0072] In this embodiment, the broadcast receiver information may include the distance between the receiver device within the broadcast range and the broadcast source device. When the broadcast source device determines that there is a receiver device within the broadcast range, it may obtain the device location sent by the receiver device based on the target wireless communication technology. Specifically, the broadcast source device may send a communication request outward based on the target wireless communication technology. After receiving the communication request, the receiver device may feedback a response message and carry the device location of the receiver device in the response message. The broadcast source device can calculate the distance between the two devices based on its own location and the location of the receiver device. Among them, the location of the broadcast source device may be obtained based on the location device in the broadcast source device, and the location of the receiver device may be obtained based on the location device in the receiver device.
[0073] Step S107, when it is determined that there is a receiver device within the broadcast range, communicate with the receiver device based on the target wireless communication technology, and calculate the distance between the receiver device and the broadcast source device based on the time difference between the transmission and reception of the communication signal and the propagation speed.
[0074] Alternatively, when the broadcast source device determines that there is a receiver device within the broadcast range, it may communicate with the receiver device based on the target wireless communication technology, and calculate the distance between the receiver device and the broadcast source device based on the time difference between the transmission and reception of the communication signal and the propagation speed. For example, the broadcast source device may record the time when the communication signal is sent outward. When the receiver device receives the communication signal, it records the reception time and feedbacks the reception time to the broadcast source device. The broadcast source device calculates the difference between the transmission time and the reception time and divides it by the signal propagation speed to obtain the distance between the receiver device and the broadcast source device.
[0075] Furthermore, in one embodiment, the step S20 includes:
[0076] Step S202, when it is determined that there is a receiver device within the broadcast range, determine the maximum distance among the distances between each receiver device and the broadcast source device according to the broadcast receiver information;
[0077] When the broadcast receiver information includes the distance between the receiver device within the broadcast range and the broadcast source device, the broadcast source device may set the broadcast parameters of the broadcast source device according to the distance of the receiver device. Specifically, the broadcast source device may determine the maximum distance among the distances between each receiver device and the broadcast source device according to the broadcast receiver information. For example, when there are 3 receiver devices within the broadcast range, and the distances from the broadcast source device are 1 meter, 2 meters, and 3 meters respectively, then the maximum distance is 3 meters.
[0078] Step S203: Set the broadcast retransmission times, broadcast transmission power, and / or broadcast transmission time interval of the broadcast source device according to the maximum distance. Among them, the greater the maximum distance, the larger the set broadcast retransmission times, the greater the set broadcast transmission power, and the longer the set broadcast transmission time interval.
[0079] The broadcast source device can set any one or more parameters of the broadcast retransmission times, broadcast transmission power, and broadcast transmission time interval of the broadcast source device according to the maximum distance. Which specific parameters to set can be set according to needs and are not limited here. When setting the broadcast retransmission times according to the maximum distance, it can be that the greater the maximum distance, the larger the set broadcast retransmission times, to ensure the accuracy of the broadcast data received by the receiving end device at a long distance. At the same time, when the receiving end devices are all relatively close to the broadcast source device, the power consumption of the broadcast source device can be reduced by setting a lower broadcast retransmission times. When setting the broadcast transmission power according to the maximum distance, it can be that the greater the maximum distance, the greater the set broadcast transmission power, to ensure the accuracy of the broadcast data received by the receiving end device at a long distance. At the same time, when the receiving end devices are all relatively close to the broadcast source device, the power consumption of the broadcast source device can be reduced by setting a lower broadcast transmission power. When setting the broadcast transmission time interval according to the maximum distance, it can be that the greater the maximum distance, the longer the set broadcast transmission time interval, to ensure the accuracy of the broadcast data received by the receiving end device at a long distance. At the same time, when the receiving end devices are all relatively close to the broadcast source device, the broadcast delay can be reduced by setting a shorter transmission time interval.
[0080] In the specific implementation, different broadcast retransmission times, broadcast transmission power, and broadcast transmission time interval corresponding to different distance intervals can be preset, determine the distance interval to which the maximum distance belongs, and perform broadcasting according to the broadcast retransmission times, broadcast transmission power, and broadcast transmission time interval corresponding to that distance interval.
[0081] Further, in an embodiment, the step S10 includes:
[0082] Step S108: Detect the broadcast receiving end information within the broadcast range of the broadcast source device based on the target wireless communication technology at preset time intervals;
[0083] The broadcast source device can detect the broadcast receiving end information within the broadcast range based on the target wireless communication technology at preset time intervals. The preset time interval can be set according to needs and is not limited here.
[0084] The step S20 includes:
[0085] Step S204, each time the broadcast receiver information is detected, compare the detected broadcast receiver information this time with the detected broadcast receiver information last time;
[0086] The broadcast source device can compare the detected broadcast receiver information this time with the detected broadcast receiver information last time each time the broadcast receiver information is detected, so as to determine whether the detected broadcast receiver information has changed compared with the last time, and thus determine whether to adjust the broadcast parameters.
[0087] Step S205, if the change in the detected broadcast receiver information this time compared with the detected broadcast receiver information last time reaches the preset parameter change condition, update the broadcast parameters of the broadcast source device according to the detected broadcast receiver information this time, and perform broadcasting according to the updated broadcast parameters;
[0088] If the change in the detected broadcast receiver information this time compared with the detected broadcast receiver information last time reaches the preset parameter change condition, the broadcast source device can update the broadcast parameters of the broadcast source device according to the detected broadcast receiver information this time, that is, reset the broadcast parameters, and perform broadcasting according to the newly set broadcast parameters. Among them, the preset parameter change condition can be set as needed and is not limited here. For example, when the previous broadcast receiver information indicates that there is a receiver device within the broadcast range and the current broadcast receiver information indicates that there is no receiver device within the broadcast range, it can be considered that the preset parameter change condition is reached, and when the previous broadcast receiver information indicates that there is no receiver device within the broadcast range and the current broadcast receiver information indicates that there is a receiver device within the broadcast range, it can be considered that the preset parameter change condition is reached. Another example is that when the absolute value of the difference between the farthest distance determined according to the current broadcast receiver information and the farthest distance determined according to the previous broadcast receiver information is greater than a certain threshold, it can be considered that the preset parameter change condition is reached.
[0089] Step S206, if the change in the detected broadcast receiver information this time compared with the detected broadcast receiver information last time does not reach the preset parameter change condition, continue to perform broadcasting according to the current broadcast parameters of the broadcast source device.
[0090] If the change in the detected broadcast receiver information this time compared with the detected broadcast receiver information last time does not reach the preset parameter change condition, the broadcast source device can continue to perform broadcasting according to the current broadcast parameters of the broadcast source device, such as maintaining the low-power mode, maintaining the current broadcast transmission power, broadcast transmission time interval, and broadcast retransmission times, etc.
[0091] In addition, an embodiment of the present invention further provides a broadcast source control device, which is deployed on a broadcast source device, such as Figure 2 as shown, the broadcast source control device includes:
[0092] A detection module 10, configured to detect broadcast receiver information within the broadcast range of the broadcast source device based on a target wireless communication technology, where the communication range of the target wireless communication technology covers the broadcast range;
[0093] A control module 20, configured to set broadcast parameters of the broadcast source device according to the broadcast receiver information, and perform broadcasting according to the set broadcast parameters.
[0094] Further, when the broadcast receiver information includes information indicating whether there is a receiver device within the broadcast range, the detection module 10 is further configured to:
[0095] Send a communication request outward through the target wireless communication technology;
[0096] If a response message to the communication request is not received within a preset time period after sending the communication request, it is determined that there is no receiver device within the broadcast range.
[0097] Further, the detection module 10 is further configured to:
[0098] If the response message is received within a preset time period after sending the communication request, determine whether the device sending the response message is in a broadcast receiving state according to the response message;
[0099] If it is determined that at least one device sending the response message is in a broadcast receiving state, it is determined that there is a receiver device within the broadcast range;
[0100] If it is determined that none of the devices sending the response message is in a broadcast receiving state, it is determined that there is no receiver device within the broadcast range.
[0101] Further, when the broadcast receiver information includes the distance between the receiver device within the broadcast range and the broadcast source device, the detection module 10 is further configured to:
[0102] When it is determined that there is a receiver device within the broadcast range, obtain the device location sent by the receiver device based on the target wireless communication technology, and calculate the distance between the receiver device and the broadcast source device according to the device location and the location of the broadcast source; or,
[0103] When it is determined that there is a receiving end device within the broadcast range, communicate with the receiving end device based on the target wireless communication technology, and calculate the distance between the receiving end device and the broadcast source device based on the time difference between the transceiver of the communication signal and the propagation speed.
[0104] Further, when the broadcast receiving end information includes information indicating whether there is a receiving end device within the broadcast range, the control module 20 is further configured to:
[0105] When it is determined that there is no receiving end device within the broadcast range according to the broadcast receiving end information, set the broadcast source device to the low power consumption mode.
[0106] Further, when the broadcast receiving end information includes the distance between the receiving end device within the broadcast range and the broadcast source device, the control module 20 is further configured to:
[0107] When it is determined that there is a receiving end device within the broadcast range, determine the maximum distance among the distances between each receiving end device and the broadcast source device according to the broadcast receiving end information;
[0108] Set the broadcast retransmission times, broadcast transmission power, and / or broadcast sending time interval of the broadcast source device according to the maximum distance, wherein the greater the maximum distance, the greater the set broadcast retransmission times, the greater the set broadcast transmission power, and the longer the set broadcast sending time interval.
[0109] Further, the detection module 10 is further configured to:
[0110] Detect the broadcast receiving end information within the broadcast range of the broadcast source device based on the target wireless communication technology at every preset time interval;
[0111] The control module 20 is further configured to:
[0112] After each detection of the broadcast receiving end information, compare the currently detected broadcast receiving end information with the previously detected broadcast receiving end information;
[0113] If the change in the currently detected broadcast receiving end information compared to the previously detected broadcast receiving end information reaches the preset parameter change condition, update the broadcast parameters of the broadcast source device according to the currently detected broadcast receiving end information, and perform broadcasting according to the updated broadcast parameters.
[0114] If the change in the broadcast receiver information detected this time compared to the broadcast receiver information detected last time does not reach the preset parameter change condition, continue to broadcast according to the current broadcast parameters of the broadcast source device.
[0115] In addition, an embodiment of the present invention further provides a broadcast source control device, as Figure 3 shown. The broadcast source control device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to implement connection communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0116] Those skilled in the art can understand that Figure 3 the device structure shown in
[0117] does not constitute a limitation on the broadcast source control device, and may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements. Figure 3 As shown, the memory 1005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a broadcast source control program. The operating system is a program for managing and controlling the hardware and software resources of the device, and supports the operation of the broadcast source control program and other software or programs. In the Figure 3 device shown, the user interface 1003 is mainly used for data communication with the client; the network interface 1004 is mainly used for establishing a communication connection with the server; and the processor 1001 may be used to call the broadcast source control program stored in the memory 1005 and execute the steps of the broadcast source control method in the above embodiments.
[0118] In addition, an embodiment of the present invention further provides a computer-readable storage medium, on which a broadcast source control program is stored. When the broadcast source control program is executed by a processor, it implements the steps of the broadcast source control method as described above.
[0119] For each embodiment of the broadcast source control device, the broadcast source control device, and the computer-readable storage medium of the present invention, reference may be made to each embodiment of the broadcast source control method of the present invention, and details are not described herein again.
[0120] It should be noted that in this text, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements not only includes those elements but also other elements not expressly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, article or device comprising such element.
[0121] The serial numbers of the above-described embodiments of the present invention are for description only and do not represent the superiority or inferiority of the embodiments.
[0122] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0123] The above are only the preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or equivalent process transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present invention.
Claims
1. A broadcast source control method, characterized in that, The described broadcast source control method is applied to a broadcast source device of LE Audio broadcast technology. The broadcast source control method includes the following steps: Detect broadcast receiver information within the broadcast range of the broadcast source device based on a target wireless communication technology, where the communication range of the target wireless communication technology covers the broadcast range, and the target wireless communication technology is UWB technology; Set the broadcast parameters of the broadcast source device according to the broadcast receiver information, and perform broadcasting according to the set broadcast parameters; The step of setting the broadcast parameters of the broadcast source device according to the broadcast receiver information includes: When the broadcast receiver information includes the device type of the receiver device, determine the broadcast content type according to the device type. Among them, when all receiver devices are devices with a display screen and a speaker, determine that the broadcast content type is video and audio. When all receiver devices are devices without a display screen but only with a speaker, determine that the broadcast content type is audio.
2. The broadcast source control method according to claim 1, wherein When the broadcast receiver information includes information indicating whether there is a receiver device within the broadcast range, the step of detecting the broadcast receiver information within the broadcast range of the broadcast source device based on the target wireless communication technology includes: Send a communication request outward through the target wireless communication technology; If no response message in response to the communication request is received within a preset time period after sending the communication request, determine that there is no receiver device within the broadcast range.
3. The broadcast source control method according to claim 2, wherein After the step of sending a communication request outward through the target wireless communication technology, it further includes: If the response message is received within a preset time period after sending the communication request, determine whether the device sending the response message is in a broadcast receiving state according to the response message; If it is determined that at least one device sending the response message is in a broadcast receiving state, determine that there is a receiver device within the broadcast range; If it is determined that none of the devices sending the response message are in a broadcast receiving state, determine that there is no receiver device within the broadcast range.
4. The broadcast source control method according to claim 1, wherein When the broadcast receiver information includes the distance between the receiver device within the broadcast range and the broadcast source device, the step of detecting the broadcast receiver information within the broadcast range of the broadcast source device based on the target wireless communication technology includes: When it is determined that there is a receiver device within the broadcast range, obtain the device location sent by the receiver device based on the target wireless communication technology, and calculate the distance between the receiver device and the broadcast source device according to the device location and the location of the broadcast source; or, When it is determined that there is a receiver device within the broadcast range, communicate with the receiver device based on the target wireless communication technology, and calculate the distance between the receiver device and the broadcast source device based on the time difference between the transmission and reception of the communication signal and the propagation speed.
5. The broadcast source control method according to claim 1, characterized in that When the broadcast receiver information includes information indicating whether there is a receiver device within the broadcast range, the step of setting the broadcast parameters of the broadcast source device according to the broadcast receiver information includes: When it is determined that there is no receiving device within the broadcast range according to the broadcast receiving device information, set the broadcast source device to the low-power mode.
6. The broadcast source control method according to claim 1, wherein When the broadcast receiving device information includes the distance between the receiving device within the broadcast range and the broadcast source device, the step of setting the broadcast parameters of the broadcast source device according to the broadcast receiving device information includes: When it is determined that there is a receiving device within the broadcast range, determine the maximum distance among the distances between each receiving device and the broadcast source device according to the broadcast receiving device information; Set the broadcast retransmission times, broadcast transmission power, and / or broadcast sending time interval of the broadcast source device according to the maximum distance, where the set broadcast retransmission times are greater when the maximum distance is farther, the set broadcast transmission power is greater when the maximum distance is farther, and the set broadcast sending time interval is longer when the maximum distance is farther.
7. The broadcast source control method according to any one of claims 1 to 6, characterized in that, The step of detecting the broadcast receiving device information within the broadcast range of the broadcast source device based on the target wireless communication technology includes: Detect the broadcast receiving device information within the broadcast range of the broadcast source device based on the target wireless communication technology at every preset time interval; The step of setting the broadcast parameters of the broadcast source device according to the broadcast receiving device information and performing broadcasts according to the set broadcast parameters includes: After each detection of the broadcast receiving device information, compare the broadcast receiving device information detected this time with the broadcast receiving device information detected last time; If the change in the broadcast receiving device information detected this time compared with the broadcast receiving device information detected last time reaches the preset parameter change condition, update the broadcast parameters of the broadcast source device according to the broadcast receiving device information detected this time, and perform broadcasts according to the updated broadcast parameters; If the change in the broadcast receiving device information detected this time compared with the broadcast receiving device information detected last time does not reach the preset parameter change condition, continue to perform broadcasts according to the current broadcast parameters of the broadcast source device.
8. A broadcast source control device, characterized in that, The broadcast source control device is deployed in the broadcast source device of the LE Audio broadcast technology, and the broadcast source control device includes: A detection module for detecting the broadcast receiving device information within the broadcast range of the broadcast source device based on the target wireless communication technology, where the communication range of the target wireless communication technology covers the broadcast range, and the target wireless communication technology is the UWB technology; A control module for setting the broadcast parameters of the broadcast source device according to the broadcast receiving device information and performing broadcasts according to the set broadcast parameters; The control module is further configured to: when the broadcast receiving device information includes the device type of the receiving device, determine the broadcast content type according to the device type, where when all receiving devices are devices with a display screen and a speaker, determine the broadcast content type as video and audio, and when all receiving devices are devices without a display screen but only with a speaker, determine the broadcast content type as audio.
9. A broadcast source control device, characterized in that, The broadcast source control device includes: a memory, a processor, and a broadcast source control program stored on the memory and executable on the processor. When the broadcast source control program is executed by the processor, the steps of the broadcast source control method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium, characterized in that, A broadcast source control program is stored on the computer-readable storage medium. When the broadcast source control program is executed by a processor, the steps of the broadcast source control method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Wireless broadcast transmitting and receiving equipment and communication system
CN110351669A
Adaptation of broadcasting parameters based on feedback data
EP3343808A1