[go: up one dir, main page]

CN106792954B - Bluetooth and Wifi switching method based on environment perception and transmission equipment - Google Patents

Bluetooth and Wifi switching method based on environment perception and transmission equipment Download PDF

Info

Publication number
CN106792954B
CN106792954B CN201611167325.4A CN201611167325A CN106792954B CN 106792954 B CN106792954 B CN 106792954B CN 201611167325 A CN201611167325 A CN 201611167325A CN 106792954 B CN106792954 B CN 106792954B
Authority
CN
China
Prior art keywords
bluetooth
transmission
wifi
data
switching
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201611167325.4A
Other languages
Chinese (zh)
Other versions
CN106792954A (en
Inventor
任炬
彭许红
张尧学
刘亚萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New Cloud Technology Group Co ltd
Original Assignee
Central South University
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 Central South University filed Critical Central South University
Priority to CN201611167325.4A priority Critical patent/CN106792954B/en
Publication of CN106792954A publication Critical patent/CN106792954A/en
Application granted granted Critical
Publication of CN106792954B publication Critical patent/CN106792954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a Bluetooth and Wifi switching method and transmission equipment based on environment perception, which comprises the following steps: s1, obtaining environmental parameters of Bluetooth equipment, judging whether the Bluetooth equipment meets the data transmission requirement, if so, jumping to a step S2, otherwise, jumping to a step S4; s2, predicting transmission data flow, calculating the transmission data rate of the transmission data flow, and jumping to the step S3 when the transmission data rate is smaller than a preset switching threshold value, or jumping to the step S4; s3, data transmission is carried out through the Bluetooth equipment; and S4, switching the transmission equipment from the Bluetooth equipment to Wifi equipment, and transmitting data through the Wifi equipment. The invention can automatically select Bluetooth or Wifi for data transmission according to the Bluetooth connection state and the data flow, and has the advantages of low power consumption, low time delay, high speed and the like.

Description

一种基于环境感知的蓝牙与Wifi切换方法及传输设备A Bluetooth and Wifi switching method and transmission device based on environment perception

技术领域technical field

本发明涉及无线数据传输技术领域,尤其涉及一种基于环境感知的蓝牙与Wifi切换方法及传输设备。The present invention relates to the technical field of wireless data transmission, in particular to a method and transmission device for switching between Bluetooth and Wifi based on environment perception.

背景技术Background technique

WiFi和蓝牙都是广泛应用的无线网络数据传输手段,目前,70%的移动手机上配备了蓝牙,80%的智能手机配备了WiFi。在很多应用场景中两种技术都可以替换使用,但不同的无线数据传输协议在数据传输速率、功耗、传输距离等方面具有不同的特点。Both WiFi and Bluetooth are widely used means of wireless network data transmission. Currently, 70% of mobile phones are equipped with Bluetooth, and 80% of smart phones are equipped with WiFi. In many application scenarios, the two technologies can be used interchangeably, but different wireless data transmission protocols have different characteristics in terms of data transmission rate, power consumption, and transmission distance.

蓝牙技术包括传统蓝牙、高速蓝牙、低功耗蓝牙技术三种,提供低功耗、低延迟、低数据传输速率的无线通信。以BLE(Bluetooth Low Energy,低功耗蓝牙)为例,传输距离60~100m,在2.4G频段最大数据传输速率250kbps,完成一次连接,即扫描其它设备、建立链路、发送数据、认证和适当地结束,总共只需3ms。在功耗方面,终端节点用单节钮扣电池(如3V、220mAh的CR2032)工作几个月甚至几年。Bluetooth technology includes traditional Bluetooth, high-speed Bluetooth, and low-power Bluetooth technology, providing wireless communication with low power consumption, low latency, and low data transmission rate. Taking BLE (Bluetooth Low Energy, Bluetooth Low Energy) as an example, the transmission distance is 60-100m, and the maximum data transmission rate in the 2.4G frequency band is 250kbps. To complete a connection, that is, to scan other devices, establish a link, send data, authenticate and properly end, it only takes 3ms in total. In terms of power consumption, the terminal node works with a single coin cell battery (such as 3V, 220mAh CR2032) for several months or even years.

WiFi面向高速数据传输。应用最为广泛的IEEE 802.11系列802.11n理论速率最高可达600Mbps(业界主流为300Mbps),覆盖范围可以扩大到好几平方公里。IEEE 802.11ac,理论上可以提供高达每秒1Gbit的数据传输能力。WiFi的功耗远远高于蓝牙,通常采用节能管理模块实现更高的能耗效率。具备PSM(Power Save Mode)模式的WiFi通过在空闲期的休眠来实现节能。射频周期性地检测接入点是否有数据包缓存,当缓存数据量触发PSM阈值,将由休眠状态切入活跃状态。活跃状态的功耗是休眠状态的20倍左右,通过在AP缓存数据包的方式,一方面节省了耗能,另一方面增加了额外的100-300ms延时。这种模式下,具有两个极端,更低的功耗,则更高的额外延时;更低的额外延时,则更高的功耗。WiFi is geared towards high-speed data transfer. The most widely used IEEE 802.11 series 802.11n theoretical rate can reach up to 600Mbps (the industry mainstream is 300Mbps), and the coverage can be expanded to several square kilometers. IEEE 802.11ac can theoretically provide data transmission capacity of up to 1Gbit per second. The power consumption of WiFi is much higher than that of Bluetooth, and energy-saving management modules are usually used to achieve higher energy efficiency. WiFi with PSM (Power Save Mode) mode saves energy by sleeping during idle periods. The radio periodically detects whether the access point has a data packet buffer. When the buffered data volume triggers the PSM threshold, it will switch from the dormant state to the active state. The power consumption of the active state is about 20 times that of the dormant state. By buffering data packets in the AP, on the one hand, energy consumption is saved, on the other hand, an additional 100-300ms delay is added. In this mode, there are two extremes, lower power consumption means higher extra delay; lower extra delay means higher power consumption.

一方面,在移动终端中无线通信是主要的能耗源头之一,相比WiFi,蓝牙的功耗效率比WiFi更高,但提供的带宽更窄,对于大文件的传输具有显著的发送时延。另一方面,WiFi能提供较高的数据传输速率,但能耗大,且功耗与延时之间难以平衡。值得注意的是,网络数据的异构性具有某种模式,不同的网络服务类型对带宽的需求不一样。例如,典型的在线视频观看服务,带宽呈突发式脉冲状,带宽要求高达3Mb/s,适合利用WiFi的高速优势;而对于在线语音通话,带宽相对固定,低于100Kb/s,这种低带宽需求使用用蓝牙能耗效率更高。典型的智能手机网页浏览等或社交聊天等服务,带宽需求低于1Mb/s,蓝牙更合适。因此,需要面向网络数据的异构性,探讨一种低功耗、低延时的通信策略。On the one hand, wireless communication is one of the main sources of energy consumption in mobile terminals. Compared with WiFi, Bluetooth has higher power consumption efficiency than WiFi, but provides a narrower bandwidth and has a significant transmission delay for large file transmission. . On the other hand, WiFi can provide higher data transmission rates, but it consumes a lot of energy, and it is difficult to balance power consumption and delay. It is worth noting that the heterogeneity of network data has a certain pattern, and different network service types have different bandwidth requirements. For example, for a typical online video viewing service, the bandwidth is burst-like, and the bandwidth requirement is as high as 3Mb/s, which is suitable for taking advantage of the high-speed advantages of WiFi; while for online voice calls, the bandwidth is relatively fixed, less than 100Kb/s, which is low. Bandwidth requirements are more energy efficient using Bluetooth. Typical smartphone services such as web browsing or social chat have bandwidth requirements below 1Mb/s, and Bluetooth is more suitable. Therefore, it is necessary to explore a low-power, low-latency communication strategy for the heterogeneity of network data.

发明内容SUMMARY OF THE INVENTION

本发明要解决的技术问题就在于:针对现有技术存在的技术问题,本发明提供一种可根据蓝牙连接状态和数据流量,自动选择蓝牙或Wifi进行数据传输,具有低功耗,低延时,高速率等优点,可以Wifi与蓝牙之间无缝切换的基于环境感知的蓝牙与Wifi切换方法及传输设备。The technical problem to be solved by the present invention is: in view of the technical problems existing in the prior art, the present invention provides a device that can automatically select Bluetooth or Wifi for data transmission according to the Bluetooth connection state and data flow, and has low power consumption and low delay. , high speed and other advantages, the Bluetooth and Wifi switching method and transmission device based on environment perception can be seamlessly switched between Wifi and Bluetooth.

为解决上述技术问题,本发明提出的技术方案为:一种基于环境感知的蓝牙与Wifi切换方法,包括:In order to solve the above technical problems, the technical solution proposed by the present invention is: a method for switching between Bluetooth and Wifi based on environment perception, including:

S1.获取蓝牙设备的环境参数,判断所述蓝牙设备是否满足数据传输需求,是则跳转到步骤S2,否则跳转到步骤S4;S1. Obtain the environmental parameters of the Bluetooth device, and determine whether the Bluetooth device meets the data transmission requirements, and if so, jump to step S2, otherwise jump to step S4;

S2.预测传输数据流量,并计算传输数据流量的传输数据率,当所述传输数据率小于预设的切换阈值时,跳转到步骤S3,否则跳转到步骤S4;S2. Predict the transmission data flow, and calculate the transmission data rate of the transmission data flow, when the transmission data rate is less than the preset switching threshold, jump to step S3, otherwise jump to step S4;

S3.通过蓝牙设备进行数据传输;S3. Data transmission through Bluetooth devices;

S4.将传输设备由蓝牙设备切换至Wifi设备,通过Wifi设备进行数据传输。S4. Switch the transmission device from the Bluetooth device to the Wifi device, and perform data transmission through the Wifi device.

作为本发明的进一步改进,步骤S1中所述环境参数包括蓝牙网络的网络延时、丢包率和接收信号强度;当同时满足网络延时小于预设的延时门槛值、且所述丢包率小于预设的丢包门槛值、且所述接收信号强度大于预设的信号强度门槛值时,判断蓝牙设备满足数据传输需求,否则判断蓝牙设备不满足数据传输需求。As a further improvement of the present invention, the environmental parameters in step S1 include network delay, packet loss rate and received signal strength of the Bluetooth network; when the network delay is less than a preset delay threshold and the packet loss When the rate is less than the preset packet loss threshold and the received signal strength is greater than the preset signal strength threshold, it is determined that the Bluetooth device meets the data transmission requirement; otherwise, it is determined that the Bluetooth device does not meet the data transmission requirement.

作为本发明的进一步改进,步骤S2中所述传输数据流量预测的具体步骤包括:As a further improvement of the present invention, the specific steps for predicting the transmission data flow described in step S2 include:

S2.1.获取历史数据流量;S2.1. Obtain historical data traffic;

S2.2.根据所述历史数据流量,通过自回归模型预测传输数据流量。S2.2. According to the historical data flow, predict the transmission data flow through an autoregressive model.

作为本发明的进一步改进,步骤S3的具体步骤包括:当所述传输数据率大于预设的蓝牙模式选择阈值时,通过蓝牙设备以高速传输模式进行数据传输,否则通过蓝牙设备以低速模式进行数据传输。As a further improvement of the present invention, the specific steps of step S3 include: when the transmission data rate is greater than the preset Bluetooth mode selection threshold, data transmission is performed in a high-speed transmission mode through the Bluetooth device, otherwise data transmission is performed in a low-speed mode through the Bluetooth device. transmission.

作为本发明的进一步改进,步骤S4所述将传输设备由蓝牙设备切换至Wifi设备在MAC层实现,具体实现步骤为:在MAC层,将数据包中的发送方的蓝牙MAC地址替换为Wifi规范的源MAC地址,将数据包中接收方的蓝牙MAC地址替换为Wifi规范的目的MAC地址。As a further improvement of the present invention, the switching of the transmission device from the Bluetooth device to the Wifi device in step S4 is implemented at the MAC layer, and the specific implementation steps are: at the MAC layer, the Bluetooth MAC address of the sender in the data packet is replaced with the Wifi specification. source MAC address, replace the receiver's Bluetooth MAC address in the data packet with the destination MAC address of the Wifi specification.

作为本发明的进一步改进,所述步骤S3中通过蓝牙设备进行数据传输和所述步骤S4中通过Wifi设备进行数据传输均通过相同的SOCKET实现。As a further improvement of the present invention, the data transmission performed by the Bluetooth device in the step S3 and the data transmission performed by the Wifi device in the step S4 are both implemented by the same SOCKET.

作为本发明的进一步改进,在步骤S3中通过蓝牙设备进行数据传输之前,还包括成本核算步骤S3A:计算以蓝牙设备进行数据传输的蓝牙成本,当所述蓝牙成本大于预设的切换成本阈值时,跳转至步骤S4,否则执行步骤S3,通过蓝牙设备进行数据传输。。As a further improvement of the present invention, before the data transmission through the Bluetooth device in step S3, it also includes a cost accounting step S3A: calculating the Bluetooth cost of data transmission through the Bluetooth device, when the Bluetooth cost is greater than the preset switching cost threshold value , and jump to step S4, otherwise, step S3 is performed, and data transmission is performed through the Bluetooth device. .

作为本发明的进一步改进,在所述步骤S1之前,还包括步骤S0:获取并判断数据发送需求,当具有数据发送需求时,跳转至步骤S1,否则继续执行步骤S0。As a further improvement of the present invention, before the step S1, it further includes a step S0: obtaining and judging the data sending requirement, when there is a data sending requirement, jump to the step S1, otherwise continue to execute the step S0.

一种基于环境感知的蓝牙与Wifi切换传输设备,包括环境感知模块、切换决策模块、蓝牙模块和Wifi模块;A Bluetooth and Wifi switching transmission device based on environment perception, comprising an environment perception module, a switching decision module, a Bluetooth module and a Wifi module;

所述环境感知模块用于获取蓝牙设备的环境参数、预测传输数据流量并计算传输数据率,并将环境参数和传输数据率发送至切换决策模块;The environment perception module is used to obtain the environmental parameters of the Bluetooth device, predict the transmission data flow and calculate the transmission data rate, and send the environmental parameters and transmission data rate to the handover decision module;

所述切换决策模块用于选择通过蓝牙设备传输数据或者通过Wifi设备传输数据;The handover decision module is used for selecting to transmit data through a Bluetooth device or to transmit data through a Wifi device;

所述蓝牙模块用于根据所述这切换决策模块的决策结果进行数据传输;The bluetooth module is used for data transmission according to the decision result of the handover decision module;

所述Wifi模块用于根据所述这切换决策模块的决策结果进行数据传输。The Wifi module is used for data transmission according to the decision result of the handover decision module.

作为本发明的进一步改进,所述切换决策模块中还包括成本核算模块,用于计算以蓝牙设备进行数据传输的蓝牙成本。As a further improvement of the present invention, the handover decision module further includes a cost accounting module for calculating the Bluetooth cost of data transmission with the Bluetooth device.

与现有技术相比,本发明的优点在于:Compared with the prior art, the advantages of the present invention are:

1、本发明具有蓝牙与Wifi两种数据传输方式,并通过自动感知蓝牙连接状态及数据流量,自动选择蓝牙或Wifi进行数据传输,对数据率、连接品质的波动具有快速自适应性特点,同时具备低功耗,低延时,高速率等优点。1. The present invention has two data transmission modes: Bluetooth and Wifi, and automatically selects Bluetooth or Wifi for data transmission by automatically sensing the Bluetooth connection status and data flow, and has the characteristics of rapid adaptability to fluctuations in data rate and connection quality. It has the advantages of low power consumption, low latency, and high speed.

2、本发明的蓝牙与Wifi切换在MAC层实现,在蓝牙与Wifi切换过程中,不需要中断现有socket连接,从而实现蓝牙与Wifi之间的无缝切换。2. The switching between Bluetooth and Wifi of the present invention is implemented at the MAC layer, and in the process of switching between Bluetooth and Wifi, there is no need to interrupt the existing socket connection, thereby realizing seamless switching between Bluetooth and Wifi.

3、本发明采用l2cap包进行网络质量检测,并且只在有数据需要发送时才进行网络质量检测,因网络质量检测带来的额外能量开销很小,能耗低。3. The present invention uses the l2cap packet to perform network quality detection, and only performs network quality detection when there is data to be sent. The additional energy overhead caused by network quality detection is small and energy consumption is low.

附图说明Description of drawings

图1为本发明具体实施例流程示意图。FIG. 1 is a schematic flowchart of a specific embodiment of the present invention.

图2为本发明具体实施例结构示意图。FIG. 2 is a schematic structural diagram of a specific embodiment of the present invention.

具体实施方式Detailed ways

以下结合说明书附图和具体优选的实施例对本发明作进一步描述,但并不因此而限制本发明的保护范围。The present invention will be further described below with reference to the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

如图1所示,本实施例的基于环境感知的蓝牙与Wifi切换方法,包括:S1.获取蓝牙设备的环境参数,判断蓝牙设备是否满足数据传输需求,是则跳转到步骤S2,否则跳转到步骤S4;S2.预测传输数据流量,并计算传输数据流量的传输数据率,当所述传输数据率小于预设的切换阈值时,跳转到步骤S3,否则跳转到步骤S4;S3.通过蓝牙设备进行数据传输;S4.将传输设备由蓝牙设备切换至Wifi设备,通过Wifi设备进行数据传输。As shown in FIG. 1 , the method for switching between Bluetooth and Wifi based on environment perception in this embodiment includes: S1. Acquire the environmental parameters of the Bluetooth device, and determine whether the Bluetooth device meets the data transmission requirements, and if so, jump to step S2, otherwise, jump to step S2. Go to step S4; S2. Predict the transmission data flow, and calculate the transmission data rate of the transmission data flow, when the transmission data rate is less than the preset switching threshold, jump to step S3, otherwise jump to step S4; S3 . Carry out data transmission through the Bluetooth device; S4. Switch the transmission device from the Bluetooth device to the Wifi device, and carry out data transmission through the Wifi device.

在本实施例中,步骤S1中环境参数包括蓝牙网络的网络延时、丢包率和接收信号强度;当同时满足网络延时小于预设的延时门槛值、且丢包率小于预设的丢包门槛值、且接收信号强度大于预设的信号强度门槛值时,判断蓝牙设备满足数据传输需求,否则判断蓝牙设备不满足数据传输需求。网络延时和丢包率通过发送l2cap ping数据包获取,为了节省能量,通过设置一个异步定时线程,周期性的获取环境参数,获取周期可以设置为1秒。在蓝牙连接建立后,通过蓝牙设备向蓝牙连接的对端设备发送l2cap ping,共4个数据包,记录平均往返时间,通过l2cap ping获取蓝牙连接的延时和丢包率。如果ping失败,即连接不可达,或者延时超过100ms,说明接收设备已超出蓝牙射频范围,或者蓝牙设备的RSSI(接收信号强度)低于RSSIth(信号强度门槛值),则判断蓝牙设备不满足数据传输需求。由于l2cap ping数据包很小,只有44个字节,因此,获取蓝牙网络的网络延时和丢包率所引入的额外开销很小,能耗低。In this embodiment, the environmental parameters in step S1 include network delay, packet loss rate and received signal strength of the Bluetooth network; when the network delay is less than the preset delay threshold and the packet loss rate is less than the preset delay threshold at the same time When the packet loss threshold value and the received signal strength are greater than the preset signal strength threshold value, it is determined that the Bluetooth device meets the data transmission requirement, otherwise it is determined that the Bluetooth device does not meet the data transmission requirement. The network delay and packet loss rate are obtained by sending l2cap ping data packets. In order to save energy, an asynchronous timing thread is set to periodically obtain environmental parameters. The obtaining period can be set to 1 second. After the Bluetooth connection is established, the Bluetooth device sends l2cap ping to the opposite end device connected by Bluetooth, a total of 4 data packets, records the average round-trip time, and obtains the delay and packet loss rate of the Bluetooth connection through l2cap ping. If the ping fails, that is, the connection is unreachable, or the delay exceeds 100ms, it means that the receiving device has exceeded the Bluetooth radio frequency range, or the RSSI (received signal strength) of the Bluetooth device is lower than the RSSIth (signal strength threshold), then it is judged that the Bluetooth device is not satisfied data transfer requirements. Since the l2cap ping data packet is very small, only 44 bytes, the extra overhead introduced by obtaining the network delay and packet loss rate of the Bluetooth network is small, and the energy consumption is low.

在本实施例中,在步骤S1之前,还可包括步骤S0:获取并判断数据发送需求,当具有数据发送需求时,跳转至步骤S1,否则继续执行步骤S0。即在蓝牙连接建立之后,对蓝牙环境参数的检测并不是一直进行的,而仅仅只在设备具有数据发送需求时才对蓝牙设备的环境参数进行检测,即只有在设备的数据发送队列不为空时,才执行步骤S1,获取蓝牙设备的环境参数。可以大大的减少设备获取环境参数的次数,从而也大大的降低的设备的能耗,更加节能。In this embodiment, before step S1, it may further include step S0: acquiring and judging the data sending requirement, when there is a data sending requirement, jump to step S1, otherwise continue to execute step S0. That is, after the Bluetooth connection is established, the detection of the Bluetooth environmental parameters is not carried out all the time, but the environmental parameters of the Bluetooth device are only detected when the device has data transmission requirements, that is, only when the data transmission queue of the device is not empty. , step S1 is performed to obtain the environmental parameters of the Bluetooth device. It can greatly reduce the number of times that the device obtains environmental parameters, thereby greatly reducing the energy consumption of the device and making it more energy efficient.

在本实施例中,步骤S2中传输数据流量预测的具体步骤为:S2.1.获取历史数据流量;S2.2.根据历史数据流量,通过自回归模型预测传输数据流量。自回归模型如式(1)所示,In this embodiment, the specific steps for predicting the transmission data flow in step S2 are: S2.1. Obtaining historical data flow; S2.2. Predicting transmission data flow through an autoregressive model according to the historical data flow. The autoregressive model is shown in formula (1),

Figure BDA0001182808920000041
Figure BDA0001182808920000041

式(1)中,

Figure BDA0001182808920000042
为预测的传输数据流量,Sk-i为历史数据流量,u为自回归模型所采用的历史数据流量样本个数,ai为自回归模型的系数。在本实施例中,采用1阶自回归模型;自回归模型的系数ai由历史数据流量通过最小二乘法计算确定,如式(2)所示,In formula (1),
Figure BDA0001182808920000042
is the predicted transmission data flow, S ki is the historical data flow, u is the number of historical data flow samples adopted by the autoregressive model, and a i is the coefficient of the autoregressive model. In this embodiment, a first-order autoregressive model is used; the coefficient a i of the autoregressive model is determined by the historical data flow through the least squares method, as shown in formula (2),

Figure BDA0001182808920000043
Figure BDA0001182808920000043

式(2)中,ai为自回归模型的系数,Sj为历史数据流量,v为预设的预测规模参数。在本实施例中,预设的预测规模参数v取值为12,当然,也可以根据实际需要选择其它值。In formula (2), a i is the coefficient of the autoregressive model, S j is the historical data flow, and v is the preset prediction scale parameter. In this embodiment, the preset prediction scale parameter v takes a value of 12. Of course, other values can also be selected according to actual needs.

在本实施例中,获取蓝牙设备的环境参数和预测传输数据流量均在用户空间中执行。In this embodiment, both obtaining the environmental parameters of the Bluetooth device and predicting the transmission data flow are performed in the user space.

在本实施例中,当蓝牙设备满足数据传输需求,且传输数量流量的传输数据率小于预设的切换阈值时,采用蓝牙设备进行数据传输。步骤S3的具体步骤包括:当传输数据率大于预设的蓝牙模式选择阈值时,通过蓝牙设备以高速传输模式进行数据传输,否则通过蓝牙设备以低速模式进行数据传输。由于蓝牙传输相对于Wifi传输具有传输距离较短,传输速度较低,延迟低,能耗低的特点,所以对于短距离、小流量的数据,蓝牙传输比Wifi传输更有优势。在本实施例中,切换阈值设置为250Kb/s,当需要传输的数据流量的传输数据率小于250Kb/s时,则采用蓝牙设备进行数据传输,即能保证数据传输的延时满足传输需求,又能保证在传输过程中能耗最低,否则采用Wifi进行数据传输,以最小化数据传输的延时。在通过蓝牙设备进行数据传输时,进一步根据传输数据率进行判断,选择蓝牙高速或低速模式进行数据传输,从而保证在满足数据传输需求的同时能够使得蓝牙设备的功耗更低,更加节能。In this embodiment, when the Bluetooth device meets the data transmission requirement, and the transmission data rate of the transmitted quantity traffic is less than the preset switching threshold, the Bluetooth device is used for data transmission. The specific steps of step S3 include: when the transmission data rate is greater than the preset Bluetooth mode selection threshold, data transmission is performed by the Bluetooth device in a high-speed transmission mode, otherwise, data transmission is performed by the Bluetooth device in a low-speed mode. Compared with Wifi transmission, Bluetooth transmission has the characteristics of shorter transmission distance, lower transmission speed, low delay and low energy consumption. Therefore, for short-distance and small-traffic data, Bluetooth transmission has more advantages than Wifi transmission. In this embodiment, the switching threshold is set to 250Kb/s. When the transmission data rate of the data traffic to be transmitted is less than 250Kb/s, the Bluetooth device is used for data transmission, that is, the delay of data transmission can be guaranteed to meet the transmission requirements. It can also ensure the lowest energy consumption during the transmission process. Otherwise, Wifi is used for data transmission to minimize the delay of data transmission. When data transmission is performed through a Bluetooth device, it is further judged according to the transmission data rate, and the Bluetooth high-speed or low-speed mode is selected for data transmission, so as to ensure that the power consumption of the Bluetooth device can be lower and more energy-saving while meeting the data transmission requirements.

在本实施例中,步骤S4将传输设备由蓝牙设备切换至Wifi设备在MAC层实现,具体实现步骤为:在MAC层,将数据包中的发送方的蓝牙MAC地址替换为Wifi规范的源MAC地址,将数据包中接收方的蓝牙MAC地址替换为Wifi规范的目的MAC地址。在数据的传输过程中,数据最终是以数据包的形式进行传输,在本实施例中,通过在MAC层将数据包中的蓝牙传输的地址信息替换为Wifi传输的地址信息,则可将数据包由蓝牙设备传输切换至由Wifi设备传输。In this embodiment, step S4 is implemented at the MAC layer by switching the transmission device from the Bluetooth device to the Wifi device. The specific implementation steps are: at the MAC layer, replace the Bluetooth MAC address of the sender in the data packet with the source MAC of the Wifi specification. Address, replace the receiver's Bluetooth MAC address in the data packet with the destination MAC address of the Wifi specification. In the data transmission process, the data is finally transmitted in the form of data packets. In this embodiment, by replacing the address information transmitted by Bluetooth in the data packet with the address information transmitted by Wifi at the MAC layer, the data can be transmitted. The packet is switched from being transmitted by the Bluetooth device to being transmitted by the Wifi device.

在本实施例中,步骤S3中通过蓝牙设备进行数据传输和步骤S4中通过Wifi设备进行数据传输均通过相同的SOCKET实现。在本实施例中,通过在MAC层开放一个l2capsocket,无论是蓝牙还是Wifi,均通过该l2cap socket进行数据传输,在需要将蓝牙切换至Wifi时,只需要将待传输的数据包中的蓝牙MAC地址替换成Wifi规范的源MAC地址和目的MAC地址,通过Wifi在l2cap socket进行数据传输即可。由于蓝牙与Wifi的切换过程在MAC层实现,并且采用同一个l2cap socket,因此,在切换过程中不需要中断现有的l2capsocket连接,可以实现在蓝牙传输与Wifi传输之间的进行快速、不中断的无缝切换,这种切换在用户层面是透明的。In this embodiment, the data transmission performed by the Bluetooth device in step S3 and the data transmission performed by the Wifi device in step S4 are both implemented by the same SOCKET. In this embodiment, by opening an l2cap socket at the MAC layer, whether it is Bluetooth or Wifi, data transmission is performed through the l2cap socket. When switching from Bluetooth to Wifi is required, only the Bluetooth MAC in the data packet to be transmitted needs to be changed. The address is replaced with the source MAC address and destination MAC address of the Wifi specification, and data transmission can be performed on the l2cap socket through Wifi. Since the switching process between Bluetooth and Wifi is implemented at the MAC layer and the same l2cap socket is used, there is no need to interrupt the existing l2capsocket connection during the switching process, which can achieve fast and uninterrupted between Bluetooth transmission and Wifi transmission. seamless switching, which is transparent at the user level.

在本实施例中,通过蓝牙或Wifi连接的两个设备采用相同的媒介进行数据传输,当设备选择采用蓝牙传输时,对端设备同样采用蓝牙进行数据传输,当设备选择采用Wifi传输时,对端设备同样选择采用Wifi传输。In this embodiment, two devices connected via Bluetooth or Wifi use the same medium for data transmission. When the device chooses to use Bluetooth for transmission, the opposite device also uses Bluetooth for data transmission. When the device chooses to use Wifi for transmission, the The end device also chooses to use Wifi transmission.

在本实施例中,在步骤S3中通过蓝牙设备进行数据传输之前,还包括成本核算步骤S3A:计算以蓝牙设备进行数据传输的蓝牙成本,当所述蓝牙成本大于预设的切换成本阈值时,跳转至步骤S4,否则执行步骤S3,通过蓝牙设备进行数据传输。In this embodiment, before the data transmission through the Bluetooth device in step S3, a cost accounting step S3A is further included: calculating the Bluetooth cost of data transmission through the Bluetooth device, when the Bluetooth cost is greater than the preset switching cost threshold, Go to step S4, otherwise go to step S3, and perform data transmission through the Bluetooth device.

在本实施例中,蓝牙成本包括蓝牙时间成本和蓝牙功耗成本,蓝牙时间成本通过式(3)所示公式计算,In this embodiment, the Bluetooth cost includes the Bluetooth time cost and the Bluetooth power consumption cost. The Bluetooth time cost is calculated by the formula shown in formula (3),

Figure BDA0001182808920000061
Figure BDA0001182808920000061

式(3)中,tble_send为蓝牙时间成本,N为所预测的传输数据流量,Tmax为蓝牙的最大传输速率。In formula (3), t ble_send is the Bluetooth time cost, N is the predicted transmission data flow, and T max is the maximum transmission rate of the Bluetooth.

蓝牙功耗成本通过式(4)所示公式计算,The Bluetooth power consumption cost is calculated by the formula shown in Equation (4),

Eble_send=Pbletble_send (4)E ble_send =P ble t ble_send (4)

式(4)中,Eble_send为蓝牙功耗成本,Pble为蓝牙的功率,tble_send为式(3)所计算得到的时间值。In formula (4), E ble_send is the cost of Bluetooth power consumption, P ble is the power of Bluetooth, and t ble_send is the time value calculated by formula (3).

在本实施例中,预设的切换成本阈值包括切换时间成本阈值和切换功耗成本阈值。在本实施例中,切换时间成本阈值和切换功耗成本阈值有两种设置方法。第一种设置方式为:切换时间成本阈值为切换时间成本,切换时间成本即将蓝牙切换至Wifi本身所需要花费的时间;切换功耗成本阈值为切换功耗成本,切换功耗成本即将蓝牙切换至Wifi本身所需要消耗的能量。第二种设置方式为:切换时间成本阈值为切换时间成本与Wifi时间成本之和,Wifi时间成本即为以Wifi传输所预测的传输数据流量所需要花费的时间;切换功耗成本阈值为切换功耗成本与Wifi功耗成本之和,Wifi功耗成本之即为以Wifi传输所预测的传输数据流量所需要消耗的能量。第二种设置方式相对于第一种设置方式,切换时间成本阈值和切换功耗成本阈值为动态值,其更加精确,保证始终选择成本最小的方式进行数据传输。In this embodiment, the preset switching cost threshold includes a switching time cost threshold and a switching power consumption cost threshold. In this embodiment, there are two setting methods for the switching time cost threshold and the switching power consumption cost threshold. The first setting method is: the switching time cost threshold is the switching time cost, and the switching time cost is the time it takes to switch from Bluetooth to Wifi itself; the switching power consumption cost threshold is the switching power consumption cost, and the switching power consumption cost is switching from Bluetooth to The energy consumed by Wifi itself. The second setting method is: the switching time cost threshold is the sum of the switching time cost and the WiFi time cost, and the WiFi time cost is the time it takes to transmit data traffic predicted by WiFi transmission; the switching power consumption cost threshold is the switching power The sum of the power consumption cost and the Wi-Fi power consumption cost, and the Wi-Fi power consumption cost is the energy required to transmit the data traffic predicted by the Wi-Fi transmission. Compared with the first setting method, in the second setting method, the switching time cost threshold and the switching power consumption cost threshold are dynamic values, which are more accurate and ensure that the method with the least cost is always selected for data transmission.

在本实施例中,可根据需要设置时间成本与功耗成本的优先级,具体可分为三种情况:其一为,时间成本优先功耗成本,即只需要满足蓝牙时间成本大于切换时间成本阈值时,跳转至步骤S4,切换至Wifi传输;其二为功耗成本优先时间成本,即只需要满足蓝牙功耗成本大于切换功耗成本阈值时,跳转至步骤S4,切换至Wifi传输;其三为时间成本与功耗成本具有相同的优先级,即需要满足蓝牙时间成本大于切换时间成本阈值,且蓝牙功耗成本大于切换功耗成本阈值时,跳转至步骤S4,切换至Wifi传输。In this embodiment, the priority of the time cost and the power consumption cost can be set as required, which can be divided into three cases: one is that the time cost has priority over the power consumption cost, that is, only the Bluetooth time cost needs to be greater than the switching time cost. When the threshold is reached, jump to step S4 and switch to Wifi transmission; the second is that the power consumption cost has priority over time cost, that is, only when the Bluetooth power consumption cost is greater than the switching power consumption cost threshold, jump to step S4 and switch to Wifi transmission The third is that the time cost and the power consumption cost have the same priority, that is, when the Bluetooth time cost is greater than the switching time cost threshold, and the Bluetooth power consumption cost is greater than the switching power consumption cost threshold, jump to step S4 and switch to Wifi transmission.

如图2所示,本实施例的基于环境感知的蓝牙与Wifi切换传输设备,包括环境感知模块、切换决策模块、蓝牙模块和Wifi模块;环境感知模块用于获取蓝牙设备的环境参数、预测传输数据流量并计算传输数据率,并将环境参数和传输数据率发送至切换决策模块;切换决策模块用于选择通过蓝牙设备传输数据或者通过Wifi设备传输数据;蓝牙模块用于根据这切换决策模块的决策结果进行数据传输;Wifi模块用于根据这切换决策模块的决策结果进行数据传输。切换决策模块中还包括成本核算模块,用于计算以蓝牙设备进行数据传输的蓝牙成本。在本实施例中,预设的切换成本阈值采用本发明中第二种设置方式时,成本核算模块还用于计算切换成本阈值。As shown in FIG. 2 , the Bluetooth and Wifi switching transmission device based on environmental perception in this embodiment includes an environmental perception module, a switching decision module, a Bluetooth module and a Wifi module; the environmental perception module is used to obtain environmental parameters of the Bluetooth device, predict transmission The data flow and the transmission data rate are calculated, and the environmental parameters and transmission data rate are sent to the handover decision module; the handover decision module is used to select to transmit data through the Bluetooth device or to transmit data through the Wifi device; The decision result is used for data transmission; the Wifi module is used for data transmission according to the decision result of the switching decision module. The handover decision module also includes a cost accounting module for calculating the Bluetooth cost of data transmission with the Bluetooth device. In this embodiment, when the preset switching cost threshold adopts the second setting method in the present invention, the cost accounting module is further configured to calculate the switching cost threshold.

在本实施例中,环境感知模块工作在用户空间,用于执行本发明方法中获取蓝牙设备的环境参数,以及预测传输数据流量,并计算传输数据流量的传输数据率的步骤。切换决策模块工作在内核层,用于根据环境感知模块环境参数和传输数据率,以及成本核算模块计算的蓝牙成本和成本阈值,决定是否在蓝牙传输与Wifi传输之间进行切换。由于环境感知模块和切换决策模块工作在不同的层,在本实施例中,环境感知模块与切换决策模块之间的数据交互通过netlink socket实现。切换决策模块可单独根据环境感知模块感知的环境参数,判断蓝牙设备是否满足数据传输需求,是则选择用蓝牙设备进行数据传输,否则选择用Wifi设备进行数据传输。还可以综合环境感知模块感知的环境参数与成本核算模块的核算结果进行选择,在通过环境参数选择用蓝牙设备进行数据传输时,进一步考虑成本核算模块的核算结果,在蓝牙成本小于预设的切换成本阈值时,选择蓝牙设备进行数据传输,否则通过Wifi设备进行数据传输。切换决策模块决定将蓝牙传输切换为Wifi传输时,将读取设备中TCP/IP栈中Wifi规范的源MAC地址和目的MAC地址,并以该地址替换传输数据包中的蓝牙MAC地址。In this embodiment, the environment perception module works in the user space, and is used to perform the steps of obtaining the environment parameters of the Bluetooth device, predicting the transmission data flow, and calculating the transmission data rate of the transmission data flow in the method of the present invention. The switching decision module works at the kernel layer, and is used to decide whether to switch between Bluetooth transmission and Wifi transmission according to the environmental parameters and transmission data rate of the environment perception module, as well as the Bluetooth cost and cost threshold calculated by the cost accounting module. Since the environment perception module and the handover decision module work at different layers, in this embodiment, the data interaction between the environment perception module and the handover decision module is implemented through a netlink socket. The handover decision module can determine whether the Bluetooth device meets the data transmission requirements according to the environmental parameters sensed by the environment perception module. It is also possible to combine the environmental parameters sensed by the environment perception module and the accounting results of the cost accounting module for selection. When selecting a Bluetooth device for data transmission through environmental parameters, the accounting results of the cost accounting module are further considered. When the Bluetooth cost is less than the preset switching When the cost threshold is set, select a Bluetooth device for data transmission, otherwise, use a Wifi device for data transmission. When the switching decision module decides to switch the Bluetooth transmission to the Wifi transmission, it will read the source MAC address and destination MAC address of the WiFi specification in the TCP/IP stack in the device, and replace the Bluetooth MAC address in the transmission data packet with this address.

在本实施例中,通过感知连接状态和数据流量,可自动在蓝牙与Wifi之间进行切换,选择适当的设备进行数据传输,同时,在选择通过蓝牙进行数据传输时,还可根据数据流量的大小自动选择蓝牙高速模式或蓝牙低速模式进行数据传输,通过这种自适应的方法,不仅能够满足不同传输速率对设备的需求,同时,还很好的兼顾了对功耗的要求,同时具备低延时、低功耗、高速率的优点。In this embodiment, by sensing the connection status and data flow, it is possible to automatically switch between Bluetooth and Wifi, and select an appropriate device for data transmission. The size automatically selects the Bluetooth high-speed mode or the Bluetooth low-speed mode for data transmission. Through this adaptive method, it can not only meet the requirements of different transmission rates for devices, but also take into account the requirements for power consumption. The advantages of delay, low power consumption, and high speed.

上述只是本发明的较佳实施例,并非对本发明作任何形式上的限制。虽然本发明已以较佳实施例揭露如上,然而并非用以限定本发明。因此,凡是未脱离本发明技术方案的内容,依据本发明技术实质对以上实施例所做的任何简单修改、等同变化及修饰,均应落在本发明技术方案保护的范围内。The above are only preferred embodiments of the present invention, and do not limit the present invention in any form. Although the present invention has been disclosed above with preferred embodiments, it is not intended to limit the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments according to the technical essence of the present invention without departing from the content of the technical solutions of the present invention should fall within the protection scope of the technical solutions of the present invention.

Claims (8)

1. A Bluetooth and Wifi switching method based on environment perception is characterized by comprising the following steps:
s1, acquiring environmental parameters of the Bluetooth equipment, judging whether the Bluetooth equipment meets the data transmission requirement, if so, jumping to the step S2, otherwise, jumping to the step S4;
s2, predicting the transmission data flow, calculating the transmission data rate of the transmission data flow, and jumping to the step S3 when the transmission data rate is smaller than a preset switching threshold value, or jumping to the step S4;
s3, data transmission is carried out through Bluetooth equipment;
s4, switching the transmission equipment from the Bluetooth equipment to Wifi equipment, and transmitting data through the Wifi equipment;
step S4, switching the transmission device from the bluetooth device to the Wifi device is implemented on the MAC layer, which includes the specific implementation steps: in the MAC layer, replacing the Bluetooth MAC address of the sender in the data packet with a source MAC address of a Wifi specification, and replacing the Bluetooth MAC address of the receiver in the data packet with a destination MAC address of the Wifi specification;
the data transmission through the bluetooth device in the step S3 and the data transmission through the Wifi device in the step S4 are both implemented through the same SOCKET.
2. The bluetooth and Wifi switching method based on environmental awareness as claimed in claim 1, wherein: in step S1, the environment parameters include network delay, packet loss rate, and received signal strength of the bluetooth network; and when the network delay is smaller than a preset delay threshold value, the packet loss rate is smaller than a preset packet loss threshold value and the received signal strength is larger than a preset signal strength threshold value, judging that the Bluetooth equipment meets the data transmission requirement, otherwise, judging that the Bluetooth equipment does not meet the data transmission requirement.
3. The bluetooth and Wifi switching method based on environmental awareness as claimed in claim 2, wherein: the specific step of predicting the transmission data traffic in step S2 includes:
s2.1, acquiring historical data flow;
and S2.2, predicting the transmission data flow through an autoregressive model according to the historical data flow.
4. The bluetooth and Wifi switching method based on environmental awareness as claimed in claim 3, wherein: the specific steps of step S3 include: and when the transmission data rate is greater than a preset Bluetooth mode selection threshold value, carrying out data transmission in a high-speed transmission mode through the Bluetooth equipment, otherwise, carrying out data transmission in a low-speed mode through the Bluetooth equipment.
5. The context awareness-based Bluetooth and Wifi switching method according to any one of claims 1-4, wherein: before data transmission by the bluetooth device in step S3, a cost accounting step S3A is further included: calculating the Bluetooth cost of data transmission by the Bluetooth device, and jumping to step S4 when the Bluetooth cost is greater than a preset switching cost threshold, otherwise executing step S3 and transmitting data by the Bluetooth device.
6. The bluetooth and Wifi switching method based on environmental awareness as claimed in claim 5, wherein: before the step S1, a step S0 is further included: and acquiring and judging the data transmission requirement, and jumping to the step S1 when the data transmission requirement exists, otherwise, continuing to execute the step S0.
7. The utility model provides a bluetooth switches transmission equipment with Wifi based on environmental awareness which characterized in that: the system comprises an environment perception module, a switching decision module, a Bluetooth module and a Wifi module;
the environment sensing module is used for acquiring environment parameters of the Bluetooth equipment, predicting transmission data flow, calculating a transmission data rate and sending the environment parameters and the transmission data rate to the switching decision module;
the switching decision module is used for selecting data transmission through Bluetooth equipment or data transmission through Wifi equipment;
the Bluetooth module is used for carrying out data transmission according to the decision result of the switching decision module;
the Wifi module is used for carrying out data transmission according to the decision result of the switching decision module;
the Bluetooth module and the Wifi module have a common MAC layer, when the Bluetooth device is switched to the Wifi device to transmit data, the Bluetooth MAC address of a sender in the data packet is replaced by a source MAC address of a Wifi specification, and the Bluetooth MAC address of a receiver in the data packet is replaced by a destination MAC address of the Wifi specification;
the Bluetooth module and the Wifi module transmit data through the same SOCKET.
8. The context awareness-based bluetooth and Wifi handover transmission device of claim 7, wherein: the switching decision module also comprises a cost accounting module which is used for calculating the Bluetooth cost of data transmission by the Bluetooth equipment.
CN201611167325.4A 2016-12-16 2016-12-16 Bluetooth and Wifi switching method based on environment perception and transmission equipment Active CN106792954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611167325.4A CN106792954B (en) 2016-12-16 2016-12-16 Bluetooth and Wifi switching method based on environment perception and transmission equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611167325.4A CN106792954B (en) 2016-12-16 2016-12-16 Bluetooth and Wifi switching method based on environment perception and transmission equipment

Publications (2)

Publication Number Publication Date
CN106792954A CN106792954A (en) 2017-05-31
CN106792954B true CN106792954B (en) 2020-02-04

Family

ID=58891908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611167325.4A Active CN106792954B (en) 2016-12-16 2016-12-16 Bluetooth and Wifi switching method based on environment perception and transmission equipment

Country Status (1)

Country Link
CN (1) CN106792954B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023069144A1 (en) * 2021-10-21 2023-04-27 Qualcomm Incorporated Methods of transition of bearers
US12446084B2 (en) 2019-11-27 2025-10-14 Spreadtrum Communications (Shanghai) Co., Ltd. Audio data transmission method and apparatus for wireless earphone, and storage medium and terminal

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107155204B (en) * 2017-07-20 2020-05-19 广东工业大学 Bluetooth and Wifi switching method and system
CN107404339B (en) * 2017-08-14 2021-07-16 海信视像科技股份有限公司 A method and device for adjusting Bluetooth A2DP encoding settings
CN107969011A (en) * 2017-11-27 2018-04-27 四川长虹电器股份有限公司 The method being wirelessly transferred based on bluetooth and WiFi cooperative achievement voice data
CN108712757A (en) * 2018-05-17 2018-10-26 北京维康恒科技有限公司 The data interactive method and device of detection terminal and wireless access points
CN109890022B (en) * 2019-03-29 2023-12-08 努比亚技术有限公司 Data transmission control method, mobile terminal and computer readable storage medium
CN111224693B (en) * 2019-11-27 2021-08-06 展讯通信(上海)有限公司 Audio data transmission method and device for wireless earphone, storage medium and terminal
CN110996365B (en) * 2019-12-03 2021-05-11 中南大学 A Heterogeneous Network Vertical Handoff Algorithm and System Based on Multi-objective Optimization Model
CN113133095B (en) * 2020-01-15 2022-08-26 华为技术有限公司 Method for reducing power consumption of mobile terminal and mobile terminal
CN111466910B (en) * 2020-04-30 2023-11-21 电子科技大学 A sleep monitoring method, system, storage medium, computer program, and device
KR20210146082A (en) 2020-05-26 2021-12-03 삼성전자주식회사 Electronic device for wireless communication and method for operation in the electronic device for wireless communication
CN114356172A (en) * 2020-09-30 2022-04-15 华为技术有限公司 Data transmission method and electronic equipment
CN115150452A (en) * 2021-03-15 2022-10-04 博泰车联网科技(上海)股份有限公司 Data transmission method, terminal, computer-readable storage medium, and electronic device
US12081063B2 (en) * 2021-07-12 2024-09-03 PassiveLogic, Inc. Device energy use determination
CN113873626B (en) * 2021-09-27 2024-10-25 歌尔科技有限公司 Method, device and medium for transmitting data
CN114927088A (en) * 2022-05-20 2022-08-19 复旦大学义乌研究院 Micro-LED display device and method based on short-distance communication technology
FR3136928B1 (en) * 2022-06-21 2024-05-03 Orange Method and device for switching a Wi-Fi connection
CN120151957A (en) * 2023-12-11 2025-06-13 华为技术有限公司 Connection management method, electronic device and system
CN118945816B (en) * 2024-09-12 2024-12-31 苏州统创信息科技有限公司 Positioning method and system of wearable device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472935A (en) * 2002-07-02 2004-02-04 ���ǵ�����ʽ���� Device and method for connecting bluetooth and wireless LAN
CN101909347A (en) * 2009-06-05 2010-12-08 联发科技股份有限公司 System where WLAN coexists with another wireless transmission type, WLAN transmission system and its transmission
CN103428672A (en) * 2013-08-19 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method and device for transmitting data
WO2015165024A1 (en) * 2014-04-29 2015-11-05 华为终端有限公司 Data transmission method and terminal
EP2943040A1 (en) * 2014-05-09 2015-11-11 Samsung Electronics Co., Ltd Apparatus and method for auto link change in wireless communication device
CN105356916A (en) * 2015-12-11 2016-02-24 中南大学 Adaptive Bluetooth transmission method for wearable intelligent equipment
EP3076719B1 (en) * 2013-11-27 2019-01-16 Sony Corporation Communication control apparatus, communication control method, and information processing apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1472935A (en) * 2002-07-02 2004-02-04 ���ǵ�����ʽ���� Device and method for connecting bluetooth and wireless LAN
CN101909347A (en) * 2009-06-05 2010-12-08 联发科技股份有限公司 System where WLAN coexists with another wireless transmission type, WLAN transmission system and its transmission
CN103428672A (en) * 2013-08-19 2013-12-04 宇龙计算机通信科技(深圳)有限公司 Method and device for transmitting data
EP3076719B1 (en) * 2013-11-27 2019-01-16 Sony Corporation Communication control apparatus, communication control method, and information processing apparatus
WO2015165024A1 (en) * 2014-04-29 2015-11-05 华为终端有限公司 Data transmission method and terminal
EP2943040A1 (en) * 2014-05-09 2015-11-11 Samsung Electronics Co., Ltd Apparatus and method for auto link change in wireless communication device
CN105356916A (en) * 2015-12-11 2016-02-24 中南大学 Adaptive Bluetooth transmission method for wearable intelligent equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12446084B2 (en) 2019-11-27 2025-10-14 Spreadtrum Communications (Shanghai) Co., Ltd. Audio data transmission method and apparatus for wireless earphone, and storage medium and terminal
WO2023069144A1 (en) * 2021-10-21 2023-04-27 Qualcomm Incorporated Methods of transition of bearers

Also Published As

Publication number Publication date
CN106792954A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106792954B (en) Bluetooth and Wifi switching method based on environment perception and transmission equipment
US7756103B2 (en) Device, system and method of adjustment of a delivery mechanism according to access categories
CN101827396B (en) Multi-net cooperative transmission resource distribution system in heterogeneous wireless environment and method
US8885584B2 (en) Multiple concurrent data link management
US7961756B1 (en) Integrated multimedia system
US20140269468A1 (en) Systems and methods for wireless band switching
CN104247548A (en) Communication using distributed channel access parameters
CN103380653A (en) Method for providing speed information to network by user equipment
Keshav et al. Energy efficient scheduling in 4G smart phones for mobile hotspot application
JP2015500601A (en) Using wireless wide area network protocol information to manage processor performance levels
EP2018006A2 (en) Method and system for utilizing plurality of physical layers to retain quality of service in a wireless device during a single communication session
CN105516907A (en) Data transmission method based on low power consumption Bluetooth technology
CN107466092A (en) A kind of system of selection of access point, relevant apparatus and system
CN105766020A (en) Method of controlling transmission power and transmission delay and communication terminal using same
CN102883420B (en) Transmission scheduling method and device in sleep mode
JP4919918B2 (en) Radio link selection control device, radio device and radio link selection method
WO2022170641A1 (en) Intelligent route selection method, and system, storage medium and terminal device
CN109617802B (en) Link Aggregation Implementation Method and Related Products
US9420532B2 (en) Shaping data packet traffic
EP2936883B1 (en) Power saving in wlan stations using data accumulation at an access point
CN113766514B (en) Network resource offloading method, device, electronic equipment, and storage medium
Lee et al. Energy-efficient rate allocation for multi-homed streaming service over heterogeneous access networks
CN109587765B (en) Link Aggregation Implementation Method and Related Products
CN107548143B (en) Message sending and receiving method and device, wireless access equipment and terminal equipment
Oh et al. Energy-efficient dynamic load distribution for heterogeneous access networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210113

Address after: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park.

Patentee after: HUNAN NEW CLOUDNET TECHNOLOGY Co.,Ltd.

Address before: 410083 Hunan province Changsha Lushan Road No. 932

Patentee before: CENTRAL SOUTH University

PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A switching method and transmission device between Bluetooth and WiFi Based on environment perception

Effective date of registration: 20210126

Granted publication date: 20200204

Pledgee: Agricultural Bank of China Limited Changsha Yuhua District sub branch

Pledgor: HUNAN NEW CLOUDNET TECHNOLOGY Co.,Ltd.

Registration number: Y2021980000747

PE01 Entry into force of the registration of the contract for pledge of patent right
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park.

Patentee after: New Cloud Technology Group Co.,Ltd.

Address before: 410000 Yuelu District Yuelu street, Changsha, Hunan Province, 5 left 101 rooms of R & D headquarters of Central South University Science Park.

Patentee before: HUNAN NEW CLOUDNET TECHNOLOGY Co.,Ltd.

PM01 Change of the registration of the contract for pledge of patent right

Change date: 20240520

Registration number: Y2021980000747

Pledgor after: New Cloud Technology Group Co.,Ltd.

Pledgor before: HUNAN NEW CLOUDNET TECHNOLOGY Co.,Ltd.

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20200204

Pledgee: Agricultural Bank of China Limited Changsha Yuhua District sub branch

Pledgor: New Cloud Technology Group Co.,Ltd.

Registration number: Y2021980000747

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A Bluetooth and WiFi switching method and transmission device based on environmental perception

Granted publication date: 20200204

Pledgee: Agricultural Bank of China Limited Changsha Yuhua District sub branch

Pledgor: New Cloud Technology Group Co.,Ltd.

Registration number: Y2024980019289