WO2016155444A1 - Low-power consumption bluetooth connecting method and apparatus - Google Patents

Low-power consumption bluetooth connecting method and apparatus Download PDF

Info

Publication number
WO2016155444A1
WO2016155444A1 PCT/CN2016/074825 CN2016074825W WO2016155444A1 WO 2016155444 A1 WO2016155444 A1 WO 2016155444A1 CN 2016074825 W CN2016074825 W CN 2016074825W WO 2016155444 A1 WO2016155444 A1 WO 2016155444A1
Authority
WO
WIPO (PCT)
Prior art keywords
slave
master
connection
time slice
bluetooth
Prior art date
Application number
PCT/CN2016/074825
Other languages
French (fr)
Chinese (zh)
Inventor
郑战海
Original Assignee
石姗姗
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 石姗姗 filed Critical 石姗姗
Publication of WO2016155444A1 publication Critical patent/WO2016155444A1/en

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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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

Definitions

  • the present invention relates to a low power Bluetooth technology for wireless communication, and more particularly to a low power Bluetooth connection method and apparatus.
  • Low-power Bluetooth is mainly used to achieve continuous connection between mobile intelligent terminals or between mobile intelligent terminals and peripheral accessories. It is a short-distance wireless communication technology with extremely low power consumption, and the effective transmission distance is increased to 100 meters. the above.
  • the master-slave relationship needs to be established, the Bluetooth broadcast signal is turned on from the device, and the master device scans the Bluetooth broadcast signal to initiate the connection. Therefore, the master-slave relationship between the devices must be established before the Bluetooth application, and the connection communication can be performed. If both parties that need to establish a Bluetooth connection become master or slave, then both parties cannot search for each other and cannot make the next connection request.
  • the main body of the two parties that need to establish a Bluetooth connection is the same, for example, the main body of the two parties is two watches, then before establishing the Bluetooth connection, the user must also select the master-slave relationship of the Bluetooth connection, which makes the interaction process one more confirmation step. And because the implementation process of this confirmation step requires user operations, it will add technical obstacles to those who do not understand the technology.
  • the embodiment of the invention provides a low-power Bluetooth connection method and device, which does not need to manually select a master-slave relationship of the device, and the connection is more convenient, which simplifies the user operation complexity and improves the user experience.
  • the technical solution provides a low power Bluetooth connection method, including a master device and a slave device. Conversion of equipment;
  • the conversion of master and slave includes:
  • Obtain a random time master time slice use the low power Bluetooth protocol to scan the slave device as the master device; determine that no connection is established with the slave device in the random time master time slice; obtain a random length slave time slice as the slave device Sending a Bluetooth broadcast signal using the low-power Bluetooth protocol; determining that no connection is established with the master device in the random slice from the time slice, returning to step a; or
  • Obtain a random length slave time slice send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; determine that a random length of the slave time slice does not establish a connection with the master device; obtain a random length master time slice as the master The device scans the slave device using the Bluetooth low energy protocol; determines that there is no connection with the slave device in the random time master time slice, and returns to step c.
  • the master time slice may also include:
  • the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
  • the method may further include:
  • the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol;
  • the slave device After determining that the slave device establishes a connection with the master device and interrupts, it acquires a random length slave time slice, and the slave device transmits a Bluetooth broadcast signal using the low power Bluetooth protocol.
  • the master time slice may also include:
  • the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak.
  • T2 ((Rand()%N)+1)*T1
  • T1 is a low power Bluetooth device switching.
  • N is an integer greater than one and less than 20.
  • the technical solution provides a low power Bluetooth connection device, including:
  • a master time slice acquiring unit configured to acquire a master time slice of a random length, and use the low power Bluetooth protocol to scan the slave device as a master device;
  • a first connection determining unit configured to determine that no connection is established with the slave device in the master time slice of random length
  • a first triggering unit configured to trigger a slave time slice acquiring unit when no connection is established with the slave device in the master time slice of random length
  • the time slice acquisition unit is configured to acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol;
  • a second connection confirming unit configured to determine that no connection is established with the master device in the slave time slice of the random length
  • the second triggering unit is configured to trigger the main time slice acquiring unit when no connection is established with the master device in the random length slave time slice.
  • the Bluetooth low energy connection device may further include:
  • a first connection interruption unit configured to determine, after the master device establishes a connection with the slave device, interrupts, obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; or, for determining After the master device establishes a connection with the slave device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
  • the Bluetooth low energy connection device may further include:
  • a second connection interruption unit configured to determine, after the slave device establishes a connection with the master device, interrupts, obtain a random time master time slice, and use the low power Bluetooth protocol to scan the slave device as the master device; or, After the device establishes a connection with the master device and interrupts, it acquires a random-length slave time slice, and sends a Bluetooth broadcast signal as a slave device using the low-power Bluetooth protocol.
  • the Bluetooth low energy connection device may further include:
  • the signal strength connection unit is configured to: if at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak.
  • the device turns into a master device and a slave device by means of an automatic random time slice, so that multiple devices are simultaneously the master device or the slave device cannot be found to establish a connection at the same time, and the time slice length is randomly generated. Looping to a different master-slave mode establishes a connection, which makes the connection more convenient, simplifies the complexity of user operations, and improves the user experience.
  • FIG. 1 is a flowchart of a method of an embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of an embodiment of a Bluetooth low energy connection device according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for connecting a low power Bluetooth connection method according to an embodiment of the present invention.
  • the Bluetooth low energy connection method includes:
  • S100 Obtain a master time slice of random length, and scan the slave device as a master device using a low power Bluetooth protocol.
  • the master time slice of random length is relatively short, but the time length of the master time slice is at least the time required to allow the slave device to receive connection request information from other master devices.
  • the time that the master device can search for other slave devices is usually extended for a certain period of time based on the time required for the slave device to be able to receive the connection request information by other master devices, ensuring that the two parties continue to be random several times, in one
  • the master device establishes a connection for the slave device.
  • the Bluetooth signal of the slave device is not scanned in the master time slice of random length, or the scanned Bluetooth signal is lower than the set value, and no connection is made.
  • S102 Acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
  • the random length of the time slice is the same as the random length master time slice acquisition method, and will not be described again.
  • the master time slice of the random length from the time slice and the random length is random within a certain range, so the length of the time slice is not a fixed value.
  • the device transitions from the master state to the slave state.
  • the device When the device is in the slave device state and no master device establishes a connection with it, the device is scanned again as the master device, so that the master device state and the slave device state are cyclically switched until the plurality of devices are different as the master device and not at the same time.
  • the device is able to establish a connection. Connections are usually established automatically after 1-3 cycles.
  • the device after the Bluetooth function is turned on, the device is in the state of the master device, and the device is rotated as the master device and the slave device by means of automatic random time slice, thereby preventing multiple devices from being simultaneously the master device or the slave device at the same time.
  • the other party scans, the length of the time slice is randomly generated.
  • the connection is established, the connection is more convenient, the complexity of the user operation is simplified, and the user experience is improved.
  • FIG. 2 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • the low-power Bluetooth connection method is different from the method shown in FIG. 1 in that the connection method of the low-power Bluetooth is initially in the slave state, and the low-power Bluetooth connection method includes:
  • S200 Obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
  • the device If the device is in the master state without scanning to the slave device, or if the scanned Bluetooth signal is lower than the set value and is not connected, it is scanned again as a slave device, thus cycling between the master device state and the slave device state until Multiple devices are not the primary device at the same time, and the slave device can establish a connection at the same time. until. Connections are usually established automatically after 1-3 cycles.
  • the method for obtaining the master time slice of the random length from the time slice and the random length refers to the method related to the method shown in FIG. 1 , and details are not described herein again.
  • the device is in the slave device state, and the device turns to be the master device and the slave device in an automatic random time slice manner, so that multiple devices are simultaneously the master device or the slave device at the same time cannot be
  • the length of the time slice is randomly generated.
  • FIG. 3 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • the difference from the method shown in FIG. 1 in this embodiment is that the present embodiment performs processing after discovering that the target device that is not required to be connected is connected.
  • the Bluetooth low energy connection method includes:
  • S300 Obtain a random time master time slice, and use the low power Bluetooth protocol to scan the slave device as a master device.
  • the device When the device is in the master state, it scans the slave device and establishes a connection with it. At this time, the random time slice stops. After the connection, the identity device confirms that the target device is not required to be connected, and the device enters the slave device state.
  • the user can click to confirm through the touch screen, or use the preset action to perform the somatosensory confirmation.
  • the device is in the state of the master device, and the device is rotated as the master device and the slave device by means of automatic random time slice until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, the loop of the random time slice is continued, the connection is more convenient, the complexity of the user operation is simplified, the user experience is improved, and the connection accuracy is ensured.
  • the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strength is sequentially connected from strong to weak.
  • the connection is disconnected, the Bluetooth signal of the slave device is discarded, and the connection is performed in order from strong to weak according to the Bluetooth signal strength.
  • FIG. 4 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • the difference from the method shown in FIG. 3 in this embodiment is that the present embodiment enters the state of the master device after discovering that the target device that is not required to be connected is connected.
  • the Bluetooth low energy connection method includes:
  • S400 Obtain a master time slice of random length, and scan the slave device as a master device using a low power Bluetooth protocol.
  • the device When the device is in the master state, it scans the slave device and establishes a connection with it. At this time, the random time slice stops. After the connection, the identity device confirms that the target device is not required to be connected, and the device enters the master device state.
  • the user can click to confirm through the touch screen, or use the preset action to confirm the body feeling.
  • the device is in the state of the master device, and the device is rotated as the master device and the slave device by means of automatic random time slice until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, continue the loop of the random time slice and connect It is more convenient, simplifies the complexity of user operations, improves the user experience, and ensures the accuracy of the connection.
  • FIG. 5 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • the difference between this embodiment and the method shown in FIG. 2 is that the present embodiment performs processing after discovering that the target device that is not required to be connected is connected.
  • S500 Obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
  • the device When the device is in the slave device state, the device establishes a connection with the master device. At this time, the random time slice stops. After the connection, the identity device confirms that the target device is not required to be connected, and the device enters the master device state.
  • the user can click to confirm through the touch screen, or use the preset action to confirm the body feeling.
  • the device after the Bluetooth function is turned on, the device is in the slave device state, and the device turns to be the master device and the slave device in an automatic random time slice manner until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, the loop of the random time slice is continued, the connection is more convenient, the complexity of the user operation is simplified, the user experience is improved, and the connection accuracy is ensured.
  • FIG. 6 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
  • the difference from the method shown in FIG. 5 in this embodiment is that the present embodiment enters the slave device state after discovering that the target device that is not required to be connected is connected.
  • S600 Obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
  • S601. Determine to obtain a random length slave time slice after establishing a connection between the slave device and the master device, and send the Bluetooth broadcast signal as the slave device using the low power Bluetooth protocol.
  • the device When the device is in the slave state, it establishes a connection with the master device. At this time, the random time slice stops, even After receiving the identity information, it is confirmed that the target device is not required to be connected, and the device enters the slave device state.
  • the user can click to confirm through the touch screen, or use the preset action to confirm the body feeling.
  • the device after the Bluetooth function is turned on, the device is in the slave device state, and the device turns to be the master device and the slave device in an automatic random time slice manner until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, the loop of the random time slice is continued, the connection is more convenient, the complexity of the user operation is simplified, the user experience is improved, and the connection accuracy is ensured.
  • FIG. 7 is a structural diagram of a low power Bluetooth connection device corresponding to the low power Bluetooth connection method of FIG. 1 according to an embodiment of the present invention.
  • the Bluetooth low energy connection device includes:
  • the master time slice obtaining unit 10 is configured to acquire a master time slice of a random length, and scan the slave device as a master device using a low power Bluetooth protocol;
  • a first connection determining unit 20 configured to determine that no connection is established with the slave device in the master time slice of random length
  • the first triggering unit 30 is configured to trigger the slave time slice acquiring unit when no connection is established with the slave device in the master time slice of the random length;
  • the time slice acquisition unit 40 is configured to acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol;
  • a second connection confirming unit 50 configured to determine that no connection is established with the master device in the slave time slice of the random length
  • the second triggering unit 60 is configured to trigger the main time slice acquiring unit when no connection is established with the master device in the random length slave time slice.
  • the device turns to be the master device and the slave device by means of the automatic random time slice, so that multiple devices are simultaneously the master device or the slave device cannot be scanned by the other device at the same time.
  • the length is randomly generated.
  • the foregoing Bluetooth low energy connection device may further include:
  • a first connection interruption unit configured to determine, after the master device establishes a connection with the slave device, interrupts, obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; or, for determining After the master device establishes a connection with the slave device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
  • the first connection interruption unit is configured to determine that the master device is connected to the slave device and then disconnects, and then acquires a random length slave time slice, and uses the low power Bluetooth protocol as the slave device. Send a Bluetooth broadcast signal.
  • the first connection interruption unit is configured to determine, after the master device establishes a connection with the slave device, and interrupts, acquiring a random time master time slice, and using the low power Bluetooth protocol to scan the slave device as the master device. . Improves the accuracy of the connection by verifying that the connected device is the target device.
  • the foregoing Bluetooth low energy connection device may further include:
  • a second connection interruption unit configured to determine, after the slave device establishes a connection with the master device, interrupts, obtain a random time master time slice, and use the low power Bluetooth protocol to scan the slave device as the master device; or, After the device establishes a connection with the master device and interrupts, it acquires a random-length slave time slice, and sends a Bluetooth broadcast signal as a slave device using the low-power Bluetooth protocol.
  • the second connection interruption unit is configured to determine, after the slave device establishes a connection with the master device, and interrupts, acquiring a random time master time slice, and using the low power Bluetooth protocol as the master device. Scan the slave device.
  • the second connection interruption unit is configured to determine that the slave device is connected to the master device and then disconnects, and then acquires a random length slave time slice, and the slave device transmits the Bluetooth broadcast using the low power Bluetooth protocol. signal. Increased connectivity by verifying that the connected device is the target device accuracy.
  • the foregoing Bluetooth low energy connection device further includes:
  • the signal strength connection unit is configured to: if at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak. By connecting to the slave device in order from the strongest to the weakest according to the strength of the Bluetooth signal, it is ensured that the connection is performed once in face-to-face information interaction, and the connection efficiency is improved.
  • T1 is a low power Bluetooth device
  • the minimum time unit of switching, N being an integer greater than 1 and less than 20.
  • the random time master time slice and the random length slave time slice are random time slices.

Abstract

Disclosed is a low-power consumption Bluetooth connecting method, comprising: switching between a master device and a slave device. The switching between the master device and the slave device comprises: a. acquiring a master time slice having a random length to serve as the master device to scan the slave device using a low-power consumption Bluetooth protocol; determining that no connection with the master device is established in the master time slice having the random length; acquiring a slave time slice having a random length to serve as the slave device to send a Bluetooth broadcast signal using the low-power consumption Bluetooth protocol; and determining that no connection with the slave device is established in the slave time slice having the random length, and returning to step a. A device alternately serves as a master device and a slave device by means of automatic random time slices, thereby avoiding the case where a plurality of devices simultaneously serving as master devices or slave devices cannot be scanned, the lengths of the time slices are randomly generated, a connection is established when the devices circulate in order to be in different master/slave modes, the connection is more convenient, the operation complexity of a user is simplified, and the user experience is improved.

Description

一种低功耗蓝牙的连接方法及装置Low-power bluetooth connection method and device
本专利申请要求于2015年04月01日提交的,申请号为201510152785.9,申请人为广东小天才科技有限公司,发明名称为“一种低功耗蓝牙的连接方法及装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本申请中。This patent application is filed on April 1, 2015, and the application number is 201510152785.9. The applicant is Guangdong Xiaotiancai Technology Co., Ltd., and the Chinese patent application titled "A Low-Power Bluetooth Connection Method and Device" is preferred. The entire contents of this application are incorporated herein by reference.
技术领域Technical field
本发明涉及无线通信的低功耗蓝牙技术,尤其涉及一种低功耗蓝牙的连接方法及装置。The present invention relates to a low power Bluetooth technology for wireless communication, and more particularly to a low power Bluetooth connection method and apparatus.
背景技术Background technique
低功耗蓝牙(Bluetooth)主要用于实现移动智能终端之间或者移动智能终端与周边配件之间的持续连接,是功耗极低的短距离无线通信技术,并且有效传输距离被提升到了100米以上。但是,蓝牙连接过程中需要确立主从关系,从设备开启蓝牙广播信号,主设备扫描蓝牙广播信号启动连接,所以必须在蓝牙应用前确立设备间的主从关系,才可以进行连接通信。如果需要建立蓝牙连接的双方都变成主设备或者从设备,那么双方就无法搜索到对方,不能进行下一步的连接请求。如果需要建立蓝牙连接的双方的主体相同,比如双方的主体为两个手表,那么,在建立蓝牙连接之前,还必须让用户选择蓝牙连接的主从关系,这就使得交互过程多了一次确认步骤,而且由于这个确认步骤的实现过程需要用户操作,因此会给不懂技术的应用者增添技术性障碍。Low-power Bluetooth is mainly used to achieve continuous connection between mobile intelligent terminals or between mobile intelligent terminals and peripheral accessories. It is a short-distance wireless communication technology with extremely low power consumption, and the effective transmission distance is increased to 100 meters. the above. However, in the Bluetooth connection process, the master-slave relationship needs to be established, the Bluetooth broadcast signal is turned on from the device, and the master device scans the Bluetooth broadcast signal to initiate the connection. Therefore, the master-slave relationship between the devices must be established before the Bluetooth application, and the connection communication can be performed. If both parties that need to establish a Bluetooth connection become master or slave, then both parties cannot search for each other and cannot make the next connection request. If the main body of the two parties that need to establish a Bluetooth connection is the same, for example, the main body of the two parties is two watches, then before establishing the Bluetooth connection, the user must also select the master-slave relationship of the Bluetooth connection, which makes the interaction process one more confirmation step. And because the implementation process of this confirmation step requires user operations, it will add technical obstacles to those who do not understand the technology.
发明内容Summary of the invention
本发明实施例提供一种低功耗蓝牙的连接方法及装置,无需人工额外选择设备的主从关系,连接更加方便,简化了用户操作的复杂度,提升了用户体验。The embodiment of the invention provides a low-power Bluetooth connection method and device, which does not need to manually select a master-slave relationship of the device, and the connection is more convenient, which simplifies the user operation complexity and improves the user experience.
本发明实施例采用以下技术方案:The embodiment of the invention adopts the following technical solutions:
第一方面,本技术方案提供一种低功耗蓝牙的连接方法,包括主设备和从 设备的转换;In a first aspect, the technical solution provides a low power Bluetooth connection method, including a master device and a slave device. Conversion of equipment;
主设备和从设备的转换包括:The conversion of master and slave includes:
a.获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;确定在随机长度的主时间片内没有与从设备建立连接;获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;确定在随机长度的从时间片内没有与主设备建立连接,返回步骤a;或者,a. Obtain a random time master time slice, use the low power Bluetooth protocol to scan the slave device as the master device; determine that no connection is established with the slave device in the random time master time slice; obtain a random length slave time slice as the slave device Sending a Bluetooth broadcast signal using the low-power Bluetooth protocol; determining that no connection is established with the master device in the random slice from the time slice, returning to step a; or
c.获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;确定在随机长度的从时间片内没有与主设备建立连接;获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;确定在随机长度的主时间片内没有与从设备建立连接,返回步骤c。c. Obtain a random length slave time slice, send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; determine that a random length of the slave time slice does not establish a connection with the master device; obtain a random length master time slice as the master The device scans the slave device using the Bluetooth low energy protocol; determines that there is no connection with the slave device in the random time master time slice, and returns to step c.
所述获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备之后,还可以包括:After the master time slice is obtained by using the low power Bluetooth protocol to scan the slave device, the master time slice may also include:
确定作为主设备与从设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;或者,Determining, as the master device establishes a connection with the slave device and interrupting, acquiring a slave slice of random length, and transmitting a Bluetooth broadcast signal as a slave device using a low-power Bluetooth protocol; or
确定作为主设备与从设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。After determining that the master device establishes a connection with the slave device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
所述获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号之后,还可以包括:And obtaining the slave time slice of the random length, and after the slave device sends the Bluetooth broadcast signal by using the low-power Bluetooth protocol, the method may further include:
确定作为从设备与主设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;或者,Determining that after the slave device establishes a connection with the master device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol; or
确定作为从设备与主设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。After determining that the slave device establishes a connection with the master device and interrupts, it acquires a random length slave time slice, and the slave device transmits a Bluetooth broadcast signal using the low power Bluetooth protocol.
所述获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备之后,还可以包括:After the master time slice is obtained by using the low power Bluetooth protocol to scan the slave device, the master time slice may also include:
若检测到至少两个从设备,将从设备的蓝牙信号强度进行排序,按蓝牙信号强度从强到弱依次进行连接。If at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak.
所述随机长度的主时间片及随机长度的从时间片均是由公式T2=((Rand()%N)+1)*T1获取的随机时间片,其中,T1为低功耗蓝牙设备切换的 最小时间单元,N为大于1并且小于20的整数。The random time main time slice and the random length slave time slice are random time slices obtained by the formula T2=((Rand()%N)+1)*T1, wherein T1 is a low power Bluetooth device switching. of The minimum time unit, N is an integer greater than one and less than 20.
第二方面,本技术方案提供一种低功耗蓝牙的连接装置,包括:In a second aspect, the technical solution provides a low power Bluetooth connection device, including:
主时间片获取单元,用于获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;a master time slice acquiring unit, configured to acquire a master time slice of a random length, and use the low power Bluetooth protocol to scan the slave device as a master device;
第一连接确定单元,用于确定在随机长度的主时间片内没有与从设备建立连接;a first connection determining unit, configured to determine that no connection is established with the slave device in the master time slice of random length;
第一触发单元,用于当在随机长度的主时间片内没有与从设备建立连接时,触发从时间片获取单元;a first triggering unit, configured to trigger a slave time slice acquiring unit when no connection is established with the slave device in the master time slice of random length;
从时间片获取单元,用于获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;The time slice acquisition unit is configured to acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol;
第二连接确认单元,用于确定在随机长度的从时间片内没有与主设备建立连接;a second connection confirming unit, configured to determine that no connection is established with the master device in the slave time slice of the random length;
第二触发单元,用于当在随机长度的从时间片内没有与主设备建立连接时,触发所述主时间片获取单元。The second triggering unit is configured to trigger the main time slice acquiring unit when no connection is established with the master device in the random length slave time slice.
该低功耗蓝牙的连接装置还可以包括:The Bluetooth low energy connection device may further include:
第一连接中断单元,用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;或者,用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。a first connection interruption unit, configured to determine, after the master device establishes a connection with the slave device, interrupts, obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; or, for determining After the master device establishes a connection with the slave device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
该低功耗蓝牙的连接装置还可以包括:The Bluetooth low energy connection device may further include:
第二连接中断单元,用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;或者,用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。a second connection interruption unit, configured to determine, after the slave device establishes a connection with the master device, interrupts, obtain a random time master time slice, and use the low power Bluetooth protocol to scan the slave device as the master device; or, After the device establishes a connection with the master device and interrupts, it acquires a random-length slave time slice, and sends a Bluetooth broadcast signal as a slave device using the low-power Bluetooth protocol.
该低功耗蓝牙的连接装置还可以包括:The Bluetooth low energy connection device may further include:
信号强度连接单元,用于若检测到至少两个从设备,将从设备的蓝牙信号强度进行排序,按蓝牙信号强度从强到弱依次进行连接。 The signal strength connection unit is configured to: if at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak.
该低功耗蓝牙的连接装置还可以包括,随机时间获取单元,用于由公式T2=((Rand()%N)+1)*T1获取所述随机长度的主时间片及随机长度的从时间片,其中,T1为低功耗蓝牙设备切换的最小时间单元,N为大于1并且小于20的整数。The Bluetooth low energy connection device may further include: a random time acquisition unit, configured to acquire the random time main time slice and the random length from the formula T2=((Rand()%N)+1)*T1 A time slice, where T1 is the minimum time unit of Bluetooth device switching of low power consumption, and N is an integer greater than 1 and less than 20.
本发明实施例提供的技术方案带来的有益效果:The beneficial effects brought by the technical solutions provided by the embodiments of the present invention are as follows:
本技术方案中,通过自动随机时间片的方式使设备轮番作为主设备及从设备,避免多个设备同时为主设备或者同时为从设备而无法发现对方建立连接,时间片长度随机产生,当设备循环到处于不同的主从模式时则建立连接,连接更加方便,简化了用户操作的复杂度,提升了用户体验。In the technical solution, the device turns into a master device and a slave device by means of an automatic random time slice, so that multiple devices are simultaneously the master device or the slave device cannot be found to establish a connection at the same time, and the time slice length is randomly generated. Looping to a different master-slave mode establishes a connection, which makes the connection more convenient, simplifies the complexity of user operations, and improves the user experience.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据本发明实施例的内容和这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings may be obtained according to the contents of the embodiments of the present invention and the drawings without any creative work.
图1是本发明实施例提供的低功耗蓝牙的连接方法的一个实施例的方法流程图。FIG. 1 is a flowchart of a method of an embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
图2是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。FIG. 2 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
图3是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。FIG. 3 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
图4是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。FIG. 4 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
图5是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。FIG. 5 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
图6是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。 FIG. 6 is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention.
图7是本发明实施例提供的低功耗蓝牙的连接装置的一个实施例的结构图。FIG. 7 is a structural diagram of an embodiment of a Bluetooth low energy connection device according to an embodiment of the present invention.
具体实施方式detailed description
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。The technical solution of the present invention will be further described below with reference to the accompanying drawings and specific embodiments.
为使本发明解决的技术问题、采用的技术方案和达到的技术效果更加清楚,下面将结合附图对本发明实施例的技术方案作进一步的详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions of the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only the present invention. Some embodiments, but not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
请参考图1,其是本发明实施例提供的低功耗蓝牙的连接方法的一个实施例的方法流程图。该低功耗蓝牙连接方法包括:Please refer to FIG. 1 , which is a flowchart of a method for connecting a low power Bluetooth connection method according to an embodiment of the present invention. The Bluetooth low energy connection method includes:
S100、获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。S100: Obtain a master time slice of random length, and scan the slave device as a master device using a low power Bluetooth protocol.
随机长度的主时间片由公式T2=((Rand()%N)+1)*T1获取,其中,T1为低功耗蓝牙设备切换的最小时间单元,N为大于1并且小于20的整数。本实施例中,N优选为10。The master time slice of random length is obtained by the formula T2=((Rand()%N)+1)*T1, where T1 is the minimum time unit of the Bluetooth low energy device switching, and N is an integer greater than 1 and less than 20. In the present embodiment, N is preferably 10.
随机长度的主时间片相对较短,但主时间片的时间长度至少为允许从设备能够被其他主设备收到连接请求信息所需的时间。主设备能够搜索到其他从设备所需要的时间,通常在允许从设备能够被其他主设备收到连接请求信息所需的时间的基础上延长一定时间,保证双方持续几次随机后,在一个为主设备一个为从设备的状态下建立连接。The master time slice of random length is relatively short, but the time length of the master time slice is at least the time required to allow the slave device to receive connection request information from other master devices. The time that the master device can search for other slave devices is usually extended for a certain period of time based on the time required for the slave device to be able to receive the connection request information by other master devices, ensuring that the two parties continue to be random several times, in one The master device establishes a connection for the slave device.
S101、确定在随机长度的主时间片内没有与从设备建立连接。S101. Determine that no connection is established with the slave device in the master time slice of random length.
在随机长度的主时间片内没有扫描到从设备的蓝牙信号,或者,扫描到的蓝牙信号低于设定值,则不进行连接。The Bluetooth signal of the slave device is not scanned in the master time slice of random length, or the scanned Bluetooth signal is lower than the set value, and no connection is made.
S102、获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。S102. Acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
随机长度的从时间片与随机长度的主时间片获取方法一样,不再赘述。由 于随机长度的从时间片与随机长度的主时间片是在一定范围内随机的,所以时间片的长度不是固定值。在步骤S102中,设备从主设备状态转换为从设备状态。The random length of the time slice is the same as the random length master time slice acquisition method, and will not be described again. By The master time slice of the random length from the time slice and the random length is random within a certain range, so the length of the time slice is not a fixed value. In step S102, the device transitions from the master state to the slave state.
S103、确定在随机长度的从时间片内没有与主设备建立连接,返回步骤S100。S103. Determine that no connection is established with the master device in the slave time slice of the random length, and return to step S100.
设备处于从设备状态且没有主设备与之建立连接,则再次作为主设备进行扫描,如此在主设备状态与从设备状态之间循环切换,直到多个设备不同时为主设备且不同时为从设备能够建立连接为止。通常经过1-3个循环即可自动建立连接。When the device is in the slave device state and no master device establishes a connection with it, the device is scanned again as the master device, so that the master device state and the slave device state are cyclically switched until the plurality of devices are different as the master device and not at the same time. The device is able to establish a connection. Connections are usually established automatically after 1-3 cycles.
综上,本实施例中打开蓝牙功能后设备处于主设备状态,通过自动随机时间片的方式使设备轮番作为主设备及从设备,避免多个设备同时为主设备或者同时为从设备而无法被对方扫描到,时间片长度随机产生,当设备循环到处于不同的主从模式时则建立连接,连接更加方便,简化了用户操作的复杂度,提升了用户体验。In summary, in this embodiment, after the Bluetooth function is turned on, the device is in the state of the master device, and the device is rotated as the master device and the slave device by means of automatic random time slice, thereby preventing multiple devices from being simultaneously the master device or the slave device at the same time. When the other party scans, the length of the time slice is randomly generated. When the device loops to a different master-slave mode, the connection is established, the connection is more convenient, the complexity of the user operation is simplified, and the user experience is improved.
请参考图2,其是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。该低功耗蓝牙的连接方法与图1所示方法的不同之处在于,本实施例低功耗蓝牙的连接方法开始时首先处于从设备状态,低功耗蓝牙的连接方法包括:Please refer to FIG. 2 , which is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention. The low-power Bluetooth connection method is different from the method shown in FIG. 1 in that the connection method of the low-power Bluetooth is initially in the slave state, and the low-power Bluetooth connection method includes:
S200、获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。S200: Obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
S201、确定在随机长度的从时间片内没有与主设备建立连接。S201. Determine that no connection is established with the master device in the slave time slice of the random length.
S202、获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。S202. Acquire a master time slice of random length, and scan the slave device as a master device using a low power Bluetooth protocol.
S203、确定在随机长度的主时间片内没有与从设备建立连接,返回步骤S200。S203. Determine that no connection is established with the slave device in the master time slice of random length, and return to step S200.
设备处于主设备状态没有扫描到从设备,或者,扫描到的蓝牙信号低于设定值而不进行连接,则再次作为从设备进行扫描,如此在主设备状态与从设备状态之间循环,直到多个设备不同时为主设备且不同时为从设备能够建立连接 为止。通常经过1-3个循环即可自动建立连接。If the device is in the master state without scanning to the slave device, or if the scanned Bluetooth signal is lower than the set value and is not connected, it is scanned again as a slave device, thus cycling between the master device state and the slave device state until Multiple devices are not the primary device at the same time, and the slave device can establish a connection at the same time. until. Connections are usually established automatically after 1-3 cycles.
随机长度的从时间片与随机长度的主时间片获取方法参考图1所示方法相关内容,此处不再赘述。The method for obtaining the master time slice of the random length from the time slice and the random length refers to the method related to the method shown in FIG. 1 , and details are not described herein again.
综上,本实施例中打开蓝牙功能后设备处于从设备状态,通过自动随机时间片的方式使设备轮番作为主设备及从设备,避免多个设备同时为主设备或者同时为从设备而无法被对方扫描到,时间片长度随机产生,当设备循环到处于不同的主从模式时则建立连接,连接更加方便,简化了用户操作的复杂度,提升了用户体验。In summary, after the Bluetooth function is turned on in this embodiment, the device is in the slave device state, and the device turns to be the master device and the slave device in an automatic random time slice manner, so that multiple devices are simultaneously the master device or the slave device at the same time cannot be When the other party scans, the length of the time slice is randomly generated. When the device loops to a different master-slave mode, the connection is established, the connection is more convenient, the complexity of the user operation is simplified, and the user experience is improved.
请参考图3,其是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。本实施例中与图1所示方法不同之处在于,本实施例在连接后发现不是需要连接的目标设备则做出处理。Please refer to FIG. 3 , which is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention. The difference from the method shown in FIG. 1 in this embodiment is that the present embodiment performs processing after discovering that the target device that is not required to be connected is connected.
该低功耗蓝牙的连接方法包括:The Bluetooth low energy connection method includes:
S300、获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。S300: Obtain a random time master time slice, and use the low power Bluetooth protocol to scan the slave device as a master device.
S301、确定作为主设备与从设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。S301. After determining that the master device establishes a connection with the slave device and interrupts, acquiring a slave time slice of random length, and transmitting, as the slave device, a Bluetooth broadcast signal by using a low power Bluetooth protocol.
当设备处于主设备状态时,扫描到从设备并与之建立连接,此时,随机时间片停止,连接后通过身份信息确认不是需要连接的目标设备,该设备则进入从设备状态。When the device is in the master state, it scans the slave device and establishes a connection with it. At this time, the random time slice stops. After the connection, the identity device confirms that the target device is not required to be connected, and the device enters the slave device state.
当建立连接后进行身份确认时,用户可以通过触摸屏点击确认,也可以是使用预设动作进行体感确认。When the identity is confirmed after the connection is established, the user can click to confirm through the touch screen, or use the preset action to perform the somatosensory confirmation.
S302、确定在随机长度的从时间片内没有与主设备建立连接,返回步骤S300。S302. Determine that no connection is established with the master device in the slave time slice of the random length, and return to step S300.
综上,本实施例中打开蓝牙功能后设备处于主设备状态,通过自动随机时间片的方式使设备轮番作为主设备及从设备,直到多个设备处于不同的状态而建立连接,判断出连接的设备不是目标设备,则继续随机时间片的循环,连接更加方便,简化了用户操作的复杂度,提升了用户体验,保证连接的准确性。 In summary, after the Bluetooth function is turned on in this embodiment, the device is in the state of the master device, and the device is rotated as the master device and the slave device by means of automatic random time slice until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, the loop of the random time slice is continued, the connection is more convenient, the complexity of the user operation is simplified, the user experience is improved, and the connection accuracy is ensured.
本实施例中,设备在处于主设备状态时,若检测到至少两个从设备,将从设备的蓝牙信号强度进行排序,按蓝牙信号强度从强到弱依次进行连接。当连接的从设备不是目标设备时,则断开连接,舍弃该从设备的蓝牙信号,按照蓝牙信号强度从强到弱依次进行连接。确保面对面的用户交换信息时可以一次连接成功。In this embodiment, when the device is in the state of the master device, if at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strength is sequentially connected from strong to weak. When the connected slave device is not the target device, the connection is disconnected, the Bluetooth signal of the slave device is discarded, and the connection is performed in order from strong to weak according to the Bluetooth signal strength. Make sure that face-to-face users can connect successfully when they exchange information.
请参考图4,其是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。本实施例中与图3所示方法不同之处在于,本实施例在连接后发现不是需要连接的目标设备,则进入主设备状态。Please refer to FIG. 4 , which is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention. The difference from the method shown in FIG. 3 in this embodiment is that the present embodiment enters the state of the master device after discovering that the target device that is not required to be connected is connected.
该低功耗蓝牙的连接方法包括:The Bluetooth low energy connection method includes:
S400、获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。S400: Obtain a master time slice of random length, and scan the slave device as a master device using a low power Bluetooth protocol.
S401、确定作为主设备与从设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。S401. After determining that the master device establishes a connection with the slave device and interrupts, acquiring a master time slice of a random length, and using the low power Bluetooth protocol to scan the slave device as the master device.
当设备处于主设备状态时,扫描到从设备并与之建立连接,此时,随机时间片停止,连接后通过身份信息确认不是需要连接的目标设备,该设备则进入主设备状态。When the device is in the master state, it scans the slave device and establishes a connection with it. At this time, the random time slice stops. After the connection, the identity device confirms that the target device is not required to be connected, and the device enters the master device state.
当建立连接后进行身份确认时,用户可以通过触摸屏点击确认,也可以使用预设动作进行体感确认。When the identity is confirmed after the connection is established, the user can click to confirm through the touch screen, or use the preset action to confirm the body feeling.
S402、确定在随机长度的主时间片内没有与从设备建立连接。S402. Determine that no connection is established with the slave device in the master time slice of random length.
S403、获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。S403. Acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
S404、确定在随机长度的从时间片内没有与主设备建立连接,返回步骤S400。S404. Determine that no connection is established with the master device in the slave time slice of the random length, and return to step S400.
综上,本实施例中打开蓝牙功能后设备处于主设备状态,通过自动随机时间片的方式使设备轮番作为主设备及从设备,直到多个设备处于不同的状态而建立连接,判断出连接的设备不是目标设备,则继续随机时间片的循环,连接 更加方便,简化了用户操作的复杂度,提升了用户体验,保证连接的准确性。In summary, after the Bluetooth function is turned on in this embodiment, the device is in the state of the master device, and the device is rotated as the master device and the slave device by means of automatic random time slice until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, continue the loop of the random time slice and connect It is more convenient, simplifies the complexity of user operations, improves the user experience, and ensures the accuracy of the connection.
请参考图5,其是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。本实施例与图2所示方法的不同之处在于,本实施例在连接后发现不是需要连接的目标设备则做出处理。Please refer to FIG. 5, which is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention. The difference between this embodiment and the method shown in FIG. 2 is that the present embodiment performs processing after discovering that the target device that is not required to be connected is connected.
S500、获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。S500: Obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
S501、确定作为从设备与主设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。S501. After determining that the slave device establishes a connection with the master device and interrupts, acquiring a master time slice of a random length, and using the low power Bluetooth protocol to scan the slave device as the master device.
当设备处于从设备状态时与主设备建立连接,此时,随机时间片停止,连接后通过身份信息确认不是需要连接的目标设备,该设备则进入主设备状态。When the device is in the slave device state, the device establishes a connection with the master device. At this time, the random time slice stops. After the connection, the identity device confirms that the target device is not required to be connected, and the device enters the master device state.
当建立连接后进行身份确认时,用户可以通过触摸屏点击确认,也可以使用预设动作进行体感确认。When the identity is confirmed after the connection is established, the user can click to confirm through the touch screen, or use the preset action to confirm the body feeling.
S502、确定在随机长度的主时间片内没有与从设备建立连接,返回步骤S500。S502. Determine that no connection is established with the slave device in the master time slice of random length, and return to step S500.
综上,本实施例中打开蓝牙功能后设备处于从设备状态,通过自动随机时间片的方式使设备轮番作为主设备及从设备,直到多个设备处于不同的状态而建立连接,判断出连接的设备不是目标设备,则继续随机时间片的循环,连接更加方便,简化了用户操作的复杂度,提升了用户体验,保证连接的准确性。In summary, in this embodiment, after the Bluetooth function is turned on, the device is in the slave device state, and the device turns to be the master device and the slave device in an automatic random time slice manner until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, the loop of the random time slice is continued, the connection is more convenient, the complexity of the user operation is simplified, the user experience is improved, and the connection accuracy is ensured.
请参考图6,其是本发明实施例提供的低功耗蓝牙的连接方法的另一个实施例的方法流程图。本实施例中与图5所示方法不同之处在于,本实施例在连接后发现不是需要连接的目标设备,则进入从设备状态。Please refer to FIG. 6 , which is a flowchart of a method for another embodiment of a low power Bluetooth connection method according to an embodiment of the present invention. The difference from the method shown in FIG. 5 in this embodiment is that the present embodiment enters the slave device state after discovering that the target device that is not required to be connected is connected.
S600、获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。S600: Obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
S601、确定作为从设备与主设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。S601. Determine to obtain a random length slave time slice after establishing a connection between the slave device and the master device, and send the Bluetooth broadcast signal as the slave device using the low power Bluetooth protocol.
当设备处于从设备状态时与主设备建立连接,此时,随机时间片停止,连 接后通过身份信息确认不是需要连接的目标设备,该设备则进入从设备状态。When the device is in the slave state, it establishes a connection with the master device. At this time, the random time slice stops, even After receiving the identity information, it is confirmed that the target device is not required to be connected, and the device enters the slave device state.
当建立连接后进行身份确认时,用户可以通过触摸屏点击确认,也可以使用预设动作进行体感确认。When the identity is confirmed after the connection is established, the user can click to confirm through the touch screen, or use the preset action to confirm the body feeling.
S602、确定在随机长度的从时间片内没有与主设备建立连接。S602. Determine that no connection is established with the master device in the slave time slice of the random length.
S603、获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。S603. Acquire a master time slice of random length, and scan the slave device as a master device using a low power Bluetooth protocol.
S604、确定在随机长度的主时间片内没有与从设备建立连接,返回步骤S600。S604. Determine that no connection is established with the slave device in the master time slice of random length, and return to step S600.
综上,本实施例中打开蓝牙功能后设备处于从设备状态,通过自动随机时间片的方式使设备轮番作为主设备及从设备,直到多个设备处于不同的状态而建立连接,判断出连接的设备不是目标设备,则继续随机时间片的循环,连接更加方便,简化了用户操作的复杂度,提升了用户体验,保证连接的准确性。In summary, in this embodiment, after the Bluetooth function is turned on, the device is in the slave device state, and the device turns to be the master device and the slave device in an automatic random time slice manner until the multiple devices are in different states to establish a connection, and the connection is determined. If the device is not the target device, the loop of the random time slice is continued, the connection is more convenient, the complexity of the user operation is simplified, the user experience is improved, and the connection accuracy is ensured.
请参考图7,其是本发明实施例提供的与图1的低功耗蓝牙的连接方法对应的低功耗蓝牙的连接装置的结构图。该低功耗蓝牙的连接装置包括:Please refer to FIG. 7 , which is a structural diagram of a low power Bluetooth connection device corresponding to the low power Bluetooth connection method of FIG. 1 according to an embodiment of the present invention. The Bluetooth low energy connection device includes:
主时间片获取单元10,用于获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;The master time slice obtaining unit 10 is configured to acquire a master time slice of a random length, and scan the slave device as a master device using a low power Bluetooth protocol;
第一连接确定单元20,用于确定在随机长度的主时间片内没有与从设备建立连接;a first connection determining unit 20, configured to determine that no connection is established with the slave device in the master time slice of random length;
第一触发单元30,用于当在随机长度的主时间片内没有与从设备建立连接时,触发从时间片获取单元;The first triggering unit 30 is configured to trigger the slave time slice acquiring unit when no connection is established with the slave device in the master time slice of the random length;
从时间片获取单元40,用于获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;The time slice acquisition unit 40 is configured to acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol;
第二连接确认单元50,用于确定在随机长度的从时间片内没有与主设备建立连接;a second connection confirming unit 50, configured to determine that no connection is established with the master device in the slave time slice of the random length;
第二触发单元60,用于当在随机长度的从时间片内没有与主设备建立连接时,触发所述主时间片获取单元。The second triggering unit 60 is configured to trigger the main time slice acquiring unit when no connection is established with the master device in the random length slave time slice.
上述低功耗蓝牙的连接装置的详细内容请参考图1及图2所述方法,此处 不再赘述。For details of the above-mentioned low-power Bluetooth connection device, please refer to the method described in FIG. 1 and FIG. 2, here No longer.
综上,本实施例中打开蓝牙功能后通过自动随机时间片的方式使设备轮番作为主设备及从设备,避免多个设备同时为主设备或者同时为从设备而无法被对方扫描到,时间片长度随机产生,当设备循环到处于不同的主从模式时则建立连接,连接更加方便,简化了用户操作的复杂度,提升了用户体验。In summary, in the embodiment, after the Bluetooth function is turned on, the device turns to be the master device and the slave device by means of the automatic random time slice, so that multiple devices are simultaneously the master device or the slave device cannot be scanned by the other device at the same time. The length is randomly generated. When the device loops to a different master-slave mode, the connection is established, the connection is more convenient, the complexity of the user operation is simplified, and the user experience is improved.
在其他一些实施例中,上述低功耗蓝牙的连接装置还可以包括:In some other embodiments, the foregoing Bluetooth low energy connection device may further include:
第一连接中断单元,用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;或者,用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。a first connection interruption unit, configured to determine, after the master device establishes a connection with the slave device, interrupts, obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; or, for determining After the master device establishes a connection with the slave device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
具体地,当使用图3所示方法时,第一连接中断单元用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。Specifically, when the method shown in FIG. 3 is used, the first connection interruption unit is configured to determine that the master device is connected to the slave device and then disconnects, and then acquires a random length slave time slice, and uses the low power Bluetooth protocol as the slave device. Send a Bluetooth broadcast signal.
当使用图4所示方法时,第一连接中断单元用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。通过验证连接的设备是否为目标设备,提高了连接的准确性。When the method shown in FIG. 4 is used, the first connection interruption unit is configured to determine, after the master device establishes a connection with the slave device, and interrupts, acquiring a random time master time slice, and using the low power Bluetooth protocol to scan the slave device as the master device. . Improves the accuracy of the connection by verifying that the connected device is the target device.
在其他一些实施例中,上述低功耗蓝牙的连接装置还可以包括:In some other embodiments, the foregoing Bluetooth low energy connection device may further include:
第二连接中断单元,用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;或者,用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。a second connection interruption unit, configured to determine, after the slave device establishes a connection with the master device, interrupts, obtain a random time master time slice, and use the low power Bluetooth protocol to scan the slave device as the master device; or, After the device establishes a connection with the master device and interrupts, it acquires a random-length slave time slice, and sends a Bluetooth broadcast signal as a slave device using the low-power Bluetooth protocol.
具体地,当使用图5所示方法时,第二连接中断单元用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。Specifically, when the method shown in FIG. 5 is used, the second connection interruption unit is configured to determine, after the slave device establishes a connection with the master device, and interrupts, acquiring a random time master time slice, and using the low power Bluetooth protocol as the master device. Scan the slave device.
当使用图6所示方法时,第二连接中断单元用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。通过验证连接的设备是否为目标设备,提高了连接的 准确性。When the method shown in FIG. 6 is used, the second connection interruption unit is configured to determine that the slave device is connected to the master device and then disconnects, and then acquires a random length slave time slice, and the slave device transmits the Bluetooth broadcast using the low power Bluetooth protocol. signal. Increased connectivity by verifying that the connected device is the target device accuracy.
在一些实施例中,上述低功耗蓝牙的连接装置还包括:In some embodiments, the foregoing Bluetooth low energy connection device further includes:
信号强度连接单元,用于若检测到至少两个从设备,将从设备的蓝牙信号强度进行排序,按蓝牙信号强度从强到弱依次进行连接。通过按蓝牙信号强度从强到弱依次与从设备进行连接,保证面对面进行信息交互时一次实现连接,提高连接效率。The signal strength connection unit is configured to: if at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak. By connecting to the slave device in order from the strongest to the weakest according to the strength of the Bluetooth signal, it is ensured that the connection is performed once in face-to-face information interaction, and the connection efficiency is improved.
随机时间获取单元,用于由公式T2=((Rand()%N)+1)*T1获取所述随机长度的主时间片及随机长度的从时间片,其中,T1为低功耗蓝牙设备切换的最小时间单元,N为大于1并且小于20的整数。随机长度的主时间片与随机长度的从时间片均为随机时间片。a random time acquisition unit, configured to acquire the random time main time slice and the random length slave time slice by the formula T2=((Rand()%N)+1)*T1, where T1 is a low power Bluetooth device The minimum time unit of switching, N being an integer greater than 1 and less than 20. The random time master time slice and the random length slave time slice are random time slices.
以上内容仅为本发明的较佳实施例,对于本领域的普通技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,本说明书内容不应理解为对本发明的限制。 The above content is only a preferred embodiment of the present invention, and those skilled in the art will have a change in the specific embodiment and application scope according to the idea of the present invention. The content of the present specification should not be construed as the present invention. limits.

Claims (11)

  1. 一种低功耗蓝牙的连接方法,其特征在于,包括主设备和从设备的转换;A low-power Bluetooth connection method, comprising: converting a master device and a slave device;
    主设备和从设备的转换包括:The conversion of master and slave includes:
    a.获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;确定在随机长度的主时间片内没有与从设备建立连接;获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;确定在随机长度的从时间片内没有与主设备建立连接,返回步骤a;或者,a. Obtain a random time master time slice, use the low power Bluetooth protocol to scan the slave device as the master device; determine that no connection is established with the slave device in the random time master time slice; obtain a random length slave time slice as the slave device Sending a Bluetooth broadcast signal using the low-power Bluetooth protocol; determining that no connection is established with the master device in the random slice from the time slice, returning to step a; or
    c.获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;确定在随机长度的从时间片内没有与主设备建立连接;获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;确定在随机长度的主时间片内没有与从设备建立连接,返回步骤c。c. Obtain a random length slave time slice, send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; determine that a random length of the slave time slice does not establish a connection with the master device; obtain a random length master time slice as the master The device scans the slave device using the Bluetooth low energy protocol; determines that there is no connection with the slave device in the random time master time slice, and returns to step c.
  2. 根据权利要求1所述的方法,其特征在于,所述获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备之后,还包括:The method according to claim 1, wherein the obtaining a master time slice of a random length, after the master device scans the slave device using the Bluetooth low energy protocol, further comprises:
    确定作为主设备与从设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;或者,Determining, as the master device establishes a connection with the slave device and interrupting, acquiring a slave slice of random length, and transmitting a Bluetooth broadcast signal as a slave device using a low-power Bluetooth protocol; or
    确定作为主设备与从设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。After determining that the master device establishes a connection with the slave device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
  3. 根据权利要求1所述的方法,其特征在于,所述获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号之后,还包括:The method according to claim 1, wherein the obtaining a random length slave time slice, after the slave device sends the Bluetooth broadcast signal using the low power Bluetooth protocol, further comprises:
    确定作为从设备与主设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;或者,Determining that after the slave device establishes a connection with the master device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol; or
    确定作为从设备与主设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。After determining that the slave device establishes a connection with the master device and interrupts, it acquires a random length slave time slice, and the slave device transmits a Bluetooth broadcast signal using the low power Bluetooth protocol.
  4. 根据权利要求1所述的方法,其特征在于,所述获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备之后,还包括:The method according to claim 1, wherein the obtaining a master time slice of a random length, after the master device scans the slave device using the Bluetooth low energy protocol, further comprises:
    若检测到至少两个从设备,将从设备的蓝牙信号强度进行排序,按蓝牙信号强度从强到弱依次进行连接。If at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述随机长度的主时间片及随机长度的从时间片均是由公式T2=((Rand()%N)+1)*T1获取的 随机时间片,其中,T1为低功耗蓝牙设备切换的最小时间单元,N为大于1并且小于20的整数。The method according to any one of claims 1 to 4, wherein the random time master time slice and the random length slave time slice are both represented by the formula T2=((Rand()%N)+1) *T1 acquired A random time slice, where T1 is the minimum time unit of Bluetooth low energy device switching, and N is an integer greater than 1 and less than 20.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,A method according to any one of claims 1 to 5, characterized in that
    返回步骤a,包括:返回执行获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;Returning to step a, comprising: returning to execute a master time slice that acquires a random length, and scanning the slave device as a master device using a low power Bluetooth protocol;
    返回步骤c,包括:返回执行获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。Returning to step c, the method includes: returning to execute a slave time slice that acquires a random length, and transmitting a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol.
  7. 一种低功耗蓝牙的连接装置,其特征在于,包括:A low power Bluetooth connection device, comprising:
    主时间片获取单元,用于获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;a master time slice acquiring unit, configured to acquire a master time slice of a random length, and use the low power Bluetooth protocol to scan the slave device as a master device;
    第一连接确定单元,用于确定在随机长度的主时间片内没有与从设备建立连接;a first connection determining unit, configured to determine that no connection is established with the slave device in the master time slice of random length;
    第一触发单元,用于当在随机长度的主时间片内没有与从设备建立连接时,触发从时间片获取单元;a first triggering unit, configured to trigger a slave time slice acquiring unit when no connection is established with the slave device in the master time slice of random length;
    从时间片获取单元,用于获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;The time slice acquisition unit is configured to acquire a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol;
    第二连接确认单元,用于确定在随机长度的从时间片内没有与主设备建立连接;a second connection confirming unit, configured to determine that no connection is established with the master device in the slave time slice of the random length;
    第二触发单元,用于当在随机长度的从时间片内没有与主设备建立连接时,触发所述主时间片获取单元。The second triggering unit is configured to trigger the main time slice acquiring unit when no connection is established with the master device in the random length slave time slice.
  8. 根据权利要求7所述的低功耗蓝牙的连接装置,其特征在于,还包括:The Bluetooth low-power connection device of claim 7, further comprising:
    第一连接中断单元,用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号;或者,用于确定作为主设备与从设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备。a first connection interruption unit, configured to determine, after the master device establishes a connection with the slave device, interrupts, obtain a random length slave time slice, and send a Bluetooth broadcast signal as a slave device using a low power Bluetooth protocol; or, for determining After the master device establishes a connection with the slave device and interrupts, the master time slice of random length is obtained, and the master device scans the slave device using the low power Bluetooth protocol.
  9. 根据权利要求7所述的低功耗蓝牙的连接装置,其特征在于,还包括:The Bluetooth low-power connection device of claim 7, further comprising:
    第二连接中断单元,用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的主时间片,作为主设备使用低功耗蓝牙协议扫描从设备;或者, 用于确定作为从设备与主设备建立连接后并中断,则获取随机长度的从时间片,作为从设备使用低功耗蓝牙协议发出蓝牙广播信号。a second connection interruption unit, configured to determine, after the slave device establishes a connection with the master device, interrupts, obtain a random time master time slice, and use the low power Bluetooth protocol to scan the slave device as the master device; or It is used to determine that the slave device is connected to the master device and then disconnects, and then obtains a random length slave time slice, and the slave device uses the low power Bluetooth protocol to send a Bluetooth broadcast signal.
  10. 根据权利要求7所述的低功耗蓝牙的连接装置,其特征在于,还包括:The Bluetooth low-power connection device of claim 7, further comprising:
    信号强度连接单元,用于若检测到至少两个从设备,将从设备的蓝牙信号强度进行排序,按蓝牙信号强度从强到弱依次进行连接。The signal strength connection unit is configured to: if at least two slave devices are detected, the Bluetooth signal strengths of the slave devices are sorted, and the Bluetooth signal strengths are sequentially connected from strong to weak.
  11. 根据权利要求7至10任一项所述的低功耗蓝牙的连接装置,其特征在于,随机时间获取单元,用于由公式T2=((Rand()%N)+1)*T1获取所述随机长度的主时间片及随机长度的从时间片,其中,T1为低功耗蓝牙设备切换的最小时间单元,N为大于1并且小于20的整数。 The low power consumption Bluetooth connection device according to any one of claims 7 to 10, characterized in that the random time acquisition unit is configured to acquire the equation by the formula T2=((Rand()%N)+1)*T1 The master time slice of random length and the slave time slice of random length, where T1 is the minimum time unit of the Bluetooth device switching, and N is an integer greater than 1 and less than 20.
PCT/CN2016/074825 2015-04-01 2016-02-29 Low-power consumption bluetooth connecting method and apparatus WO2016155444A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510152785.9 2015-04-01
CN201510152785.9A CN104811895B (en) 2015-04-01 2015-04-01 A kind of connection method of low-power consumption bluetooth and device

Publications (1)

Publication Number Publication Date
WO2016155444A1 true WO2016155444A1 (en) 2016-10-06

Family

ID=53696300

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074825 WO2016155444A1 (en) 2015-04-01 2016-02-29 Low-power consumption bluetooth connecting method and apparatus

Country Status (2)

Country Link
CN (1) CN104811895B (en)
WO (1) WO2016155444A1 (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811895B (en) * 2015-04-01 2018-04-20 石姗姗 A kind of connection method of low-power consumption bluetooth and device
GB201516674D0 (en) 2015-09-21 2015-11-04 Nicoventures Holdings Ltd Topology
GB201516673D0 (en) 2015-09-21 2015-11-04 Nicoventures Holdings Ltd Topology
CN111491283B (en) * 2015-09-28 2022-06-24 展讯通信(上海)有限公司 Bluetooth data transmission method and device
CN105490712A (en) * 2015-12-31 2016-04-13 中科创达软件股份有限公司 Bluetooth device connection method and bluetooth device
CN105813010B (en) * 2016-05-05 2019-07-05 广东小天才科技有限公司 The method, system and NFC device of connection are established based on NFC
CN106060962B (en) * 2016-06-22 2020-01-03 新华三技术有限公司 Communication method and device
KR102001366B1 (en) * 2017-03-02 2019-07-19 어보브반도체 주식회사 Method for connecting multiple smart bluetooth apparatus
CN108632791B (en) * 2017-03-23 2021-06-08 展讯通信(上海)有限公司 Bluetooth master device and service configuration method
GB201707050D0 (en) 2017-05-03 2017-06-14 British American Tobacco Investments Ltd Data communication
GB201722278D0 (en) 2017-12-29 2018-02-14 British American Tobacco Investments Ltd Device identification and method
CN108811185B (en) * 2018-06-08 2021-10-26 东华大学 BLE-based session keeping method for multiple clients and single peripheral node
CN110830976B (en) * 2018-08-10 2022-08-12 炬力(珠海)微电子有限公司 Communication connection establishing method and device
CN111083746A (en) * 2018-10-18 2020-04-28 北京轩辕联科技有限公司 Mode-switchable Bluetooth device, Bluetooth connection system and Bluetooth connection method
CN110769406A (en) * 2019-10-31 2020-02-07 拉扎斯网络科技(上海)有限公司 Communication control method, communication control device, storage medium and electronic equipment
CN113382393B (en) * 2020-02-25 2024-05-03 炬芯科技股份有限公司 Bluetooth connection method and device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1223715A1 (en) * 2001-01-05 2002-07-17 Samsung Electronics Co., Ltd. Temporary master-slave switching in a Piconet in a Bluetooth communication system
CN1701570A (en) * 2003-06-02 2005-11-23 松下电器产业株式会社 Device, method, and program for performing master/slave switching process
CN104244170A (en) * 2014-09-28 2014-12-24 成都金海鼎盛科技有限公司 Low-power-consumption Bluetooth node independent networking method
CN104811895A (en) * 2015-04-01 2015-07-29 广东小天才科技有限公司 Low-power Bluetooth connecting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938298A (en) * 2009-06-29 2011-01-05 上海易狄欧电子科技有限公司 Bluetooth equipment networking method, Bluetooth system and Bluetooth master equipment
CN101800575B (en) * 2009-11-19 2013-10-23 中南大学 Method and device for reducing document transmission energy consumption of bluetooth equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1223715A1 (en) * 2001-01-05 2002-07-17 Samsung Electronics Co., Ltd. Temporary master-slave switching in a Piconet in a Bluetooth communication system
CN1701570A (en) * 2003-06-02 2005-11-23 松下电器产业株式会社 Device, method, and program for performing master/slave switching process
CN104244170A (en) * 2014-09-28 2014-12-24 成都金海鼎盛科技有限公司 Low-power-consumption Bluetooth node independent networking method
CN104811895A (en) * 2015-04-01 2015-07-29 广东小天才科技有限公司 Low-power Bluetooth connecting method and device

Also Published As

Publication number Publication date
CN104811895A (en) 2015-07-29
CN104811895B (en) 2018-04-20

Similar Documents

Publication Publication Date Title
WO2016155444A1 (en) Low-power consumption bluetooth connecting method and apparatus
TWI617919B (en) Devices and methods for facilitating direct pairing in a wireless docking system
JP7069175B2 (en) Wireless communication system
CN102315864B (en) For the method and apparatus of mobile device Point-to-Point Data Transmission
JP2016504900A (en) Apparatus and method for utilizing a wireless charger in a wireless docking environment
WO2013177192A1 (en) Apparatus and method for direct pairing in a wireless docking system
JP6174964B2 (en) Power transmission control device, power reception control device, power transmission control method, power reception control method, and program
JP2010268301A (en) Communication device, and method for controlling the same
WO2018196222A1 (en) Method, device, and system for establishing communication connection
KR20120056533A (en) Method and apparatus for performing discovery procedures in wi-fi p2p device
TR201904133T4 (en) Wireless inductive power transfer.
WO2015188458A1 (en) File transmission method, device and system
JP2009302649A (en) Communication equipment, communication method of communication equipment, program, and storage medium
KR20060064472A (en) Communication device, human body communication system and method using that device
CN105163371A (en) WIFI setting system and method based on Bluetooth
KR20170094228A (en) Method and system for automating and assisting wi-fi direct connections using mobile-device ir-blaster
WO2019196253A1 (en) Networking method and device
RU2016131493A (en) METHOD AND APPARATUS FOR COMPLETING VIDEO COMMUNICATION
CN106302777A (en) A kind of point-to-point matching process of radio hand-held equipment self adaptation
US10356666B2 (en) Communication device and communication control method
WO2015109524A1 (en) Method and device for transmitting synchronisation signal
JP5584582B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP5316513B2 (en) Wireless network system
US20130188523A1 (en) Communication apparatus, method for controlling communication apparatus, and computer-readable storage medium
WO2014169798A1 (en) Information interaction method, terminal and information interaction system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16771199

Country of ref document: EP

Kind code of ref document: A1