WO2019015016A1 - Set top box-based coexistence optimization method, device and system for wifi and bluetooth - Google Patents

Set top box-based coexistence optimization method, device and system for wifi and bluetooth Download PDF

Info

Publication number
WO2019015016A1
WO2019015016A1 PCT/CN2017/098893 CN2017098893W WO2019015016A1 WO 2019015016 A1 WO2019015016 A1 WO 2019015016A1 CN 2017098893 W CN2017098893 W CN 2017098893W WO 2019015016 A1 WO2019015016 A1 WO 2019015016A1
Authority
WO
WIPO (PCT)
Prior art keywords
bluetooth
top box
wifi
set top
speed limit
Prior art date
Application number
PCT/CN2017/098893
Other languages
French (fr)
Chinese (zh)
Inventor
曹黎
Original Assignee
深圳创维数字技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳创维数字技术有限公司 filed Critical 深圳创维数字技术有限公司
Publication of WO2019015016A1 publication Critical patent/WO2019015016A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • H04N21/42206User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
    • H04N21/42221Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]

Definitions

  • the present disclosure relates to the field of set top box technologies, for example, to a method, device and system for optimizing a WiFi and Bluetooth coexistence based on a set top box.
  • WiFi Wireless Fidelity
  • Bluetooth can be 802.11b/g compliant wireless LAN (Wireless Local Area Networks, WLAN) devices that operate in the 2.4G band, Supports up to 14 channels, ranging from 2412MHz to 2484MHz, different national standards. The bandwidth of each channel is 22MHz, which is 11MHz from the center frequency.
  • Bluetooth is also working in the 2.4G band, and the Bluetooth band is from 2401MHz. Up to 2479MHz, each channel occupies 1MHz, a total of 79 channels.
  • WiFi and Bluetooth basically work in the same frequency band and coexist on one module and share antenna resources, the two work at the same time will interfere with each other.
  • the larger the amount of data the more antenna resources are occupied, and the two The more serious the interference, the lower the coexistence performance of WiFi and Bluetooth.
  • the present disclosure provides a method, a device and a system for optimizing a WiFi and Bluetooth coexistence based on a set top box.
  • the main purpose is to overcome the problem of coexistence of WiFi and Bluetooth coexistence and improve the coexistence performance of WiFi and Bluetooth.
  • the embodiment provides a WiFi and Bluetooth coexistence optimization method based on a set top box, including:
  • the set top box receives and parses the data packet sent by the Bluetooth remote controller
  • the data packet carries a preset data volume indication instruction, writing a speed limit control flow instruction on the set top box, where the preset data volume indication instruction is used to indicate that the data volume of the Bluetooth remote controller is greater than or equal to The number of preset data volume thresholds is transmitted;
  • the WiFi is limited in speed control.
  • the preset data volume indication instruction in the set-top box-based WIFi and Bluetooth coexistence optimization method provided in this embodiment is specifically used to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio. data transmission.
  • the set top box includes a WiFi Bluetooth module and a set top box main end, and the set top box receives and parses the data packet sent by the Bluetooth remote controller, including:
  • the set top box of the set top box parses the data packet at a Bluetooth protocol layer.
  • the set-top box-based WIFi and Bluetooth coexistence optimization method provided in the embodiment includes: writing a speed limit control flow instruction on the set top box includes :
  • the main unit of the set top box parses that the data packet carries a preset data quantity indication instruction, write a speed limit control flow instruction on the WiFi bluetooth module through an asynchronous transceiver interface;
  • the speed limit control of the WiFi includes:
  • the WiFi bluetooth module After receiving the speed limit control flow instruction, the WiFi bluetooth module performs speed limit control on the WiFi according to the speed limit control flow instruction.
  • the Bluetooth remote controller determines whether a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold is required
  • the Bluetooth remote controller in the set-top box-based WIFi and Bluetooth coexistence optimization method provided in the embodiment determines whether the amount of data required to be greater than or equal to the preset data amount threshold is:
  • the Bluetooth remote control determines whether upgrade data transmission is required, Bluetooth voice data transmission or Bluetooth audio data transmission.
  • the embodiment further provides a set-top box-based WiFi and Bluetooth coexistence optimization device, the device comprising: a processor, a memory, and a WiFi and a Bluetooth stored on the memory and operable on the processor
  • the coexistence optimization program, the WiFi and Bluetooth coexistence optimization program includes:
  • a receiving unit configured to receive a data packet sent by the Bluetooth remote controller
  • a parsing unit configured to parse the data packet received by the receiving unit
  • a writing unit configured to write a speed limit control flow instruction on the set top box if the parsing unit parses out that the data packet carries a preset data quantity indication instruction, where the preset data quantity indication instruction is used Marking, by the Bluetooth remote controller, a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold;
  • the speed limit control unit is configured to perform speed limit control on the WiFi according to the speed limit flow control command written by the writing unit.
  • the preset data volume indication instruction in the set-top box-based WiFi and Bluetooth coexistence optimization apparatus provided in this embodiment is specifically configured to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio. data transmission.
  • the embodiment further provides another set-top box-based WiFi and Bluetooth coexistence optimization device, the device comprising: a processor, a memory, and a WiFi and stored on the memory and operable on the processor Bluetooth coexistence optimization program, the WiFi and Bluetooth coexistence optimization program includes:
  • a determining unit configured to determine whether the Bluetooth remote controller needs to transmit a quantity whose data amount is greater than or equal to a preset data amount threshold
  • a sending unit configured to: if the determining unit needs to perform a quantity transmission with a data amount greater than or equal to a preset data amount threshold, send a data packet carrying a preset data quantity indication instruction to the set top box, so that the set top box writes locally
  • the speed limit control flow instruction is entered, and the speed limit flow control of the WiFi is performed according to the speed limit control flow instruction.
  • the embodiment further provides a set top box, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform a set top box execution method as described.
  • the embodiment further provides a Bluetooth remote controller, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform a Bluetooth remote control execution method as described.
  • the embodiment further provides a computer readable storage medium storing processor executable instructions for performing a set top box method as described above.
  • the embodiment further provides a computer readable storage medium storing processor executable instructions for performing a Bluetooth remote control execution method as described above.
  • the embodiment further provides a set-top box-based WiFi and Bluetooth coexistence optimization system, the system comprising at least one set top box, and at least one Bluetooth remote controller;
  • the set top box receives and parses a data packet sent by the Bluetooth remote controller; if the data packet carries a preset data volume indication instruction, writing a speed limit control flow instruction on the set top box, the preset data volume marking instruction a quantity transmission for indicating that the Bluetooth remote controller performs a data amount greater than or equal to a preset data amount threshold;
  • the set top box controls the speed limit of the WiFi according to the speed limit control flow instruction.
  • the present disclosure provides a method, a device and a system for optimizing a WiFi and a Bluetooth coexistence based on a set-top box.
  • a Bluetooth remote controller By parsing a data packet sent by a Bluetooth remote controller, it can be parsed whether the data packet carries a preset data volume indication instruction.
  • the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured.
  • the normal and efficient transmission in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
  • FIG. 1 is a flowchart of a method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure
  • FIG. 2 is a flowchart of another method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure
  • FIG. 3 is a flowchart of still another method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure
  • FIG. 4 is a flowchart of still another method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of another set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of still another set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure
  • FIG. 9 is a schematic structural diagram of a set-top box WiFi and Bluetooth coexistence optimization system according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another set-top box WiFi and Bluetooth coexistence optimization system according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic diagram showing the physical structure of a set top box according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of hardware of a set top box according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic diagram showing the physical structure of a Bluetooth remote controller according to an embodiment of the present disclosure.
  • An embodiment of the present disclosure provides a method for optimizing a WiFi and Bluetooth coexistence based on a set top box. As shown in FIG. 1 , the method includes:
  • step 101 the set top box receives and parses the data packet sent by the Bluetooth remote control.
  • the data packet may include a data packet header, valid data, a data packet tail, and a check digit.
  • the set top box After receiving the data packet, the set top box determines, at its Bluetooth protocol layer, whether the data packet contains valid data; if yes, determining whether the valid data is a preset data volume indication instruction according to a corresponding check digit in the data packet. .
  • the Bluetooth remote controller may send a data packet carrying a preset data amount indication instruction to the set top box before performing a large amount of data transmission.
  • the corresponding number of data packets may be parsed according to the preset data volume indication instruction.
  • step 102 if the data packet carries a preset data volume indication instruction, a speed limit control flow instruction is written on the set top box.
  • the preset data amount indication instruction is used to indicate that the Bluetooth remote controller performs data transmission that the data amount is greater than or equal to a preset data amount threshold.
  • the preset data amount indication instruction may be represented by a fixed character string, and the fixed character string may be customized according to the actual situation of the user, and the embodiment of the present disclosure is not limited herein.
  • the preset data volume threshold may be set according to the actual needs of the user, or may be set according to the system default mode, which is not limited in the embodiment of the present disclosure.
  • the set-top box parses out that the data packet carries a preset data volume indication instruction, it indicates that the Bluetooth remote controller needs to perform data transmission of a large amount of data, or that the Bluetooth remote controller needs to perform efficient Bluetooth data transmission.
  • the speed limit control flow instruction is written on the set top box to reduce the WiFi transmission speed, and the duty ratio of the Bluetooth to the antenna is improved, thereby ensuring efficient transmission of the Bluetooth data.
  • step 103 the WiFi is throttled and controlled according to the speed limit control flow instruction.
  • the speed limit control flow may limit the WiFi data transmission speed and control the WiFi data transmission traffic.
  • the WiFi data transmission speed is limited by reducing the transmission bandwidth allocation of the WiFi; for example, the original transmission bandwidth is 2 Mb, and the reduction is 1 Mb, that is, the WiFi data transmission speed can be limited; and the WiFi transmission data volume is reduced.
  • the size of the way to achieve control of WiFi data transmission traffic for example, the original WiFi transmission data size is 0.5Mb, reduced to 0.3Mb, that is, can control the WiFi data transmission traffic. Therefore, by controlling the speed limit of the WiFi, the duty ratio of the WiFi to the shared antenna resources is reduced, and the duty ratio of the Bluetooth to the shared antenna resources is increased, thereby reducing the interference of the WiFi data transmission to the Bluetooth data transmission.
  • the set-top box WiFi and Bluetooth coexistence optimization method provided by the embodiment of the present disclosure, by parsing the data packet sent by the Bluetooth remote controller, it can be parsed whether the data packet carries a preset data volume indication instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling the Bluetooth remote controller to transmit a large amount of data when By transmitting a preset data volume indication instruction to the set-top box, the WiFi is limited in speed control, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi data transmission to the Bluetooth data transmission is reduced, and the Bluetooth remote control is ensured.
  • the large amount of data is transmitted stably and efficiently, thereby overcoming the conflict problem caused by the coexistence of WiFi and Bluetooth, and improving the coexistence performance of WiFi and Bluetooth.
  • An embodiment of the present disclosure provides another method for optimizing a WiFi and Bluetooth coexistence based on a set top box. As shown in FIG. 2, the method includes:
  • the WiFi Bluetooth module of the set top box receives the data packet sent by the Bluetooth remote controller, and transmits the data packet to the set top box of the set top box.
  • the set top box may include a WiFi Bluetooth module and a set top box main end.
  • the WiFi Bluetooth module is a single module in which WiFi and Bluetooth coexist, that is, the WiFi Bluetooth module supports both the WiFi function and the Bluetooth function, and the WiFi Bluetooth modules of different types of set top boxes are different.
  • the main end of the set top box may be a set top box main chip.
  • the step of transmitting the data packet to the set top box of the set top box may specifically include: using an asynchronous transceiver interface (Universal) Asynchronous Receiver/Transmitter, UART) or Universal Serial Bus Interface (Universal Serial Bus) , USB) transmits the data packet to the set top box master.
  • UART asynchronous transceiver interface
  • USB Universal Serial Bus Interface
  • the UART interface can implement full-duplex transmission, and the USB interface can directly exchange data between the WiFi Bluetooth module and the set-top box main end; and transmit the data packet to the UART interface or the USB interface.
  • the top of the set-top box can guarantee the speed and accuracy of data packet transmission.
  • step 202 the set top box master parses the data packet at the Bluetooth protocol layer.
  • the Bluetooth transmission needs to be carried out according to the Bluetooth transmission protocol, and the Bluetooth transmission protocol includes a logical link control and adaptation protocol (Logical). Link Control and Adaptation Protocol,
  • a data packet transmitted through Bluetooth has a certain format, for example, may include a data packet header, valid data, a data packet tail, and a check digit; after receiving the Bluetooth data packet, the set top box may be in its Bluetooth.
  • the protocol layer interprets the content of the data packet according to the protocol, so as to determine the meaning of each part of the data packet, and the master of the set top box completes the parsing of the data packet according to the Bluetooth protocol layer.
  • step 203 if the primary end of the set-top box parses the data packet carrying the preset data volume indication instruction, the speed limit control flow instruction is written on the WiFi bluetooth module through the UART interface.
  • the preset data volume indication instruction may be used to indicate that the Bluetooth remote controller performs a quantity transmission in which the data volume is greater than or equal to a preset data volume threshold.
  • the preset data volume indication instruction may be specifically used to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio data transmission. Specifically, if the Bluetooth remote controller performs upgrade data transmission, performing Bluetooth voice data transmission or Bluetooth audio data transmission means that the Bluetooth remote controller needs to transmit data with a large amount of data or need to ensure that the set top box preferentially performs normal and efficient Bluetooth data transmission.
  • step 204 after receiving the speed limit control flow instruction, the WiFi bluetooth module performs speed limit control on the WiFi according to the speed limit control flow instruction.
  • the method further includes: when the set top box is When the Bluetooth remote controller performs pairing, receiving a synchronization packet frequency update request sent by the Bluetooth remote controller, where the request carries a synchronization packet frequency; and reducing the synchronization packet frequency according to the update request. After the synchronization packet frequency is lowered, and the set top box is paired with the Bluetooth remote controller, the set top box and the Bluetooth remote controller perform synchronous handshake with the reduced synchronization packet frequency.
  • the Bluetooth remote controller sends a connection data packet to the set top box at intervals, the back
  • the data packet includes data packet header, valid data, data packet tail, check digit and other parameters, which facilitates the set-top box to scan and reconnect, and once scanned to the Bluetooth remote control, the connected data packet is sent according to the connected data packet.
  • Make back connections Since the set-top box uses more shared antenna resources when performing background scanning, the set-top box can be disconnected from the original paired Bluetooth remote controller to reduce the duty ratio of the Bluetooth to the antenna and reduce the Bluetooth data transmission to the WiFi data transmission.
  • the interference ensures that the WiFi can be transmitted normally, avoiding the phenomenon that the video currently being played by the set-top box is stuck.
  • the method further includes: when the set top box detects that the paired Bluetooth remote controller is disconnected, increasing a packet sending frequency and/or a packet sending duration of the connected data packet in the Bluetooth protocol stack. By increasing the frequency of packet sending and/or packet sending time of the return packet in the Bluetooth protocol stack, the Bluetooth scanning frequency and the Bluetooth scanning duration of the WiFi Bluetooth module can be reduced, thereby reducing the duty cycle of the Bluetooth to the antenna.
  • the method further includes: when the set top box is powered on, detecting whether the set top box is paired with the Bluetooth remote controller; If not, performing a Bluetooth scan and completing the pairing of the set top box with the Bluetooth remote controller by prompting the user, or when receiving the specific infrared code value sent by the Bluetooth remote controller, popping up the pairing interface and turning off the WiFi scan. And the pairing of the set top box and the Bluetooth remote controller is automatically completed by using a Bluetooth scanning method.
  • the data packet transmitted by the Bluetooth remote controller to the set top box usually fails to be transmitted.
  • the set top box instructs the Bluetooth remote controller to retransmit the data packet multiple times. Re-transmitting the data packet will occupy more shared antenna resources.
  • the method further includes: sending the Bluetooth remote control to the remote control An increase transmit power command is used to instruct the Bluetooth remote control to increase transmit power.
  • the Bluetooth when the data volume of the audio data is transmitted, the Bluetooth may occupy more shared antenna resources, and in order to reduce the amount of data transmitted by the audio data, thereby reducing the interference of Bluetooth to WiFi during audio transmission, the method further Including: increasing the Bluetooth audio compression rate of the set top box.
  • audio compression refers to the use of appropriate digital signal processing techniques for the original digital audio signal stream (PCM coding) to reduce (compress) its code rate without loss of useful information or negligible loss. Reduce the volume of the audio file.
  • the set-top box of the present disclosure parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling the Bluetooth remote controller to transmit a large amount of data when By sending a preset data volume indication command to the set-top box, the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the large amount of data of the Bluetooth remote controller is ensured. Efficient transmission, which can overcome the problem of coexistence of WiFi and Bluetooth coexistence, and improve the coexistence performance of WiFi and Bluetooth. Further, the embodiment of the present disclosure can also solve the problem of coexistence conflicts in other scenarios of WiFi and Bluetooth.
  • the synchronization packet frequency sent by the Bluetooth remote controller can be reduced, and the frequency is reduced.
  • the duty ratio of the Bluetooth to the antenna reduces the interference of the Bluetooth to the WiFi; when the set top box is disconnected from the Bluetooth remote controller, the sending frequency and/or the packet sending time of the return packet in the Bluetooth protocol stack can be increased, and the Bluetooth is reduced.
  • the Bluetooth remote controller facilitates the pairing of the set top box and the Bluetooth remote controller to avoid the interference of the Bluetooth pairing WiFi; the transmission of the transmission power command can be sent to the Bluetooth remote controller, the anti-interference of the set-top box is increased, and the transmission of the retransmission packet is reduced, and the transmission is reduced.
  • Bluetooth interference to WiFi can increase the Bluetooth audio compression rate of the set-top box and reduce audio transmission WiFi-Bluetooth interference.
  • the embodiment of the present disclosure provides another optimization method based on the set top box WiFi and Bluetooth coexistence. As shown in FIG. 3, the method includes:
  • step 301 the Bluetooth remote controller determines whether a quantity transmission in which the amount of data is greater than or equal to the preset data amount threshold is required.
  • the preset data volume threshold may be set according to the user's needs, or may be set according to the system default mode, which is not limited in the embodiment of the present disclosure.
  • the Bluetooth remote controller needs to perform upgrade data transmission, perform Bluetooth voice data transmission or perform Bluetooth audio data transmission, etc., it is required to ensure that the Bluetooth data is normally and efficiently transmitted, and it is determined that the data volume needs to be greater than or equal to the preset data amount threshold. Quantity transfer.
  • step 302 if it is required to perform a quantity transmission in which the data amount is greater than or equal to the preset data amount threshold, the data packet carrying the preset data amount indication instruction is sent to the set top box.
  • the set top box by sending the data packet carrying the preset data volume indication instruction to the set top box, the set top box can locally write the speed limit control flow instruction, and perform the WiFi on the basis of the speed limit control flow instruction. Speed limit control.
  • the set-top box of the present disclosure parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured.
  • the normal and efficient transmission in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
  • the embodiment of the present disclosure provides another optimization method based on the set top box WiFi and Bluetooth coexistence. As shown in FIG. 4, the method includes:
  • step 401 the Bluetooth remote controller determines whether upgrade data transmission is required, Bluetooth voice data transmission or Bluetooth audio data transmission.
  • step 402 if upgrade data transmission is required, Bluetooth voice data transmission or Bluetooth audio data transmission is performed, a data packet carrying a preset data volume indication instruction is sent to the set top box.
  • the data packet carrying the preset data volume indication instruction may be sent to the WiFi Bluetooth module of the set top box, so that the WiFi Bluetooth module can transmit the data packet to the main end of the set top box, and the main part of the set top box
  • the speed limit control flow instruction is written in the WiFi bluetooth module through the asynchronous transmitter interface, and the WiFi bluetooth module controls the speed limit of the WiFi according to the speed limit control flow instruction.
  • the set-top box of the present disclosure is configured to parse the data packet sent by the Bluetooth remote controller by parsing the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction.
  • the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured.
  • the normal and efficient transmission in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
  • an embodiment of the present disclosure provides a WiFi and Bluetooth coexistence optimization device based on a set top box.
  • the device further includes: a processor, a memory, and the storage on the memory.
  • a WiFi and Bluetooth coexistence optimization program running on the processor, the WiFi and Bluetooth coexistence optimization program comprising: a receiving unit 51, a parsing unit 52, a writing unit 53, and a rate limiting control unit 54.
  • the receiving unit 51 is configured to receive a data packet sent by a Bluetooth remote controller.
  • the parsing unit 52 is configured to parse the data packet received by the receiving unit 51.
  • the writing unit 53 is configured to: if the parsing unit 52 parses that the data packet carries a preset data amount indication instruction, write a speed limit control flow instruction on the set top box, the preset data amount
  • the marking instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold.
  • the speed limit control unit 54 is configured to perform speed limit control on the WiFi according to the speed limit flow control command written by the writing unit 53.
  • a set-top box WiFi and Bluetooth coexistence optimization device is provided.
  • the set-top box of the embodiment of the present disclosure can parse whether the data packet carries a preset data quantity indication instruction by parsing a data packet sent by the Bluetooth remote controller. .
  • the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured.
  • the normal and efficient transmission in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
  • the embodiment of the present disclosure provides another set-top box WiFi and Bluetooth coexistence optimization device.
  • the device includes: a receiving unit 61, a parsing unit 62, and a writing unit. 63 and a speed limit control unit 64.
  • the receiving unit 61 is configured to receive a data packet sent by the Bluetooth remote controller.
  • the parsing unit 62 is configured to parse the data packet received by the receiving unit 61.
  • the writing unit 63 is configured to: if the parsing unit 62 parses that the data packet carries a preset data amount indication instruction, write a speed limit control flow instruction on the set top box, the preset data amount
  • the marking instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold.
  • the preset data volume indication instruction is specifically used to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio data transmission.
  • the rate limiting control unit 64 is configured to perform rate limiting control on the WiFi according to the speed limit control flow instruction written by the writing unit 63.
  • the set top box includes a WiFi Bluetooth module and a set top box
  • the receiving unit 61 may include: a receiving module 611 and a transmitting module 612.
  • the receiving module 611 is configured to receive a data packet sent by the Bluetooth remote controller.
  • the transmission module 612 is configured to transmit the data packet received by the receiving module 611 to the set top box main end.
  • the parsing unit 62 is configured to parse the data packet at a Bluetooth protocol layer.
  • the writing unit 63 is configured to write a speed limit control on the WiFi bluetooth module through an asynchronous transceiver interface if the set top box parsing out that the data packet carries a preset data volume indication instruction Flow instruction
  • the speed limit control unit 64 is configured to, after receiving the speed limit control flow instruction, perform speed limit control on the WiFi according to the speed limit control flow instruction.
  • the transmission module 612 is configured to transmit the data packet received by the receiving module to the set top box main end through an asynchronous transceiver interface or a universal serial bus interface.
  • the apparatus may further include: a lowering unit 65.
  • the receiving unit 61 is configured to receive a synchronization packet frequency update request sent by the Bluetooth remote controller when the set top box is paired with the Bluetooth remote controller, where the request carries a synchronization packet frequency.
  • the reducing unit 65 is configured to reduce the synchronization packet frequency according to the update request received by the receiving unit 61.
  • the device in order to reduce the duty ratio of the Bluetooth to the antenna and reduce the interference of the Bluetooth to the WiFi when the Bluetooth remote control transmits data and disconnect from the set top box, the device further includes: an adding unit 66.
  • the adding unit 66 is configured to increase the sending frequency and/or the sending time of the return packet in the Bluetooth protocol stack when the set top box detects that the paired Bluetooth remote controller is disconnected.
  • the apparatus in order to facilitate the pairing of the set top box and the Bluetooth remote controller and avoid the interference of the Bluetooth pairing WiFi, the apparatus further includes: a detecting unit 67 and a pairing unit 68.
  • the detecting unit 67 is configured to detect whether the set top box is paired with the Bluetooth remote controller when the set top box is powered on.
  • the pairing unit 68 is configured to: if the detecting unit 67 detects that the set top box is not paired with the Bluetooth remote controller, perform a Bluetooth scan and complete the pairing of the set top box with the Bluetooth remote controller by prompting the user manner, Or, when receiving the specific infrared code value sent by the Bluetooth remote controller, the pairing interface is popped up, the WiFi scan is turned off, and the pairing of the set top box and the Bluetooth remote controller is automatically completed by the Bluetooth scanning mode.
  • the device in the case that the network transmission condition is poor, in order to increase the anti-interference of the set-top box, to reduce the transmission of the retransmission packet, and reduce the interference of the Bluetooth to the WiFi, the device further includes: a sending unit 69.
  • the sending unit 69 is configured to send an increase transmit power command to the Bluetooth remote controller, where the increase transmit power command is used to instruct the Bluetooth remote controller to increase transmit power.
  • the apparatus in order to reduce the interference of Bluetooth to WiFi during audio transmission, the apparatus further includes: an increasing unit 60.
  • the increasing unit 60 is configured to increase a Bluetooth audio compression ratio of the set top box.
  • the set top box of the embodiment of the present disclosure parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction.
  • the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the speed limit control of the WiFi is performed to ensure normal and efficient transmission of the large amount of data of the Bluetooth remote controller, and the duty ratio of the shared antenna resources of the Bluetooth is improved, and the WiFi is reduced.
  • the interference to Bluetooth can overcome the problem of coexistence of WiFi and Bluetooth, and improve the coexistence performance of WiFi and Bluetooth. Further, the embodiment of the present disclosure can also solve the problem of coexistence conflicts in other scenarios of WiFi and Bluetooth. Specifically, when the set top box is paired with the Bluetooth remote controller, the synchronization packet frequency sent by the Bluetooth remote controller can be reduced, and the frequency is reduced.
  • the duty ratio of the Bluetooth to the antenna reduces the interference of the Bluetooth to the WiFi; when the set top box is disconnected from the Bluetooth remote controller, the sending frequency and/or the packet sending time of the return packet in the Bluetooth protocol stack can be increased, and the Bluetooth is reduced. Reducing the interference of the antenna to the WiFi, and reducing the interference of the Bluetooth to the WiFi; when the set-top box is powered on, the user can be prompted to complete the pairing of the set-top box with the Bluetooth remote controller or automatically complete the set-top box and the Bluetooth scan mode
  • the pairing of the Bluetooth remote controller facilitates the pairing of the set top box and the Bluetooth remote controller to avoid the interference of the Bluetooth pairing WiFi; the transmission of the transmission power command can be sent to the Bluetooth remote controller, the anti-interference of the set-top box is increased, and the transmission of the retransmission packet is reduced, and the transmission is reduced.
  • Bluetooth interference to WiFi can increase the Bluetooth audio compression rate of the set-top box and reduce audio transmission WiFi-Bluetooth interference.
  • the embodiment of the present disclosure provides another set-top box WiFi and Bluetooth coexistence optimization device. As shown in FIG. 7, the device includes: a determining unit 71 and a sending unit 72.
  • the determining unit 71 is configured to determine whether the Bluetooth remote controller needs to perform a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold.
  • the sending unit 72 is configured to send a data packet carrying a preset data amount indication instruction to the set top box if the determining unit 71 needs to perform the quantity transmission in which the data amount is greater than or equal to the preset data amount threshold.
  • the set top box by sending a data packet carrying a preset data volume indication instruction to the set top box, the set top box can locally write the speed limit control flow instruction when parsing the data packet of the preset data amount indication instruction. And according to the speed limit control flow instruction, the WiFi is limited in speed control.
  • the set top box of the present disclosure is configured to parse the data packet sent by the Bluetooth remote controller to parse whether the data packet carries a preset data volume identifier. instruction.
  • the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the speed limit control of the WiFi is performed to ensure normal and efficient transmission of the large amount of data of the Bluetooth remote controller, and the duty ratio of the shared antenna resources of the Bluetooth is improved, and the WiFi is reduced.
  • the interference to Bluetooth can overcome the problem of coexistence of WiFi and Bluetooth, and improve the coexistence performance of WiFi and Bluetooth.
  • the embodiment of the present disclosure provides another set-top box WiFi and Bluetooth coexistence optimization device.
  • the device includes: a determining unit 81 and a sending unit 82.
  • the determining unit 81 is configured to determine whether the Bluetooth remote controller needs to perform a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold.
  • the sending unit 82 is configured to: if the determining unit 81 needs to perform the quantity transmission in which the data amount is greater than or equal to the preset data amount threshold, send the data packet carrying the preset data quantity indication instruction to the set top box.
  • the set top box by sending a data packet carrying a preset data volume indication instruction to the set top box, the set top box can locally write the speed limit control flow instruction when parsing the data packet of the preset data amount indication instruction. And according to the speed limit control flow instruction, the WiFi is limited in speed control.
  • the determining unit 81 is configured to determine whether the Bluetooth remote controller needs to perform upgrade data transmission, perform Bluetooth voice data transmission, or perform Bluetooth audio data transmission.
  • the set-top box of the embodiment of the present disclosure can parse whether the data packet carries a preset data quantity identifier by parsing the data packet sent by the Bluetooth remote controller. instruction.
  • the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the speed limit control of the WiFi is performed to ensure normal and efficient transmission of the large amount of data of the Bluetooth remote controller, and the duty ratio of the shared antenna resources of the Bluetooth is improved, and the WiFi is reduced.
  • the interference to Bluetooth can overcome the problem of coexistence of WiFi and Bluetooth, and improve the coexistence performance of WiFi and Bluetooth.
  • the embodiment of the present disclosure further provides a set-top box WiFi and Bluetooth coexistence optimization system.
  • the system includes: a Bluetooth remote controller 91 and a set top box 92.
  • the Bluetooth remote controller 91 is configured to determine whether a quantity transmission of a data amount greater than or equal to a preset data amount threshold is required; if necessary, a data packet carrying a preset data amount indication instruction is sent to the set top box 92.
  • the set top box 92 is configured to write a speed limit control flow instruction locally, and perform speed limit control on the WiFi according to the speed limit control flow instruction.
  • the set top box 92 can include a WiFi Bluetooth module and a set top box.
  • the main end of the set top box may be a set top box main chip.
  • the Bluetooth remote controller may specifically send, to the WiFi bluetooth module, a data packet carrying a preset data volume indication instruction, where the WiFi Bluetooth module transmits the data packet to the main chip.
  • the main chip writes a speed limit control flow instruction in the WiFi bluetooth module through the asynchronous transmitter interface, and the WiFi bluetooth module performs speed limit control on the WiFi according to the speed limit control flow instruction.
  • the embodiment of the present disclosure provides a set-top box WiFi and Bluetooth coexistence optimization system, and the system includes a set top box Bluetooth remote controller.
  • the set top box parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume indication instruction.
  • the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction.
  • the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller.
  • the embodiment of the present disclosure further provides a computer readable storage medium, where the computer program is stored, and the program is executed by the processor.
  • the following steps are implemented: the set top box receives the data packet sent by the Bluetooth remote controller, and parses the data packet at the Bluetooth protocol layer; if the data packet is parsed and carries the preset data volume indication instruction, the set top box is written on the set top box.
  • the preset data quantity indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data quantity threshold; and according to the speed limit control flow instruction, performing WiFi on the Speed limit control.
  • the embodiment of the present disclosure further provides a set top box, as shown in FIG. 11, including the memory 111, the processor 112, and the storage in the memory 111. And a computer program running on the processor 112, the processor 112 performing the following steps: the set top box receives the data packet sent by the Bluetooth remote controller, and parses the data packet at the Bluetooth protocol layer; If the parsing out the data packet carries a preset data volume indication instruction, write a speed limit control flow instruction on the set top box, where the preset data volume indication instruction is used to indicate that the Bluetooth remote control performs a larger amount of data. Or a quantity transmission equal to a preset data amount threshold; and the speed limit control is performed on the WiFi according to the speed limit control flow instruction.
  • the embodiment of the present disclosure further provides another computer readable storage medium storing computer executable instructions, the computer executable instructions Used to perform any of the above methods.
  • the set top box includes: a processor 131 and a memory 133; and may also include a communication interface (Communications). Interface 132 and bus 134.
  • the processor 131, the memory 133, and the communication interface 132 can complete communication with each other through the bus 134.
  • Communication interface 132 can be used for information transfer.
  • the processor 131 can call the logic instructions in the memory 133 to perform any of the methods of the above embodiments.
  • the memory 133 may include a storage program area and a storage data area, and the storage program area may store an operating system and an application required for at least one function.
  • the storage data area can store data and the like created according to the use of the set top box.
  • the memory may include, for example, a volatile memory of a random access memory, and may also include a non-volatile memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid state storage device.
  • the logic instructions in the memory 133 described above can be implemented in the form of software functional units and sold or used as separate products, the logic instructions can be stored in a computer readable storage medium.
  • the technical solution of the present disclosure may be embodied in the form of a computer software product, which may be stored in a storage medium, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) All or part of the steps of the method described in this embodiment are performed.
  • the storage medium may be a non-transitory storage medium or a transitory storage medium.
  • the non-transitory storage medium may include: a USB flash drive, a mobile hard disk, and a read-only memory (Read-Only Memory, ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.
  • a Bluetooth remote controller includes a memory 121, a processor 122, and is stored in the memory 121 and can be processed.
  • the computer program running on the processor 122 when the processor 122 executes the program, the following steps are implemented: the Bluetooth remote controller determines whether a quantity transmission of a data amount greater than or equal to a preset data amount threshold is required; if necessary, sending to the set top box Carrying a data packet with a preset data volume indication instruction, so that the set top box writes the speed limit control flow instruction locally, and performs speed limit control on the WiFi according to the speed limit control flow instruction.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • Various component embodiments of the present disclosure may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some of some or all of the components in a set-top box WiFi and Bluetooth coexistence optimization device or system in accordance with embodiments of the present disclosure. Or all features.
  • the present disclosure may also be implemented as a device or device program (eg, a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the present disclosure may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

Disclosed by the present disclosure are a set top box-based coexistence optimization method, device and system for WiFi and Bluetooth, the method comprising: a set top box receiving and parsing a data packet sent by a Bluetooth remote control; if learned by means of parsing that the data packet carries a preset data volume marking instruction, writing in a speed-limiting flow control instruction on the set top box, the preset data volume marking instruction being used to mark the Bluetooth controller carrying out transmission of a volume of data that is greater than or equal to a preset data volume threshold; and carrying out speed-limiting flow control according to the speed-limiting flow control instruction.

Description

基于机顶盒的WiFi和蓝牙共存优化方法、装置及系统  WiFi and Bluetooth coexistence optimization method, device and system based on set top box
技术领域Technical field
本公开涉及机顶盒技术领域,例如涉及一种基于机顶盒WiFi和蓝牙共存优化方法、装置及系统。The present disclosure relates to the field of set top box technologies, for example, to a method, device and system for optimizing a WiFi and Bluetooth coexistence based on a set top box.
背景技术Background technique
随着通信技术的不断发展,大部分机顶盒开始支持无线网络传输(Wireless Fidelity,WiFi)功能和蓝牙(Bluetooth)功能。其中,WiFi可以为符合802.11b/g标准的无线局域网(Wireless Local Area Networks ,WLAN)设备,它们工作在2.4G频段, 最多支持14个信道(Channel),频率从2412MHz到2484MHz,各个国家标准不一样, 每个Channel的频宽是22MHz,从中心频点算起左右各11MHz。蓝牙也是工作在2.4G频段的,蓝牙的频段是从2401MHz 到2479MHz,每个Channel占1MHz,共79个channel。With the continuous development of communication technology, most set-top boxes begin to support wireless network transmission (Wireless Fidelity, WiFi) and Bluetooth. Among them, WiFi can be 802.11b/g compliant wireless LAN (Wireless Local Area Networks, WLAN) devices that operate in the 2.4G band, Supports up to 14 channels, ranging from 2412MHz to 2484MHz, different national standards. The bandwidth of each channel is 22MHz, which is 11MHz from the center frequency. Bluetooth is also working in the 2.4G band, and the Bluetooth band is from 2401MHz. Up to 2479MHz, each channel occupies 1MHz, a total of 79 channels.
现有技术中,在机顶盒的很多场景要求WiFi和蓝牙同时工作。由于WiFi和蓝牙基本上工作在同一频段,共同存在于一个模组之上,共用天线资源,二者同时工作会有互相干扰的现象,尤其数据量越大,天线资源占用越多,二者彼此干扰越严重,导致WiFi和蓝牙的共存性能较低。In the prior art, many scenarios in a set top box require WiFi and Bluetooth to work simultaneously. Since WiFi and Bluetooth basically work in the same frequency band and coexist on one module and share antenna resources, the two work at the same time will interfere with each other. In particular, the larger the amount of data, the more antenna resources are occupied, and the two The more serious the interference, the lower the coexistence performance of WiFi and Bluetooth.
发明内容Summary of the invention
有鉴于此,本公开提供一种基于机顶盒WiFi和蓝牙共存优化方法、装置及系统,主要目的在于在能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。In view of this, the present disclosure provides a method, a device and a system for optimizing a WiFi and Bluetooth coexistence based on a set top box. The main purpose is to overcome the problem of coexistence of WiFi and Bluetooth coexistence and improve the coexistence performance of WiFi and Bluetooth.
第一方面,本实施例提供了一种基于机顶盒的WiFi和蓝牙共存优化方法,包括:In a first aspect, the embodiment provides a WiFi and Bluetooth coexistence optimization method based on a set top box, including:
机顶盒接收并解析蓝牙遥控器发送的数据包;The set top box receives and parses the data packet sent by the Bluetooth remote controller;
若所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;And if the data packet carries a preset data volume indication instruction, writing a speed limit control flow instruction on the set top box, where the preset data volume indication instruction is used to indicate that the data volume of the Bluetooth remote controller is greater than or equal to The number of preset data volume thresholds is transmitted;
根据所述限速控流指令,对WiFi进行限速控流。According to the speed limit control flow instruction, the WiFi is limited in speed control.
优选地,本实施例中提供的基于机顶盒的WIFi和蓝牙共存优化方法中所述预设数据量标示指令具体用于标示所述蓝牙遥控器进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。Preferably, the preset data volume indication instruction in the set-top box-based WIFi and Bluetooth coexistence optimization method provided in this embodiment is specifically used to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio. data transmission.
优选地,本实施例提供的基于机顶盒的WIFi和蓝牙共存优化方法中所述机顶盒包括WiFi蓝牙模组和机顶盒主端,所述机顶盒接收并解析蓝牙遥控器发送的数据包包括:Preferably, in the set-top box-based WIFi and Bluetooth coexistence optimization method provided by the embodiment, the set top box includes a WiFi Bluetooth module and a set top box main end, and the set top box receives and parses the data packet sent by the Bluetooth remote controller, including:
所述WiFi蓝牙模组接收蓝牙遥控器发送的数据包,并将所述数据包传输给所述机顶盒主端;以及Receiving, by the WiFi Bluetooth module, a data packet sent by a Bluetooth remote controller, and transmitting the data packet to a primary end of the set top box;
所述机顶盒主端在蓝牙协议层对所述数据包进行解析。The set top box of the set top box parses the data packet at a Bluetooth protocol layer.
优选地,本实施例提供的基于机顶盒的WIFi和蓝牙共存优化方法中所述若解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令包括:Preferably, if the data packet carries a preset data volume indication instruction, the set-top box-based WIFi and Bluetooth coexistence optimization method provided in the embodiment includes: writing a speed limit control flow instruction on the set top box includes :
若所述机顶盒主端解析出所述数据包携带有预设数据量标示指令,则通过异步收发传输器接口在所述WiFi蓝牙模组上写入限速控流指令;If the main unit of the set top box parses that the data packet carries a preset data quantity indication instruction, write a speed limit control flow instruction on the WiFi bluetooth module through an asynchronous transceiver interface;
所述根据所述限速控流指令,对WiFi进行限速控流包括:According to the speed limit control flow instruction, the speed limit control of the WiFi includes:
所述WiFi蓝牙模组接收到所述限速控流指令后,根据所述限速控流指令,对WiFi进行限速控流。After receiving the speed limit control flow instruction, the WiFi bluetooth module performs speed limit control on the WiFi according to the speed limit control flow instruction.
第二方面,本实施例中还提供另一种基于机顶盒的WIFi和蓝牙共存优化方法:In the second aspect, another WIFi and Bluetooth coexistence optimization method based on the set top box is also provided in this embodiment:
蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输;The Bluetooth remote controller determines whether a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold is required;
若需要,则向机顶盒发送携带有预设数据量标示指令的数据包,以便于所述机顶盒在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。If necessary, sending a data packet carrying a preset data volume indication instruction to the set top box, so that the set top box can locally write the speed limit control flow instruction, and performing speed limit control on the WiFi according to the speed limit control flow instruction. flow.
优选地,本实施例中提供的基于机顶盒的WIFi和蓝牙共存优化方法中所述蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输包括:Preferably, the Bluetooth remote controller in the set-top box-based WIFi and Bluetooth coexistence optimization method provided in the embodiment determines whether the amount of data required to be greater than or equal to the preset data amount threshold is:
蓝牙遥控器确定是否需要进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。The Bluetooth remote control determines whether upgrade data transmission is required, Bluetooth voice data transmission or Bluetooth audio data transmission.
第三方面,本实施例还提供一种基于机顶盒的WiFi和蓝牙共存优化装置,所述装置包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的WiFi和蓝牙共存优化程序,所述WiFi和蓝牙共存优化程序包括:In a third aspect, the embodiment further provides a set-top box-based WiFi and Bluetooth coexistence optimization device, the device comprising: a processor, a memory, and a WiFi and a Bluetooth stored on the memory and operable on the processor The coexistence optimization program, the WiFi and Bluetooth coexistence optimization program includes:
接收单元,设置为接收蓝牙遥控器发送的数据包;a receiving unit, configured to receive a data packet sent by the Bluetooth remote controller;
解析单元,设置为对所述接收单元接收的所述数据包进行解析;a parsing unit configured to parse the data packet received by the receiving unit;
写入单元,设置为若所述解析单元解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;a writing unit, configured to write a speed limit control flow instruction on the set top box if the parsing unit parses out that the data packet carries a preset data quantity indication instruction, where the preset data quantity indication instruction is used Marking, by the Bluetooth remote controller, a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold;
限速控流单元,设置为根据所述写入单元写入的所述限速控流指令,对WiFi进行限速控流。The speed limit control unit is configured to perform speed limit control on the WiFi according to the speed limit flow control command written by the writing unit.
优选地,本实施例中提供的基于机顶盒的WiFi和蓝牙共存优化装置中所述预设数据量标示指令具体设置为标示所述蓝牙遥控器进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。Preferably, the preset data volume indication instruction in the set-top box-based WiFi and Bluetooth coexistence optimization apparatus provided in this embodiment is specifically configured to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio. data transmission.
第四方面,本实施例还提供另一种基于机顶盒的WiFi和蓝牙共存优化装置,所述装置包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的WiFi和蓝牙共存优化程序,所述WiFi和蓝牙共存优化程序包括:In a fourth aspect, the embodiment further provides another set-top box-based WiFi and Bluetooth coexistence optimization device, the device comprising: a processor, a memory, and a WiFi and stored on the memory and operable on the processor Bluetooth coexistence optimization program, the WiFi and Bluetooth coexistence optimization program includes:
确定单元,设置为确定蓝牙遥控器是否需要进行数据量大于或者等于预设数据量阈值的数量传输;a determining unit, configured to determine whether the Bluetooth remote controller needs to transmit a quantity whose data amount is greater than or equal to a preset data amount threshold;
发送单元,设置为若所述确定单元需要进行数据量大于或者等于预设数据量阈值的数量传输,则向机顶盒发送携带有预设数据量标示指令的数据包,以便于所述机顶盒在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。a sending unit, configured to: if the determining unit needs to perform a quantity transmission with a data amount greater than or equal to a preset data amount threshold, send a data packet carrying a preset data quantity indication instruction to the set top box, so that the set top box writes locally The speed limit control flow instruction is entered, and the speed limit flow control of the WiFi is performed according to the speed limit control flow instruction.
第五方面,本实施例还提供一种机顶盒,包括:In a fifth aspect, the embodiment further provides a set top box, including:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行如述的机顶盒执行方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform a set top box execution method as described.
第六方面,本实施例还提供一种蓝牙遥控器,包括:In a sixth aspect, the embodiment further provides a Bluetooth remote controller, including:
至少一个处理器;以及At least one processor;
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行如述的蓝牙遥控器执行方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform a Bluetooth remote control execution method as described.
第七方面,本实施例还提供一种计算机可读存储介质,存储有处理器可执行指令,所述计算机可执行指令用于执行如上所述的机顶盒方法。In a seventh aspect, the embodiment further provides a computer readable storage medium storing processor executable instructions for performing a set top box method as described above.
第八方面,本实施例还提供一种计算机可读存储介质,存储有处理器可执行指令,所述计算机可执行指令用于执行如上所述的蓝牙遥控器执行方法。In an eighth aspect, the embodiment further provides a computer readable storage medium storing processor executable instructions for performing a Bluetooth remote control execution method as described above.
第九方面,本实施例还提供一种基于机顶盒的WiFi和蓝牙共存优化系统,所述系统包括至少一个机顶盒,以及至少一个蓝牙遥控器;其中In a ninth aspect, the embodiment further provides a set-top box-based WiFi and Bluetooth coexistence optimization system, the system comprising at least one set top box, and at least one Bluetooth remote controller;
所述蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输;若需要,则向所述机顶盒发送携带有预设数据量标示指令的数据包;Determining, by the Bluetooth remote controller, whether a quantity transmission with a data amount greater than or equal to a preset data amount threshold is required; if necessary, transmitting, to the set top box, a data packet carrying a preset data quantity indication instruction;
所述机顶盒接收并解析蓝牙遥控器发送的数据包;若所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;The set top box receives and parses a data packet sent by the Bluetooth remote controller; if the data packet carries a preset data volume indication instruction, writing a speed limit control flow instruction on the set top box, the preset data volume marking instruction a quantity transmission for indicating that the Bluetooth remote controller performs a data amount greater than or equal to a preset data amount threshold;
所述机顶盒根据所述限速控流指令,对WiFi进行限速控流。The set top box controls the speed limit of the WiFi according to the speed limit control flow instruction.
本公开提供一种基于机顶盒WiFi和蓝牙共存优化方法、装置及系统,通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,确保蓝牙遥控器大数据量正常高效传输,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。The present disclosure provides a method, a device and a system for optimizing a WiFi and a Bluetooth coexistence based on a set-top box. By parsing a data packet sent by a Bluetooth remote controller, it can be parsed whether the data packet carries a preset data volume indication instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured. The normal and efficient transmission, in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure, and the above-described and other objects, features and advantages of the present disclosure can be more clearly understood. Specific embodiments of the present disclosure are specifically described below.
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:
图1示出了本公开实施例提供的一种基于机顶盒WiFi和蓝牙共存优化方法流程图;FIG. 1 is a flowchart of a method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure;
图2示出了本公开实施例提供的另一种基于机顶盒WiFi和蓝牙共存优化方法流程图;FIG. 2 is a flowchart of another method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure;
图3示出了本公开实施例提供的又一种基于机顶盒WiFi和蓝牙共存优化方法流程图;FIG. 3 is a flowchart of still another method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure;
图4示出了本公开实施例提供的再一种基于机顶盒WiFi和蓝牙共存优化方法流程图;FIG. 4 is a flowchart of still another method for optimizing a WiFi and Bluetooth coexistence based on a set top box according to an embodiment of the present disclosure;
图5示出了本公开实施例提供的一种基于机顶盒WiFi和蓝牙共存优化装置的结构示意图;FIG. 5 is a schematic structural diagram of a set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure;
图6示出了本公开实施例提供的另一种基于机顶盒WiFi和蓝牙共存优化装置的结构示意图;FIG. 6 is a schematic structural diagram of another set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure;
图7示出了本公开实施例提供的又一种基于机顶盒WiFi和蓝牙共存优化装置的结构示意图;FIG. 7 is a schematic structural diagram of still another set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure;
图8示出了本公开实施例提供的再一种基于机顶盒WiFi和蓝牙共存优化装置的结构示意图;FIG. 8 is a schematic structural diagram of still another set-top box WiFi and Bluetooth coexistence optimization apparatus according to an embodiment of the present disclosure;
图9示出了本公开实施例提供的一种基于机顶盒WiFi和蓝牙共存优化系统的结构示意图;FIG. 9 is a schematic structural diagram of a set-top box WiFi and Bluetooth coexistence optimization system according to an embodiment of the present disclosure;
图10示出了本公开实施例提供的另一种基于机顶盒WiFi和蓝牙共存优化系统的结构示意图;FIG. 10 is a schematic structural diagram of another set-top box WiFi and Bluetooth coexistence optimization system according to an embodiment of the present disclosure;
图11示出了本公开实施例提供的一种机顶盒的实体结构示意图;FIG. 11 is a schematic diagram showing the physical structure of a set top box according to an embodiment of the present disclosure;
图12示出了本公开实施例提供的一种机顶盒的硬件结构示意图;FIG. 12 is a schematic structural diagram of hardware of a set top box according to an embodiment of the present disclosure;
图13示出了本公开实施例提供的一种蓝牙遥控器的实体结构示意图。FIG. 13 is a schematic diagram showing the physical structure of a Bluetooth remote controller according to an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood and the scope of the disclosure will be fully disclosed.
本公开实施例提供了一种基于机顶盒WiFi和蓝牙共存优化方法,如图1所示,所述方法包括:An embodiment of the present disclosure provides a method for optimizing a WiFi and Bluetooth coexistence based on a set top box. As shown in FIG. 1 , the method includes:
在步骤101中,机顶盒接收并解析蓝牙遥控器发送的数据包。In step 101, the set top box receives and parses the data packet sent by the Bluetooth remote control.
其中,所述数据包,可以包括数据包头、有效数据、数据包尾、校验位。The data packet may include a data packet header, valid data, a data packet tail, and a check digit.
机顶盒接收到所述数据包后会在其蓝牙协议层判断所述数据包是否包含有效数据;若是,则根据所述数据包中对应的校验位确定该有效数据是否为预设数据量标示指令。在本公开实施例中,蓝牙遥控器在进行大量的数据传输之前,可以预先向机顶盒发送携带有预设数据量标示指令的数据包。以使机顶盒在接收到蓝牙遥控器传输的大量数据时,可根据所述预设数据量标示指令解析出对应数量的数据包。After receiving the data packet, the set top box determines, at its Bluetooth protocol layer, whether the data packet contains valid data; if yes, determining whether the valid data is a preset data volume indication instruction according to a corresponding check digit in the data packet. . In the embodiment of the present disclosure, the Bluetooth remote controller may send a data packet carrying a preset data amount indication instruction to the set top box before performing a large amount of data transmission. In order for the set top box to receive a large amount of data transmitted by the Bluetooth remote controller, the corresponding number of data packets may be parsed according to the preset data volume indication instruction.
在步骤102中,若所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令。In step 102, if the data packet carries a preset data volume indication instruction, a speed limit control flow instruction is written on the set top box.
其中,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数据传输。所述预设数据量标示指令可以以固定字符串形式表示,而所述固定字符串则可以根据用户实际情况进行自定义,本公开实施例在此不做限定。所述预设数据量阈值可以根据用户实际需要进行设置,也可以根据系统默认模式进行设置,本公开实施例不做限定。The preset data amount indication instruction is used to indicate that the Bluetooth remote controller performs data transmission that the data amount is greater than or equal to a preset data amount threshold. The preset data amount indication instruction may be represented by a fixed character string, and the fixed character string may be customized according to the actual situation of the user, and the embodiment of the present disclosure is not limited herein. The preset data volume threshold may be set according to the actual needs of the user, or may be set according to the system default mode, which is not limited in the embodiment of the present disclosure.
对于本公开实施例,若机顶盒解析出所述数据包携带有预设数据量标示指令,则说明蓝牙遥控器需要进行大数据量的数据传输,或者说明蓝牙遥控器需要进行高效地蓝牙数据传输。为了保证传输效果,通过在所述机顶盒上写入限速控流指令,以降低WiFi传输速度,并提高蓝牙对天线的占空比,从而保证蓝牙数据的高效传输。For the embodiment of the present disclosure, if the set-top box parses out that the data packet carries a preset data volume indication instruction, it indicates that the Bluetooth remote controller needs to perform data transmission of a large amount of data, or that the Bluetooth remote controller needs to perform efficient Bluetooth data transmission. In order to ensure the transmission effect, the speed limit control flow instruction is written on the set top box to reduce the WiFi transmission speed, and the duty ratio of the Bluetooth to the antenna is improved, thereby ensuring efficient transmission of the Bluetooth data.
在步骤103中,根据所述限速控流指令,对WiFi进行限速控流。In step 103, the WiFi is throttled and controlled according to the speed limit control flow instruction.
其中,所述限速控流可以为限制WiFi数据传输速度和控制WiFi数据传输流量。具体为:通过减小WiFi的传输带宽分配的方式,实现限制WiFi数据传输速度;例如,原始传输带宽为2Mb,减小为1Mb,即可以实现限制WiFi数据传输速度;通过减小WiFi传输数据量大小的方式,实现控制WiFi数据传输流量,例如,原始WiFi传输数据量大小为0.5Mb,减小为0.3Mb,即可以实现控制WiFi数据传输流量。由此,通过对WiFi进行限速控流,以降低WiFi对共享天线资源的占空比,并提高蓝牙对共享天线资源的占空比,从而减小WiFi数据传输对蓝牙数据传输的干扰。The speed limit control flow may limit the WiFi data transmission speed and control the WiFi data transmission traffic. Specifically, the WiFi data transmission speed is limited by reducing the transmission bandwidth allocation of the WiFi; for example, the original transmission bandwidth is 2 Mb, and the reduction is 1 Mb, that is, the WiFi data transmission speed can be limited; and the WiFi transmission data volume is reduced. The size of the way to achieve control of WiFi data transmission traffic, for example, the original WiFi transmission data size is 0.5Mb, reduced to 0.3Mb, that is, can control the WiFi data transmission traffic. Therefore, by controlling the speed limit of the WiFi, the duty ratio of the WiFi to the shared antenna resources is reduced, and the duty ratio of the Bluetooth to the shared antenna resources is increased, thereby reducing the interference of the WiFi data transmission to the Bluetooth data transmission.
本公开实施例提供的一种基于机顶盒WiFi和蓝牙共存优化方法,通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,提高蓝牙对共享天线资源的占空比,减小WiFi数据传输对蓝牙数据传输的干扰,确保蓝牙遥控器大数据量稳定并高效地传输,由此克服WiFi和蓝牙因为共存而产生的冲突问题,提升WiFi和蓝牙的共存性能。According to the set-top box WiFi and Bluetooth coexistence optimization method provided by the embodiment of the present disclosure, by parsing the data packet sent by the Bluetooth remote controller, it can be parsed whether the data packet carries a preset data volume indication instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, where the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling the Bluetooth remote controller to transmit a large amount of data when By transmitting a preset data volume indication instruction to the set-top box, the WiFi is limited in speed control, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi data transmission to the Bluetooth data transmission is reduced, and the Bluetooth remote control is ensured. The large amount of data is transmitted stably and efficiently, thereby overcoming the conflict problem caused by the coexistence of WiFi and Bluetooth, and improving the coexistence performance of WiFi and Bluetooth.
本公开实施例提供了另一种基于机顶盒WiFi和蓝牙共存优化方法,如图2所示,所述方法包括:An embodiment of the present disclosure provides another method for optimizing a WiFi and Bluetooth coexistence based on a set top box. As shown in FIG. 2, the method includes:
在步骤201中,机顶盒的WiFi蓝牙模组接收蓝牙遥控器发送的数据包,将所述数据包传输给机顶盒的机顶盒主端。In step 201, the WiFi Bluetooth module of the set top box receives the data packet sent by the Bluetooth remote controller, and transmits the data packet to the set top box of the set top box.
其中,所述机顶盒可以包括WiFi蓝牙模组和机顶盒主端。所述WiFi蓝牙模组为WiFi和蓝牙共存的单个模组,即WiFi蓝牙模组同时支持WiFi功能和蓝牙功能,不同种类的机顶盒的WiFi蓝牙模组各不相同。所述机顶盒主端可以为机顶盒主芯片。The set top box may include a WiFi Bluetooth module and a set top box main end. The WiFi Bluetooth module is a single module in which WiFi and Bluetooth coexist, that is, the WiFi Bluetooth module supports both the WiFi function and the Bluetooth function, and the WiFi Bluetooth modules of different types of set top boxes are different. The main end of the set top box may be a set top box main chip.
对于本公开实施例,所述将所述数据包传输给机顶盒的机顶盒主端的步骤具体可以包括:通过异步收发传输器接口(Universal Asynchronous Receiver/Transmitter ,UART)或者通用串行总线接口(Universal Serial Bus ,USB)将所述数据包传输给所述机顶盒主端。其中,所述UART接口能够实现全双工传输,所述USB接口能够实现所述WiFi蓝牙模组与所述机顶盒主端直接交互数据;通过UART接口或者USB接口将所述数据包传输给所述机顶盒主端,能够保证数据包传输的速度和准确性。For the embodiment of the present disclosure, the step of transmitting the data packet to the set top box of the set top box may specifically include: using an asynchronous transceiver interface (Universal) Asynchronous Receiver/Transmitter, UART) or Universal Serial Bus Interface (Universal Serial Bus) , USB) transmits the data packet to the set top box master. The UART interface can implement full-duplex transmission, and the USB interface can directly exchange data between the WiFi Bluetooth module and the set-top box main end; and transmit the data packet to the UART interface or the USB interface. The top of the set-top box can guarantee the speed and accuracy of data packet transmission.
在步骤202中,机顶盒主端在蓝牙协议层对所述数据包进行解析。In step 202, the set top box master parses the data packet at the Bluetooth protocol layer.
其中,蓝牙传输需要是根据蓝牙传输协议进行的,蓝牙传输协议又包括逻辑链路控制和适配协议(Logical Link Control and Adaptation Protocol,Among them, the Bluetooth transmission needs to be carried out according to the Bluetooth transmission protocol, and the Bluetooth transmission protocol includes a logical link control and adaptation protocol (Logical). Link Control and Adaptation Protocol,
L2CAP)无线射频通信(RFCOMM)和业务搜索协议(SDP)。在这样的协议下,通过蓝牙进行传输的数据包是具有一定格式的,例如可以包括数据包头、有效数据、数据包尾、校验位;机顶盒接收到所述蓝牙数据包后,会在其蓝牙协议层中根据该协议对数据包的内容进行解读,从而确定数据包中各部分内容的含义,由此机顶盒主端根据所述蓝牙协议层完成所述数据包的解析。L2CAP) Radio Frequency Communications (RFCOMM) and Service Search Protocol (SDP). Under such a protocol, a data packet transmitted through Bluetooth has a certain format, for example, may include a data packet header, valid data, a data packet tail, and a check digit; after receiving the Bluetooth data packet, the set top box may be in its Bluetooth. The protocol layer interprets the content of the data packet according to the protocol, so as to determine the meaning of each part of the data packet, and the master of the set top box completes the parsing of the data packet according to the Bluetooth protocol layer.
在步骤203中,若机顶盒主端解析出数据包携带有预设数据量标示指令,则通过所述UART接口在WiFi蓝牙模组上写入限速控流指令。In step 203, if the primary end of the set-top box parses the data packet carrying the preset data volume indication instruction, the speed limit control flow instruction is written on the WiFi bluetooth module through the UART interface.
其中,所述预设数据量标示指令可以用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输。所述预设数据量标示指令具体可以用于标示所述蓝牙遥控器进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输,具体地,若所述蓝牙遥控器进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输,则是说明所述蓝牙遥控器需要进行大数据量的数据传输或者需要保证机顶盒优先进行正常高效蓝牙数据传输。The preset data volume indication instruction may be used to indicate that the Bluetooth remote controller performs a quantity transmission in which the data volume is greater than or equal to a preset data volume threshold. The preset data volume indication instruction may be specifically used to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio data transmission. Specifically, if the Bluetooth remote controller performs upgrade data transmission, performing Bluetooth voice data transmission or Bluetooth audio data transmission means that the Bluetooth remote controller needs to transmit data with a large amount of data or need to ensure that the set top box preferentially performs normal and efficient Bluetooth data transmission.
在步骤204中,WiFi蓝牙模组接收到所述限速控流指令后,根据所述限速控流指令,对WiFi进行限速控流。In step 204, after receiving the speed limit control flow instruction, the WiFi bluetooth module performs speed limit control on the WiFi according to the speed limit control flow instruction.
对于本公开实施例,所述机顶盒与所述蓝牙遥控器进行配对后,即使无目标蓝牙数据传输,为了保持二者连接,每隔一段时间彼此需要发包进行一次同步。在蓝牙遥控器传输数据仅是与机顶盒保持连接的情况下,为了减少蓝牙对天线的占空比,降低蓝牙数据传输对WiFi数据传输的干扰,所述方法还包括:当所述机顶盒与所述蓝牙遥控器进行配对时,接收所述蓝牙遥控器发送的同步包频率更新请求,所述请求中携带有同步包频率;根据所述更新请求降低所述同步包频率。在降低所述同步包频率,且所述机顶盒与所述蓝牙遥控器完成配对后,所述机顶盒与所述蓝牙遥控器会以降低后的同步包频率进行同步握手。For the embodiment of the present disclosure, after the set top box is paired with the Bluetooth remote controller, even if there is no target Bluetooth data transmission, in order to maintain the connection between the two, it is necessary to send a packet to each other for synchronization at intervals. In the case that the Bluetooth remote control transmits data only to remain connected to the set top box, in order to reduce the duty cycle of the Bluetooth to the antenna and reduce the interference of the Bluetooth data transmission to the WiFi data transmission, the method further includes: when the set top box is When the Bluetooth remote controller performs pairing, receiving a synchronization packet frequency update request sent by the Bluetooth remote controller, where the request carries a synchronization packet frequency; and reducing the synchronization packet frequency according to the update request. After the synchronization packet frequency is lowered, and the set top box is paired with the Bluetooth remote controller, the set top box and the Bluetooth remote controller perform synchronous handshake with the reduced synchronization packet frequency.
对于本公开实施例,根据蓝牙协议栈规定流程:在机顶盒检测到已断开与原配对的蓝牙遥控器的连接后,蓝牙遥控器会每隔一段时间向机顶盒发送回连数据包,所述回连数据包包括数据包头、有效数据、数据包尾、校验位等参数,方便机顶盒进行扫描和回连,一旦扫描到蓝牙遥控器发送的回连数据包,就会根据所述回连数据包进行回连。由于机顶盒在进行后台扫描时,会占用较多的共享天线资源,因此可将机顶盒与原配对的蓝牙遥控器断开连接,以减少蓝牙对天线的占空比,降低蓝牙数据传输对WiFi数据传输的干扰,从而保证WiFi当前能正常进行传输,避免机顶盒当前所播放的视频出现卡顿现象。所述方法还包括:当所述机顶盒检测到已配对的蓝牙遥控器断开连接时,增加蓝牙协议栈中回连数据包的发包频率和/或发包时长。通过增加蓝牙协议栈中回连包的发包频率和/或发包时长,以降低WiFi蓝牙模组的蓝牙扫描频率和蓝牙扫描时长,从而可以减少蓝牙对天线的占空比。For the embodiment of the present disclosure, according to the Bluetooth protocol stack specification process: after the set top box detects that the connection with the original paired Bluetooth remote controller has been disconnected, the Bluetooth remote controller sends a connection data packet to the set top box at intervals, the back The data packet includes data packet header, valid data, data packet tail, check digit and other parameters, which facilitates the set-top box to scan and reconnect, and once scanned to the Bluetooth remote control, the connected data packet is sent according to the connected data packet. Make back connections. Since the set-top box uses more shared antenna resources when performing background scanning, the set-top box can be disconnected from the original paired Bluetooth remote controller to reduce the duty ratio of the Bluetooth to the antenna and reduce the Bluetooth data transmission to the WiFi data transmission. The interference ensures that the WiFi can be transmitted normally, avoiding the phenomenon that the video currently being played by the set-top box is stuck. The method further includes: when the set top box detects that the paired Bluetooth remote controller is disconnected, increasing a packet sending frequency and/or a packet sending duration of the connected data packet in the Bluetooth protocol stack. By increasing the frequency of packet sending and/or packet sending time of the return packet in the Bluetooth protocol stack, the Bluetooth scanning frequency and the Bluetooth scanning duration of the WiFi Bluetooth module can be reduced, thereby reducing the duty cycle of the Bluetooth to the antenna.
对于本公开实施例,为了方便机顶盒和蓝牙遥控器的配对,避免蓝牙配对WiFi的干扰,所述方法还包括:当所述机顶盒开机时,检测所述机顶盒是否已与所述蓝牙遥控器配对;若否,则进行蓝牙扫描并通过提示用户方式完成所述机顶盒与所述蓝牙遥控器的配对,或者在接收到所述蓝牙遥控器发送的特定红外码值时,弹出配对界面,关闭WiFi扫描,并通过蓝牙扫描方式自动完成所述机顶盒与所述蓝牙遥控器的配对。For the embodiment of the present disclosure, in order to facilitate the pairing of the set top box and the Bluetooth remote controller, and avoid the interference of the Bluetooth pairing WiFi, the method further includes: when the set top box is powered on, detecting whether the set top box is paired with the Bluetooth remote controller; If not, performing a Bluetooth scan and completing the pairing of the set top box with the Bluetooth remote controller by prompting the user, or when receiving the specific infrared code value sent by the Bluetooth remote controller, popping up the pairing interface and turning off the WiFi scan. And the pairing of the set top box and the Bluetooth remote controller is automatically completed by using a Bluetooth scanning method.
对于本公开实施例,在网络传输环境较差的情况下,蓝牙遥控器传输给机顶盒的数据包通常会传输失败,在数据包传输失败时,机顶盒会指示蓝牙遥控器重新传输数据包,多次重新传输数据包,会占用较多的共享天线资源,为了增加机顶盒抗干扰性,以减少重新传输数据包的发送,减少蓝牙对WiFi的干扰,所述方法还包括:向所述蓝牙遥控器发送增大发射功率指令,所述增大发射功率指令用于指示所述蓝牙遥控器增大发射功率。 通过增大蓝牙遥控器的发送功率,可保证机顶盒能及时接收到蓝牙遥控器发送的数据包,提高数据传输的抗干扰性、稳定性,从而有效减少共享天线资源,提高数据传送的效率。For the embodiment of the present disclosure, in the case that the network transmission environment is poor, the data packet transmitted by the Bluetooth remote controller to the set top box usually fails to be transmitted. When the data packet transmission fails, the set top box instructs the Bluetooth remote controller to retransmit the data packet multiple times. Re-transmitting the data packet will occupy more shared antenna resources. In order to increase the anti-interference of the set-top box, to reduce the transmission of the re-transmitted data packet and reduce the interference of the Bluetooth to the WiFi, the method further includes: sending the Bluetooth remote control to the remote control An increase transmit power command is used to instruct the Bluetooth remote control to increase transmit power. By increasing the transmission power of the Bluetooth remote control, the set-top box can receive the data packet sent by the Bluetooth remote controller in time, thereby improving the anti-interference and stability of the data transmission, thereby effectively reducing the shared antenna resources and improving the efficiency of data transmission.
对于本公开实施例,音频数据的数据量传输时,蓝牙会占用较多的共享天线资源,为了减小音频数据传输的数据量,从而减小音频传输时蓝牙对WiFi的干扰,所述方法还包括:增大所述机顶盒的蓝牙音频压缩率。其中音频压缩指的是对原始数字音频信号流(PCM编码)运用适当的数字信号处理技术,在不损失有用信息量,或所引入损失可忽略的条件下,降低(压缩)其码率,从而减小音频文件的体积。通过增大蓝牙音频压缩率,减小蓝牙音频文件,从而减小音频数据传输的数据量,也就减小音频传输时蓝牙对WiFi的干扰。For the embodiment of the present disclosure, when the data volume of the audio data is transmitted, the Bluetooth may occupy more shared antenna resources, and in order to reduce the amount of data transmitted by the audio data, thereby reducing the interference of Bluetooth to WiFi during audio transmission, the method further Including: increasing the Bluetooth audio compression rate of the set top box. Wherein audio compression refers to the use of appropriate digital signal processing techniques for the original digital audio signal stream (PCM coding) to reduce (compress) its code rate without loss of useful information or negligible loss. Reduce the volume of the audio file. By increasing the Bluetooth audio compression ratio and reducing the Bluetooth audio file, the amount of data transmitted by the audio data is reduced, and the interference of Bluetooth to WiFi during audio transmission is reduced.
本公开实施例提供的另一种基于机顶盒WiFi和蓝牙共存优化方法,本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,确保蓝牙遥控器大数据量正常高效传输,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。进一步地,本公开实施例还能够解决WiFi和蓝牙其他场景下的共存冲突问题,具体地,在所述机顶盒与所述蓝牙遥控器进行配对时,能够降低蓝牙遥控器发送的同步包频率,减少蓝牙对天线的占空比,降低蓝牙对WiFi的干扰;在所述机顶盒与所述蓝牙遥控器断开连接时,能够增加蓝牙协议栈中回连包的发包频率和/或发包时长,减少蓝牙对天线的占空比,降低蓝牙对WiFi的干扰;在所述机顶盒开机时,能够提示用户方式完成所述机顶盒与所述蓝牙遥控器的配对或者通过蓝牙扫描方式自动完成所述机顶盒与所述蓝牙遥控器的配对,方便机顶盒和蓝牙遥控器的配对,避免蓝牙配对WiFi的干扰;能够向所述蓝牙遥控器发送增大发射功率指令,增加机顶盒抗干扰性,减少重传包的发送,减少蓝牙对WiFi的干扰;能够增大所述机顶盒的蓝牙音频压缩率,减小音频传输时蓝牙对WiFi的干扰。Another set-top box WiFi and Bluetooth coexistence optimization method provided by the embodiment of the present disclosure, the set-top box of the present disclosure parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, where the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling the Bluetooth remote controller to transmit a large amount of data when By sending a preset data volume indication command to the set-top box, the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the large amount of data of the Bluetooth remote controller is ensured. Efficient transmission, which can overcome the problem of coexistence of WiFi and Bluetooth coexistence, and improve the coexistence performance of WiFi and Bluetooth. Further, the embodiment of the present disclosure can also solve the problem of coexistence conflicts in other scenarios of WiFi and Bluetooth. Specifically, when the set top box is paired with the Bluetooth remote controller, the synchronization packet frequency sent by the Bluetooth remote controller can be reduced, and the frequency is reduced. The duty ratio of the Bluetooth to the antenna reduces the interference of the Bluetooth to the WiFi; when the set top box is disconnected from the Bluetooth remote controller, the sending frequency and/or the packet sending time of the return packet in the Bluetooth protocol stack can be increased, and the Bluetooth is reduced. Reducing the interference of the antenna to the WiFi, and reducing the interference of the Bluetooth to the WiFi; when the set-top box is powered on, the user can be prompted to complete the pairing of the set-top box with the Bluetooth remote controller or automatically complete the set-top box and the Bluetooth scan mode The pairing of the Bluetooth remote controller facilitates the pairing of the set top box and the Bluetooth remote controller to avoid the interference of the Bluetooth pairing WiFi; the transmission of the transmission power command can be sent to the Bluetooth remote controller, the anti-interference of the set-top box is increased, and the transmission of the retransmission packet is reduced, and the transmission is reduced. Bluetooth interference to WiFi; can increase the Bluetooth audio compression rate of the set-top box and reduce audio transmission WiFi-Bluetooth interference.
本公开实施例提供了又一种基于机顶盒WiFi和蓝牙共存优化方法,如图3所示,所述方法包括:The embodiment of the present disclosure provides another optimization method based on the set top box WiFi and Bluetooth coexistence. As shown in FIG. 3, the method includes:
在步骤301中、蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输。In step 301, the Bluetooth remote controller determines whether a quantity transmission in which the amount of data is greater than or equal to the preset data amount threshold is required.
其中,所述预设数据量阈值可以根据用户需要进行设置,也可以根据系统默认模式进行设置,本公开实施例不做限定。The preset data volume threshold may be set according to the user's needs, or may be set according to the system default mode, which is not limited in the embodiment of the present disclosure.
需要说明的是,在蓝牙遥控器需要进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输等需要保证蓝牙数据正常高效传输时,确定需要进行数据量大于或者等于预设数据量阈值的数量传输。It should be noted that when the Bluetooth remote controller needs to perform upgrade data transmission, perform Bluetooth voice data transmission or perform Bluetooth audio data transmission, etc., it is required to ensure that the Bluetooth data is normally and efficiently transmitted, and it is determined that the data volume needs to be greater than or equal to the preset data amount threshold. Quantity transfer.
在步骤302中,若需要进行数据量大于或者等于预设数据量阈值的数量传输,则向机顶盒发送携带有预设数据量标示指令的数据包。In step 302, if it is required to perform a quantity transmission in which the data amount is greater than or equal to the preset data amount threshold, the data packet carrying the preset data amount indication instruction is sent to the set top box.
对于本公开实施例,通过向机顶盒发送携带有预设数据量标示指令的数据包,能够使得所述机顶盒在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。For the embodiment of the present disclosure, by sending the data packet carrying the preset data volume indication instruction to the set top box, the set top box can locally write the speed limit control flow instruction, and perform the WiFi on the basis of the speed limit control flow instruction. Speed limit control.
本公开实施例提供的又一种基于机顶盒WiFi和蓝牙共存优化方法,本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,确保蓝牙遥控器大数据量正常高效传输,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。Another set of WiFi and Bluetooth coexistence optimization methods based on the set-top box provided by the embodiment of the present disclosure, the set-top box of the present disclosure parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured. The normal and efficient transmission, in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
本公开实施例提供了再一种基于机顶盒WiFi和蓝牙共存优化方法,如图4所示,所述方法包括:The embodiment of the present disclosure provides another optimization method based on the set top box WiFi and Bluetooth coexistence. As shown in FIG. 4, the method includes:
在步骤401中,蓝牙遥控器确定是否需要进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。In step 401, the Bluetooth remote controller determines whether upgrade data transmission is required, Bluetooth voice data transmission or Bluetooth audio data transmission.
在步骤402中,若需要进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输,则向机顶盒发送携带有预设数据量标示指令的数据包。In step 402, if upgrade data transmission is required, Bluetooth voice data transmission or Bluetooth audio data transmission is performed, a data packet carrying a preset data volume indication instruction is sent to the set top box.
对于本公开实施例,具体可以向机顶盒的WiFi蓝牙模组发送携带有预设数据量标示指令的数据包,使得所述WiFi蓝牙模组能够将所述数据包传输给机顶盒主端,机顶盒主端通过异步传输器接口在WiFi蓝牙模组写入限速控流指令,所述WiFi蓝牙模组根据所述限速控流指令,对WiFi进行限速控流。For the embodiment of the present disclosure, the data packet carrying the preset data volume indication instruction may be sent to the WiFi Bluetooth module of the set top box, so that the WiFi Bluetooth module can transmit the data packet to the main end of the set top box, and the main part of the set top box The speed limit control flow instruction is written in the WiFi bluetooth module through the asynchronous transmitter interface, and the WiFi bluetooth module controls the speed limit of the WiFi according to the speed limit control flow instruction.
本公开实施例提供的再一种基于机顶盒WiFi和蓝牙共存优化方法,本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,确保蓝牙遥控器大数据量正常高效传输,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。According to another embodiment of the present disclosure, the set-top box of the present disclosure is configured to parse the data packet sent by the Bluetooth remote controller by parsing the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured. The normal and efficient transmission, in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
进一步地,作为图1的具体实现,本公开实施例提供了一种基于机顶盒WiFi和蓝牙共存优化装置,如图5所示,所述装置还包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的WiFi和蓝牙共存优化程序,所述WiFi和蓝牙共存优化程序包括:接收单元51、解析单元52、写入单元53和限速控流单元54。Further, as a specific implementation of FIG. 1, an embodiment of the present disclosure provides a WiFi and Bluetooth coexistence optimization device based on a set top box. As shown in FIG. 5, the device further includes: a processor, a memory, and the storage on the memory. And a WiFi and Bluetooth coexistence optimization program running on the processor, the WiFi and Bluetooth coexistence optimization program comprising: a receiving unit 51, a parsing unit 52, a writing unit 53, and a rate limiting control unit 54.
所述接收单元51,设置为接收蓝牙遥控器发送的数据包。The receiving unit 51 is configured to receive a data packet sent by a Bluetooth remote controller.
所述解析单元52,设置为对所述接收单元51接收的所述数据包进行解析。The parsing unit 52 is configured to parse the data packet received by the receiving unit 51.
所述写入单元53,设置为若所述解析单元52解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输。The writing unit 53 is configured to: if the parsing unit 52 parses that the data packet carries a preset data amount indication instruction, write a speed limit control flow instruction on the set top box, the preset data amount The marking instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold.
所述限速控流单元54,设置为根据所述写入单元53写入的所述限速控流指令,对WiFi进行限速控流。The speed limit control unit 54 is configured to perform speed limit control on the WiFi according to the speed limit flow control command written by the writing unit 53.
需要说明的是,本公开实施例提供的一种基于机顶盒WiFi和蓝牙共存优化装置所涉及各功能模块的其他相应描述,可以参考图1所示方法的对应描述,在此不再赘述。It should be noted that, in other embodiments, the corresponding descriptions of the function modules of the set-top box WiFi and the Bluetooth coexistence optimization device are provided, and the corresponding descriptions of the method shown in FIG. 1 may be referred to, and details are not described herein again.
本公开实施例提供的一种基于机顶盒WiFi和蓝牙共存优化装置,本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,确保蓝牙遥控器大数据量正常高效传输,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。According to the embodiment of the present disclosure, a set-top box WiFi and Bluetooth coexistence optimization device is provided. The set-top box of the embodiment of the present disclosure can parse whether the data packet carries a preset data quantity indication instruction by parsing a data packet sent by the Bluetooth remote controller. . At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the Bluetooth remote control big data is ensured. The normal and efficient transmission, in order to overcome the problem of coexistence of WiFi and Bluetooth coexistence, improve the coexistence performance of WiFi and Bluetooth.
进一步地,作为图2的具体实现,本公开实施例提供了另一种基于机顶盒WiFi和蓝牙共存优化装置,如图6所示,所述装置包括:接收单元61、解析单元62、写入单元63和限速控流单元64。Further, as a specific implementation of FIG. 2, the embodiment of the present disclosure provides another set-top box WiFi and Bluetooth coexistence optimization device. As shown in FIG. 6, the device includes: a receiving unit 61, a parsing unit 62, and a writing unit. 63 and a speed limit control unit 64.
所述接收单元61,设置为接收蓝牙遥控器发送的数据包。The receiving unit 61 is configured to receive a data packet sent by the Bluetooth remote controller.
所述解析单元62,设置为对所述接收单元61接收的所述数据包进行解析。The parsing unit 62 is configured to parse the data packet received by the receiving unit 61.
所述写入单元63,设置为若所述解析单元62解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输。其中,所述预设数据量标示指令具体用于标示所述蓝牙遥控器进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。The writing unit 63 is configured to: if the parsing unit 62 parses that the data packet carries a preset data amount indication instruction, write a speed limit control flow instruction on the set top box, the preset data amount The marking instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold. The preset data volume indication instruction is specifically used to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio data transmission.
所述限速控流单元64,设置为根据所述写入单元63写入的所述限速控流指令,对WiFi进行限速控流。The rate limiting control unit 64 is configured to perform rate limiting control on the WiFi according to the speed limit control flow instruction written by the writing unit 63.
所述机顶盒包括WiFi蓝牙模组和机顶盒主端,所述接收单元61可以包括:接收模块611和传输模块612。The set top box includes a WiFi Bluetooth module and a set top box, and the receiving unit 61 may include: a receiving module 611 and a transmitting module 612.
所述接收模块611,设置为接收蓝牙遥控器发送的数据包。The receiving module 611 is configured to receive a data packet sent by the Bluetooth remote controller.
所述传输模块612,设置为将所述接收模块611接收的所述数据包传输给所述机顶盒主端。The transmission module 612 is configured to transmit the data packet received by the receiving module 611 to the set top box main end.
所述解析单元62,设置为在蓝牙协议层对所述数据包进行解析。The parsing unit 62 is configured to parse the data packet at a Bluetooth protocol layer.
所述写入单元63,设置为若所述机顶盒主端解析出所述数据包携带有预设数据量标示指令,则通过异步收发传输器接口在所述WiFi蓝牙模组上写入限速控流指令;The writing unit 63 is configured to write a speed limit control on the WiFi bluetooth module through an asynchronous transceiver interface if the set top box parsing out that the data packet carries a preset data volume indication instruction Flow instruction
所述限速控流单元64,设置为接收到所述限速控流指令后,根据所述限速控流指令,对WiFi进行限速控流。The speed limit control unit 64 is configured to, after receiving the speed limit control flow instruction, perform speed limit control on the WiFi according to the speed limit control flow instruction.
所述传输模块612,设置为通过异步收发传输器接口或者通用串行总线接口将所述接收模块接收的所述数据包传输给所述机顶盒主端。The transmission module 612 is configured to transmit the data packet received by the receiving module to the set top box main end through an asynchronous transceiver interface or a universal serial bus interface.
对于本公开实施例,为了在蓝牙遥控器传输数据仅是与机顶盒保持连接的情况下,减少蓝牙对天线的占空比,降低蓝牙对WiFi的干扰,所述装置还可以包括:降低单元65。For the embodiment of the present disclosure, in order to reduce the duty ratio of the Bluetooth to the antenna and reduce the interference of the Bluetooth to the WiFi in the case where the Bluetooth remote controller transmits data only to remain connected to the set top box, the apparatus may further include: a lowering unit 65.
所述接收单元61,设置为当所述机顶盒与所述蓝牙遥控器进行配对时,接收所述蓝牙遥控器发送的同步包频率更新请求,所述请求中携带有同步包频率。The receiving unit 61 is configured to receive a synchronization packet frequency update request sent by the Bluetooth remote controller when the set top box is paired with the Bluetooth remote controller, where the request carries a synchronization packet frequency.
所述降低单元65,设置为根据所述接收单元61接收的所述更新请求降低所述同步包频率。The reducing unit 65 is configured to reduce the synchronization packet frequency according to the update request received by the receiving unit 61.
对于本公开实施例,为了在蓝牙遥控器传输数据与机顶盒断开连接时,减少蓝牙对天线的占空比,降低蓝牙对WiFi的干扰,所述装置还包括:增加单元66。For the embodiment of the present disclosure, in order to reduce the duty ratio of the Bluetooth to the antenna and reduce the interference of the Bluetooth to the WiFi when the Bluetooth remote control transmits data and disconnect from the set top box, the device further includes: an adding unit 66.
所述增加单元66,设置为当所述机顶盒检测到已配对的蓝牙遥控器断开连接时,增加蓝牙协议栈中回连包的发包频率和/或发包时长。The adding unit 66 is configured to increase the sending frequency and/or the sending time of the return packet in the Bluetooth protocol stack when the set top box detects that the paired Bluetooth remote controller is disconnected.
对于本公开实施例,为了方便机顶盒和蓝牙遥控器的配对,避免蓝牙配对WiFi的干扰,所述装置还包括:检测单元67和配对单元68。For the embodiment of the present disclosure, in order to facilitate the pairing of the set top box and the Bluetooth remote controller and avoid the interference of the Bluetooth pairing WiFi, the apparatus further includes: a detecting unit 67 and a pairing unit 68.
所述检测单元67,设置为当所述机顶盒开机时,检测所述机顶盒是否已与所述蓝牙遥控器配对。The detecting unit 67 is configured to detect whether the set top box is paired with the Bluetooth remote controller when the set top box is powered on.
所述配对单元68,设置为若所述检测单元67检测所述机顶盒未已与所述蓝牙遥控器配对,则进行蓝牙扫描并通过提示用户方式完成所述机顶盒与所述蓝牙遥控器的配对,或者在接收到所述蓝牙遥控器发送的特定红外码值时,弹出配对界面,关闭WiFi扫描,并通过蓝牙扫描方式自动完成所述机顶盒与所述蓝牙遥控器的配对。The pairing unit 68 is configured to: if the detecting unit 67 detects that the set top box is not paired with the Bluetooth remote controller, perform a Bluetooth scan and complete the pairing of the set top box with the Bluetooth remote controller by prompting the user manner, Or, when receiving the specific infrared code value sent by the Bluetooth remote controller, the pairing interface is popped up, the WiFi scan is turned off, and the pairing of the set top box and the Bluetooth remote controller is automatically completed by the Bluetooth scanning mode.
对于本公开实施例,在网络传输条件较差的情况下,为了增加机顶盒抗干扰性,以减少重传包的发送,减少蓝牙对WiFi的干扰,所述装置还包括:发送单元69。For the embodiment of the present disclosure, in the case that the network transmission condition is poor, in order to increase the anti-interference of the set-top box, to reduce the transmission of the retransmission packet, and reduce the interference of the Bluetooth to the WiFi, the device further includes: a sending unit 69.
所述发送单元69,设置为向所述蓝牙遥控器发送增大发射功率指令,所述增大发射功率指令用于指示所述蓝牙遥控器增大发射功率。The sending unit 69 is configured to send an increase transmit power command to the Bluetooth remote controller, where the increase transmit power command is used to instruct the Bluetooth remote controller to increase transmit power.
对于本公开实施例,为了减少音频传输时蓝牙对WiFi的干扰,所述装置还包括:增大单元60。For the embodiment of the present disclosure, in order to reduce the interference of Bluetooth to WiFi during audio transmission, the apparatus further includes: an increasing unit 60.
所述增大单元60,设置为增大所述机顶盒的蓝牙音频压缩率。The increasing unit 60 is configured to increase a Bluetooth audio compression ratio of the set top box.
需要说明的是,本公开实施例提供的另一种基于机顶盒WiFi和蓝牙共存优化装置所涉及各功能模块的其他相应描述,可以参考图2所示方法的对应描述,在此不再赘述。It should be noted that other corresponding descriptions of the function modules of the set-top box WiFi and the Bluetooth coexistence optimization device provided by the embodiments of the present disclosure may be referred to the corresponding description of the method shown in FIG. 2, and details are not described herein again.
本公开实施例提供的另一种基于机顶盒WiFi和蓝牙共存优化装置,本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,确保蓝牙遥控器大数据量正常高效传输,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。进一步地,本公开实施例还能够解决WiFi和蓝牙其他场景下的共存冲突问题,具体地,在所述机顶盒与所述蓝牙遥控器进行配对时,能够降低蓝牙遥控器发送的同步包频率,减少蓝牙对天线的占空比,降低蓝牙对WiFi的干扰;在所述机顶盒与所述蓝牙遥控器断开连接时,能够增加蓝牙协议栈中回连包的发包频率和/或发包时长,减少蓝牙对天线的占空比,降低蓝牙对WiFi的干扰;在所述机顶盒开机时,能够提示用户方式完成所述机顶盒与所述蓝牙遥控器的配对或者通过蓝牙扫描方式自动完成所述机顶盒与所述蓝牙遥控器的配对,方便机顶盒和蓝牙遥控器的配对,避免蓝牙配对WiFi的干扰;能够向所述蓝牙遥控器发送增大发射功率指令,增加机顶盒抗干扰性,减少重传包的发送,减少蓝牙对WiFi的干扰;能够增大所述机顶盒的蓝牙音频压缩率,减小音频传输时蓝牙对WiFi的干扰。Another set-top box WiFi and Bluetooth coexistence optimization device provided by the embodiment of the present disclosure, the set top box of the embodiment of the present disclosure parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume identifier. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed to ensure normal and efficient transmission of the large amount of data of the Bluetooth remote controller, and the duty ratio of the shared antenna resources of the Bluetooth is improved, and the WiFi is reduced. The interference to Bluetooth can overcome the problem of coexistence of WiFi and Bluetooth, and improve the coexistence performance of WiFi and Bluetooth. Further, the embodiment of the present disclosure can also solve the problem of coexistence conflicts in other scenarios of WiFi and Bluetooth. Specifically, when the set top box is paired with the Bluetooth remote controller, the synchronization packet frequency sent by the Bluetooth remote controller can be reduced, and the frequency is reduced. The duty ratio of the Bluetooth to the antenna reduces the interference of the Bluetooth to the WiFi; when the set top box is disconnected from the Bluetooth remote controller, the sending frequency and/or the packet sending time of the return packet in the Bluetooth protocol stack can be increased, and the Bluetooth is reduced. Reducing the interference of the antenna to the WiFi, and reducing the interference of the Bluetooth to the WiFi; when the set-top box is powered on, the user can be prompted to complete the pairing of the set-top box with the Bluetooth remote controller or automatically complete the set-top box and the Bluetooth scan mode The pairing of the Bluetooth remote controller facilitates the pairing of the set top box and the Bluetooth remote controller to avoid the interference of the Bluetooth pairing WiFi; the transmission of the transmission power command can be sent to the Bluetooth remote controller, the anti-interference of the set-top box is increased, and the transmission of the retransmission packet is reduced, and the transmission is reduced. Bluetooth interference to WiFi; can increase the Bluetooth audio compression rate of the set-top box and reduce audio transmission WiFi-Bluetooth interference.
进一步地,作为图3的具体实现,本公开实施例提供了又一种基于机顶盒WiFi和蓝牙共存优化装置,如图7所示,所述装置包括:确定单元71和发送单元72。Further, as a specific implementation of FIG. 3, the embodiment of the present disclosure provides another set-top box WiFi and Bluetooth coexistence optimization device. As shown in FIG. 7, the device includes: a determining unit 71 and a sending unit 72.
所述确定单元71,设置为确定蓝牙遥控器是否需要进行数据量大于或者等于预设数据量阈值的数量传输。The determining unit 71 is configured to determine whether the Bluetooth remote controller needs to perform a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold.
所述发送单元72,设置为若所述确定单元71需要进行数据量大于或者等于预设数据量阈值的数量传输,则向机顶盒发送携带有预设数据量标示指令的数据包。The sending unit 72 is configured to send a data packet carrying a preset data amount indication instruction to the set top box if the determining unit 71 needs to perform the quantity transmission in which the data amount is greater than or equal to the preset data amount threshold.
对于本公开实施例,通过向机顶盒发送携带有预设数据量标示指令的数据包,所述机顶盒能够在解析出预设数据量标示指令的数据包时,在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。For the embodiment of the present disclosure, by sending a data packet carrying a preset data volume indication instruction to the set top box, the set top box can locally write the speed limit control flow instruction when parsing the data packet of the preset data amount indication instruction. And according to the speed limit control flow instruction, the WiFi is limited in speed control.
需要说明的是,本公开实施例提供的又一种基于机顶盒WiFi和蓝牙共存优化装置所涉及各功能模块的其他相应描述,可以参考图3所示方法的对应描述,在此不再赘述。It should be noted that other corresponding descriptions of the function modules of the set-top box WiFi and the Bluetooth coexistence optimization device provided by the embodiments of the present disclosure may be referred to the corresponding description of the method shown in FIG. 3, and details are not described herein again.
本公开实施例提供的又一种基于机顶盒WiFi和蓝牙共存优化装置,本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,确保蓝牙遥控器大数据量正常高效传输,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。According to another embodiment of the present disclosure, the set top box of the present disclosure is configured to parse the data packet sent by the Bluetooth remote controller to parse whether the data packet carries a preset data volume identifier. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed to ensure normal and efficient transmission of the large amount of data of the Bluetooth remote controller, and the duty ratio of the shared antenna resources of the Bluetooth is improved, and the WiFi is reduced. The interference to Bluetooth can overcome the problem of coexistence of WiFi and Bluetooth, and improve the coexistence performance of WiFi and Bluetooth.
进一步地,作为图4的具体实现,本公开实施例提供了再一种基于机顶盒WiFi和蓝牙共存优化装置,如图8所示,所述装置包括:确定单元81和发送单元82。Further, as a specific implementation of FIG. 4, the embodiment of the present disclosure provides another set-top box WiFi and Bluetooth coexistence optimization device. As shown in FIG. 8, the device includes: a determining unit 81 and a sending unit 82.
所述确定单元81,设置为确定蓝牙遥控器是否需要进行数据量大于或者等于预设数据量阈值的数量传输。The determining unit 81 is configured to determine whether the Bluetooth remote controller needs to perform a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold.
所述发送单元82,设置为若所述确定单元81需要进行数据量大于或者等于预设数据量阈值的数量传输,则向机顶盒发送携带有预设数据量标示指令的数据包。The sending unit 82 is configured to: if the determining unit 81 needs to perform the quantity transmission in which the data amount is greater than or equal to the preset data amount threshold, send the data packet carrying the preset data quantity indication instruction to the set top box.
对于本公开实施例,通过向机顶盒发送携带有预设数据量标示指令的数据包,所述机顶盒能够在解析出预设数据量标示指令的数据包时,在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。For the embodiment of the present disclosure, by sending a data packet carrying a preset data volume indication instruction to the set top box, the set top box can locally write the speed limit control flow instruction when parsing the data packet of the preset data amount indication instruction. And according to the speed limit control flow instruction, the WiFi is limited in speed control.
所述确定单元81,设置为蓝牙遥控器确定是否需要进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。The determining unit 81 is configured to determine whether the Bluetooth remote controller needs to perform upgrade data transmission, perform Bluetooth voice data transmission, or perform Bluetooth audio data transmission.
需要说明的是,本公开实施例提供的再一种基于机顶盒WiFi和蓝牙共存优化装置所涉及各功能模块的其他相应描述,可以参考图4所示方法的对应描述,在此不再赘述。It should be noted that, in the other corresponding descriptions of the function modules of the set-top box WiFi and the Bluetooth coexistence optimization device, the corresponding descriptions of the method shown in FIG. 4 may be referred to, and details are not described herein again.
本公开实施例提供的再一种基于机顶盒WiFi和蓝牙共存优化装置,本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,确保蓝牙遥控器大数据量正常高效传输,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。Another set of WiFi and Bluetooth coexistence optimization device based on the set-top box provided by the embodiment of the present disclosure, the set-top box of the embodiment of the present disclosure can parse whether the data packet carries a preset data quantity identifier by parsing the data packet sent by the Bluetooth remote controller. instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed to ensure normal and efficient transmission of the large amount of data of the Bluetooth remote controller, and the duty ratio of the shared antenna resources of the Bluetooth is improved, and the WiFi is reduced. The interference to Bluetooth can overcome the problem of coexistence of WiFi and Bluetooth, and improve the coexistence performance of WiFi and Bluetooth.
本公开实施例还提供了一种基于机顶盒WiFi和蓝牙共存优化系统,如图9所示,所述系统包括:蓝牙遥控器91和机顶盒92。The embodiment of the present disclosure further provides a set-top box WiFi and Bluetooth coexistence optimization system. As shown in FIG. 9, the system includes: a Bluetooth remote controller 91 and a set top box 92.
所述蓝牙遥控器91,设置为确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输;若需要,则向机顶盒92发送携带有预设数据量标示指令的数据包。The Bluetooth remote controller 91 is configured to determine whether a quantity transmission of a data amount greater than or equal to a preset data amount threshold is required; if necessary, a data packet carrying a preset data amount indication instruction is sent to the set top box 92.
所述机顶盒92,设置为在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。The set top box 92 is configured to write a speed limit control flow instruction locally, and perform speed limit control on the WiFi according to the speed limit control flow instruction.
其中,所述机顶盒92可以包括WiFi蓝牙模组和机顶盒主端。所述机顶盒主端可以为机顶盒主芯片。具体可以如图10所示,蓝牙遥控器具体可以向所述WiFi蓝牙模组发送携带有预设数据量标示指令的数据包,所述WiFi蓝牙模组将所述数据包传输给所述主芯片,所述主芯片通过异步传输器接口在WiFi蓝牙模组写入限速控流指令,所述WiFi蓝牙模组根据所述限速控流指令,对WiFi进行限速控流。The set top box 92 can include a WiFi Bluetooth module and a set top box. The main end of the set top box may be a set top box main chip. Specifically, as shown in FIG. 10, the Bluetooth remote controller may specifically send, to the WiFi bluetooth module, a data packet carrying a preset data volume indication instruction, where the WiFi Bluetooth module transmits the data packet to the main chip. The main chip writes a speed limit control flow instruction in the WiFi bluetooth module through the asynchronous transmitter interface, and the WiFi bluetooth module performs speed limit control on the WiFi according to the speed limit control flow instruction.
本公开实施例提供的一种基于机顶盒WiFi和蓝牙共存优化系统,系统包括机顶盒盒蓝牙遥控器。本公开实施例机顶盒通过对蓝牙遥控器发送的数据包进行解析,能够解析出所述数据包是否携带有预设数据量标示指令。与此同时,在解析出接收到的数据包携带有预设数据量标示指令时,能够在所述机顶盒上写入限速控流指令,并能够根据写入的限速控流指令,对WiFi进行限速控流,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输,从而能够实现在蓝牙遥控器需要传输大数据量数据时,通过向机顶盒发送携带有预设数据量标示指令的方式,对WiFi进行限速控流,提高蓝牙对共享天线资源的占空比,减小WiFi对蓝牙的干扰,进而能够克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能。The embodiment of the present disclosure provides a set-top box WiFi and Bluetooth coexistence optimization system, and the system includes a set top box Bluetooth remote controller. In the embodiment of the present disclosure, the set top box parses the data packet sent by the Bluetooth remote controller, and can parse whether the data packet carries a preset data volume indication instruction. At the same time, when parsing that the received data packet carries a preset data amount indication instruction, the speed limit control flow instruction can be written on the set top box, and the WiFi can be controlled according to the written speed limit control flow instruction. Performing a speed limit control flow, wherein the preset data volume indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data amount threshold, thereby enabling transmission of large data volume data in the Bluetooth remote controller. When sending a command with a preset data volume indication to the set-top box, the speed limit control of the WiFi is performed, the duty ratio of the Bluetooth to the shared antenna resource is increased, the interference of the WiFi to the Bluetooth is reduced, and the WiFi and the Bluetooth can be overcome. The problem of coexistence conflicts improves the coexistence performance of WiFi and Bluetooth.
为了实现上述克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能目的,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:机顶盒接收蓝牙遥控器发送的数据包,并在蓝牙协议层对所述数据包进行解析;若解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;根据所述限速控流指令,对WiFi进行限速控流。In order to achieve the above problem of overcoming the conflict of the WiFi and the Bluetooth coexistence, and improving the coexistence performance of the WiFi and the Bluetooth, the embodiment of the present disclosure further provides a computer readable storage medium, where the computer program is stored, and the program is executed by the processor. The following steps are implemented: the set top box receives the data packet sent by the Bluetooth remote controller, and parses the data packet at the Bluetooth protocol layer; if the data packet is parsed and carries the preset data volume indication instruction, the set top box is written on the set top box. Entering a speed limit control flow instruction, the preset data quantity indication instruction is used to indicate that the Bluetooth remote controller performs a quantity transmission with a data amount greater than or equal to a preset data quantity threshold; and according to the speed limit control flow instruction, performing WiFi on the Speed limit control.
为了实现上述克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能目的,本公开实施例还提供了一种机顶盒,如图11所示,包括存储器111、处理器112及存储在存储器111上并可在处理器112上运行的计算机程序,所述处理器112执行所述程序时实现以下步骤:机顶盒接收蓝牙遥控器发送的数据包,并在蓝牙协议层对所述数据包进行解析;若解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;根据所述限速控流指令,对WiFi进行限速控流。In order to achieve the above problem of overcoming the conflict of the WiFi and the Bluetooth coexistence, and improving the coexistence performance of the WiFi and the Bluetooth, the embodiment of the present disclosure further provides a set top box, as shown in FIG. 11, including the memory 111, the processor 112, and the storage in the memory 111. And a computer program running on the processor 112, the processor 112 performing the following steps: the set top box receives the data packet sent by the Bluetooth remote controller, and parses the data packet at the Bluetooth protocol layer; If the parsing out the data packet carries a preset data volume indication instruction, write a speed limit control flow instruction on the set top box, where the preset data volume indication instruction is used to indicate that the Bluetooth remote control performs a larger amount of data. Or a quantity transmission equal to a preset data amount threshold; and the speed limit control is performed on the WiFi according to the speed limit control flow instruction.
为了实现上述克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能目的,本公开实施例还提供了另一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任意一种方法。In order to achieve the above problem of overcoming the conflict of the WiFi and the Bluetooth coexistence, and improving the coexistence performance of the WiFi and the Bluetooth, the embodiment of the present disclosure further provides another computer readable storage medium storing computer executable instructions, the computer executable instructions Used to perform any of the above methods.
如图12所示,是本实施例提供的一种机顶盒的硬件结构示意图,如图12所示,该机顶盒包括:处理器(processor)131和存储器(memory)133;还可以包括通信接口(Communications Interface)132和总线134。As shown in FIG. 12, it is a hardware structure diagram of a set top box provided by this embodiment. As shown in FIG. 12, the set top box includes: a processor 131 and a memory 133; and may also include a communication interface (Communications). Interface 132 and bus 134.
其中,处理器131、存储器133和通信接口132可以通过总线134完成相互间的通信。通信接口132可以用于信息传输。处理器131可以调用存储器133中的逻辑指令,以执行上述实施例的任意一种方法。The processor 131, the memory 133, and the communication interface 132 can complete communication with each other through the bus 134. Communication interface 132 can be used for information transfer. The processor 131 can call the logic instructions in the memory 133 to perform any of the methods of the above embodiments.
存储器133可以包括存储程序区和存储数据区,存储程序区可以存储操作系统和至少一个功能所需的应用程序。存储数据区可以存储根据机顶盒的使用所创建的数据等。此外,存储器可以包括,例如,随机存取存储器的易失性存储器,还可以包括非易失性存储器。例如至少一个磁盘存储器件、闪存器件或者其他非暂态固态存储器件。The memory 133 may include a storage program area and a storage data area, and the storage program area may store an operating system and an application required for at least one function. The storage data area can store data and the like created according to the use of the set top box. Further, the memory may include, for example, a volatile memory of a random access memory, and may also include a non-volatile memory. For example, at least one disk storage device, flash memory device, or other non-transitory solid state storage device.
此外,在上述存储器133中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,该逻辑指令可以存储在一个计算机可读取存储介质中。本公开的技术方案可以以计算机软件产品的形式体现出来,该计算机软件产品可以存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本实施例所述方法的全部或部分步骤。Moreover, when the logic instructions in the memory 133 described above can be implemented in the form of software functional units and sold or used as separate products, the logic instructions can be stored in a computer readable storage medium. The technical solution of the present disclosure may be embodied in the form of a computer software product, which may be stored in a storage medium, and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) All or part of the steps of the method described in this embodiment are performed.
存储介质可以是非暂态存储介质,也可以是暂态存储介质。非暂态存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory, ROM)、随机存取存储器(Random Access Memory, RAM)、磁碟或者光盘等多种可以存储程序代码的介质。 The storage medium may be a non-transitory storage medium or a transitory storage medium. The non-transitory storage medium may include: a USB flash drive, a mobile hard disk, and a read-only memory (Read-Only Memory, ROM), random access memory (RAM), disk or optical disk, and other media that can store program code.
为了实现上述克服WiFi和蓝牙共存冲突的问题,提升WiFi和蓝牙的共存性能目的,一种蓝牙遥控器,如图12所示,包括存储器121、处理器122及存储在存储器121上并可在处理器122上运行的计算机程序,所述处理器122执行所述程序时实现以下步骤:蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输;若需要,则向机顶盒发送携带有预设数据量标示指令的数据包,以便于所述机顶盒在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。In order to achieve the above problem of overcoming the conflict of WiFi and Bluetooth coexistence, and improving the coexistence performance of WiFi and Bluetooth, a Bluetooth remote controller, as shown in FIG. 12, includes a memory 121, a processor 122, and is stored in the memory 121 and can be processed. The computer program running on the processor 122, when the processor 122 executes the program, the following steps are implemented: the Bluetooth remote controller determines whether a quantity transmission of a data amount greater than or equal to a preset data amount threshold is required; if necessary, sending to the set top box Carrying a data packet with a preset data volume indication instruction, so that the set top box writes the speed limit control flow instruction locally, and performs speed limit control on the WiFi according to the speed limit control flow instruction.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
可以理解的是,上述方法及装置中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。It will be appreciated that related features in the above methods and apparatus can be referenced to each other. In addition, "first", "second", and the like in the above embodiments are used to distinguish the embodiments, and do not represent the advantages and disadvantages of the embodiments.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general purpose systems can also be used with the teaching based on the teachings herein. The structure required to construct such a system is apparent from the above description. Moreover, the present disclosure is not directed to any particular programming language. It is to be understood that the subject matter of the present disclosure, which is described herein, may be described in a particular language.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上面对本公开的示例性实施例的描述中,本公开的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。In the description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as disclosed in the following claims, the disclosed aspects are less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the specific embodiments, and each of the claims as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features that are included in other embodiments and not in other features, combinations of features of different embodiments are intended to be within the scope of the present disclosure. Different embodiments are formed and formed. For example, in the following claims, any one of the claimed embodiments can be used in any combination.
本公开的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本公开实施例的基于机顶盒WiFi和蓝牙共存优化装置或系统中的一些或者全部部件的一些或者全部功能。本公开还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本公开的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present disclosure may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some of some or all of the components in a set-top box WiFi and Bluetooth coexistence optimization device or system in accordance with embodiments of the present disclosure. Or all features. The present disclosure may also be implemented as a device or device program (eg, a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the present disclosure may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments are illustrative of the present disclosure and are not intended to limit the scope of the disclosure, and those skilled in the art can devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" does not exclude the presence of the elements or steps that are not recited in the claims. The word "a" or "an" The present disclosure can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

Claims (14)

  1. 一种基于机顶盒的WiFi和蓝牙共存优化方法,包括: A set-top box based WiFi and Bluetooth coexistence optimization method, including:
    机顶盒接收并解析蓝牙遥控器发送的数据包;The set top box receives and parses the data packet sent by the Bluetooth remote controller;
    若所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;And if the data packet carries a preset data volume indication instruction, writing a speed limit control flow instruction on the set top box, where the preset data volume indication instruction is used to indicate that the data volume of the Bluetooth remote controller is greater than or equal to The number of preset data volume thresholds is transmitted;
    根据所述限速控流指令,对WiFi进行限速控流。According to the speed limit control flow instruction, the WiFi is limited in speed control.
  2. 根据权利要求1所述的方法,其中,所述预设数据量标示指令具体用于标示所述蓝牙遥控器进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。The method according to claim 1, wherein the preset data amount indication instruction is specifically used to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio data transmission.
  3. 根据权利要求1所述的方法,其中,所述机顶盒包括WiFi蓝牙模组和机顶盒主端,所述机顶盒接收并解析蓝牙遥控器发送的数据包包括:The method of claim 1, wherein the set top box comprises a WiFi Bluetooth module and a set top box, and the set top box receives and parses the data packet sent by the Bluetooth remote controller, including:
    所述WiFi蓝牙模组接收蓝牙遥控器发送的数据包,并将所述数据包传输给所述机顶盒主端;以及Receiving, by the WiFi Bluetooth module, a data packet sent by a Bluetooth remote controller, and transmitting the data packet to a primary end of the set top box;
    所述机顶盒主端在蓝牙协议层对所述数据包进行解析。The set top box of the set top box parses the data packet at a Bluetooth protocol layer.
  4. 根据权利要求3所述的方法,其中,所述若解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令包括:The method of claim 3, wherein if the parsing out the data packet carries a preset data volume indication instruction, writing the speed limit flow control instruction on the set top box comprises:
    若所述机顶盒主端解析出所述数据包携带有预设数据量标示指令,则通过异步收发传输器接口在所述WiFi蓝牙模组上写入限速控流指令;If the main unit of the set top box parses that the data packet carries a preset data quantity indication instruction, write a speed limit control flow instruction on the WiFi bluetooth module through an asynchronous transceiver interface;
    所述根据所述限速控流指令,对WiFi进行限速控流包括:According to the speed limit control flow instruction, the speed limit control of the WiFi includes:
    所述WiFi蓝牙模组接收到所述限速控流指令后,根据所述限速控流指令,对WiFi进行限速控流。After receiving the speed limit control flow instruction, the WiFi bluetooth module performs speed limit control on the WiFi according to the speed limit control flow instruction.
  5. 一种基于机顶盒WiFi和蓝牙共存优化方法,所述方法还包括:A method for optimizing a WiFi and a Bluetooth coexistence based on a set top box, the method further comprising:
    蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输;The Bluetooth remote controller determines whether a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold is required;
    若需要,则向机顶盒发送携带有预设数据量标示指令的数据包,以便于所述机顶盒在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。If necessary, sending a data packet carrying a preset data volume indication instruction to the set top box, so that the set top box can locally write the speed limit control flow instruction, and performing speed limit control on the WiFi according to the speed limit control flow instruction. flow.
  6. 根据权利要求5所述的方法,其中,所述蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输包括:The method according to claim 5, wherein the Bluetooth remote controller determines whether a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold is included:
    蓝牙遥控器确定是否需要进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。The Bluetooth remote control determines whether upgrade data transmission is required, Bluetooth voice data transmission or Bluetooth audio data transmission.
  7. 一种基于机顶盒的WiFi和蓝牙共存优化装置,所述装置还包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的WiFi和蓝牙共存优化程序,所述WiFi和蓝牙共存优化程序包括:A set-top box-based WiFi and Bluetooth coexistence optimization device, the device further comprising: a processor, a memory, and a WiFi and Bluetooth coexistence optimization program stored on the memory and operable on the processor, the WiFi and The Bluetooth coexistence optimization program includes:
    接收单元,设置为接收蓝牙遥控器发送的数据包;a receiving unit, configured to receive a data packet sent by the Bluetooth remote controller;
    解析单元,设置为对所述接收单元接收的所述数据包进行解析;a parsing unit configured to parse the data packet received by the receiving unit;
    写入单元,设置为若所述解析单元解析出所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;a writing unit, configured to write a speed limit control flow instruction on the set top box if the parsing unit parses out that the data packet carries a preset data quantity indication instruction, where the preset data quantity indication instruction is used Marking, by the Bluetooth remote controller, a quantity transmission in which the amount of data is greater than or equal to a preset data amount threshold;
    限速控流单元,设置为根据所述写入单元写入的所述限速控流指令,对WiFi进行限速控流。The speed limit control unit is configured to perform speed limit control on the WiFi according to the speed limit flow control command written by the writing unit.
  8. 根据权利要求7所述的装置,其中,所述预设数据量标示指令具体设置为标示所述蓝牙遥控器进行升级数据传输,进行蓝牙语音数据传输或者进行蓝牙音频数据传输。The apparatus according to claim 7, wherein the preset data amount indication instruction is specifically configured to indicate that the Bluetooth remote controller performs upgrade data transmission, performs Bluetooth voice data transmission, or performs Bluetooth audio data transmission.
  9. 一种基于机顶盒的WiFi和蓝牙共存优化装置,所述装置还包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的WiFi和蓝牙共存优化程序,所述WiFi和蓝牙共存优化程序包括:A set-top box-based WiFi and Bluetooth coexistence optimization device, the device further comprising: a processor, a memory, and a WiFi and Bluetooth coexistence optimization program stored on the memory and operable on the processor, the WiFi and The Bluetooth coexistence optimization program includes:
    确定单元,设置为确定蓝牙遥控器是否需要进行数据量大于或者等于预设数据量阈值的数量传输;a determining unit, configured to determine whether the Bluetooth remote controller needs to transmit a quantity whose data amount is greater than or equal to a preset data amount threshold;
    发送单元,设置为若所述确定单元需要进行数据量大于或者等于预设数据量阈值的数量传输,则向机顶盒发送携带有预设数据量标示指令的数据包,以便于所述机顶盒在本地写入限速控流指令,并根据所述限速控流指令,对WiFi进行限速控流。a sending unit, configured to: if the determining unit needs to perform a quantity transmission with a data amount greater than or equal to a preset data amount threshold, send a data packet carrying a preset data quantity indication instruction to the set top box, so that the set top box writes locally The speed limit control flow instruction is entered, and the speed limit flow control of the WiFi is performed according to the speed limit control flow instruction.
  10. 一种机顶盒,包括:A set top box comprising:
    至少一个处理器;以及At least one processor;
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行权利要求1~4任一项所述的机顶盒执行方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to execute the set top box of any one of claims 1 to 4. Execution method.
  11. 一种蓝牙遥控器,包括:A Bluetooth remote control, including:
    至少一个处理器;以及At least one processor;
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行权利要求5~6任一项所述的蓝牙遥控器执行方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the Bluetooth of any one of claims 5-6 The remote control performs the method.
  12. 一种计算机可读存储介质,存储有处理器可执行指令,所述计算机可执行指令用于执行权利要求1~4任一项所述的方法。A computer readable storage medium storing processor executable instructions for performing the method of any one of claims 1 to 4.
  13. 一种计算机可读存储介质,存储有处理器可执行指令,所述计算机可执行指令用于执行权利要求5~6任一项所述的方法。A computer readable storage medium storing processor executable instructions for performing the method of any one of claims 5-6.
  14. 一种基于机顶盒的WiFi和蓝牙共存优化系统,所述系统包括至少一个机顶盒,以及至少一个蓝牙遥控器;其中A set top box based WiFi and Bluetooth coexistence optimization system, the system comprising at least one set top box, and at least one Bluetooth remote control;
    所述蓝牙遥控器确定是否需要进行数据量大于或者等于预设数据量阈值的数量传输;若需要,则向所述机顶盒发送携带有预设数据量标示指令的数据包;Determining, by the Bluetooth remote controller, whether a quantity transmission with a data amount greater than or equal to a preset data amount threshold is required; if necessary, transmitting, to the set top box, a data packet carrying a preset data quantity indication instruction;
    所述机顶盒接收并解析蓝牙遥控器发送的数据包;若所述数据包携带有预设数据量标示指令,则在所述机顶盒上写入限速控流指令,所述预设数据量标示指令用于标示所述蓝牙遥控器进行数据量大于或者等于预设数据量阈值的数量传输;The set top box receives and parses a data packet sent by the Bluetooth remote controller; if the data packet carries a preset data volume indication instruction, writing a speed limit control flow instruction on the set top box, the preset data volume marking instruction a quantity transmission for indicating that the Bluetooth remote controller performs a data amount greater than or equal to a preset data amount threshold;
    所述机顶盒根据所述限速控流指令,对WiFi进行限速控流。 The set top box controls the speed limit of the WiFi according to the speed limit control flow instruction.
PCT/CN2017/098893 2017-07-19 2017-08-24 Set top box-based coexistence optimization method, device and system for wifi and bluetooth WO2019015016A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710593768.8 2017-07-19
CN201710593768.8A CN107222777B (en) 2017-07-19 2017-07-19 A kind of set-top box WiFi and Bluetooth coexistence optimization method and device

Publications (1)

Publication Number Publication Date
WO2019015016A1 true WO2019015016A1 (en) 2019-01-24

Family

ID=59953176

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/098893 WO2019015016A1 (en) 2017-07-19 2017-08-24 Set top box-based coexistence optimization method, device and system for wifi and bluetooth

Country Status (2)

Country Link
CN (1) CN107222777B (en)
WO (1) WO2019015016A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900883A (en) * 2018-06-07 2018-11-27 深圳市亿联智能有限公司 It is a kind of using Bluetooth transmission remote signal and the transmission method of audio data
CN109151861A (en) * 2018-08-14 2019-01-04 Oppo广东移动通信有限公司 Encoding rate method of adjustment, device and electronic equipment
CN109274407B (en) * 2018-08-14 2020-08-21 Oppo广东移动通信有限公司 Data transmission method, device, electronic equipment and storage medium
CN109561342A (en) * 2018-10-26 2019-04-02 广州零世纪信息科技有限公司 Set-top box flow rate protecting method, device, set-top box and storage medium
CN110290278A (en) * 2019-08-02 2019-09-27 惠州Tcl移动通信有限公司 Data transmission method, device, storage medium and terminal based on bluetooth
CN113055109B (en) * 2019-12-26 2023-03-28 联发科技股份有限公司 Method and apparatus for coexistence operation improvement
CN113613230B (en) * 2021-10-09 2021-12-31 荣耀终端有限公司 Scanning parameter determination method and electronic equipment
CN113840388B (en) * 2021-10-22 2024-03-22 普联技术有限公司 Communication method and communication equipment for coexistence of Zigbee and Wifi
CN116528203B (en) * 2023-07-03 2023-09-15 珠海格力电器股份有限公司 Voice remote controller system, control method and device thereof and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104318741A (en) * 2014-10-20 2015-01-28 小米科技有限责任公司 Bluetooth device control method and device
CN104519458A (en) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 Network connection method, terminal, wireless router and system
CN106332132A (en) * 2015-07-03 2017-01-11 中兴通讯股份有限公司 Communication terminal for performance adjustment of self-adaptable Bluetooth and method
CN106358143A (en) * 2016-09-14 2017-01-25 深圳市金立通信设备有限公司 Antenna time-sharing multiplexing method and terminal
US20170086097A1 (en) * 2012-05-29 2017-03-23 Atmel Corporation Permitting coexistence of data transfer of interferring wireless signals
US20170111871A1 (en) * 2014-06-24 2017-04-20 Samsung Electronics Co., Ltd. Electronic apparatus, wireless signal receiving method thereof and systems having the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170086097A1 (en) * 2012-05-29 2017-03-23 Atmel Corporation Permitting coexistence of data transfer of interferring wireless signals
US20170111871A1 (en) * 2014-06-24 2017-04-20 Samsung Electronics Co., Ltd. Electronic apparatus, wireless signal receiving method thereof and systems having the same
CN104318741A (en) * 2014-10-20 2015-01-28 小米科技有限责任公司 Bluetooth device control method and device
CN104519458A (en) * 2014-12-29 2015-04-15 宇龙计算机通信科技(深圳)有限公司 Network connection method, terminal, wireless router and system
CN106332132A (en) * 2015-07-03 2017-01-11 中兴通讯股份有限公司 Communication terminal for performance adjustment of self-adaptable Bluetooth and method
CN106358143A (en) * 2016-09-14 2017-01-25 深圳市金立通信设备有限公司 Antenna time-sharing multiplexing method and terminal

Also Published As

Publication number Publication date
CN107222777A (en) 2017-09-29
CN107222777B (en) 2019-02-26

Similar Documents

Publication Publication Date Title
WO2019015016A1 (en) Set top box-based coexistence optimization method, device and system for wifi and bluetooth
WO2011021895A2 (en) Method and apparatus of sleep mode operation in a multi-carrier system
WO2017113918A1 (en) Unlicensed frequency band-based communication method, related device, and system
WO2011112006A2 (en) Communication method of a transmission apparatus and a reception apparatus
WO2014189318A1 (en) Proxy based communication scheme in docking structure
WO2010143875A2 (en) Method of exchanging messages and source devices
WO2014148836A2 (en) Apparatus and method for acquiring synchronization in cooperative communication system
WO2022203344A1 (en) Restricted twt operations for multi-link devices
WO2014189325A1 (en) Apparatus and method for controlling transparent tunnel mode operation in communication system supporting wireless docking protocol
WO2014077533A1 (en) Base station and a plurality of member nodes for transmitting and receiving network coding based multicast traffic
WO2014073902A1 (en) Method and apparatus for providing web service in wireless communication system
WO2016186403A1 (en) Wireless communication method and wireless communication terminal for receiving data from plurality of wireless communication terminals on basis of random access
WO2020036429A1 (en) Method and apparatus for managing pdu session connection
WO2020180056A1 (en) Electronic device for transmitting response message in bluetooth network environment and method therefor
WO2014208983A1 (en) Method and apparatus for controlling traffic in wlan system
WO2019223600A1 (en) Bluetooth audio transmission method, device, and computer readable storage medium
WO2017217766A1 (en) Wireless communication method using aggregate mpdu, and wireless communication terminal using same
WO2015027458A1 (en) Method, user equipment and network side device for non-access stratum message processing
WO2021020804A1 (en) Electronic device supporting dual connectivity and method for operating same
WO2015005684A1 (en) Method and apparatus for transmitting data in wireless lan system
WO2017115984A1 (en) Device and method for distributively scheduling in device-to-device direct communication network
WO2017176034A1 (en) Wireless communication method using fragmentation and wireless communication terminal using same
WO2014084495A1 (en) Direct link communication method over wireless network
WO2018236124A1 (en) Method and apparatus for providing service by using bluetooth low energy technology
WO2019083097A1 (en) Base station apparatus and data packet transmission method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17918551

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17918551

Country of ref document: EP

Kind code of ref document: A1