CN109089251A - Bluetooth communication method and device based on bluetooth connection equivalence of query equipment - Google Patents

Bluetooth communication method and device based on bluetooth connection equivalence of query equipment Download PDF

Info

Publication number
CN109089251A
CN109089251A CN201811034178.2A CN201811034178A CN109089251A CN 109089251 A CN109089251 A CN 109089251A CN 201811034178 A CN201811034178 A CN 201811034178A CN 109089251 A CN109089251 A CN 109089251A
Authority
CN
China
Prior art keywords
equipment
bluetooth
information
query
broadcast
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.)
Granted
Application number
CN201811034178.2A
Other languages
Chinese (zh)
Other versions
CN109089251B (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201811034178.2A priority Critical patent/CN109089251B/en
Publication of CN109089251A publication Critical patent/CN109089251A/en
Application granted granted Critical
Publication of CN109089251B publication Critical patent/CN109089251B/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
    • 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
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Landscapes

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

Abstract

The present disclosure discloses a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment, device, electronic equipment and computer readable storage mediums.Wherein being somebody's turn to do the Bluetooth communication method based on bluetooth connection equivalence of query equipment includes: the first broadcast of scanning, and first broadcast is issued by the second equipment and had the information of third equipment;In response to scanning to first broadcast, it is connected to second equipment;The information of the 4th equipment is received from second equipment, the 4th equipment is the equivalent device of the third equipment;According to the information of the 4th equipment, the 4th equipment is connected.The embodiment of the present disclosure forwards the information of equivalent device by occupying the user equipment of bluetooth equipment, solves the problems, such as the exclusive of bluetooth equipment, the user equipment for needing to connect bluetooth equipment is connected in time on the bluetooth equipment of needs.

Description

Bluetooth communication method and device based on bluetooth connection equivalence of query equipment
Technical field
This disclosure relates to the communications field more particularly to a kind of Bluetooth communication side based on bluetooth connection equivalence of query equipment Method, device, electronic equipment and computer readable storage medium.
Background technique
In recent years, as scientific and technological renewal speed is constantly accelerated, it is highly desirable that emerging technology can be applied in day Often in life.Compared to traditional family product, intelligent, networking family product is safe and simple, powerful etc. due to its Feature is more favourable.Oneself automatic technology through maturation instantly, sensor technology, electrical technology and embedded technology are relied on, Oneself is made part family product intelligence become a reality, such as intelligent curtain, intelligent lighting, intelligent socket.But smart home Final purpose is not the intelligence of single family product, but numerous home equipments form household network together, in conjunction with present Oneself constantly makes the more facilitation of daily home life through universal smart client end equipment, such as smart phone, Intelligent flat etc. And hommization.Currently, relatively high in intelligent household terminal equipment aspect standardization level, the communication of mainstream has bluetooth Communication.
However when using Bluetooth communication, it may appear that the exclusive problem of bluetooth equipment, i.e., when bluetooth equipment is by one When equipment connects, other equipment will connect this bluetooth equipment, it is necessary to the equipment having connected be waited to disconnect ability after Bluetooth communication The bluetooth equipment is connected, this causes inconvenience to the use of bluetooth equipment.
Summary of the invention
In a first aspect, the embodiment of the present disclosure provides a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment, It include: the first broadcast of scanning, first broadcast is issued by the second equipment and had the information of third equipment;It is arrived in response to scanning First broadcast, is connected to second equipment;The information of the 4th equipment, the 4th equipment are received from second equipment It is the equivalent device of the third equipment;According to the information of the 4th equipment, the 4th equipment is connected.
Further, the Bluetooth communication method based on bluetooth connection equivalence of query equipment further include: disconnect with it is described The connection of 4th equipment;The second broadcast is sent, in second broadcast described in information and expression with the 4th equipment 4th standby idle mark.
Further, the letter of third equipment is had in the first broadcast of the second equipment of the scanning, first broadcast Before breath, further includes: send connection request, the connection request uses bluetooth connection third equipment for requesting;Described in determination Connection request does not receive response or is rejected.
Further, the information of the third equipment is the MAC Address of third equipment, and the information of the 4th equipment is the The MAC Address of four equipment.
Second aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment, It include: to receive the connection request of the second equipment, and be connected to second equipment;Starting service order is sent to set to described second Standby, the starting service order makes second equipment in local boot first service;Receive what second equipment was sent etc. The request of valence equipment query;It is equivalent device in response to inquiring the 4th equipment, sends the information of the 4th equipment to described Second equipment.
Further, after the information by the 4th equipment is sent to second equipment, further includes: by described Four equipment are set as busy condition.
Further, it is described set busy condition for the 4th equipment after, further includes: receive the second equipment hair The state sent more new command;Idle state is set by the 4th equipment according to the state more new command.
Further, the information of the 4th equipment includes: the MAC Address of the 4th equipment.
Further, described in response to inquiring the 4th equipment as equivalent device, the information of the 4th equipment is sent To second equipment, comprising:
Equivalence of query list of devices sends described second for the information of first the 4th equipment of free time in list and sets It is standby.
The third aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment, It include: to send connection request to third equipment, and be connected to the third equipment;The service starting that third equipment is sent is received to refer to It enables, in local boot first service;The first broadcast is sent by the first service, has third equipment in first broadcast Information;The connection request of the first equipment is received, and first equipment is connected on the first service;First is received to set The equivalent device inquiry request that preparation is sent, and the equivalent device inquiry request is transmitted to third equipment;Receive third equipment hair The information for the 4th equipment sent, the 4th equipment are the equivalent device of third equipment;The information of 4th equipment is forwarded To first equipment.
Further, after the information by the 4th equipment is transmitted to first equipment, further includes: scanning Second broadcasts, information and the mark of expression the 4th equipment free time in second broadcast with the 4th equipment; In response to scanning to second broadcast, the 4th equipment state more new command is sent to third equipment.
Fourth aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on bluetooth connection equivalence of query equipment, Include:
First scan module, for scanning the first broadcast, first broadcast is issued by the second equipment and is set with third Standby information;
First link block, for, to first broadcast, being connected to second equipment in response to scanning;
First receiving module, for receiving the information of the 4th equipment from second equipment, the 4th equipment is described The equivalent device of third equipment;
Second link block connects the 4th equipment for the information according to the 4th equipment.
Further, the Bluetooth communication device based on bluetooth connection equivalence of query equipment further include:
First disconnects module, for disconnecting and the connection of the 4th equipment;
First broadcast module, for send second broadcast, it is described second broadcast in the 4th equipment information with And indicate the described 4th standby idle mark.
Further, the Bluetooth communication device based on bluetooth connection equivalence of query equipment further include:
First connection sending module, for sending connection request, the connection request is for requesting using bluetooth connection the Three equipment;
Determining module is responded or is rejected for determining that the connection request does not receive.
5th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on bluetooth connection equivalence of query equipment, Include:
Third link block for receiving the connection request of the second equipment, and is connected to second equipment;
Start service order sending module, for sending starting service order to second equipment, the starting service Instruction makes second equipment in local boot first service;
Inquiry request receiving module, the equivalent device inquiry request sent for receiving second equipment;
First sending module, for being equivalent device in response to inquiring the 4th equipment, by the information of the 4th equipment It is sent to second equipment.
Further, the Bluetooth communication device based on bluetooth connection equivalence of query equipment further include:
First setup module, for setting busy condition for the 4th equipment.
Further, the Bluetooth communication device based on bluetooth connection equivalence of query equipment further include:
Command reception module is updated, for receiving the state more new command of the second equipment transmission;
Second setup module, for setting idle state for the 4th equipment according to the state more new command.
Further, first sending module is used for equivalence of query list of devices, by first free time in list the The information of four equipment is sent to second equipment.
6th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on bluetooth connection equivalence of query equipment, Include:
4th link block for sending connection request to third equipment, and is connected to the third equipment;
Enabled instruction receiving module is serviced, for receiving the service enabled instruction of third equipment transmission, in local boot the One service;
First broadcast sending module has in first broadcast for sending the first broadcast by the first service The information of third equipment;
5th link block is connected to described for receiving the connection request of the first equipment, and by first equipment In one service;
Inquiry request forwarding module for receiving the equivalent device inquiry request of the first equipment transmission, and the equivalence is set Standby inquiry request is transmitted to third equipment;
Second receiving module, the information of the 4th equipment for receiving the transmission of third equipment, the 4th equipment is third The equivalent device of equipment;
First forwarding module, for the information of the 4th equipment to be transmitted to first equipment.
Further, the Bluetooth communication device based on bluetooth connection equivalence of query equipment further include:
Second scan module, for scan second broadcast, it is described second broadcast in the 4th equipment information with And indicate the mark of the 4th equipment free time;
Instruction sending module is updated, for the update of the 4th equipment state being sent and being referred in response to scanning to second broadcast Enable third equipment.
7th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on bluetooth connection equivalence of query equipment, It include: at least one processor;And
The memory being connect at least one described processor communication;Wherein, the memory be stored with can by it is described extremely The instruction that a few processor executes, described instruction are executed by least one described processor, so that at least one described processing Device is able to carry out any Bluetooth communication method based on bluetooth connection equivalence of query equipment in aforementioned first aspect.
Eighth aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on bluetooth connection equivalence of query equipment, It include: at least one processor;And
The memory being connect at least one described processor communication;Wherein, the memory be stored with can by it is described extremely The instruction that a few processor executes, described instruction are executed by least one described processor, so that at least one described processing Device is able to carry out any Bluetooth communication method based on bluetooth connection equivalence of query equipment in aforementioned second aspect.
9th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on bluetooth connection equivalence of query equipment, It include: at least one processor;And
The memory being connect at least one described processor communication;Wherein, the memory be stored with can by it is described extremely The instruction that a few processor executes, described instruction are executed by least one described processor, so that at least one described processing Device is able to carry out any Bluetooth communication method based on bluetooth connection equivalence of query equipment in the aforementioned third aspect.
Tenth aspect, the embodiment of the present disclosure provide a kind of non-transient computer readable storage medium, which is characterized in that this is non- Transitory computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned first aspect In any Bluetooth communication method based on bluetooth connection equivalence of query equipment.
Tenth on the one hand, and the embodiment of the present disclosure provides a kind of non-transient computer readable storage medium, which is characterized in that should Non-transient computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned second party Any Bluetooth communication method based on bluetooth connection equivalence of query equipment in face.
12nd aspect, the embodiment of the present disclosure provide a kind of non-transient computer readable storage medium, which is characterized in that should Non-transient computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned third party Any Bluetooth communication method based on bluetooth connection equivalence of query equipment in face.
The embodiment of the present disclosure provides a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment, device, electronics Equipment and computer readable storage medium.Wherein being somebody's turn to do the Bluetooth communication method based on bluetooth connection equivalence of query equipment includes: to sweep The first broadcast is retouched, first broadcast is issued by the second equipment and had the information of third equipment;In response to scanning to described the One broadcast, is connected to second equipment;The information of the 4th equipment is received from second equipment, the 4th equipment is described The equivalent device of third equipment;According to the information of the 4th equipment, the 4th equipment is connected.The embodiment of the present disclosure is by accounting for With the information of the user equipment forwarding equivalent device of bluetooth equipment, solve the problems, such as the exclusive of bluetooth equipment, so that needing to connect The user equipment of bluetooth equipment can be connected in time on the bluetooth equipment of needs.
Above description is only the general introduction of disclosed technique scheme, in order to better understand the technological means of the disclosure, and It can be implemented in accordance with the contents of the specification, and to allow the above and other objects, features and advantages of the disclosure can be brighter Show understandable, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this public affairs The some embodiments opened for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the typical case environment schematic of the embodiment of the present disclosure;
Fig. 2 is the Bluetooth communication method embodiment one based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Flow chart;
Fig. 3 is the Bluetooth communication method embodiment two based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Flow chart;
Fig. 4 is the Bluetooth communication method embodiment three based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Flow chart
Fig. 5 is the communication stream for the Bluetooth communication system based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Cheng Tu;
Fig. 6 is the Bluetooth communication device embodiment one based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Structural schematic diagram;
Fig. 7 is the Bluetooth communication device embodiment two based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Structural schematic diagram;
Fig. 8 is the Bluetooth communication device embodiment three based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Structural schematic diagram;
Fig. 9 is the knot of the Bluetooth communication equipment based on bluetooth connection equivalence of query equipment provided according to the embodiment of the present disclosure Structure schematic diagram;
Figure 10 is the structural schematic diagram of the computer readable storage medium provided according to the embodiment of the present disclosure;
Figure 11 is the Bluetooth communication terminal based on bluetooth connection equivalence of query equipment provided according to the embodiment of the present disclosure Structural schematic diagram.
Specific embodiment
Illustrate embodiment of the present disclosure below by way of specific specific example, those skilled in the art can be by this specification Disclosed content understands other advantages and effect of the disclosure easily.Obviously, described embodiment is only the disclosure A part of the embodiment, instead of all the embodiments.The disclosure can also be subject to reality by way of a different and different embodiment It applies or applies, the various details in this specification can also be based on different viewpoints and application, in the spirit without departing from the disclosure Lower carry out various modifications or alterations.It should be noted that in the absence of conflict, the feature in following embodiment and embodiment can To be combined with each other.Based on the embodiment in the disclosure, those of ordinary skill in the art are without creative efforts Every other embodiment obtained belongs to the range of disclosure protection.
It should be noted that the various aspects of embodiment within the scope of the appended claims are described below.Ying Xian And be clear to, aspect described herein can be embodied in extensive diversified forms, and any specific structure described herein And/or function is only illustrative.Based on the disclosure, it will be understood by one of ordinary skill in the art that one described herein Aspect can be independently implemented with any other aspect, and can combine the two or both in these aspects or more in various ways. For example, carry out facilities and equipments in terms of any number set forth herein can be used and/or practice method.In addition, can make With other than one or more of aspect set forth herein other structures and/or it is functional implement this equipment and/or Practice the method.
It should also be noted that, diagram provided in following embodiment only illustrates the basic structure of the disclosure in a schematic way Think, component count, shape and the size when only display is with component related in the disclosure rather than according to actual implementation in schema are drawn System, when actual implementation kenel, quantity and the ratio of each component can arbitrarily change for one kind, and its assembly layout kenel can also It can be increasingly complex.
In addition, in the following description, specific details are provided for a thorough understanding of the examples.However, fields The skilled person will understand that the aspect can be practiced without these specific details.
Fig. 1 is the typical case schematic diagram of a scenario of the disclosure.In a typical application, there are multiple users to set in system Standby 101, typically, user equipment 101 can be smart phone, and user equipment 101 can control bluetooth by specific APP Equipment 102, typically, the bluetooth equipment 102 can be bluetooth electric light, and bluetooth equipment 102 can be managed by Bluetooth gateway 103 Reason is connected between user equipment 101 and Bluetooth gateway 103 and bluetooth equipment 102 and Bluetooth gateway 103 by linking bluetooth 105 It connects, Bluetooth gateway 103 can be connect by wifi 4G network 106 with cloud server.
Fig. 2 is the Bluetooth communication method embodiment one based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Flow chart, it is provided in this embodiment should Bluetooth communication method based on bluetooth connection equivalence of query equipment can by one based on indigo plant The Bluetooth communication device of tooth Connection inquiring equivalent device executes, and should be filled based on Bluetooth communication of bluetooth connection equivalence of query equipment It sets and can be implemented as software, or be embodied as the combination of software and hardware, it should the bluetooth based on bluetooth connection equivalence of query equipment Communication device can integrate in certain equipment of setting in a communications system, such as in communication terminal device.As shown in Fig. 2, the party Method includes the following steps:
Step S201, the first broadcast of scanning, first broadcast are issued by the second equipment and are had the information of third equipment;
In this step, user equipment B-scan first is broadcasted, first broadcast be issued by user equipment A, and The information of third equipment is had in first broadcast, the third equipment is the bluetooth equipment C being connect with user equipment A, The information of the third equipment can be the MAC Address of bluetooth equipment C.Wherein bluetooth equipment C is that user equipment B wants connection Equipment, but temporarily occupied by user equipment A.It should be noted that, although the information for describing equipment in the disclosure can To be the MAC Address of equipment, but it is understood that, the information of the equipment is not limited to MAC Address, as long as can be with The information for distinguishing the equipment may be introduced into the disclosure.
Step S202 is connected to second equipment in response to scanning to first broadcast;
When user equipment B-scan to when the first broadcast of the MAC Address with bluetooth equipment C, connection request is sent to the Two equipment, and be connected in the second equipment.
Step S203 receives the information of the 4th equipment from second equipment, and the 4th equipment is the third equipment Equivalent device;
In this step, user equipment B receives the information of the 4th equipment sent from user equipment A, and the 4th equipment is The equivalent device bluetooth equipment D of the bluetooth equipment C, the information of the 4th equipment is with can be the MAC of the bluetooth equipment D Location.Wherein the equivalent device can be the equipment with the second equipment same type or have setting for identical function It is standby, for example in an application scenarios, there is 4 bluetooth lamps in a room, user wants to open 1 therein, this 4 lamps Brightness is identical, is closely located to, and in this way if only opening wherein one, opens any one effect in fact and is just as , this 4 bluetooth lamps are the equivalent device of other side mutually.
Step S204 connects the 4th equipment according to the information of the 4th equipment.
In this step, the MAC Address of bluetooth equipment D received by user equipment B use removes connection bluetooth equipment D, Since bluetooth equipment D is the equivalent device of bluetooth equipment C, user equipment B data to be dealt with, effect can handle It is entirely transparent noninductive for users with using bluetooth equipment C to be.
In this embodiment, after step s 204, can also include:
Step S205 disconnects the connection with the 4th equipment;
Step S206 sends the second broadcast, has the information of the 4th equipment in second broadcast and indicate institute State the mark of the 4th equipment free time.
When the communication completion of the user equipment B and bluetooth equipment D, the connection with the bluetooth equipment D is disconnected.Or institute State user equipment B and connect bluetooth equipment D with effective authentication means using token etc., when token is expired, disconnect with it is described The connection of bluetooth equipment D.At this point, user equipment B can be by localling create the second broadcast of second service transmission, described wide The MAC Address of bluetooth equipment D is had in broadcasting and indicates the idle mark of the bluetooth equipment D, so that the bluetooth is set Standby C updates the state of the bluetooth equipment D.Wherein the second service can be user equipment B in the gatt locallyd create server。
In this embodiment, before step S201, can also include:
Step S207, sends connection request, and the connection request uses bluetooth connection third equipment for requesting;
Step S208 determines that the connection request does not receive response or is rejected.
User equipment B connection third equipment, but third equipment is accounted for by the other equipment connection of such as user equipment A With, when user equipment B determines that third equipment can not connect, start execute step S201.
The embodiment of the present disclosure provides a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment, device, electronics Equipment and computer readable storage medium.Wherein being somebody's turn to do the Bluetooth communication method based on bluetooth connection equivalence of query equipment includes: to sweep The first broadcast is retouched, first broadcast is issued by the second equipment and had the information of third equipment;In response to scanning to described the One broadcast, is connected to second equipment;The information of the 4th equipment is received from second equipment, the 4th equipment is described The equivalent device of third equipment;According to the information of the 4th equipment, the 4th equipment is connected.The embodiment of the present disclosure is by accounting for With the information of the user equipment forwarding equivalent device of bluetooth equipment, solve the problems, such as the exclusive of bluetooth equipment, so that needing to connect The user equipment of bluetooth equipment can be connected in time on the bluetooth equipment of needs.
Fig. 3 is the Bluetooth communication method embodiment one based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Flow chart, it is provided in this embodiment should Bluetooth communication method based on bluetooth connection equivalence of query equipment can by one based on indigo plant The Bluetooth communication device of tooth Connection inquiring equivalent device executes, and should be filled based on Bluetooth communication of bluetooth connection equivalence of query equipment It sets and can be implemented as software, or be embodied as the combination of software and hardware, it should the bluetooth based on bluetooth connection equivalence of query equipment Communication device can integrate in certain equipment of setting in a communications system, such as in bluetooth equipment.As shown in figure 3, this method packet Include following steps:
Step 301, the connection request of the second equipment is received, and is connected to second equipment;
In this step, bluetooth equipment C receives the connection request of user equipment A, and establishes connection with user equipment A.
Step 302, starting service order is sent to second equipment, and the starting service order makes second equipment In local boot first service;
After establishing connection with user equipment A, bluetooth equipment C transmission starting service order to the user equipment A, with Make the local boot first service of the user equipment A, the first service user sends first and broadcasts, in first broadcast Information with the bluetooth equipment C, such as the MAC Address of bluetooth equipment C.
Step 303, the equivalent device inquiry request that second equipment is sent is received;
In this step, the bluetooth equipment C receives the equivalent device inquiry request of user equipment A transmission, described etc. Valence equipment query requests the equivalent device for inquiring bluetooth equipment C, and the equivalent device can be to set in advance and be stored in In bluetooth equipment C.Or be also possible to update after Bluetooth gateway is collected into the bluetooth equipment C, it does not limit herein It is fixed.The information of the equivalent device of bluetooth equipment C is stored in bluetooth equipment C in a word.
Step 304, it is equivalent device in response to inquiring the 4th equipment, sends the information of the 4th equipment to described Second equipment.
In this step, the bluetooth equipment C inquires stored equivalent device column after receiving inquiry request Table is stored with all equivalent devices of bluetooth equipment C and the current state of the equivalent device in the equivalent device list, The current state can be it is busy and idle, can be by first idle indigo plant in list after inquiring equivalent device The information of tooth equipment D is sent to the user equipment A.In one embodiment, in order to guarantee search efficiency, the bluetooth equipment C can also safeguard two lists, respectively idle equivalent device table and busy equivalent device table, direct when tabling look-up in this way Inquire idle equivalent device table.After inquiring the equivalent device that bluetooth equipment D is bluetooth equipment C, by the bluetooth The information of equipment D is sent to the user equipment A, and the information of the bluetooth equipment D can be the MAC Address of bluetooth equipment D.
In this embodiment, after step S304, can also include:
The 4th equipment is set busy condition by step S305;
After the information of bluetooth equipment D is sent to user equipment A, illustrate to have other users equipment will connect described Bluetooth equipment D can set busy condition for the state of the bluetooth equipment D at this time, and be moved into described busy etc. In valence equipment list.
In this embodiment, after step S305, further includes:
Step S306 receives the state more new command that the second equipment is sent;
Step S307 sets idle state for the 4th equipment according to the state more new command.
After the sign off of the user equipment B and bluetooth equipment D, the second broadcast, user equipment A sweep can be sent Second broadcast, information in second broadcast with the bluetooth equipment D and the mark for indicating bluetooth equipment D free time Know, indicates that the bluetooth equipment D is idle, can be connected by other users equipment.When user equipment A sweep to described second When broadcast, according to the information of the bluetooth equipment D in second broadcast, such as the MAC Address of bluetooth equipment D, state is generated more New command, and it is sent to bluetooth equipment C, the bluetooth equipment C receives the state more new command that the user equipment A is sent, root Busy equivalent device table is inquired according to the information of the bluetooth equipment D in instruction, sets idle shape for the state of the bluetooth equipment D State, and bluetooth equipment D is moved in the idle equivalent device table.
Fig. 4 is the Bluetooth communication method embodiment one based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Flow chart, it is provided in this embodiment should Bluetooth communication method based on bluetooth connection equivalence of query equipment can by one based on indigo plant The Bluetooth communication device of tooth Connection inquiring equivalent device executes, and should be filled based on Bluetooth communication of bluetooth connection equivalence of query equipment It sets and can be implemented as software, or be embodied as the combination of software and hardware, it should the bluetooth based on bluetooth connection equivalence of query equipment Communication device can integrate in certain equipment of setting in a communications system, such as in communication terminal.As shown in figure 4, this method packet Include following steps:
Step S401 sends connection request to third equipment, and is connected to the third equipment;
In this step, user equipment A sends connection request to bluetooth equipment C, and is connected on the bluetooth equipment C, Bluetooth equipment C is monopolized.
Step S402 receives the service enabled instruction that third equipment is sent, in local boot first service;
Bluetooth equipment C can send a service enabled instruction after by user equipment A connection to user equipment A, described It, can be in local boot first service, specifically, institute after user equipment A receives the service enabled instruction of bluetooth equipment C transmission Stating first service can be gatt server.
Step S403 sends the first broadcast by the first service, the letter of third equipment is had in first broadcast Breath;
User equipment A sends the first broadcast by the first service, has the bluetooth equipment C in first broadcast Information, the information of the bluetooth equipment C can be the MAC Address etc. of bluetooth equipment C.
Step S404, receives the connection request of the first equipment, and first equipment is connected on the first service;
User equipment A receives the connection request of user equipment B, which is user equipment B-scan to step S403 In broadcast after, be sent to the user equipment A, after receiving the connection request of the user equipment B, Yong Hushe The user equipment B is connected on the first service by standby A.
Step S405 receives the equivalent device inquiry request that the first equipment is sent, and the equivalent device inquiry request is turned Issue third equipment;
After being connected to the user equipment B, the equivalent device inquiry request that user equipment B is sent is received, and by institute It states equivalent device inquiry request and is transmitted to the bluetooth equipment C.Since user equipment B does not connect bluetooth equipment C, work as it It is connected to after user equipment A, the inquiry request of the equivalent device of meeting active transmission inquiry bluetooth equipment C gives user equipment A.
Step S406, receive third equipment send the 4th equipment information, the 4th equipment be third equipment etc. Valence equipment;
Bluetooth equipment C is after receiving the inquiry request, meeting equivalence of query equipment, is blue when inquiring equivalent device After tooth equipment D, the information of the bluetooth equipment D is sent to user equipment A, user equipment A receives the bluetooth equipment C hair The information of the information of the bluetooth equipment D sent, the bluetooth equipment D can be the MAC Address of bluetooth equipment D.
The information of 4th equipment is transmitted to first equipment by step S407.
User equipment A is transmitted to institute after the information for receiving the bluetooth equipment D, by the information of the bluetooth equipment D State user equipment B.
In this embodiment, after step S407, can also include:
Step S408, scanning second are broadcasted, information and expression institute in second broadcast with the 4th equipment State the mark of the 4th equipment free time;
Step S409 sends the 4th equipment state more new command to third equipment in response to scanning to second broadcast.
In the step, after bluetooth equipment D disconnects the connection with the user equipment B, user equipment B can send second It broadcasts, information and the mark of the expression bluetooth equipment D free time in second broadcast with the bluetooth equipment D, when The user equipment A sweep generates the state more new command of bluetooth equipment D and sends the bluetooth to second broadcast Equipment C.
Technical solution in through the foregoing embodiment, when user equipment B connection bluetooth equipment, discovery needs the indigo plant connected Tooth equipment C is occupied, can scan the broadcast singal that the user equipment A being connected on bluetooth equipment C is sent, it Equivalent device inquiry is carried out by user equipment A and bluetooth equipment C afterwards, to solve the problems, such as that bluetooth equipment occupancy can not connect.
Fig. 5 is the bulk flow for the Bluetooth communication system based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides Cheng Tu, as shown in figure 5, whole system includes user equipment A, bluetooth equipment C, user equipment B, tetra- part bluetooth equipment D.At this In communication system, after user equipment A is connected to bluetooth equipment C, bluetooth equipment C can indicate that user equipment A starts one Gatt server, and broadcast singal is sent by the gatt server, have the bluetooth equipment C's in the broadcast singal MAC Address.The user equipment B equally connects bluetooth equipment C, but since bluetooth equipment C has been connected by user A, Do not connect, at this time user equipment B-scan with bluetooth equipment C MAC Address broadcast singal, when scanning to after be connected to User equipment A, and equivalent device inquiry request is sent to user equipment A, user equipment A receives the equivalent device inquiry and asks After asking, bluetooth equipment C is forwarded the request to, bluetooth equipment C inquires the equivalent device of oneself, and inquires bluetooth equipment D is the equivalent device of oneself, and the MAC Address of bluetooth equipment D is sent to user equipment A, user equipment A by bluetooth equipment C at this time The MAC Address of bluetooth equipment D is transmitted to user equipment B, user equipment B is connected to bluetooth according to the MAC Address of bluetooth equipment D Equipment D.
In one embodiment, after user equipment B is connected to bluetooth equipment D, bluetooth equipment D can give user equipment B sends a service enabled instruction, and user equipment B starts the MAC Address of local service advertisement bluetooth equipment D, can work as in this way When other equipment want connection bluetooth equipment D, the technical solution in above-described embodiment can be repeated, user equipment B is suitable at this time User equipment A in above-described embodiment, bluetooth equipment D are equivalent to the bluetooth equipment C in above-described embodiment, no longer superfluous herein It states.
In above process, the process of authentication can also be added, such as when user equipment A is connected to user equipment B, first ask It asks user equipment A to send User ID, and forwards the User ID to bluetooth equipment C, authenticated in bluetooth equipment C, if authentication is logical It crosses, then bluetooth equipment C forwards a token that user equipment B, user equipment A is given to send equivalent device simultaneously by user equipment A Inquiry request, then the information of the bluetooth equipment D received is transmitted to user equipment B.
Fig. 6 is 60 embodiment of Bluetooth communication device based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides One structural schematic diagram, as shown in fig. 6, the device includes: the first scan module 61, the first link block 62, first reception mould Block 63, the second link block 64.Wherein,
First scan module 61, for scanning the first broadcast, first broadcast is issued by the second equipment and has third The information of equipment;
First link block 62, for, to first broadcast, being connected to second equipment in response to scanning;
First receiving module 63, for receiving the information of the 4th equipment from second equipment, the 4th equipment is institute State the equivalent device of third equipment;
Second link block 64 connects the 4th equipment for the information according to the 4th equipment.
Further, the Bluetooth communication device 60 based on bluetooth connection equivalence of query equipment further include:
First disconnects module 65, for disconnecting and the connection of the 4th equipment;
First broadcast module 66 has the information of the 4th equipment for sending the second broadcast in second broadcast And indicate the described 4th standby idle mark.
Further, the Bluetooth communication device 60 based on bluetooth connection equivalence of query equipment further include:
First connection sending module 67, for sending connection request, the connection request uses bluetooth connection for requesting Third equipment;
Determining module 68 is responded or is rejected for determining that the connection request does not receive.
The method that Fig. 6 shown device can execute embodiment illustrated in fig. 2, the part that the present embodiment is not described in detail can join Examine the related description to embodiment illustrated in fig. 2.In implementation procedure and the technical effect embodiment shown in Figure 2 of the technical solution Description, details are not described herein.
In 70 embodiment two of Bluetooth communication device based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides In, as shown in fig. 7, the Bluetooth communication device 70 based on bluetooth connection equivalence of query equipment include: third link block 71, Start service order sending module 72, inquiry request receiving module 73, the first sending module 74.Wherein,
Third link block 71 for receiving the connection request of the second equipment, and is connected to second equipment;
Start service order sending module 72, for sending starting service order to second equipment, the starting clothes Business instruction makes second equipment in local boot first service;
Inquiry request receiving module 73, the equivalent device inquiry request sent for receiving second equipment;
First sending module 74, for being equivalent device in response to inquiring the 4th equipment, by the letter of the 4th equipment Breath is sent to second equipment.
Further, the Bluetooth communication device 70 based on bluetooth connection equivalence of query equipment further include:
First setup module 75, for setting busy condition for the 4th equipment.
Further, the Bluetooth communication device 70 based on bluetooth connection equivalence of query equipment further include:
Command reception module 76 is updated, for receiving the state more new command of the second equipment transmission;
Second setup module 77, for setting idle state for the 4th equipment according to the state more new command.
Further, first sending module 74 is used for equivalence of query list of devices, by first free time in list The information of 4th equipment is sent to second equipment.
The method that device in embodiment two described in Fig. 7 can execute embodiment illustrated in fig. 3, the present embodiment are not described in detail Part, can refer to the related description to embodiment illustrated in fig. 3.The implementation procedure and technical effect of the technical solution are referring to Fig. 3 Description in illustrated embodiment, details are not described herein.
In 80 embodiment three of Bluetooth communication device based on bluetooth connection equivalence of query equipment that the embodiment of the present disclosure provides In, as shown in figure 8, the Bluetooth communication device 80 based on bluetooth connection equivalence of query equipment include: the 4th link block 81, Service enabled instruction receiving module 82, the first broadcast sending module 83, the 5th link block 84, inquiry request forwarding module 85, Second receiving module 86, the first forwarding module 87.Wherein,
4th link block 81 for sending connection request to third equipment, and is connected to the third equipment;
Enabled instruction receiving module 82 is serviced, for receiving the service enabled instruction of third equipment transmission, in local boot First service;
First broadcast sending module 83, for sending the first broadcast, band in first broadcast by the first service There is the information of third equipment;
5th link block 84 for receiving the connection request of the first equipment, and first equipment is connected to described On first service;
Inquiry request forwarding module 85, for receiving the equivalent device inquiry request of the first equipment transmission, and by the equivalence Equipment query request is transmitted to third equipment;
Second receiving module 86, the information of the 4th equipment for receiving the transmission of third equipment, the 4th equipment is the The equivalent device of three equipment;
First forwarding module 87, for the information of the 4th equipment to be transmitted to first equipment.
Further, the Bluetooth communication device 80 based on bluetooth connection equivalence of query equipment further include:
Second scan module 88 has the information of the 4th equipment for scanning the second broadcast in second broadcast And indicate the mark of the 4th equipment free time;
Instruction sending module 89 is updated, for, to second broadcast, sending the 4th equipment state in response to scanning and updating Instruct third equipment.
The method that device in embodiment two described in Fig. 8 can execute embodiment illustrated in fig. 4, the present embodiment are not described in detail Part, can refer to the related description to embodiment illustrated in fig. 4.The implementation procedure and technical effect of the technical solution are referring to fig. 4 Description in illustrated embodiment, details are not described herein.
Fig. 9 is the hardware block diagram for illustrating electronic equipment according to an embodiment of the present disclosure.As shown in figure 9, according to the disclosure The electronic equipment 90 of embodiment includes memory 91 and processor 92.
The memory 91 is for storing non-transitory computer-readable instruction.Specifically, memory 91 may include one Or multiple computer program products, the computer program product may include various forms of computer readable storage mediums, example Such as volatile memory and/or nonvolatile memory.The volatile memory for example may include random access memory (RAM) and/or cache memory (cache) etc..The nonvolatile memory for example may include read-only memory (ROM), hard disk, flash memory etc..
The processor 92 can be central processing unit (CPU) or have data-handling capacity and/or instruction execution energy The processing unit of the other forms of power, and can control other components in electronic equipment 90 to execute desired function.? In one embodiment of the disclosure, which makes for running the computer-readable instruction stored in the memory 91 Obtain the Bluetooth communication side based on bluetooth connection equivalence of query equipment that the electronic equipment 90 executes each embodiment of the disclosure above-mentioned The all or part of the steps of method.
Those skilled in the art will be understood that solve the technical issues of how obtaining good user experience effect, this It also may include structure well known to communication bus, interface etc. in embodiment, these well known structures should also be included in this hair Within bright protection scope.
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
Figure 10 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present disclosure.As shown in Figure 10, According to the computer readable storage medium 100 of the embodiment of the present disclosure, it is stored thereon with non-transitory computer-readable instruction 101. When the non-transitory computer-readable instruction 101 is run by processor, execute each embodiment of the disclosure above-mentioned based on indigo plant The all or part of the steps of the Bluetooth communication method of tooth Connection inquiring equivalent device.
Above-mentioned computer readable storage medium 100 includes but is not limited to: optical storage media (such as: CD-ROM and DVD), Magnetic-optical storage medium (such as: MO), magnetic storage medium (such as: tape or mobile hard disk), with built-in rewritable non-volatile The media (such as: storage card) of property memory and media (such as: ROM box) with built-in ROM.
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
Figure 11 is the hardware structural diagram for illustrating the terminal device according to the embodiment of the present disclosure.As shown in figure 11, the base Include the above-mentioned bluetooth based on bluetooth connection equivalence of query equipment in the Bluetooth communication terminal 110 of bluetooth connection equivalence of query equipment Communication device embodiment.
The terminal device can be implemented in a variety of manners, and the terminal device in the disclosure can include but is not limited to such as Mobile phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable media player), navigation device, vehicle-mounted terminal equipment, vehicle-mounted display terminal, vehicle electronics rearview mirror etc. Mobile terminal device and such as number TV, desktop computer etc. fixed terminal equipment.
As the embodiment of equivalent replacement, which can also include other assemblies.As shown in figure 11, bluetooth should be based on The Bluetooth communication terminal 110 of Connection inquiring equivalent device may include power supply unit 111, wireless communication unit 112, A/V (sound Frequently/video) input unit 113, user input unit 114, sensing unit 115, interface unit 116, controller 117, output list First 118 and storage unit 119 etc..Figure 11 shows the terminal with various assemblies, it should be understood that being not required for reality All components shown are applied, more or fewer components can also be alternatively implemented.
Wherein, wireless communication unit 112 allows the radio communication between terminal 110 and wireless communication system or network. A/V input unit 113 is for receiving audio or video signal.The order that user input unit 114 can be inputted according to user is raw At key input data with the various operations of controlling terminal equipment.Current state, the terminal 110 of the detection terminal 110 of sensing unit 115 Position, user it is mobile for the acceleration or deceleration of the orientation of the presence or absence of touch input of terminal 110, terminal 110, terminal 110 With direction etc., and generate order or the signal of operation for controlling terminal 110.Interface unit 116 is used as at least one External device (ED) connect with terminal 110 can by interface.Output unit 118 is configured to vision, audio and/or tactile side Formula provides output signal.Storage unit 119 can store the software program etc. of the processing and control operation that are executed by controller 117 Deng, or can temporarily store oneself data through exporting or will export.Storage unit 119 may include at least one type Storage medium.Moreover, terminal 110 can be with the network storage for the store function for executing storage unit 119 by network connection Device cooperation.The overall operation of the usual controlling terminal equipment of controller 117.In addition, controller 117 may include for reproduce or The multi-media module of multimedia playback data.Controller 117 can be with execution pattern identifying processing, by what is executed on the touchscreen Handwriting input or picture draw input and are identified as character or image.Power supply unit 111 receives outer under the control of controller 117 Portion's electric power or internal power and electric power appropriate needed for each element of operation and component are provided.
The various embodiments for the Bluetooth communication method based on bluetooth connection equivalence of query equipment that the disclosure proposes can be with Implemented using the computer-readable medium of such as computer software, hardware or any combination thereof.Hardware is implemented, the disclosure The various embodiments of the Bluetooth communication method based on bluetooth connection equivalence of query equipment proposed can be by using specific use Way integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed to execute here At least one of electronic unit of function of description is implemented, in some cases, the disclosure propose based on bluetooth connection The various embodiments of the Bluetooth communication method of equivalence of query equipment can be implemented in controller 77.For software implementation, originally The various embodiments of the open Bluetooth communication method based on bluetooth connection equivalence of query equipment proposed can with allow to execute The individual software modules of at least one functions or operations is implemented.Software code can be by being compiled with any programming language appropriate The software application (or program) write is implemented, and software code can store in storage unit 119 and by controller 117 It executes.
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
The basic principle of the disclosure is described in conjunction with specific embodiments above, however, it is desirable to, it is noted that in the disclosure The advantages of referring to, advantage, effect etc. are only exemplary rather than limitation, must not believe that these advantages, advantage, effect etc. are the disclosure Each embodiment is prerequisite.In addition, detail disclosed above is merely to exemplary effect and the work being easy to understand With, rather than limit, it is that must be realized using above-mentioned concrete details that above-mentioned details, which is not intended to limit the disclosure,.
Device involved in the disclosure, device, equipment, system block diagram only as illustrative example and be not intended to It is required that or hint must be attached in such a way that box illustrates, arrange, configure.As those skilled in the art will appreciate that , it can be connected by any way, arrange, configure these devices, device, equipment, system.Such as "include", "comprise", " tool " etc. word be open vocabulary, refer to " including but not limited to ", and can be used interchangeably with it.Vocabulary used herein above "or" and "and" refer to vocabulary "and/or", and can be used interchangeably with it, unless it is not such that context, which is explicitly indicated,.Here made Vocabulary " such as " refers to phrase " such as, but not limited to ", and can be used interchangeably with it.
In addition, as used herein, the "or" instruction separation used in the enumerating of the item started with "at least one" It enumerates, so that enumerating for such as " at least one of A, B or C " means A or B or C or AB or AC or BC or ABC (i.e. A and B And C).In addition, wording " exemplary " does not mean that the example of description is preferred or more preferable than other examples.
It may also be noted that in the system and method for the disclosure, each component or each step are can to decompose and/or again Combination nova.These decompose and/or reconfigure the equivalent scheme that should be regarded as the disclosure.
The technology instructed defined by the appended claims can not departed from and carried out to the various of technology described herein Change, replace and changes.In addition, the scope of the claims of the disclosure is not limited to process described above, machine, manufacture, thing Composition, means, method and the specific aspect of movement of part.Can use carried out to corresponding aspect described herein it is essentially identical Function or realize essentially identical result there is currently or later to be developed processing, machine, manufacture, event group At, means, method or movement.Thus, appended claims include such processing, machine, manufacture, event within its scope Composition, means, method or movement.
The above description of disclosed aspect is provided so that any person skilled in the art can make or use this It is open.Various modifications in terms of these are readily apparent to those skilled in the art, and are defined herein General Principle can be applied to other aspect without departing from the scope of the present disclosure.Therefore, the disclosure is not intended to be limited to Aspect shown in this, but according to principle disclosed herein and the consistent widest range of novel feature.
In order to which purpose of illustration and description has been presented for above description.In addition, this description is not intended to the reality of the disclosure It applies example and is restricted to form disclosed herein.Although already discussed above multiple exemplary aspects and embodiment, this field skill Its certain modifications, modification, change, addition and sub-portfolio will be recognized in art personnel.

Claims (20)

1. a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment characterized by comprising
The first broadcast of scanning, first broadcast are issued by the second equipment and are had the information of third equipment;
In response to scanning to first broadcast, it is connected to second equipment;
The information of the 4th equipment is received from second equipment, the 4th equipment is the equivalent device of the third equipment;
According to the information of the 4th equipment, the 4th equipment is connected.
2. the Bluetooth communication method according to claim 1 based on bluetooth connection equivalence of query equipment, which is characterized in that institute State method further include:
Disconnect the connection with the 4th equipment;
Second is sent to broadcast, the information and the standby free time of expression the described 4th in second broadcast with the 4th equipment Mark.
3. the Bluetooth communication method according to claim 1 based on bluetooth connection equivalence of query equipment, which is characterized in that The first of the second equipment of the scanning is broadcasted, in first broadcast before the information with third equipment, further includes:
Connection request is sent, the connection request uses bluetooth connection third equipment for requesting;
Determine that the connection request does not receive response or is rejected.
4. the Bluetooth communication method according to claim 1 based on bluetooth connection equivalence of query equipment, which is characterized in that institute The information for stating third equipment is the MAC Address of third equipment, and the information of the 4th equipment is the MAC Address of the 4th equipment.
5. a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment characterized by comprising
The connection request of the second equipment is received, and is connected to second equipment;
Starting service order is sent to second equipment, the starting service order makes second equipment in local boot the One service;
Receive the equivalent device inquiry request that second equipment is sent;
It is equivalent device in response to inquiring the 4th equipment, sends second equipment for the information of the 4th equipment.
6. the Bluetooth communication method according to claim 5 based on bluetooth connection equivalence of query equipment, which is characterized in that The information by the 4th equipment is sent to after second equipment, further includes:
Busy condition is set by the 4th equipment.
7. the Bluetooth communication method according to claim 6 based on bluetooth connection equivalence of query equipment, which is characterized in that It is described to set the 4th equipment to after busy condition, further includes:
Receive the state more new command of the second equipment transmission;
Idle state is set by the 4th equipment according to the state more new command.
8. the Bluetooth communication method according to claim 5 based on bluetooth connection equivalence of query equipment, which is characterized in that institute The information for stating the 4th equipment includes: the MAC Address of the 4th equipment.
9. the Bluetooth communication method according to claim 8 based on bluetooth connection equivalence of query equipment, which is characterized in that institute Stating in response to inquiring the 4th equipment is equivalent device, sends second equipment for the information of the 4th equipment, comprising:
The information of first the 4th equipment of free time in list is sent second equipment by equivalence of query list of devices.
10. a kind of Bluetooth communication method based on bluetooth connection equivalence of query equipment characterized by comprising
Connection request is sent to third equipment, and is connected to the third equipment;
The service enabled instruction that third equipment is sent is received, in local boot first service;
The first broadcast is sent by the first service, the information of third equipment is had in first broadcast;
The connection request of the first equipment is received, and first equipment is connected on the first service;
The equivalent device inquiry request of the first equipment transmission is received, and the equivalent device inquiry request is transmitted to third equipment;
The information for the 4th equipment that third equipment is sent is received, the 4th equipment is the equivalent device of third equipment;
The information of 4th equipment is transmitted to first equipment.
11. the Bluetooth communication method according to claim 10 based on bluetooth connection equivalence of query equipment, which is characterized in that After the information by the 4th equipment is transmitted to first equipment, further includes:
Scanning second is broadcasted, and the information and expression the 4th equipment in second broadcast with the 4th equipment are idle Mark;
In response to scanning to second broadcast, the 4th equipment state more new command is sent to third equipment.
12. a kind of Bluetooth communication device based on bluetooth connection equivalence of query equipment characterized by comprising
First scan module, for scanning the first broadcast, first broadcast is issued by the second equipment and has third equipment Information;
First link block, for, to first broadcast, being connected to second equipment in response to scanning;
First receiving module, for receiving the information of the 4th equipment from second equipment, the 4th equipment is the third The equivalent device of equipment;
Second link block connects the 4th equipment for the information according to the 4th equipment.
13. a kind of Bluetooth communication device based on bluetooth connection equivalence of query equipment characterized by comprising
Third link block for receiving the connection request of the second equipment, and is connected to second equipment;
Start service order sending module, for sending starting service order to second equipment, the starting service order Make second equipment in local boot first service;
Inquiry request receiving module, the equivalent device inquiry request sent for receiving second equipment;
First sending module sends the information of the 4th equipment for being equivalent device in response to inquiring the 4th equipment To second equipment.
14. a kind of Bluetooth communication device based on bluetooth connection equivalence of query equipment characterized by comprising
4th link block for sending connection request to third equipment, and is connected to the third equipment;
Enabled instruction receiving module is serviced, for receiving the service enabled instruction of third equipment transmission, is taken in local boot first Business;
First broadcast sending module has third in first broadcast for sending the first broadcast by the first service The information of equipment;
5th link block is connected to first clothes for receiving the connection request of the first equipment, and by first equipment In business;
Inquiry request forwarding module for receiving the equivalent device inquiry request of the first equipment transmission, and the equivalent device is looked into It askes request and is transmitted to third equipment;
Second receiving module, the information of the 4th equipment for receiving the transmission of third equipment, the 4th equipment is third equipment Equivalent device;
First forwarding module, for the information of the 4th equipment to be transmitted to first equipment.
15. a kind of Bluetooth communication equipment based on bluetooth connection equivalence of query equipment, comprising:
Memory, for storing non-transitory computer-readable instruction;And
Processor, for running the computer-readable instruction, so that realizing according to claim 1-4 when the processor executes Any one of described in the Bluetooth communication method based on bluetooth connection equivalence of query equipment.
16. a kind of Bluetooth communication equipment based on bluetooth connection equivalence of query equipment, comprising:
Memory, for storing non-transitory computer-readable instruction;And
Processor, for running the computer-readable instruction, so that realizing when the processor executes according to claim 5-9 Any one of described in the Bluetooth communication method based on bluetooth connection equivalence of query equipment.
17. a kind of Bluetooth communication equipment based on bluetooth connection equivalence of query equipment, comprising:
Memory, for storing non-transitory computer-readable instruction;And
Processor, for running the computer-readable instruction, so that realizing 0- according to claim 1 when the processor executes Bluetooth communication method based on bluetooth connection equivalence of query equipment described in any one of 11.
18. a kind of computer readable storage medium, for storing non-transitory computer-readable instruction, when the non-transitory meter When calculation machine readable instruction is executed by computer so that the computer perform claim require described in any one of 1-4 based on The Bluetooth communication method of bluetooth connection equivalence of query equipment.
19. a kind of computer readable storage medium, for storing non-transitory computer-readable instruction, when the non-transitory meter When calculation machine readable instruction is executed by computer so that the computer perform claim require described in any one of 5-9 based on The Bluetooth communication method of bluetooth connection equivalence of query equipment.
20. a kind of computer readable storage medium, for storing non-transitory computer-readable instruction, when the non-transitory meter When calculation machine readable instruction is executed by computer, so that the computer perform claim requires base described in any one of 10-11 In the Bluetooth communication method of bluetooth connection equivalence of query equipment.
CN201811034178.2A 2018-09-05 2018-09-05 Bluetooth communication method and device for inquiring equivalent equipment based on Bluetooth connection Active CN109089251B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811034178.2A CN109089251B (en) 2018-09-05 2018-09-05 Bluetooth communication method and device for inquiring equivalent equipment based on Bluetooth connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811034178.2A CN109089251B (en) 2018-09-05 2018-09-05 Bluetooth communication method and device for inquiring equivalent equipment based on Bluetooth connection

Publications (2)

Publication Number Publication Date
CN109089251A true CN109089251A (en) 2018-12-25
CN109089251B CN109089251B (en) 2021-09-17

Family

ID=64840748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811034178.2A Active CN109089251B (en) 2018-09-05 2018-09-05 Bluetooth communication method and device for inquiring equivalent equipment based on Bluetooth connection

Country Status (1)

Country Link
CN (1) CN109089251B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322426A (en) * 2005-12-28 2008-12-10 诺基亚公司 Multiple radio usage in a wireless communications device
CN104363250A (en) * 2014-12-03 2015-02-18 北京深思数盾科技有限公司 Method and system for equipment connection
US20150339917A1 (en) * 2014-05-21 2015-11-26 Qualcomm Incorporated Triggering commands on a target device in response to broadcasted event notifications
CN105578386A (en) * 2015-11-26 2016-05-11 小米科技有限责任公司 Bluetooth device management method and device
US20170188242A1 (en) * 2015-12-23 2017-06-29 Intel IP Corporation Method and apparatus for IoT device clustering
CN107197429A (en) * 2017-07-28 2017-09-22 苏州跬步信息技术有限公司 The method of remote analog bluetooth equipment service based on Cloud Server
CN107276861A (en) * 2017-06-30 2017-10-20 广州创想健康信息科技有限公司 Method, server, gateway and system that bluetooth peripheral hardware is remotely accessed are provided
CN107770761A (en) * 2017-10-19 2018-03-06 北京地平线机器人技术研发有限公司 Bluetooth equipment shares request and control method and electronic equipment
CN107888468A (en) * 2017-11-22 2018-04-06 北京小米移动软件有限公司 Information acquisition system, method and device
CN107968995A (en) * 2017-11-29 2018-04-27 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment
CN108306793A (en) * 2016-10-09 2018-07-20 杭州萤石网络有限公司 Smart machine, intelligent domestic gateway, the method and system for establishing connection

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322426A (en) * 2005-12-28 2008-12-10 诺基亚公司 Multiple radio usage in a wireless communications device
US20150339917A1 (en) * 2014-05-21 2015-11-26 Qualcomm Incorporated Triggering commands on a target device in response to broadcasted event notifications
CN104363250A (en) * 2014-12-03 2015-02-18 北京深思数盾科技有限公司 Method and system for equipment connection
CN105578386A (en) * 2015-11-26 2016-05-11 小米科技有限责任公司 Bluetooth device management method and device
US20170188242A1 (en) * 2015-12-23 2017-06-29 Intel IP Corporation Method and apparatus for IoT device clustering
CN108306793A (en) * 2016-10-09 2018-07-20 杭州萤石网络有限公司 Smart machine, intelligent domestic gateway, the method and system for establishing connection
CN107276861A (en) * 2017-06-30 2017-10-20 广州创想健康信息科技有限公司 Method, server, gateway and system that bluetooth peripheral hardware is remotely accessed are provided
CN107197429A (en) * 2017-07-28 2017-09-22 苏州跬步信息技术有限公司 The method of remote analog bluetooth equipment service based on Cloud Server
CN107770761A (en) * 2017-10-19 2018-03-06 北京地平线机器人技术研发有限公司 Bluetooth equipment shares request and control method and electronic equipment
CN107888468A (en) * 2017-11-22 2018-04-06 北京小米移动软件有限公司 Information acquisition system, method and device
CN107968995A (en) * 2017-11-29 2018-04-27 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment

Also Published As

Publication number Publication date
CN109089251B (en) 2021-09-17

Similar Documents

Publication Publication Date Title
CN109219028A (en) Equivalent device Bluetooth communication method and device based on cloud
CN108683574A (en) A kind of apparatus control method, server and intelligent domestic system
CN102821150B (en) Based on application management method and the Cloud Server of cloud service
EP4013003A1 (en) Communication protocol switching method, apparatus and system
CN109041140B (en) Method for rapidly switching wireless network, intelligent hardware and terminal equipment
CN208258096U (en) Receiving device and wireless screen transmission system
CN110753334A (en) Bluetooth communication method, device and equipment with Bluetooth communication function
WO2020156551A1 (en) Bluetooth scanning method, apparatus and device, and computer-readable storage medium
CN105474669A (en) Method and apparatus for providing persistent USB service for wireless USB devices
CN109218994A (en) Equivalent device Bluetooth communication method and device based on gateway
CN105659689A (en) Method and system for dual role handling in a wireless environment
CN108605373A (en) Method for providing network share service and electronic device
CN115883669A (en) Data distribution method, system, equipment and medium
CN109981299B (en) Wake-up method and device
CN108966200A (en) Bluetooth communication method and device based on bluetooth connection equivalence of query equipment
CN104216982A (en) Information processing method and electronic equipment
CN109151787A (en) Bluetooth communication method and device based on cloud scheduling
CN109089251A (en) Bluetooth communication method and device based on bluetooth connection equivalence of query equipment
CN117092926A (en) Equipment control method and electronic equipment
WO2017097138A1 (en) Notification message processing method and device
CN109309965A (en) The Bluetooth communication method and device of common-use tunnel based on cloud control
CN114500136B (en) Smart home networking method, system, equipment and storage medium
CN109089250A (en) Bluetooth communication method and device based on Scheduling of Gateway
CN109151786A (en) Bluetooth communication method and device based on Scheduling of Gateway connection
CN109462841A (en) Bluetooth communication method and device based on common-use tunnel

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

CP01 Change in the name or title of a patent holder