CN104811895B - A kind of connection method of low-power consumption bluetooth and device - Google Patents

A kind of connection method of low-power consumption bluetooth and device Download PDF

Info

Publication number
CN104811895B
CN104811895B CN201510152785.9A CN201510152785A CN104811895B CN 104811895 B CN104811895 B CN 104811895B CN 201510152785 A CN201510152785 A CN 201510152785A CN 104811895 B CN104811895 B CN 104811895B
Authority
CN
China
Prior art keywords
random
slave device
length
slave
power consumption
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
CN201510152785.9A
Other languages
Chinese (zh)
Other versions
CN104811895A (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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201510152785.9A priority Critical patent/CN104811895B/en
Publication of CN104811895A publication Critical patent/CN104811895A/en
Priority to PCT/CN2016/074825 priority patent/WO2016155444A1/en
Application granted granted Critical
Publication of CN104811895B publication Critical patent/CN104811895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

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

Abstract

The invention discloses a kind of connection method of low-power consumption bluetooth, include the conversion of main equipment and slave device;The conversion of main equipment and slave device includes:A. the major time slice of random-length is obtained, uses low-power consumption bluetooth agreement to scan slave device as main equipment;Determine not establish with slave device in the major time slice of random-length and connect;The slave timeslice of random-length is obtained, uses low-power consumption bluetooth agreement to send Bluetooth broadcast signal as slave device;Determine not establish with main equipment in the slave timeslice of random-length and connect, return to step a.Equipment is set to be used as main equipment and slave device by turns by way of automated randomized timeslice, avoid multiple equipment while be main equipment or be slave device at the same time and can not scan, time leaf length randomly generates, connection is then established when equipment is recycled in different master slave modes, connect more convenient, the complexity of user's operation is simplified, improves user experience.

Description

A kind of connection method of low-power consumption bluetooth and device
Technical field
The present invention relates to the low-power consumption bluetooth technology of wireless communication, more particularly to a kind of low-power consumption bluetooth connection method and Device.
Background technology
Low-power consumption bluetooth (Bluetooth) is mainly used for realizing between mobile intelligent terminal or mobile intelligent terminal and week It is continuously connected between the accessory of side, is the extremely low short-distance wireless communication technology of power consumption, and effective propagation path is thus lifted to More than 100 meters, still, in Bluetooth connection process need to establish master slave relation, slave device opens Bluetooth broadcast signal, main equipment Scan broadcast singal and start connection, so before bluetooth applications, it is necessary to which both are established after master slave relation, can be just attached logical Letter, if both becoming main equipment or slave device, then both sides can not just search other side, it is impossible to carry out the company of next step Connect request.But if both sides' main body is identical, for example two wrist-watches are, it is necessary to establish before bluetooth connection, it is necessary to allow user to select The master slave relation of bluetooth connection, more steps confirm in interaction, and technical barrier is added for the application person for being ignorant of technology Hinder.
The content of the invention
The embodiment of the present invention provides connection method and the device of a kind of low-power consumption bluetooth, without manually extra selection equipment Master slave relation, connection is more convenient, simplifies the complexity of user's operation, improves user experience.
The embodiment of the present invention uses following technical scheme:
In a first aspect, the technical program provides a kind of connection method of low-power consumption bluetooth, including main equipment and slave device Conversion;
The conversion of main equipment and slave device includes:
A. the major time slice of random-length is obtained, uses low-power consumption bluetooth agreement to scan slave device as main equipment;Determine Do not establish and connect with slave device in the major time slice of random-length;The slave timeslice of random-length is obtained, as slave device Bluetooth broadcast signal is sent using low-power consumption bluetooth agreement;Determine not establish with main equipment in the slave timeslice of random-length Connection, return to step a;Alternatively,
C. the slave timeslice of random-length is obtained, uses low-power consumption bluetooth agreement to send Bluetooth broadcast letter as slave device Number;Determine not establish with main equipment in the slave timeslice of random-length and connect;The major time slice of random-length is obtained, as Main equipment uses low-power consumption bluetooth agreement scanning slave device;Determine not establish with slave device in the major time slice of random-length Connection, return to step c.
Its further technical solution is the major time slice for obtaining random-length, uses low-power consumption blue as main equipment After tooth agreement scanning slave device, further include:
It is determined as main equipment to establish after connection and interrupt with slave device, then obtains the slave timeslice of random-length, as Slave device sends Bluetooth broadcast signal using low-power consumption bluetooth agreement;Alternatively,
It is determined as main equipment to establish after connection and interrupt with slave device, then obtains the major time slice of random-length, as Main equipment uses low-power consumption bluetooth agreement scanning slave device.
Its further technical solution is the slave timeslice for obtaining random-length, uses low-power consumption blue as slave device After tooth agreement sends Bluetooth broadcast signal, further include:
It is determined as slave device to establish after connection and interrupt with main equipment, then obtains the major time slice of random-length, as Main equipment uses low-power consumption bluetooth agreement scanning slave device;Alternatively,
It is determined as slave device to establish after connection and interrupt with main equipment, then obtains the slave timeslice of random-length, as Slave device sends Bluetooth broadcast signal using low-power consumption bluetooth agreement.
Its further technical solution is the major time slice for obtaining random-length, uses low-power consumption blue as main equipment After tooth agreement scanning slave device, further include:
If detecting at least two slave devices, the bluetooth signal intensity of slave device is ranked up, by bluetooth signal intensity From being attached successively to weak by force.
Its further technical solution is that the major time slice of the random-length and the slave timeslice of random-length are by public affairs The random time piece that formula T2=((Rand () %N)+1) * T1 are obtained, wherein, when T1 is the minimum of low-power consumption bluetooth equipment switching Between unit, N be more than 1 and less than 20 integer.
Second aspect, the technical program provide a kind of attachment device of low-power consumption bluetooth, including:
Major time slice acquiring unit, for obtaining the major time slice of random-length, low-power consumption bluetooth is used as main equipment Agreement scans slave device;
First connection determination unit, connects for determining not establish with slave device in the major time slice of random-length;
First trigger element, for when not establishing connection with slave device in the major time slice in random-length, triggering From timeslice acquiring unit;
From timeslice acquiring unit, for obtaining the slave timeslice of random-length, low-power consumption bluetooth is used as slave device Agreement sends Bluetooth broadcast signal;
Second connection confirmation unit, connects for determining not establish with main equipment in the slave timeslice of random-length;
Second trigger element, for when not establishing connection with main equipment in the slave timeslice in random-length, triggering The major time slice acquiring unit.
Its further technical solution is to further include:
First disconnecting unit, establishes after connection and interrupts for being determined as main equipment and slave device, then obtain with The slave timeslice of captain's degree, uses low-power consumption bluetooth agreement to send Bluetooth broadcast signal as slave device;Alternatively, for determining to make Establish after connection and interrupt with slave device for main equipment, then obtain the major time slice of random-length, low work(is used as main equipment Consume Bluetooth protocol scanning slave device.
Its further technical solution is to further include:
Second disconnecting unit, establishes after connection and interrupts for being determined as slave device and main equipment, then obtain with The major time slice of captain's degree, uses low-power consumption bluetooth agreement to scan slave device as main equipment;Alternatively, for being determined as from setting It is standby to establish after connection and interrupt with main equipment, then the slave timeslice of random-length is obtained, low-power consumption bluetooth is used as slave device Agreement sends Bluetooth broadcast signal.
Its further technical solution is to further include:
Signal strength connection unit, if for detecting at least two slave devices, by the bluetooth signal intensity of slave device into Row sequence, by bluetooth signal intensity from being attached successively to weak by force.
Its further technical solution is random time acquiring unit, for by formula T2=((Rand () %N)+1) * T1 The major time slice of the random-length and the slave timeslice of random-length are obtained, wherein, T1 is the switching of low-power consumption bluetooth equipment Minimum time unit, N are the integer more than 1 and less than 20.
The beneficial effect that technical solution provided in an embodiment of the present invention is brought:
In the technical program, equipment is used as main equipment and slave device by turns by way of automated randomized timeslice, keep away Exempt from multiple equipment while be main equipment or be at the same time slave device and can not find that other side establishes connection, time leaf length is produced at random It is raw, connection is then established when equipment is recycled in different master slave modes, connection is more convenient, simplifies answering for user's operation Miscellaneous degree, improves user experience.
Brief description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is the method flow diagram of connection method one embodiment of low-power consumption bluetooth provided in an embodiment of the present invention.
Fig. 2 is the method flow diagram of second embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention.
Fig. 3 is the method flow diagram of the 3rd embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention.
Fig. 4 is the method flow diagram of the 4th embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention.
Fig. 5 is the method flow diagram of the 5th embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention.
Fig. 6 is the method flow diagram of the 6th embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention.
Fig. 7 is the structure chart of one embodiment of the attachment device of low-power consumption bluetooth provided in an embodiment of the present invention.
Embodiment
For make present invention solves the technical problem that, the technical solution that uses and the technique effect that reaches it is clearer, below The technical solution of the embodiment of the present invention will be described in further detail with reference to attached drawing, it is clear that described embodiment is only It is part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist All other embodiments obtained under the premise of creative work are not made, belong to the scope of protection of the invention.
Please refer to Fig.1, it is the side of connection method one embodiment of low-power consumption bluetooth provided in an embodiment of the present invention Method flow chart.The low-power consumption bluetooth connection method includes:
S100, the major time slice for obtaining random-length, use low-power consumption bluetooth agreement to scan slave device as main equipment.
The major time slice of random-length is obtained by formula T2=((Rand () %N)+1) * T1, wherein, T1 is blue for low-power consumption The minimum time unit of tooth equipment switching, N are the integer more than 1 and less than 20.In the present embodiment, N is preferably 10.
The major time slice of random-length is relatively short, but time span at least allows slave device can be by other main equipments The time needed for connectivity request message is received, main equipment can search other slave devices required time, usually at this moment Between on the basis of extend certain time, it is that main equipment one is to build in the state of slave device to ensure that both sides continue random the latter several times Vertical connection.
S101, determine not establish connection with slave device in the major time slice of random-length.
There is no Bluetooth signal of the scanning to slave device in the major time slice of random-length, alternatively, the bluetooth letter scanned Number it is less than setting value, then without connection.
S102, the slave timeslice for obtaining random-length, use low-power consumption bluetooth agreement to send Bluetooth broadcast as slave device Signal.
The slave timeslice of random-length repeats no more as the major time slice acquisition methods of random-length.Due to random The major time slice of the slave timeslice and random-length of length is random within the specific limits, so the length of timeslice is not solid Definite value, equipment are converted to slave device state from master status.
S103, determine not establish connection, return to step S100 with main equipment in the slave timeslice of random-length.
Equipment, which is in slave device state, does not have main equipment to establish connection therewith, then is scanned again as main equipment, such as This is circulated between master status and slave device state, when multiple equipment is different based on equipment or be slave device at the same time Untill connection being established.Connection can be established automatically by generally going through 1-3 circulation.
To sum up, equipment is in master status after opened bluetooth function in the present embodiment, passes through automated randomized timeslice Mode makes equipment be used as main equipment and slave device by turns, avoid multiple equipment and meanwhile be main equipment or be slave device at the same time and nothing Method scanning is arrived, and time leaf length randomly generates, and connection is then established when equipment is recycled in different master slave modes, connection is more Add conveniently, simplify the complexity of user's operation, improve user experience.
Please refer to Fig.2, it is the side of second embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention Method flow chart.The difference of method is shown in the connection method of the low-power consumption bluetooth and Fig. 1, the present embodiment low-power consumption bluetooth Connection method be first in slave device state when starting, the connection method of low-power consumption bluetooth includes:
S200, the slave timeslice for obtaining random-length, use low-power consumption bluetooth agreement to send Bluetooth broadcast as slave device Signal.
S201, determine not establish connection with main equipment in the slave timeslice of random-length.
S202, the major time slice for obtaining random-length, use low-power consumption bluetooth agreement to scan slave device as main equipment.
S203, determine not establish connection, return to step S200 with slave device in the major time slice of random-length.
Equipment be in master status not scan arrive slave device, alternatively, the Bluetooth signal scanned be less than setting value and Without connection, then it is scanned as slave device, is so circulated between master status and slave device state again, until Equipment or untill can establishing connection at the same time for slave device based on when multiple equipment is different.Generally go through 1-3 circulation It is automatic to establish connection.
Method is mutually inside the Pass with reference to shown in figure 1 for the slave timeslice of random-length and the major time slice acquisition methods of random-length Hold, details are not described herein again.
To sum up, equipment is in slave device state after opened bluetooth function in the present embodiment, passes through automated randomized timeslice Mode makes equipment be used as main equipment and slave device by turns, avoid multiple equipment and meanwhile be main equipment or be slave device at the same time and nothing Method scanning is arrived, and time leaf length randomly generates, and connection is then established when equipment is recycled in different master slave modes, connection is more Add conveniently, simplify the complexity of user's operation, improve user experience.
Please refer to Fig.3, it is the side of the 3rd embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention Method flow chart.It is in the present embodiment with method difference shown in Fig. 1, the present embodiment it is found not to be upon connection to be needed to connect Target device then handle it.
The connection method of the low-power consumption bluetooth includes:
S300, the major time slice for obtaining random-length, use low-power consumption bluetooth agreement to scan slave device as main equipment.
S301, be determined as after main equipment and slave device foundation connection and interrupt, then obtains the slave timeslice of random-length, Low-power consumption bluetooth agreement is used to send Bluetooth broadcast signal as slave device.
When equipment is in master status, scanning is to slave device and establishes connection therewith, and at this time, random time piece stops Only, confirm to be not required to the target device of connection by identity information after connection, which then enters slave device state.
When carrying out identity validation after establishing connection, user can be clicked on by touch-screen to be confirmed or using in advance If action carries out body-sensing confirmation.
S302, determine not establish connection, return to step S300 with main equipment in the slave timeslice of random-length.
To sum up, equipment is in master status after opened bluetooth function in the present embodiment, passes through automated randomized timeslice Mode makes equipment be used as main equipment and slave device by turns, establishes connection until multiple equipment is in different states, judges The equipment of connection is not target device, then continues the circulation of random time piece, connection is more convenient, simplifies answering for user's operation Miscellaneous degree, improves user experience, ensures the accuracy of connection.
In the present embodiment, it is preferable that equipment is when in master status, will be from if detecting at least two slave devices The bluetooth signal intensity of equipment is ranked up, by bluetooth signal intensity from being attached successively to weak by force.When the slave device of connection When not being target device, then disconnect and give up the Bluetooth signal of the slave device, according to bluetooth signal intensity from being carried out successively to weak by force Connection.Ensure that aspectant user can a successful connection when exchanging information.
Please refer to Fig.4, it is the side of the 4th embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention Method flow chart.It is in the present embodiment with method difference shown in Fig. 3, the present embodiment it is found not to be upon connection to be needed to connect Target device, then into master status.
The connection method of the low-power consumption bluetooth includes:
S400, the major time slice for obtaining random-length, use low-power consumption bluetooth agreement to scan slave device as main equipment.
S401, be determined as after main equipment and slave device foundation connection and interrupt, then obtains the major time slice of random-length, Low-power consumption bluetooth agreement is used to scan slave device as main equipment.
When equipment is in master status, scanning is to slave device and establishes connection therewith, and at this time, random time piece stops Only, confirm to be not required to the target device of connection by identity information after connection, which then enters master status.
When carrying out identity validation after establishing connection, user can be clicked on by touch-screen to be confirmed or using in advance If action carries out body-sensing confirmation.
S402, determine not establish connection with slave device in the major time slice of random-length.
S403, the slave timeslice for obtaining random-length, use low-power consumption bluetooth agreement to send Bluetooth broadcast as slave device Signal.
S404, determine not establish connection, return to step S400 with main equipment in the slave timeslice of random-length.
To sum up, equipment is in master status after opened bluetooth function in the present embodiment, passes through automated randomized timeslice Mode makes equipment be used as main equipment and slave device by turns, establishes connection until multiple equipment is in different states, judges The equipment of connection is not target device, then continues the circulation of random time piece, connection is more convenient, simplifies answering for user's operation Miscellaneous degree, improves user experience, ensures the accuracy of connection.
Fig. 5 is refer to, it is the side of the 5th embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention Method flow chart.The present embodiment and the difference of method shown in Fig. 2 are that the present embodiment it is found not to be upon connection to be needed to connect Target device then handle it.
S500, the slave timeslice for obtaining random-length, use low-power consumption bluetooth agreement to send Bluetooth broadcast as slave device Signal.
S501, be determined as after slave device and main equipment foundation connection and interrupt, then obtains the major time slice of random-length, Low-power consumption bluetooth agreement is used to scan slave device as main equipment.
Establish and connect with main equipment when equipment is in slave device state, at this time, random time piece stops, and passes through after connection Identity information confirmation is not required to the target device of connection, which then enters master status.
When carrying out identity validation after establishing connection, user can be clicked on by touch-screen to be confirmed or using in advance If action carries out body-sensing confirmation.
S502, determine not establish connection, return to step S500 with slave device in the major time slice of random-length.
To sum up, equipment is in slave device state after opened bluetooth function in the present embodiment, passes through automated randomized timeslice Mode makes equipment be used as main equipment and slave device by turns, establishes connection until multiple equipment is in different states, judges The equipment of connection is not target device, then continues the circulation of random time piece, connection is more convenient, simplifies answering for user's operation Miscellaneous degree, improves user experience, ensures the accuracy of connection.
Fig. 6 is refer to, it is the side of the 6th embodiment of connection method of low-power consumption bluetooth provided in an embodiment of the present invention Method flow chart.It is in the present embodiment with method difference shown in Fig. 5, the present embodiment it is found not to be upon connection to be needed to connect Target device, then into slave device state.
S600, the slave timeslice for obtaining random-length, use low-power consumption bluetooth agreement to send Bluetooth broadcast as slave device Signal.
S601, be determined as after slave device and main equipment foundation connection and interrupt, then obtains the slave timeslice of random-length, Low-power consumption bluetooth agreement is used to send Bluetooth broadcast signal as slave device.
Establish and connect with main equipment when equipment is in slave device state, at this time, random time piece stops, and passes through after connection Identity information confirmation is not required to the target device of connection, which then enters slave device state.
When carrying out identity validation after establishing connection, user can be clicked on by touch-screen to be confirmed or using in advance If action carries out body-sensing confirmation.
S602, determine not establish connection with main equipment in the slave timeslice of random-length.
S603, the major time slice for obtaining random-length, use low-power consumption bluetooth agreement to scan slave device as main equipment.
S604, determine not establish connection, return to step S600 with slave device in the major time slice of random-length.
To sum up, equipment is in slave device state after opened bluetooth function in the present embodiment, passes through automated randomized timeslice Mode makes equipment be used as main equipment and slave device by turns, establishes connection until multiple equipment is in different states, judges The equipment of connection is not target device, then continues the circulation of random time piece, connection is more convenient, simplifies answering for user's operation Miscellaneous degree, improves user experience, ensures the accuracy of connection.
Fig. 7 is refer to, it is the side of attachment device one embodiment of low-power consumption bluetooth provided in an embodiment of the present invention Method flow chart.The attachment device of the low-power consumption bluetooth includes:
Major time slice acquiring unit 10, for obtaining the major time slice of random-length, uses low-power consumption blue as main equipment Tooth agreement scans slave device;
First connection determination unit 20, connects for determining not establish with slave device in the major time slice of random-length Connect;
First trigger element 30, for when not establishing connection with slave device in the major time slice in random-length, touching Send out from timeslice acquiring unit;
From timeslice acquiring unit 40, for obtaining the slave timeslice of random-length, use low-power consumption blue as slave device Tooth agreement sends Bluetooth broadcast signal;
Second connection confirmation unit 50, connects for determining not establish with main equipment in the slave timeslice of random-length Connect;
Second trigger element 60, for when not establishing connection with main equipment in the slave timeslice in random-length, touching Send out major time slice acquiring unit described.
The detailed content of device please refers to Fig.1 and Fig. 2 the methods, and details are not described herein again.
To sum up, make equipment by turns as master by way of automated randomized timeslice after opened bluetooth function in the present embodiment Equipment and slave device, avoid multiple equipment while are main equipment or are slave device at the same time and can not scan, time leaf length Randomly generate, connection is then established when equipment is recycled in different master slave modes, connection is more convenient, simplifies user behaviour The complexity of work, improves user experience.
In some other embodiment, further include:
First disconnecting unit, establishes after connection and interrupts for being determined as main equipment and slave device, then obtain with The slave timeslice of captain's degree, uses low-power consumption bluetooth agreement to send Bluetooth broadcast signal as slave device;Alternatively, for determining to make Establish after connection and interrupt with slave device for main equipment, then obtain the major time slice of random-length, low work(is used as main equipment Consume Bluetooth protocol scanning slave device.
Specifically, when using method shown in Fig. 3, the first disconnecting unit is used to be determined as main equipment and slave device Establish after connection and interrupt, then obtain the slave timeslice of random-length, use low-power consumption bluetooth agreement to send indigo plant as slave device Tooth broadcast singal.
When using method shown in Fig. 4, the first disconnecting unit is used to be determined as main equipment and establish with slave device to connect After connecing and interrupt, then obtain the major time slice of random-length, use low-power consumption bluetooth agreement to scan slave device as main equipment.It is logical Whether the equipment for crossing verification connection is target device, improves the accuracy of connection.
In some other embodiment, further include:
Second disconnecting unit, establishes after connection and interrupts for being determined as slave device and main equipment, then obtain with The major time slice of captain's degree, uses low-power consumption bluetooth agreement to scan slave device as main equipment;Alternatively, for being determined as from setting It is standby to establish after connection and interrupt with main equipment, then the slave timeslice of random-length is obtained, low-power consumption bluetooth is used as slave device Agreement sends Bluetooth broadcast signal.
Specifically, when using method shown in Fig. 5, the second disconnecting unit is used to be determined as slave device and main equipment Establish connection after and interrupt, then obtain random-length major time slice, as main equipment use low-power consumption bluetooth agreement scan from Equipment.
When using method shown in Fig. 6, the second disconnecting unit is used to be determined as slave device and establish with main equipment to connect After connecing and interrupt, then obtain the slave timeslice of random-length, use low-power consumption bluetooth agreement to send Bluetooth broadcast as slave device Signal.Whether the equipment by verifying connection is target device, improves the accuracy of connection.
Preferably, further include:
Signal strength connection unit, if for detecting at least two slave devices, by the bluetooth signal intensity of slave device into Row sequence, by bluetooth signal intensity from being attached successively to weak by force.By by bluetooth signal intensity from by force to it is weak successively with from Equipment is attached, and is ensured to carry out face-to-face once to realize connection during information exchange, is improved joint efficiency.
Random time acquiring unit, for obtaining the master of the random-length by formula T2=((Rand () %N)+1) * T1 The slave timeslice of timeslice and random-length, wherein, T1 is the minimum time unit of low-power consumption bluetooth equipment switching, and N is more than 1 And the integer less than 20.The major time slice of random-length and the slave timeslice of random-length are random time piece.
Above content is only presently preferred embodiments of the present invention, for those of ordinary skill in the art, according to the present invention's Thought, there will be changes, this specification content should not be construed as to the present invention in specific embodiments and applications Limitation.

Claims (6)

  1. A kind of 1. connection method of low-power consumption bluetooth, it is characterised in that the conversion including main equipment and slave device;
    The conversion of main equipment and slave device includes:
    A. the major time slice of random-length is obtained, uses low-power consumption bluetooth agreement to scan slave device as main equipment;
    It is determined as main equipment to establish after connection and interrupt with slave device, then obtains the major time slice of random-length, is set as master It is standby to use low-power consumption bluetooth agreement scanning slave device;
    Determine not establish with slave device in the major time slice of random-length and connect, or be determined as main equipment and slave device Establish after connection and interrupt, then obtain the slave timeslice of random-length, use low-power consumption bluetooth agreement to send indigo plant as slave device Tooth broadcast singal;
    Determine not establish with main equipment in the slave timeslice of random-length and connect, return to step a;
    Alternatively,
    C. the slave timeslice of random-length is obtained, uses low-power consumption bluetooth agreement to send Bluetooth broadcast signal as slave device;
    It is determined as slave device and main equipment to establish after connection and interrupt, then obtains the slave timeslice of random-length, as from sets It is standby to send Bluetooth broadcast signal using low-power consumption bluetooth agreement;
    Determine not establish with main equipment in the slave timeslice of random-length and connect, or be determined as slave device and main equipment Establish connection after and interrupt, then obtain random-length major time slice, as main equipment use low-power consumption bluetooth agreement scan from Equipment;
    Determine not establish with slave device in the major time slice of random-length and connect, return to step c.
  2. 2. according to the method described in claim 1, it is characterized in that, the major time slice for obtaining random-length, sets as master After the standby scanning slave device using low-power consumption bluetooth agreement, further include:
    If detecting at least two slave devices, the bluetooth signal intensity of slave device is ranked up, by bluetooth signal intensity from strong It is attached successively to weak.
  3. 3. method according to claim 1 or 2, it is characterised in that the major time slice and random-length of the random-length Slave timeslice be by formula T2=((Rand()%N)+1)* the random time piece that T1 is obtained, wherein, T1 is low-power consumption bluetooth The minimum time unit of equipment switching, N are the integer more than 1 and less than 20.
  4. A kind of 4. attachment device of low-power consumption bluetooth, it is characterised in that including:
    Major time slice acquiring unit, for obtaining the major time slice of random-length, low-power consumption bluetooth agreement is used as main equipment Scan slave device;
    From timeslice acquiring unit, for obtaining the slave timeslice of random-length, low-power consumption bluetooth agreement is used as slave device Send Bluetooth broadcast signal;
    First connection determination unit, connects for determining not establish with slave device in the major time slice of random-length;
    First trigger element, for when in the major time slice in random-length not with slave device establish connect when, trigger from when Between piece acquiring unit;
    First disconnecting unit, establishes after connection and interrupts with slave device for being determined as main equipment, then triggers from the time Accompany acquiring unit, or triggering major time slice acquiring unit;
    Second connection confirmation unit, connects for determining not establish with main equipment in the slave timeslice of random-length;
    Second trigger element, for when do not established in the slave timeslice in random-length with main equipment connect when, described in triggering Major time slice acquiring unit;
    Second disconnecting unit, establishes after connection and interrupts with main equipment for being determined as slave device, then triggers from the time Accompany acquiring unit, or triggering major time slice acquiring unit.
  5. 5. the attachment device of low-power consumption bluetooth according to claim 4, it is characterised in that further include:
    Signal strength connection unit, if for detecting at least two slave devices, the bluetooth signal intensity of slave device is arranged Sequence, by bluetooth signal intensity from being attached successively to weak by force.
  6. 6. the attachment device of low-power consumption bluetooth according to claim 4 or 5, it is characterised in that random time acquiring unit, For by formula T2=((Rand()%N)+1)* T1 obtain the random-length major time slice and random-length from the time Piece, wherein, T1 is the minimum time unit of low-power consumption bluetooth equipment switching, and N is the integer more than 1 and less than 20.
CN201510152785.9A 2015-04-01 2015-04-01 A kind of connection method of low-power consumption bluetooth and device Active CN104811895B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510152785.9A CN104811895B (en) 2015-04-01 2015-04-01 A kind of connection method of low-power consumption bluetooth and device
PCT/CN2016/074825 WO2016155444A1 (en) 2015-04-01 2016-02-29 Low-power consumption bluetooth connecting method and apparatus

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN104811895A CN104811895A (en) 2015-07-29
CN104811895B true CN104811895B (en) 2018-04-20

Family

ID=53696300

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (17)

* 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
CN106559734B (en) * 2015-09-28 2020-03-20 展讯通信(上海)有限公司 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
CN110460985B (en) * 2017-03-23 2022-09-16 展讯通信(上海)有限公司 Bluetooth slave equipment and service configuration method
GB201707050D0 (en) 2017-05-03 2017-06-14 British American Tobacco Investments Ltd Data communication
GB201722241D0 (en) 2017-12-29 2018-02-14 British American Tobacco Investments Ltd Data capture across devices
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
CN101800575A (en) * 2009-11-19 2010-08-11 中南大学 Method and device for reducing document transmission energy consumption of bluetooth equipment
CN101938298A (en) * 2009-06-29 2011-01-05 上海易狄欧电子科技有限公司 Bluetooth equipment networking method, Bluetooth system and Bluetooth master equipment
CN104244170A (en) * 2014-09-28 2014-12-24 成都金海鼎盛科技有限公司 Low-power-consumption Bluetooth node independent networking method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602004011665T2 (en) * 2003-06-02 2009-02-05 Matsushita Electric Industrial Co., Ltd., Kadoma-shi Device, method and computer program for performing a master / slave reel change
CN104811895B (en) * 2015-04-01 2018-04-20 石姗姗 A kind of connection method of low-power consumption bluetooth and device

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
CN101938298A (en) * 2009-06-29 2011-01-05 上海易狄欧电子科技有限公司 Bluetooth equipment networking method, Bluetooth system and Bluetooth master equipment
CN101800575A (en) * 2009-11-19 2010-08-11 中南大学 Method and device for reducing document transmission energy consumption of bluetooth equipment
CN104244170A (en) * 2014-09-28 2014-12-24 成都金海鼎盛科技有限公司 Low-power-consumption Bluetooth node independent networking method

Also Published As

Publication number Publication date
WO2016155444A1 (en) 2016-10-06
CN104811895A (en) 2015-07-29

Similar Documents

Publication Publication Date Title
CN104811895B (en) A kind of connection method of low-power consumption bluetooth and device
CN102315864B (en) For the method and apparatus of mobile device Point-to-Point Data Transmission
CN104080086B (en) Wireless connecting establishment method and wireless connection establish device
RU2009146971A (en) PARTICIPANT REGISTRATION METHOD, COMMUNITY SERVICE SYSTEM, PORTABLE TERMINAL AND PARTICIPANT INVITATION PROCESSING PROGRAM
CN103873342A (en) Method, terminal and system for joining social group
CN103927654A (en) Mobile terminal and POS machine contact communication method and device and payment method
CN110830968A (en) Networking method and device, Bluetooth equipment and computer readable medium
CN108781000A (en) Shared charging method, system, mobile terminal, shared charging equipment and server
CN104469658B (en) A kind of method and device for improving POS and mobile terminal bluetooth compatibility
CN105978940B (en) A kind of the good friend's adding method and system of intelligent wearable device
CN101742709A (en) Mobile terminal and communication control method
CN101860716A (en) Wireless video conference terminal reaccess system and method
CN103577089A (en) File transmission method and touch screen terminal
TWI505679B (en) Method and device for application of multi-party interactive communication
CN113765932B (en) Control method for multiparty call and electronic equipment
CN103179649A (en) Wireless communication method and wireless communication system
CN105163371A (en) WIFI setting system and method based on Bluetooth
CN104488302A (en) Wireless connection authentication method and server
CN107077306B (en) Printing device discovery
CN105794236B (en) Manage the method and system of the magnanimity registration scene in two-way radio system
US20100293271A1 (en) Communication apparatus and method for controlling communication apparatus
JP2014064155A (en) Radio meter-reading system
WO2014131271A1 (en) Voice and/or video communication method and device
CN104754580A (en) Smart household device connecting method and smart terminal
CN106326019B (en) PPT state notice method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160111

Address after: 523860 Guangdong Province, Dongguan city Changan Town Road No. 126 building two usha BBK

Applicant after: Shi Panpan

Address before: 523860 Guangdong Province, Dongguan city Changan Town Road No. 126 building two usha BBK

Applicant before: Guangdong GENIUS Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190531

Address after: 523860 No. 168 Dongmen Middle Road, Xiaobian Community, Chang'an Town, Dongguan City, Guangdong Province

Patentee after: Guangdong GENIUS Technology Co., Ltd.

Address before: 523860 Second Floor, 126 Wushabugao Avenue, Chang'an Town, Dongguan City, Guangdong Province

Patentee before: Shi Panpan