WO2017036217A1 - 建立无线连接的参数设置方法及装置 - Google Patents

建立无线连接的参数设置方法及装置 Download PDF

Info

Publication number
WO2017036217A1
WO2017036217A1 PCT/CN2016/084843 CN2016084843W WO2017036217A1 WO 2017036217 A1 WO2017036217 A1 WO 2017036217A1 CN 2016084843 W CN2016084843 W CN 2016084843W WO 2017036217 A1 WO2017036217 A1 WO 2017036217A1
Authority
WO
WIPO (PCT)
Prior art keywords
channel
bluetooth
wireless connection
establishing
parameter setting
Prior art date
Application number
PCT/CN2016/084843
Other languages
English (en)
French (fr)
Inventor
王译苓
吴敏
曾庆忠
Original Assignee
深圳Tcl数字技术有限公司
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 深圳Tcl数字技术有限公司 filed Critical 深圳Tcl数字技术有限公司
Publication of WO2017036217A1 publication Critical patent/WO2017036217A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • H04B2001/7154Interference-related aspects with means for preventing interference

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a method and a device for setting parameters for establishing a wireless connection.
  • Wi-Fi Wireless-Fidelity
  • Bluetooth belong to 2.4G wireless technology, and the frequency band of 2.4G wireless technology is between 2.400GHz and 2.4835GHz. This frequency band is an internationally-defined free frequency band with a total of 50 working channels and data transmission using frequency hopping transmission. Among them, Wi-Fi defines 14 channels.
  • Wi-Fi and Bluetooth use 2.4G wireless technology, that is, both use the above frequency bands for data transmission.
  • Bluetooth uses an adaptive frequency hopping mechanism. When two function modules are simultaneously turned on and transmit data, the Bluetooth module and Wi-Fi Modules do not automatically avoid the channel frequency range in which the other party is located, which will cause mutual interference and affect the transmission of data.
  • the invention provides a parameter setting method and device for establishing a wireless connection, and the main purpose thereof is to solve the problem that data transmission is affected by interference of Wi-Fi communication when transmitting data by using Bluetooth.
  • the present invention provides a parameter setting method for establishing a wireless connection, and the parameter setting method for establishing a wireless connection includes:
  • the Wi-Fi data transmission channel is recorded as an occupied channel, so that the occupied channel is skipped when the Bluetooth performs data transmission.
  • the step of recording the channel occupied by the Wi-Fi as an occupied channel includes:
  • the step of acquiring the center frequency point currently occupied by the Wi-Fi includes:
  • the command is sent to the Wi-Fi bottom layer driver for the Wi-Fi bottom layer driver to upload the center frequency point used when the Wi-Fi bottom layer driver transmits data according to the instruction.
  • the parameter setting method for establishing the wireless connection further includes:
  • an adaptive frequency hopping mechanism is used to perform data transmission for the Bluetooth selective channel.
  • the parameter setting method for establishing a wireless connection further includes:
  • the record of the occupied channel is deleted.
  • the parameter setting method for establishing a wireless connection further includes:
  • the bandwidth of the Wi-Fi is switched from the second preset bandwidth to the first preset bandwidth, where the second preset bandwidth is greater than the first preset. bandwidth.
  • the parameter setting method for establishing a wireless connection further includes:
  • the bandwidth of the Wi-Fi band is switched from the first preset bandwidth to the second preset bandwidth.
  • the present invention further provides a parameter setting method for establishing a wireless connection, where the parameter setting method for establishing a wireless connection includes:
  • the Bluetooth uses an adaptive frequency hopping mechanism to select a channel for data transmission
  • the record of the occupied channel is deleted.
  • the step of acquiring the center frequency point currently occupied by the Wi-Fi includes:
  • the command is sent to the Wi-Fi bottom layer driver for the Wi-Fi bottom layer driver to upload the center frequency point used when the Wi-Fi bottom layer driver transmits data according to the instruction.
  • the present invention further provides a parameter setting device for establishing a wireless connection
  • the parameter setting device for establishing a wireless connection includes:
  • a Wi-Fi status module configured to detect whether the wireless network Wi-Fi is in a connected state after detecting that the Bluetooth is started
  • a channel recording module configured to: when detecting that the Wi-Fi is in a connected state, record the data transmission channel of the Wi-Fi as an occupied channel, so as to skip the occupied when the Bluetooth performs data transmission channel.
  • the channel recording module comprises:
  • a frequency point obtaining unit configured to acquire a center frequency point currently occupied by the Wi-Fi when detecting that the Wi-Fi is in a connected state
  • a channel calculation unit configured to calculate a data transmission channel of the Wi-Fi according to the central frequency point, and add tag information to the channel.
  • the frequency point obtaining unit is further configured to: when receiving the Bluetooth connection request sent by the terminal, send an instruction to the Wi-Fi bottom layer driver, where the Wi-Fi bottom layer driver uploads the Wi according to the instruction - The center frequency used by the Fi underlying driver to transfer data.
  • the channel recording module is further configured to perform data transmission for the Bluetooth selection channel by using an adaptive frequency hopping mechanism when detecting that a Wi-Fi connection is not established.
  • the parameter setting device for establishing a wireless connection further includes:
  • a record deletion module configured to delete the occupied channel when detecting that the Wi-Fi is disconnected recording.
  • the parameter setting device for establishing a wireless connection further includes:
  • a Bluetooth status module configured to detect whether the Bluetooth is in a connected state after detecting that Wi-Fi is turned on
  • a bandwidth setting module configured to switch, when the Bluetooth is in a connected state, the bandwidth of the Wi-Fi band from a second preset bandwidth to a first preset bandwidth, where the second preset bandwidth is greater than The first preset bandwidth.
  • the bandwidth setting module is further configured to switch the bandwidth of the Wi-Fi from the first preset bandwidth to the second preset bandwidth when detecting that the Bluetooth is in an off state .
  • the method and device for setting parameters for establishing a wireless connection proposed by the present invention first detect whether the Wi-Fi of the wireless network is in a connected state after the Bluetooth is started. If the Wi-Fi is in a connected state, the channel occupied by the Wi-Fi is recorded as The channel is occupied so that when Bluetooth transmits data, frequency hopping is performed, and the Wi-Fi occupied channel is skipped to avoid crosstalk with Wi-Fi communication and affect data transmission.
  • FIG. 1 is a flowchart of a first embodiment of a method for setting a parameter of a wireless connection according to the present invention
  • FIG. 2 is a schematic diagram of a working frequency band of a Wi-Fi standard based on a 2.4G frequency band according to the present invention
  • FIG. 3 is a schematic flowchart showing a refinement channel recording step in a second embodiment of a method for setting a wireless connection according to the present invention
  • FIG. 4 is a flowchart of a third embodiment of a method for setting a parameter of a wireless connection according to the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a first embodiment of a parameter setting apparatus for establishing a wireless connection according to the present invention
  • FIG. 6 is a schematic diagram of a refinement function module of a channel recording module in a second embodiment of a parameter setting apparatus for establishing a wireless connection according to the present invention
  • FIG. 7 is a schematic diagram of functional modules of a third embodiment of a parameter setting apparatus for establishing a wireless connection according to the present invention.
  • the invention provides a parameter setting method for establishing a wireless connection.
  • FIG. 1 a flowchart of a first embodiment of a method for setting a parameter of a wireless connection according to the present invention is shown.
  • the parameter setting method for establishing a wireless connection includes:
  • Step S10 after detecting that the Bluetooth is activated, detecting whether the wireless network Wi-Fi is in a connected state.
  • Step S20 When detecting that the Wi-Fi is in a connected state, recording the Wi-Fi data transmission channel as an occupied channel, so that the occupied channel is skipped when the Bluetooth performs data transmission.
  • 2.4GHz wireless technology is a short-range wireless transmission technology.
  • 2.4GHz refers to a working frequency band.
  • the 2.4GHz ISM (Industry Science Medicine) frequency band is a universally used wireless frequency band. Both Bluetooth and Wi-Fi work in this frequency band, so signals are generated. interference.
  • a smart TV is taken as an example for description.
  • the present invention is not limited thereto, and may be other terminals having both Bluetooth and Wi-Fi functions.
  • Existing smart TVs generally have Bluetooth and Wi-Fi modules to facilitate data transmission between the smart TV and other terminals. It can be understood that the same terminal can establish a Bluetooth and Wi-Fi connection with the smart TV, or it can be a different terminal.
  • the Wi-Fi working channel has the following standards based on the ISM band: working in the 2.4G band, the frequency range is 2.400-2.4835 GHz, and the total bandwidth is 83.5 MHz; the 2.4 G band is divided into 14 sub-channels; each sub-channel The width is 22 MHz; the center frequency of adjacent channels is separated by 5 MHz.
  • the terminal When the terminal establishes a Wi-Fi connection with the smart TV and transmits data via Wi-Fi, it occupies one of the 14 subchannels. If another terminal or the same terminal establishes a connection with the smart TV through Bluetooth at this time, after detecting the Bluetooth startup, the television first detects whether the Wi-Fi module of the television end is in a connected state, that is, whether Wi-Fi is working. status. When it is detected that it is in operation, it acquires its data transmission channel and records it as an occupied channel.
  • the acquisition of the channel occupied by the Wi-Fi module for transmitting data may be
  • the Wi-Fi underlying driver sends the center frequency used when transmitting the data to the processor through the message mode.
  • the TV terminal receives the Bluetooth connection request and detects that the Wi-Fi connection has been established, it directly obtains from the processor.
  • the message is used to determine the channel occupied by the Wi-Fi transmission data through the center frequency.
  • the television terminal may send an instruction to the Wi-Fi low-level driver when receiving the Bluetooth connection request sent by the terminal. , for the central frequency point used by it to upload its transmitted data according to the instruction.
  • the parameter setting method for establishing a wireless connection proposed in this embodiment first detects whether the wireless network Wi-Fi is in a connected state after the Bluetooth is started, and if the Wi-Fi is in the connected state, records the channel occupied by the Wi-Fi as occupied.
  • the channel in order to enable Bluetooth to transmit data, performs frequency hopping and skips Wi-Fi occupied channels to avoid crosstalk with Wi-Fi communication and affect data transmission.
  • step S20 includes the following refinement steps:
  • Step S21 when detecting that the Wi-Fi is in a connected state, acquiring a center frequency point currently occupied by the Wi-Fi;
  • Step S22 calculating a data transmission channel of the Wi-Fi according to the central frequency point, and adding tag information to the channel.
  • the Wi-Fi module occupies one of the channels when transmitting data, and after obtaining the center frequency information F cen used by the Wi-Fi module, Equation 1 or Equation 2 calculates the minimum frequency F min or maximum frequency F max used , where the units of F cen , F min and F max are both MHz.
  • the center frequency is 2.432 GHz, that is, 2432 MHz
  • the Bluetooth module selects a channel, it is determined whether the channel is the same as the recorded occupied channel. The recorded channel.
  • the Wi-Fi transmission data occupying channel related information may be calculated by the bottom layer driver after acquiring the center frequency point and uploaded to the server, or the subsequent Bluetooth module may receive the Bluetooth connection request, and detecting that the Wi-Fi has been established.
  • the frequency point information is obtained from the processor and calculated.
  • the parameter setting method for establishing a wireless connection further includes the steps of:
  • the record of the occupied channel is deleted.
  • the default mode of selecting the channel by Bluetooth is the adaptive frequency hopping mechanism. Therefore, when it is detected that the Wi-Fi connection is not established, there is no need to consider the problem of avoiding Wi-Fi transmission data interference. In this case, the record of the occupied channel needs to be deleted, according to The mechanism randomly selects channels for data transmission.
  • the parameter setting method for establishing a wireless connection proposed in this embodiment calculates a Wi-Fi transmission data occupation channel through a central frequency point, and records a channel occupied by Wi-Fi as an occupied channel, so that when Bluetooth performs data transmission, frequency hopping is performed. Skip Wi-Fi occupied channels to avoid crosstalk with Wi-Fi communication and affect data transmission.
  • a third embodiment of the parameter setting method for establishing a wireless connection of the present invention is proposed based on the first embodiment.
  • the method is different from the first embodiment in that, before step S10, the parameter setting method for establishing a wireless connection further includes:
  • Step S30 after detecting that Wi-Fi is turned on, detecting whether the Bluetooth is in a connected state
  • step S40 when it is detected that the Bluetooth is in the connected state, the bandwidth of the Wi-Fi band is switched from the second preset bandwidth to the first preset bandwidth, where the second preset bandwidth is greater than the first pre-predetermined bandwidth. Set the bandwidth.
  • the Bluetooth when the Bluetooth is already in the connected state, a method for connecting Wi-Fi is provided to avoid crosstalk with the Bluetooth signal.
  • the TV terminal can detect the Bluetooth when the Bluetooth is connected.
  • the larger bandwidth of the -Fi is switched to a smaller bandwidth to reduce the interference of the Bluetooth signal.
  • the smaller the bandwidth occupied by the Wi-Fi the more available channels can be provided, and the anti-interference capability is improved.
  • the first preset bandwidth can be set by the user in advance. In this embodiment, the first preset bandwidth is preferably set to 20 MHz. In other embodiments, other bandwidths may be set according to requirements, which may be less than 20 MHz.
  • the data transmission rate should also be considered while reducing the crosstalk of the Bluetooth signal.
  • Wi-Fi After detecting that Wi-Fi is turned on, first detecting whether the Bluetooth is in a connected state, and when detecting that Bluetooth is in a connected state, responding to the received Wi-Fi connection command, establishing a Wi-Fi connection, setting the bandwidth to 20 MHz, Referring to FIG. 2, the available channels of Wi-Fi are 1, 5, 9 and 13 channels, and the available channels are more, which reduces the probability of crosstalk with the Bluetooth signal, and reduces the simultaneous transmission of data by Wi-Fi and Bluetooth. A data transmission error occurs due to mutual interference.
  • the parameter setting method for establishing a wireless connection further includes the steps of:
  • the bandwidth of the Wi-Fi band is switched from the first preset bandwidth to the second preset bandwidth.
  • the bandwidth of the larger frequency band can be switched back.
  • This embodiment is preferably 40 MHz.
  • the available channel is reduced, referring to FIG. 2
  • the available channels of Wi-Fi at this time are 3 and 11 channels or 4 and 12 channels. Due to the wide bandwidth, the wider frequency range of the current frequency band and the higher the data transmission rate. That is to say, when the smart TV transmits data only through Wi-Fi, in order to increase the data transmission rate, a wider bandwidth can be used for data transmission.
  • the parameter setting method for establishing a wireless connection proposed in this embodiment is that when the television end is already in a Bluetooth connection state and needs to establish a Wi-Fi connection for data transmission, a smaller bandwidth is set for Wi-Fi, so that it has more The channel can be selected to reduce the situation in which data transmission errors occur due to mutual interference when Wi-Fi and Bluetooth transmit data simultaneously.
  • the invention also proposes a parameter setting device for establishing a wireless connection.
  • FIG. 5 it is a schematic diagram of functional modules of a first embodiment of a parameter setting apparatus for establishing a wireless connection according to the present invention.
  • the parameter setting device for establishing a wireless connection includes:
  • the Wi-Fi status module 10 is configured to detect whether the wireless network Wi-Fi is in a connected state after detecting the Bluetooth startup.
  • the channel recording module 20 is configured to: when detecting that the Wi-Fi is in a connected state, record the data transmission channel of the Wi-Fi as an occupied channel, so as to skip the Occupy the channel.
  • 2.4GHz wireless technology is a short-range wireless transmission technology.
  • 2.4GHz refers to a working frequency band.
  • the 2.4GHz ISM (Industry Science Medicine) frequency band is a universally used wireless frequency band. Both Bluetooth and Wi-Fi work in this frequency band, so signals are generated. interference.
  • a smart TV is taken as an example for description.
  • the present invention is not limited thereto, and may be other terminals having both Bluetooth and Wi-Fi functions.
  • the existing smart TVs generally have Bluetooth and Wi-Fi modules, which facilitate data transmission between the smart TV and other terminals. It can be understood that the same terminal can establish a Bluetooth and Wi-Fi connection with the smart TV, or it can be a different terminal.
  • the Wi-Fi working channel has the following standards based on the ISM band: working in the 2.4G band, the frequency range is 2.400-2.4835 GHz, and the total bandwidth is 83.5 MHz; the 2.4 G band is divided into 14 sub-channels; each sub-channel The width is 22 MHz; the center frequency of adjacent channels is separated by 5 MHz.
  • the terminal When the terminal establishes a Wi-Fi connection with the smart TV and transmits data via Wi-Fi, it occupies one of the 14 subchannels. If another terminal or the same terminal establishes a connection with the smart TV through Bluetooth at this time, after detecting that the Bluetooth is started, the Wi-Fi status module 10 first detects whether the Wi-Fi module of the television end is in a connected state, that is, Is Wi-Fi working? When the Wi-Fi status module 10 detects that it is in an active state, the channel recording module 20 acquires its data transmission channel and records it as an occupied channel.
  • the acquisition of the channel occupied by the Wi-Fi module for transmitting data may be that the center frequency used by the Wi-Fi bottom layer driver to add the transmission data is sent to the processor through a message, and the television terminal is receiving.
  • the channel recording module 20 directly acquires the message from the processor, and determines the occupied by the Wi-Fi transmission data through the center frequency point.
  • Channel in other embodiments, may also be a television end
  • the channel recording module 20 sends an instruction to the Wi-Fi bottom layer driver for uploading the center frequency point used when transmitting the data according to the instruction.
  • the Bluetooth device After recording the channel occupied by the Wi-Fi module to transmit data, responding to the Bluetooth connection request to establish a Bluetooth connection, and when transmitting data through the Bluetooth between the terminal and the smart TV, traversing the above 14 channels, skipping the recorded occupied channel Select other channels for data transmission, that is, avoid occupying the same channel with Wi-Fi transmission data. In this way, the Bluetooth device automatically skips the occupied channel when transmitting data to avoid data transmission errors due to signal interference.
  • the parameter setting device for establishing a wireless connection first detects whether the wireless network Wi-Fi is in a connected state after the Bluetooth is started. If the Wi-Fi is in the connected state, the channel occupied by the Wi-Fi is recorded as occupied. The channel, in order to enable Bluetooth to transmit data, performs frequency hopping and skips Wi-Fi occupied channels to avoid crosstalk with Wi-Fi communication and affect data transmission.
  • the channel recording module 20 includes the following units:
  • the frequency point obtaining unit 21 is configured to acquire a center frequency point currently occupied by the Wi-Fi when detecting that the Wi-Fi is in a connected state;
  • the channel calculation unit 22 is configured to calculate a data transmission channel of the Wi-Fi according to the central frequency point, and add tag information to the channel.
  • the Wi-Fi module occupies one of the channels when transmitting data, and the frequency acquisition unit 21 obtains the center frequency information F cen used by the frequency acquisition unit 21 Thereafter, the channel calculation unit 22 can calculate the minimum frequency F min or the maximum frequency F max used by the channel calculation unit 22 according to the following formula 1 or formula 2, wherein the units of F cen , F min and F max are both MHz.
  • the center frequency is 2.432 GHz, which is 2432 MHz, it is calculated according to Formula 1.
  • the Wi-Fi transmission data occupying channel related information may be calculated by the bottom layer driver after acquiring the center frequency point and uploaded to the server, or the subsequent Bluetooth module may receive the Bluetooth connection request, and detecting that the Wi-Fi has been established.
  • the frequency point information is obtained from the processor and calculated.
  • the parameter setting device for establishing a wireless connection further includes:
  • a record deletion module configured to delete the record of the occupied channel when detecting that the Wi-Fi is disconnected.
  • the default mode of selecting the channel by Bluetooth is the adaptive frequency hopping mechanism. Therefore, when it is detected that the Wi-Fi connection is not established, there is no need to consider the problem of avoiding Wi-Fi transmission data interference. At this time, the record deletion module deletes the record of the occupied channel. According to the mechanism, the channel is randomly selected for data transmission.
  • the parameter setting device for establishing a wireless connection calculates a Wi-Fi transmission data occupation channel through a central frequency point, and records a channel occupied by Wi-Fi as an occupied channel, so that when Bluetooth performs data transmission, frequency hopping is performed. Skip Wi-Fi occupied channels to avoid crosstalk with Wi-Fi communication and affect data transmission.
  • a third embodiment of the parameter setting apparatus for establishing a wireless connection of the present invention is proposed based on the first embodiment.
  • the device is different from the first embodiment in that the parameter setting device for establishing a wireless connection further includes:
  • the Bluetooth status module 30 is configured to detect, after detecting that Wi-Fi is turned on, whether the Bluetooth is in a connected state;
  • the bandwidth setting module 40 is configured to switch, when the Bluetooth is in the connected state, the bandwidth of the Wi-Fi band from the second preset bandwidth to the first preset bandwidth, where the second preset bandwidth is greater than the The first preset bandwidth is described.
  • the device of this embodiment is intended to provide a method of connecting Wi-Fi to avoid crosstalk with the Bluetooth signal when the Bluetooth is in the connected state.
  • the bandwidth setting module 40 will Wi.
  • the larger bandwidth of the -Fi is switched to a smaller bandwidth to reduce the interference of the Bluetooth signal.
  • Wi-Fi occupies less bandwidth, it can provide more available channels and improve resistance.
  • the interference capability the first preset bandwidth may be set by the user in advance. In this embodiment, the first preset bandwidth is set to 20 MHz. In other embodiments, other bandwidths may be set according to requirements, which may be less than 20 MHz.
  • the smaller the set bandwidth the narrower the available frequency range of the current frequency band, resulting in a smaller data transmission rate. Therefore, when setting the first preset bandwidth, the user sets the first preset bandwidth to reduce the crosstalk with the Bluetooth signal. At the same time, we must also consider the data transmission rate.
  • the Bluetooth status module 30 After detecting that Wi-Fi is turned on, the Bluetooth status module 30 first detects whether the Bluetooth is in a connected state, and when detecting that Bluetooth is in a connected state, the bandwidth setting module 40 establishes Wi-Fi in response to the received Wi-Fi connection command. Connect, set the bandwidth to 20MHz, as shown in Figure 2, the Wi-Fi available channels are 1, 5, 9 and 13 channels, more available channels, reducing the probability of crosstalk with Bluetooth signals, reducing Wi- When Fi and Bluetooth transmit data at the same time, data transmission errors occur due to mutual interference.
  • the bandwidth setting module 40 is further configured to switch the bandwidth of the Wi-Fi from the first preset bandwidth to the second preset bandwidth when detecting that the Bluetooth is in the disconnected state.
  • the bandwidth of the larger frequency band can be switched back.
  • This embodiment is preferably 40 MHz.
  • the available channel is reduced, referring to FIG. 2
  • the available channels of Wi-Fi at this time are 3 and 11 channels or 4 and 12 channels. Due to the wide bandwidth, the wider frequency range of the current frequency band and the higher the data transmission rate. That is to say, when the smart TV transmits data only through Wi-Fi, in order to increase the data transmission rate, a wider bandwidth can be used for data transmission.
  • the parameter setting device for establishing a wireless connection proposed in this embodiment has a smaller bandwidth for Wi-Fi, and has a larger bandwidth when the TV terminal is already in a Bluetooth connection state and needs to establish a Wi-Fi connection for data transmission.
  • the channel can be selected to reduce the situation in which data transmission errors occur due to mutual interference when Wi-Fi and Bluetooth transmit data simultaneously.

Abstract

本发明公开了一种建立无线连接的参数设置方法,该方法流程包括:在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态;当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道。本发明还提出一种建立无线连接的参数设置装置。本发明解决了在使用蓝牙传输数据时,因为Wi-Fi通信的干扰而影响数据传输的问题。

Description

建立无线连接的参数设置方法及装置 技术领域
本发明涉及无线通讯技术领域,尤其涉及一种建立无线连接的参数设置方法及装置。
背景技术
随着智能电视的功能逐渐强大,Wi-Fi(Wireless-Fidelity,无线保真网络)及蓝牙已成为智能电视的基本功能配置。Wi-Fi及蓝牙都属于2.4G无线技术,2.4G无线技术的频段处于2.400GHz-2.4835GHz之间,此频段是国际规定的免费频段,共有50个工作信道,采用跳频传输方式实现数据传输,其中,Wi-Fi定义有14个信道。
Wi-Fi及蓝牙都使用2.4G无线技术,也就是都使用上述频段进行数据传输,其中,蓝牙使用自适应跳频机制,当两功能模块同时打开时并传输数据时,蓝牙模块和Wi-Fi模块均不会自动避开对方所在的信道频率范围,这样就会互相产生相互干扰,影响数据的传输。
发明内容
本发明提供一种建立无线连接的参数设置方法及装置,其主要目的在于解决在使用蓝牙传输数据时,因为Wi-Fi通信的干扰而影响数据传输的问题。
为实现上述目的,本发明提供一种建立无线连接的参数设置方法,该建立无线连接的参数设置方法包括:
在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态;
当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道。
优选地,所述当检测到Wi-Fi处于连接状态时,将所述Wi-Fi占用的信道记录为已占用信道的步骤包括:
当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用的中心频点;
根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息。
优选地,所述获取所述Wi-Fi当前占用的中心频点的步骤包括:
在接收到终端发送的蓝牙连接请求时,发送指令给Wi-Fi底层驱动,以供所述Wi-Fi底层驱动根据所述指令上传所述Wi-Fi底层驱动传输数据时使用的中心频点。
优选地,所述在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态的步骤之后,所述建立无线连接的参数设置方法还包括:
当检测到没有建立Wi-Fi连接时,采用自适应跳频机制为所述蓝牙选择信道进行数据传输。
优选地,所述当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道的步骤之后,所述建立无线连接的参数设置方法还包括:
当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
优选地,所述在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态的步骤之前,所述建立无线连接的参数设置方法还包括:
当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态;
当检测到所述蓝牙处于连接状态时,将所述Wi-Fi的频段带宽由第二预设带宽切换为第一预设带宽,其中,所述第二预设带宽大于所述第一预设带宽。
优选地,所述当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态的步骤之后,所述建立无线连接的参数设置方法还包括:
当检测到所述蓝牙处于断开状态时,将所述Wi-Fi的频段带宽由所述第一预设带宽切换至所述第二预设带宽。
此外,为实现上述目的,本发明还提供一种建立无线连接的参数设置方法,该建立无线连接的参数设置方法包括:
在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态;
当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道;
其中,当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用的 中心频点;
根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息;
当检测到没有建立Wi-Fi连接时,所述蓝牙采用自适应跳频机制选择信道进行数据传输;
当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
优选地,所述获取所述Wi-Fi当前占用的中心频点的步骤包括:
在接收到终端发送的蓝牙连接请求时,发送指令给Wi-Fi底层驱动,以供所述Wi-Fi底层驱动根据所述指令上传所述Wi-Fi底层驱动传输数据时使用的中心频点。
此外,为实现上述目的,本发明还提供一种建立无线连接的参数设置装置,该建立无线连接的参数设置装置包括:
Wi-Fi状态模块,用于在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态;
信道记录模块,用于当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道。
优选地,所述信道记录模块包括:
频点获取单元,用于当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用的中心频点;
信道计算单元,用于根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息。
优选地,所述频点获取单元,还用于在接收到终端发送的蓝牙连接请求时,发送指令给Wi-Fi底层驱动,以供所述Wi-Fi底层驱动根据所述指令上传所述Wi-Fi底层驱动传输数据时使用的中心频点。
优选地,所述信道记录模块,还用于当检测到没有建立Wi-Fi连接时,采用自适应跳频机制为所述蓝牙选择信道进行数据传输。
优选地,所述建立无线连接的参数设置装置还包括:
记录删除模块,用于当检测到所述Wi-Fi断开时,删除所述已占用信道的 记录。
优选地,所述建立无线连接的参数设置装置还包括:
蓝牙状态模块,用于当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态;
带宽设置模块,用于当检测到所述蓝牙处于连接状态时,将所述Wi-Fi的频段带宽由第二预设带宽切换为第一预设带宽,其中,所述第二预设带宽大于所述第一预设带宽。
优选地,所述带宽设置模块,还用于当检测到所述蓝牙处于断开状态时,将所述Wi-Fi的频段带宽由所述第一预设带宽切换至所述第二预设带宽。
本发明提出的建立无线连接的参数设置方法及装置,在蓝牙启动之后,首先检测无线网络Wi-Fi是否处于连接状态,如果Wi-Fi处于连接状态,那么将Wi-Fi占用的信道记录为已占用信道,以使蓝牙进行数据传输时,进行跳频,跳过Wi-Fi占用信道,以避免与Wi-Fi通信产生串扰,影响数据的传输。
附图说明
图1为本发明建立无线连接的参数设置方法第一实施例的流程图;
图2为本发明中基于2.4G频段的Wi-Fi标准工作频段示意图;
图3为本发明建立无线连接的参数设置方法第二实施例中已占用信道记录步骤的细化流程示意图;
图4为本发明建立无线连接的参数设置方法第三实施例的流程图;
图5为本发明建立无线连接的参数设置装置第一实施例的功能模块示意图;
图6为本发明建立无线连接的参数设置装置第二实施例中信道记录模块的细化功能模块示意图;
图7为本发明建立无线连接的参数设置装置第三实施例的功能模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明提供一种建立无线连接的参数设置方法。
参照图1所示,为本发明建立无线连接的参数设置方法第一实施例的流程图。
在第一实施例中,该建立无线连接的参数设置方法包括:
步骤S10,在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态。
步骤S20,当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道。
2.4GHz无线技术,是一种短距离无线传输技术。2.4GHz指的是一个工作频段,2.4GHz ISM(Industry Science Medicine,工业、科学、医药)频段是全世界公开通用使用的无线频段,蓝牙和Wi-Fi均工作在这一频段,因此会产生信号干扰。本实施例以智能电视为例进行说明,但并不局限于此,也可以是其他同时具备蓝牙和Wi-Fi功能的终端。现有的智能电视普遍都具有蓝牙和Wi-Fi模块,方便智能电视与其他的终端之间进行数据传输。可以理解的是,可以是同一终端与智能电视建立蓝牙和Wi-Fi连接,也可以是不同终端。
参照图2所示,Wi-Fi工作信道基于ISM频段具有以下标准:工作在2.4G频段,频率范围为2.400-2.4835GHz,共83.5MHz频宽;2.4G频段划分为14个子信道;每个子信道宽度为22MHz;相邻信道的中心频点之间间隔5MHz频宽。
在终端与智能电视建立Wi-Fi连接并通过Wi-Fi传输数据时,会占用14个子信道中的一个。如果此时有其他的终端或者同一个终端通过蓝牙与智能电视建立连接时,电视端在检测到蓝牙启动之后,首先检测该电视端的Wi-Fi模块是否处于连接状态,即Wi-Fi是否处于工作状态。当检测到其处于工作状态时,获取其数据传输信道,将其记录为已占用信道。
可以理解的是,关于Wi-Fi模块传输数据所占用的信道的获取,可以是在 Wi-Fi底层驱动将添加传输数据时所使用的中心频点通过消息方式发送给处理器,电视端在接收到蓝牙连接请求,同时检测到已经建立Wi-Fi连接时,直接从处理器处获取该消息,并通过中心频点判断该Wi-Fi传输数据所占用的信道,在其他实施例中,也可以是电视端在接收到终端发送的蓝牙连接请求时,发送指令给Wi-Fi底层驱动,以供其根据该指令上传其传输数据时使用的中心频点。
记录Wi-Fi传输数据所占用的信道之后,在终端与智能电视之间通过蓝牙传输数据时,对上述14个信道做遍历,跳过记录的已占用信道,选择其他信道进行数据传输,即避免与Wi-Fi传输数据占用同一个信道,这样,蓝牙设备在传输数据时,自动跳过上述占用信道,以避免因信号干扰而出现数据传输错误。
本实施例提出的建立无线连接的参数设置方法,在蓝牙启动之后,首先检测无线网络Wi-Fi是否处于连接状态,如果Wi-Fi处于连接状态,那么将Wi-Fi占用的信道记录为已占用信道,以使蓝牙进行数据传输时,进行跳频,跳过Wi-Fi占用信道,以避免与Wi-Fi通信产生串扰,影响数据的传输。
参照图3所示,基于第一实施例提出本发明建立无线连接的参数设置方法的第二实施例。在本实施例中,所述方法与第一实施例的区别在于,步骤S20包括以下细化步骤:
步骤S21,当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用的中心频点;
步骤S22,根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息。
由于2.4G频段划分为14个子信道;每个子信道宽度为22MHz,Wi-Fi模块在传输数据时,会占用其中的一个信道,当获取到其使用的中心频点信息Fcen之后,可以根据下述公式一或公式二计算出其使用的最小频率Fmin或最大频率Fmax,其中,Fcen、Fmin和Fmax的单位均为MHz。
公式一:Fmin=Fcen-11;
公式二:Fmax=Fcen+11;
然后,根据下述公式三或公式四计算出该中心频点对应的信道n,
公式三:Fmin=2412+(n-1)*5-11
公式四:Fmax=2412+(n-1)*5+11
例如,如果获取到中心频点为2.432GHz,即2432MHz,根据公式一计算得到其最小频率为2421MHz,进而,根据公式三计算得到,信道n=5,那么可知Wi-Fi模块在传输数据时占用的是5信道,对该信道进行标记,为该信道添加标记信息,在其他实施例中,也可以记录该信道,在蓝牙模块选择信道时,判断信道是否与记录的已占用信道相同,以跳过记录的信道。
在其他实施例中,也可以通过公式Fcen=2412+(n-1)*5,直接根据中心频点计算得到Wi-Fi模块在传输数据时占用的信道。
具体的,Wi-Fi传输数据占用信道相关信息可以是底层驱动获取到中心频点后计算得出并上传给服务器,也可以是后续蓝牙模块在接收到蓝牙连接请求,检测到已经建立Wi-Fi连接时,从处理器处获得频点信息后计算所得。
进一步地,在步骤S10之后,该建立无线连接的参数设置方法还包括步骤:
当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
蓝牙默认的选择信道的方式为自适应跳频机制,因此,当检测到没有建立Wi-Fi连接时,无需考虑避免Wi-Fi传输数据干扰的问题,此时需要删除已占用信道的记录,根据该机制随机选择信道进行数据传输。
本实施例提出的建立无线连接的参数设置方法,通过中心频点计算Wi-Fi传输数据占用信道,将Wi-Fi占用的信道记录为已占用信道,以使蓝牙进行数据传输时,进行跳频,跳过Wi-Fi占用信道,以避免与Wi-Fi通信产生串扰,影响数据的传输。
参照图4所示,基于第一实施例提出本发明建立无线连接的参数设置方法的第三实施例。在本实施例中,所述方法与第一实施例的区别在于,步骤S10之前,该建立无线连接的参数设置方法还包括:
步骤S30,当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态;
步骤S40,当检测到蓝牙处于连接状态时,将所述Wi-Fi的频段带宽由第二预设带宽切换为第一预设带宽,其中,所述第二预设带宽大于所述第一预设带宽。
本实施例在蓝牙已经处于连接状态时,提供一种连接Wi-Fi的方法以避免与蓝牙信号串扰,当检测到Wi-Fi开启之后,电视端可以在检测到蓝牙处于连接状态时,将Wi-Fi的较大的带宽切换为较小的带宽,以减小蓝牙信号的干扰。由于Wi-Fi占用的带宽越小,可以提供更多的可用信道,提高了抗干扰能力,第一预设带宽可以由用户提前设置,本实施例优选地,将第一预设带宽设置为20MHz,在其他实施例中,可以根据需求设置其他的带宽,可以小于20MHz,需要注意的是,设置的带宽越小,当前频段的可使用频率范围就越窄,导致数据传输速率越小,因此,用户在设置第一预设带宽时,根据需求设置,在降低避免与蓝牙信号串扰的同时,也要考虑到数据的传输速率。
在检测到Wi-Fi开启之后,首先检测所述蓝牙是否处于连接状态,当检测到蓝牙处于连接状态时,响应接收到的Wi-Fi连接指令,建立Wi-Fi连接,将带宽设置为20MHz,参照图2所示,此时Wi-Fi的可用信道为1、5、9和13信道,可用信道较多,降低了与蓝牙信号串扰的概率,减少了Wi-Fi和蓝牙同时传输数据时,因为相互干扰而产生数据传输错误的情况。
进一步地,在步骤S30之后,该建立无线连接的参数设置方法还包括步骤:
当检测到蓝牙处于断开状态时,将所述Wi-Fi的频段带宽由第一预设带宽切换至第二预设带宽。
当蓝牙处于断开状态时,因为无需考虑蓝牙信道的串扰问题,可以切换回较大的频段带宽,本实施例优选地为40MHz,此时,由于增大了带宽,可用信道减少,参照图2所示,此时Wi-Fi的可用信道为3和11信道或者4和12信道,由于带宽较宽,当前频段的可使用频率范围就越宽,数据传输速率就越大。也就是说,在智能电视只通过Wi-Fi传输数据时,为了增大数据传输速率,可以使用较宽的带宽进行数据传输。
本实施例提出的建立无线连接的参数设置方法,在电视端已经处于蓝牙连接状态,需要建立Wi-Fi连接进行数据传输时,通过为Wi-Fi设置较小的带宽,使其具有较多的可用信道进行选择,以减少Wi-Fi和蓝牙同时传输数据时,因为相互干扰而产生数据传输错误的情况。
本发明还提出一种建立无线连接的参数设置装置。
参照图5所示,为本发明建立无线连接的参数设置装置第一实施例的功能模块示意图。
在该实施例中,该建立无线连接的参数设置装置包括:
Wi-Fi状态模块10,用于在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态。
信道记录模块20,用于当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道。
2.4GHz无线技术,是一种短距离无线传输技术。2.4GHz指的是一个工作频段,2.4GHz ISM(Industry Science Medicine,工业、科学、医药)频段是全世界公开通用使用的无线频段,蓝牙和Wi-Fi均工作在这一频段,因此会产生信号干扰。本实施例以智能电视为例进行说明,但并不局限于此,也可以是其他同时具备蓝牙和Wi-Fi功能的终端。而现有的智能电视普遍都具有蓝牙和Wi-Fi模块,方便智能电视与其他的终端之间进行数据传输。可以理解的是,可以是同一终端与智能电视建立蓝牙和Wi-Fi连接,也可以是不同终端。
参照图2所示,Wi-Fi工作信道基于ISM频段具有以下标准:工作在2.4G频段,频率范围为2.400-2.4835GHz,共83.5MHz频宽;2.4G频段划分为14个子信道;每个子信道宽度为22MHz;相邻信道的中心频点之间间隔5MHz频宽。
在终端与智能电视建立Wi-Fi连接并通过Wi-Fi传输数据时,会占用14个子信道中的一个。如果此时有其他的终端或者同一个终端通过蓝牙与智能电视建立连接时,电视端在检测到蓝牙启动之后,Wi-Fi状态模块10首先检测该电视端的Wi-Fi模块是否处于连接状态,即Wi-Fi是否处于工作状态。当Wi-Fi状态模块10检测到其处于工作状态时,信道记录模块20获取其数据传输信道,将其记录为已占用信道。
可以理解的是,关于Wi-Fi模块传输数据所占用的信道的获取,可以是在Wi-Fi底层驱动将添加传输数据时所使用的中心频点通过消息方式发送给处理器,电视端在接收到蓝牙连接请求,同时Wi-Fi状态模块10检测到已经建立Wi-Fi连接时,信道记录模块20直接从处理器处获取该消息,并通过中心频点判断该Wi-Fi传输数据所占用的信道,在其他实施例中,也可以是电视端 在接收到终端发送的蓝牙连接请求时,信道记录模块20发送指令给Wi-Fi底层驱动,以供其根据该指令上传其传输数据时使用的中心频点。
记录Wi-Fi模块传输数据所占用的信道之后,响应蓝牙连接请求以建立蓝牙连接,在终端与智能电视之间通过蓝牙传输数据时,对上述14个信道做遍历,跳过记录的已占用信道,选择其他信道进行数据传输,即避免与Wi-Fi传输数据占用同一个信道,这样,蓝牙设备在传输数据时,自动跳过上述占用信道,以避免因信号干扰而出现数据传输错误。
本实施例提出的建立无线连接的参数设置装置,在蓝牙启动之后,首先检测无线网络Wi-Fi是否处于连接状态,如果Wi-Fi处于连接状态,那么将Wi-Fi占用的信道记录为已占用信道,以使蓝牙进行数据传输时,进行跳频,跳过Wi-Fi占用信道,以避免与Wi-Fi通信产生串扰,影响数据的传输。
参照图6所示,基于第一实施例提出本发明建立无线连接的参数设置装置的第二实施例。在本实施例中,所述装置与第一实施例的区别在于,信道记录模块20包括以下单元:
频点获取单元21,用于当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用的中心频点;
信道计算单元22,用于根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息。
由于2.4G频段划分为14个子信道;每个子信道宽度为22MHz,Wi-Fi模块在传输数据时,会占用其中的一个信道,当频点获取单元21获取到其使用的中心频点信息Fcen之后,信道计算单元22可以根据下述公式一或公式二计算出其使用的最小频率Fmin或最大频率Fmax,其中,Fcen、Fmin和Fmax的单位均为MHz。
公式一:Fmin=Fcen-11;
公式二:Fmax=Fcen+11;
然后,根据下述公式三或公式四计算出该中心频点对应的信道n,
公式三:Fmin=2412+(n-1)*5-11
公式四:Fmax=2412+(n-1)*5+11
例如,如果获取到中心频点为2.432GHz,即2432MHz,根据公式一计算 得到其最小频率为2421MHz,进而,根据公式三计算得到,信道n=5,那么可知Wi-Fi模块在传输数据时占用的是5信道,对该信道进行标记。
在其他实施例中,也可以通过公式Fcen=2412+(n-1)*5,信道计算单元22直接根据中心频点计算得到Wi-Fi模块在传输数据时占用的信道。
具体的,Wi-Fi传输数据占用信道相关信息可以是底层驱动获取到中心频点后计算得出并上传给服务器,也可以是后续蓝牙模块在接收到蓝牙连接请求,检测到已经建立Wi-Fi连接时,从处理器处获得频点信息后计算所得。
进一步地,该建立无线连接的参数设置装置还包括:
记录删除模块,用于当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
蓝牙默认的选择信道的方式为自适应跳频机制,因此,当检测到没有建立Wi-Fi连接时,无需考虑避免Wi-Fi传输数据干扰的问题,此时记录删除模块删除已占用信道的记录,根据该机制随机选择信道进行数据传输。
本实施例提出的建立无线连接的参数设置装置,通过中心频点计算Wi-Fi传输数据占用信道,将Wi-Fi占用的信道记录为已占用信道,以使蓝牙进行数据传输时,进行跳频,跳过Wi-Fi占用信道,以避免与Wi-Fi通信产生串扰,影响数据的传输。
参照图7所示,基于第一实施例提出本发明建立无线连接的参数设置装置的第三实施例。在本实施例中,所述装置与第一实施例的区别在于,该建立无线连接的参数设置装置还包括:
蓝牙状态模块30,用于当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态;
带宽设置模块40,用于当检测到蓝牙处于连接状态时,将所述Wi-Fi的频段带宽由第二预设带宽切换为第一预设带宽,其中,所述第二预设带宽大于所述第一预设带宽。
本实施例的装置旨在蓝牙已经·处于连接状态时,提供一种连接Wi-Fi的方法以避免与蓝牙信号串扰,当蓝牙状态模块30检测到Wi-Fi开启之后,带宽设置模块40将Wi-Fi的较大的带宽切换为较小的带宽,以减小蓝牙信号的干扰。,由于Wi-Fi占用的带宽越小,可以提供更多的可用信道,提高了抗 干扰能力,第一预设带宽可以由用户提前设置,本实施例优选地,将第一预设带宽设置为20MHz,在其他实施例中,可以根据需求设置其他的带宽,可以小于20MHz,需要注意的是,设置的带宽越小,当前频段的可使用频率范围就越窄,导致数据传输速率越小,因此,用户在设置第一预设带宽时,根据需求设置,在降低避免与蓝牙信号串扰的同时,也要考虑到数据的传输速率。
在检测到Wi-Fi开启之后,蓝牙状态模块30首先检测所述蓝牙是否处于连接状态,当检测到蓝牙处于连接状态时,带宽设置模块40响应接收到的Wi-Fi连接指令,建立Wi-Fi连接,将带宽设置为20MHz,参照图2所示,此时Wi-Fi的可用信道为1、5、9和13信道,可用信道较多,降低了与蓝牙信号串扰的概率,减少了Wi-Fi和蓝牙同时传输数据时,因为相互干扰而产生数据传输错误的情况。
进一步地,带宽设置模块40,还用于当检测到蓝牙处于断开状态时,将所述Wi-Fi的频段带宽由第一预设带宽切换至第二预设带宽。
当蓝牙处于断开状态时,因为无需考虑蓝牙信道的串扰问题,可以切换回较大的频段带宽,本实施例优选地为40MHz,此时,由于增大了带宽,可用信道减少,参照图2所示,此时Wi-Fi的可用信道为3和11信道或者4和12信道,由于带宽较宽,当前频段的可使用频率范围就越宽,数据传输速率就越大。也就是说,在智能电视只通过Wi-Fi传输数据时,为了增大数据传输速率,可以使用较宽的带宽进行数据传输。
本实施例提出的建立无线连接的参数设置装置,在电视端已经处于蓝牙连接状态,需要建立Wi-Fi连接进行数据传输时,通过为Wi-Fi设置较小的带宽,使其具有较多的可用信道进行选择,以减少Wi-Fi和蓝牙同时传输数据时,因为相互干扰而产生数据传输错误的情况。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (18)

  1. 一种建立无线连接的参数设置方法,其特征在于,所述建立无线连接的参数设置方法还包括:
    在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态;
    当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道。
  2. 根据权利要求1所述的建立无线连接的参数设置方法,其特征在于,所述当检测到Wi-Fi处于连接状态时,将所述Wi-Fi占用的信道记录为已占用信道的步骤包括:
    当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用的中心频点;
    根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息。
  3. 根据权利要求2所述的建立无线连接的参数设置方法,其特征在于,所述获取所述Wi-Fi当前占用的中心频点的步骤包括:
    在接收到终端发送的蓝牙连接请求时,发送指令给Wi-Fi底层驱动,以供所述Wi-Fi底层驱动根据所述指令上传所述Wi-Fi底层驱动传输数据时使用的中心频点。
  4. 根据权利要求1所述的建立无线连接的参数设置方法,其特征在于,所述在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态的步骤之后,所述建立无线连接的参数设置方法还包括:
    当检测到没有建立Wi-Fi连接时,采用自适应跳频机制为所述蓝牙选择信道进行数据传输。
  5. 根据权利要求1所述的建立无线连接的参数设置方法,其特征在于,所述当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记 录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道的步骤之后,所述建立无线连接的参数设置方法还包括:
    当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
  6. 根据权利要求3所述的建立无线连接的参数设置方法,其特征在于,所述当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道的步骤之后,所述建立无线连接的参数设置方法还包括:
    当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
  7. 根据权利要求1所述的建立无线连接的参数设置方法,其特征在于,所述在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态的步骤之前,所述建立无线连接的参数设置方法还包括:
    当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态;
    当检测到所述蓝牙处于连接状态时,将所述Wi-Fi的频段带宽由第二预设带宽切换为第一预设带宽,其中,所述第二预设带宽大于所述第一预设带宽。
  8. 根据权利要求7所述的建立无线连接的参数设置方法,其特征在于,所述当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态的步骤之后,所述建立无线连接的参数设置方法还包括:
    当检测到所述蓝牙处于断开状态时,将所述Wi-Fi的频段带宽由所述第一预设带宽切换至所述第二预设带宽。
  9. 一种建立无线连接的参数设置方法,其特征在于,所述建立无线连接的参数设置方法还包括:
    在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态;
    当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道;
    其中,当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用 的中心频点;
    根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息;
    当检测到没有建立Wi-Fi连接时,所述蓝牙采用自适应跳频机制选择信道进行数据传输;
    当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
  10. 根据权利要求9所述的建立无线连接的参数设置方法,其特征在于,所述获取所述Wi-Fi当前占用的中心频点的步骤包括:
    在接收到终端发送的蓝牙连接请求时,发送指令给Wi-Fi底层驱动,以供所述Wi-Fi底层驱动根据所述指令上传所述Wi-Fi底层驱动传输数据时使用的中心频点。
  11. 一种建立无线连接的参数设置装置,其特征在于,所述建立无线连接的参数设置装置包括:
    Wi-Fi状态模块,用于在检测到蓝牙启动之后,检测无线网络Wi-Fi是否处于连接状态;
    信道记录模块,用于当检测到所述Wi-Fi处于连接状态时,将所述Wi-Fi的数据传输信道记录为已占用信道,以使所述蓝牙进行数据传输时跳过所述已占用信道。
  12. 根据权利要求11所述的建立无线连接的参数设置装置,其特征在于,所述信道记录模块包括:
    频点获取单元,用于当检测到所述Wi-Fi处于连接状态时,获取所述Wi-Fi当前占用的中心频点;
    信道计算单元,用于根据所述中心频点计算所述Wi-Fi的数据传输信道,并为所述信道添加标记信息。
  13. 根据权利要求12所述的建立无线连接的参数设置装置,其特征在于,所述频点获取单元,还用于在接收到终端发送的蓝牙连接请求时,发送指令 给Wi-Fi底层驱动,以供所述Wi-Fi底层驱动根据所述指令上传所述Wi-Fi底层驱动传输数据时使用的中心频点。
  14. 根据权利要求12所述的建立无线连接的参数设置装置,其特征在于,所述信道记录模块,还用于当检测到没有建立Wi-Fi连接时,采用自适应跳频机制为所述蓝牙选择信道进行数据传输。
  15. 根据权利要求11所述的建立无线连接的参数设置装置,其特征在于,所述建立无线连接的参数设置装置还包括:
    记录删除模块,用于当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
  16. 根据权利要求13所述的建立无线连接的参数设置装置,其特征在于,所述建立无线连接的参数设置装置还包括:
    记录删除模块,用于当检测到所述Wi-Fi断开时,删除所述已占用信道的记录。
  17. 根据权利要求11所述的建立无线连接的参数设置装置,其特征在于,所述建立无线连接的参数设置装置还包括:
    蓝牙状态模块,用于当检测到Wi-Fi开启之后,检测所述蓝牙是否处于连接状态;
    带宽设置模块,用于当检测到所述蓝牙处于连接状态时,将所述Wi-Fi的频段带宽由第二预设带宽切换为第一预设带宽,其中,所述第二预设带宽大于所述第一预设带宽。
  18. 根据权利要求17所述的建立无线连接的参数设置装置,其特征在于,所述带宽设置模块,还用于当检测到所述蓝牙处于断开状态时,将所述Wi-Fi的频段带宽由所述第一预设带宽切换至所述第二预设带宽。
PCT/CN2016/084843 2015-08-28 2016-06-03 建立无线连接的参数设置方法及装置 WO2017036217A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510545670.6A CN105208512A (zh) 2015-08-28 2015-08-28 建立无线连接的参数设置方法及装置
CN201510545670.6 2015-08-28

Publications (1)

Publication Number Publication Date
WO2017036217A1 true WO2017036217A1 (zh) 2017-03-09

Family

ID=54955883

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084843 WO2017036217A1 (zh) 2015-08-28 2016-06-03 建立无线连接的参数设置方法及装置

Country Status (2)

Country Link
CN (1) CN105208512A (zh)
WO (1) WO2017036217A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031515A (zh) * 2019-11-20 2020-04-17 上海大学 一种车载无线多制式混合组网的方法

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208512A (zh) * 2015-08-28 2015-12-30 深圳Tcl数字技术有限公司 建立无线连接的参数设置方法及装置
CN105792105B (zh) * 2016-02-29 2022-05-31 联想(北京)有限公司 一种数据传输方法及电子设备
CN105704725A (zh) * 2016-03-09 2016-06-22 青岛海信电器股份有限公司 一种防止wi-fi和蓝牙通信互扰的方法及装置
CN106211276A (zh) * 2016-06-27 2016-12-07 联想(北京)有限公司 一种控制方法及装置
CN106658597B (zh) * 2016-10-12 2020-03-20 深圳市道通智能航空技术有限公司 一种数据传输方法,发送装置及接收装置
CN108259276B (zh) * 2016-12-28 2021-12-14 中兴通讯股份有限公司 一种控制超宽带铜线接入技术g.fast端口的方法及装置
CN106817179B (zh) * 2016-12-30 2020-06-05 上海同耀通信技术有限公司 自适应测试系统及方法
CN107708119B (zh) * 2017-09-26 2021-04-27 Oppo广东移动通信有限公司 一种通信设备及其通信频段的分配方法、可读存储介质
CN109756246B (zh) * 2017-11-02 2020-10-27 展讯通信(上海)有限公司 抑制gsm对蓝牙干扰的方法、装置及移动终端
CN109951885B (zh) * 2017-12-21 2021-06-15 深圳Tcl新技术有限公司 无线信道频宽模式自动切换的方法、移动终端及存储介质
CN109640341A (zh) * 2018-12-25 2019-04-16 全球能源互联网研究院有限公司 信号干扰的处理方法及电子设备
CN112019235A (zh) * 2020-08-27 2020-12-01 深圳市兆驰数码科技股份有限公司 Wifi发射设备及其蓝牙抗干扰的跳频方法
CN113411352B (zh) * 2021-08-03 2021-12-14 广州市威士丹利智能科技有限公司 一种信号抗干扰传输方法及系统
CN114422052B (zh) * 2021-12-28 2024-05-07 龙尚科技(上海)有限公司 Wi-Fi和蓝牙的抗干扰测试方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383621A (zh) * 2008-09-08 2009-03-11 北京航空航天大学 多射频接口无线接入装置及其频段调控方法
CN101814961A (zh) * 2010-03-18 2010-08-25 华为终端有限公司 数据传输方法及装置
CN103369711A (zh) * 2012-03-31 2013-10-23 华为终端有限公司 通信连接建立方法及终端设备
CN104853358A (zh) * 2014-02-19 2015-08-19 联发科技股份有限公司 共存操作方法及无线系统
CN105208512A (zh) * 2015-08-28 2015-12-30 深圳Tcl数字技术有限公司 建立无线连接的参数设置方法及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8824966B2 (en) * 2006-08-16 2014-09-02 Dell Products L.P. System and method for reducing signal interference between bluetooth and WLAN communications
US20090303975A1 (en) * 2008-06-05 2009-12-10 Texas Instruments Incorporated Method and system for wireless coexistence
US8116684B2 (en) * 2008-07-30 2012-02-14 Intel Corporation Techniques to improve the radio co-existence of wireless signals
WO2011083568A1 (ja) * 2010-01-06 2011-07-14 三菱電機株式会社 無線通信装置および無線通信方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101383621A (zh) * 2008-09-08 2009-03-11 北京航空航天大学 多射频接口无线接入装置及其频段调控方法
CN101814961A (zh) * 2010-03-18 2010-08-25 华为终端有限公司 数据传输方法及装置
CN103369711A (zh) * 2012-03-31 2013-10-23 华为终端有限公司 通信连接建立方法及终端设备
CN104853358A (zh) * 2014-02-19 2015-08-19 联发科技股份有限公司 共存操作方法及无线系统
CN105208512A (zh) * 2015-08-28 2015-12-30 深圳Tcl数字技术有限公司 建立无线连接的参数设置方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031515A (zh) * 2019-11-20 2020-04-17 上海大学 一种车载无线多制式混合组网的方法

Also Published As

Publication number Publication date
CN105208512A (zh) 2015-12-30

Similar Documents

Publication Publication Date Title
WO2017036217A1 (zh) 建立无线连接的参数设置方法及装置
US10993276B2 (en) Radio communication device, radio communication system, radio communication method, and program
US9948993B2 (en) Information processing apparatus and information processing method
KR101777493B1 (ko) 정보 처리 장치 및 정보 처리 방법
US9288787B2 (en) Access point terminal, wireless communication terminal, wireless communication system, wireless communication method, program and integrated circuit
US8432920B2 (en) Direct link setup mechanisms for wireless LANs
US9106330B2 (en) Wireless communication apparatus and interference avoidance method
CN105917658B (zh) 解码设备、解码方法、编码设备和编码方法
US10492118B2 (en) Apparatus and method for supporting data transmission service over multiple networks
KR20160013119A (ko) Wi-Fi 디스플레이 연결의 오디오 및 음성 백 채널들의 설정 및 제어
CN105474691A (zh) 信息处理设备和信息处理方法
KR101379254B1 (ko) 디바이스 조정자 선택 기능을 가진 무선 통신을 위한시스템 및 방법
WO2018227985A1 (zh) 一种终端之间通信的方法、终端和系统
US20170367040A1 (en) Information processing device and information processing method
CN110996395B (zh) 用于辅链路的传输配置信息指示方法及装置、存储介质、终端
CN107318173A (zh) 移动终端与车载系统的数据传输方法及系统
US10104702B2 (en) Communication apparatus, control method thereof and storage medium
WO2020228454A1 (zh) 通信方法及相关产品
US9942836B1 (en) Simultaneous P2P and non-P2P communications
WO2024065127A1 (zh) 控制中继设备信息发送的方法及其装置
WO2020220257A1 (zh) 一种无线通信方法及装置
JP2023543755A (ja) 情報伝送方法、リソース選択方法、装置及び電子機器
JP5805355B2 (ja) 無線通信装置および無線通信制御方法
CN113015127B (zh) 通信方法及装置
CA3056193A1 (en) Dynamic measurement of network health

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: 16840646

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC DATED 12.07.2018 (F1205A)

122 Ep: pct application non-entry in european phase

Ref document number: 16840646

Country of ref document: EP

Kind code of ref document: A1