CN109089249A - Bluetooth communication method and device based on gateway inquiry buffer joint - Google Patents

Bluetooth communication method and device based on gateway inquiry buffer joint Download PDF

Info

Publication number
CN109089249A
CN109089249A CN201811032735.7A CN201811032735A CN109089249A CN 109089249 A CN109089249 A CN 109089249A CN 201811032735 A CN201811032735 A CN 201811032735A CN 109089249 A CN109089249 A CN 109089249A
Authority
CN
China
Prior art keywords
equipment
gateway
bluetooth
information
buffer joint
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.)
Pending
Application number
CN201811032735.7A
Other languages
Chinese (zh)
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.)
Beijing ByteDance Network Technology 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 CN201811032735.7A priority Critical patent/CN109089249A/en
Publication of CN109089249A publication Critical patent/CN109089249A/en
Pending legal-status Critical Current

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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance or administration or management of packet switching networks
    • H04L41/14Arrangements for maintenance or administration or management of packet switching networks involving network analysis or design, e.g. simulation, network model or planning
    • H04L41/145Arrangements for maintenance or administration or management of packet switching networks involving network analysis or design, e.g. simulation, network model or planning involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/28Network-specific arrangements or communication protocols supporting networked applications for the provision of proxy services, e.g. intermediate processing or storage in the network
    • H04L67/2842Network-specific arrangements or communication protocols supporting networked applications for the provision of proxy services, e.g. intermediate processing or storage in the network for storing data temporarily at an intermediate stage, e.g. caching
    • 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

Abstract

The present disclosure discloses a kind of Bluetooth communication method, device, electronic equipment and computer readable storage mediums based on gateway inquiry buffer joint.It should include: wherein to send data transfer request to Bluetooth gateway based on the Bluetooth communication method of gateway inquiry buffer joint, and include the information of the second equipment of the reception data and the information of the first equipment in the data transfer request;Send the second equipment that connection request is simulated to the Bluetooth gateway;In response to being connected to the second equipment of the Bluetooth gateway simulation, the second equipment that the data are simulated to the Bluetooth gateway is sent.The embodiment of the present disclosure solves the problems, such as the exclusive of bluetooth equipment by way of inquiring buffer joint and data are first buffered in buffer joint.

Description

Bluetooth communication method and device based on gateway inquiry buffer joint
Technical field
This disclosure relates to the communications field more particularly to a kind of Bluetooth communication method based on gateway inquiry buffer joint, dress It sets, 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 gateway inquiry buffer joint, comprising: It sends data transfer request and arrives Bluetooth gateway, include the information of the second equipment of the reception data in the data transfer request And first equipment information;Send the second equipment that connection request is simulated to the Bluetooth gateway;It is described in response to being connected to Second equipment of Bluetooth gateway simulation, sends the second equipment that the data are simulated to the Bluetooth gateway.
Further, before sending data transfer request to cloud, further includes: send connection request to the second equipment; It determines the response for not receiving the second equipment or receives the response of refusal connection.
Further, second equipment in response to being connected to the Bluetooth gateway simulation, sends the data to institute State the second equipment of Bluetooth gateway simulation, comprising: in response to being connected to the second equipment of the Bluetooth gateway simulation, send number The second equipment simulated according to, the information of the first equipment and the first information to the Bluetooth gateway.
Further, the information of first equipment is the MAC Address of the first equipment, and the first information is token.
Further, second equipment for sending connection request and being simulated to the Bluetooth gateway, comprising: in response to scanning To the broadcast of the information of the second equipment with Bluetooth gateway simulation, send what connection request was simulated to the Bluetooth gateway Second equipment.
Second aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication method based on gateway inquiry buffer joint, comprising: The data transfer request of the first equipment transmission is received, includes the second equipment for receiving the data in the data transfer request The information of information and the first equipment;Inquire the information of buffer joint corresponding with second equipment;In response to inquiring The buffer joint for stating the second equipment is third equipment, and creation first service simulates second equipment;Receive the company of the first equipment Request is connect, and first equipment is connected on the first service;Receive the data that first equipment is sent.
Further, the information of inquiry buffer joint corresponding with second equipment, comprising: pass through the second equipment Information inquire buffer joint table, inquire the information of buffer joint corresponding with second facility information.
Further, the buffer joint in response to inquiring second equipment is third equipment, the first clothes of creation Second equipment is simulated in business, comprising: the buffer joint in response to inquiring second equipment is third equipment, third equipment Second equipment is simulated localling create first service, first service sends the broadcast of the information with second equipment.
Further, before the data transfer request that the first equipment of the reception is sent, further includes: receive the second equipment Information;By the information preservation of second equipment in buffer joint table.
Further, after receiving the data that first equipment is sent, further includes: the broadcast of the second equipment of scanning; The broadcast that second equipment is arrived in response to scanning, is connected to second equipment;The data are sent to second equipment.
The third aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on gateway inquiry buffer joint, comprising:
Data transfer request sending module, for sending data transfer request to Bluetooth gateway, the data transfer request In include the information for the second equipment for receiving the data and the information of the first equipment;
First connection request sending module, the second equipment simulated for sending connection request to the Bluetooth gateway;
First data transmission blocks, for the second equipment in response to being connected to Bluetooth gateway simulation, described in transmission The second equipment that data are simulated to the Bluetooth gateway.
Further, the Bluetooth communication device based on gateway inquiry buffer joint further include:
Connection request sending module, for sending connection request to the second equipment;
Determining module, for determining the response for not receiving the response of the second equipment or receiving refusal connection.
Further, first data transmission blocks, for second in response to being connected to the Bluetooth gateway simulation Equipment sends the second equipment that data, the information of the first equipment and the first information are simulated to the Bluetooth gateway.
Further, the first connection request sending module has the Bluetooth gateway mould for arriving in response to scanning The broadcast of the information of the second quasi- equipment sends the second equipment that connection request is simulated to the Bluetooth gateway.
Fourth aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on gateway inquiry buffer joint, comprising:
Data transfer request receiving module, for receiving the data transfer request of the first equipment transmission, the data transmission It include the information for the second equipment for receiving the data and the information of the first equipment in request;
Enquiry module, for inquiring the information of buffer joint corresponding with second equipment;
Analog module, for being third equipment, the first clothes of creation in response to the buffer joint for inquiring second equipment Second equipment is simulated in business;
First link block is connected to described for receiving the connection request of the first equipment, and by first equipment In one service;
First data reception module, the data sent for receiving first equipment.
Further, the enquiry module inquires and institute for inquiring buffer joint table by the information of the second equipment State the information of the corresponding buffer joint of the second facility information.
Further, the analog module, for being set in response to the buffer joint for inquiring second equipment for third Standby, third equipment is localling create first service simulation second equipment, and first service, which is sent, has second equipment The broadcast of information.
Further, the Bluetooth communication device based on gateway inquiry buffer joint further include:
Information receiving module, for receiving the information of the second equipment;
Preserving module, for by the information preservation of second equipment in buffer joint table.
Further, the Bluetooth communication device based on gateway inquiry buffer joint further include:
First scan module, for scanning the broadcast of the second equipment;
Second link block is connected to second equipment for arriving the broadcast of second equipment in response to scanning;
Second data transmission blocks, for sending the data to second equipment.
5th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on gateway inquiry buffer joint, comprising: 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 gateway inquiry buffer joint in aforementioned first aspect.
6th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on gateway inquiry buffer joint, comprising: 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 gateway inquiry buffer joint in aforementioned second aspect.
7th 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 gateway inquiry buffer joint.
Eighth 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 second aspect In any Bluetooth communication method based on gateway inquiry buffer joint.
The embodiment of the present disclosure provides a kind of Bluetooth communication method, device, electronic equipment based on gateway inquiry buffer joint And computer readable storage medium.It should include: wherein to send data to pass based on the Bluetooth communication method of gateway inquiry buffer joint Bluetooth gateway is arrived in defeated request, includes that the information for the second equipment for receiving the data and first set in the data transfer request Standby information;Send the second equipment that connection request is simulated to the Bluetooth gateway;In response to being connected to the Bluetooth gateway mould The second quasi- equipment sends the second equipment that the data are simulated to the Bluetooth gateway.The embodiment of the present disclosure is slow by inquiry It rushes node and data is first buffered in the mode of buffer joint, solve the problems, such as the exclusive of bluetooth equipment, so that needing to connect blue The user equipment of tooth 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 stream for the Bluetooth communication method embodiment one that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Cheng Tu;
Fig. 3 is two process of Bluetooth communication method embodiment that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Figure;
Fig. 4 is the communication process for the Bluetooth communication system that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Figure;
Fig. 5 is the knot for the Bluetooth communication device embodiment one that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Structure schematic diagram;
Fig. 6 is the knot for the Bluetooth communication device embodiment two that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Structure schematic diagram;
Fig. 7 is that the structure of the Bluetooth communication equipment for inquiring buffer joint based on gateway provided according to the embodiment of the present disclosure is shown It is intended to;
Fig. 8 is the structural schematic diagram of the computer readable storage medium provided according to the embodiment of the present disclosure;
Fig. 9 is that the structure of the Bluetooth communication terminal for inquiring buffer joint based on gateway provided according to the embodiment of the present disclosure is shown It is intended to.
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 stream for the Bluetooth communication method embodiment one that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Cheng Tu, provided in this embodiment can should be inquired by one based on gateway based on the Bluetooth communication method of gateway inquiry buffer joint are delayed The Bluetooth communication device of node is rushed to execute, should be can be implemented as based on the Bluetooth communication device of gateway inquiry buffer joint soft Part, or it is embodied as the combination of software and hardware, it should be can integrate and be set based on the Bluetooth communication device of gateway inquiry buffer joint It sets in certain equipment in a communications system, such as in communication terminal device.As shown in Fig. 2, this method comprises the following steps:
Step S201, sends data transfer request and arrives Bluetooth gateway, includes the reception number in the data transfer request According to the second equipment information and the first equipment information;
In this step, the first equipment sends data transfer request to Bluetooth gateway, to search the buffering section of the second equipment Point, the buffer joint can be the equipment for having storage capacity.Wherein, first equipment can be user equipment A, allusion quotation The user equipment A of type can be various intelligent terminals, and the second equipment is bluetooth equipment B, the information of second equipment It can be the MAC Address of the bluetooth equipment B, the information of first equipment can be the User ID of user equipment A.
Step S202 sends the second equipment that connection request is simulated to the Bluetooth gateway;
In this step, after user equipment A has sent data sending request, can start to scan bluetooth equipment B's It broadcasts, the MAC Address of bluetooth equipment B is had in the broadcast, when the broadcast of bluetooth equipment B is arrived in scanning, send connection request To the bluetooth equipment B, request is connected to the bluetooth equipment B;In one implementation, when user equipment A has sent number After sending request, the bluetooth equipment B directly can also be connected using the MAC Address of bluetooth equipment B.In the embodiment In, the bluetooth equipment B is simulated by Bluetooth gateway.
Step S203 sends the data to the indigo plant in response to being connected to the second equipment of the Bluetooth gateway simulation Second equipment of tooth gateway simulation.
After being connected to the bluetooth equipment B, user equipment A sends data to the bluetooth equipment B, in the step In, it further include the information of the first information and the first equipment in the data, the first information can be token, and described first sets Standby information can be the User ID of user equipment A.
In this embodiment, before step S201, can also include:
Step S204 sends connection request to the second equipment;
Step S205 determines the response for not receiving the second equipment or receives the response of refusal connection.
In above-mentioned steps, user equipment A attempts connection bluetooth equipment B, but since bluetooth equipment B has been set by other It is standby to connect or bluetooth equipment B temporary fault, it is thus possible to the connection request of user equipment A will not to be responded, when one Fix time the response for not receiving bluetooth equipment B when, user equipment A can determine bluetooth equipment B without response;Or bluetooth equipment B can be directly to the response of user equipment A mono- direct refusal connection.When bluetooth equipment B can not be connected, user equipment A Just execute step S201.
The embodiment of the present disclosure provides a kind of Bluetooth communication method, device, electronic equipment based on gateway inquiry buffer joint And computer readable storage medium.It should include: wherein to send data to pass based on the Bluetooth communication method of gateway inquiry buffer joint Bluetooth gateway is arrived in defeated request, includes that the information for the second equipment for receiving the data and first set in the data transfer request Standby information;Send the second equipment that connection request is simulated to the Bluetooth gateway;In response to being connected to the Bluetooth gateway mould The second quasi- equipment sends the second equipment that the data are simulated to the Bluetooth gateway.The embodiment of the present disclosure is slow by inquiry It rushes node and data is first buffered in the mode of buffer joint, solve the problems, such as the exclusive of bluetooth equipment, so that needing to connect blue The user equipment of tooth equipment can be connected in time on the bluetooth equipment of needs.
Fig. 3 is the stream for the Bluetooth communication method embodiment one that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Cheng Tu, provided in this embodiment can should be inquired by one based on gateway based on the Bluetooth communication method of gateway inquiry buffer joint are delayed The Bluetooth communication device of node is rushed to execute, should be can be implemented as based on the Bluetooth communication device of gateway inquiry buffer joint soft Part, or it is embodied as the combination of software and hardware, it should be can integrate and be set based on the Bluetooth communication device of gateway inquiry buffer joint It sets in certain equipment in a communications system, such as in cloud device.As shown in figure 3, this method comprises the following steps:
Step 301, the data transfer request that the first equipment is sent is received, includes described in reception in the data transfer request The information of second equipment of data and the information of the first equipment;
In this step, Bluetooth gateway C receives the data transfer request that user equipment A is sent, which is Request data transfer includes needing to receive the bluetooths of the data to set in the data transfer request to bluetooth equipment B The standby information of B and the information of user equipment A.In this embodiment, the information of the bluetooth equipment B can be the bluetooth and set The MAC Address of standby B
Step 302, the information of buffer joint corresponding with second equipment is inquired;
In this step, Bluetooth gateway inquires the cache node of the second equipment according to the information of the second equipment.In a reality It applies in example, the information of the cache node is stored in cache node table, and cache node can be Bluetooth gateway C, the caching Node table can be one multipair 1 table, for example, multiple bluetooth equipments for being managed of Bluetooth gateway C all using Bluetooth gateway C as Cache node can find the indigo plant for managing the bluetooth equipment B with the MAC Address of bluetooth equipment B in the cache node table The MAC Address of tooth gateway C.
It step 303, is third equipment, creation first service simulation in response to the buffer joint for inquiring second equipment Second equipment;
In this step, after the buffer joint for inquiring bluetooth equipment B is Bluetooth gateway C, Bluetooth gateway C is in local First service is created to simulate bluetooth equipment B, the first service can be gatt server, specifically, the Bluetooth gateway It can simulate bluetooth equipment B localling create a gatt server and send broadcast singal, band has been in the broadcast singal State the MAC Address of bluetooth equipment B;Or the gatt server only simulates bluetooth equipment B, waits other users equipment Connection.
Step S304, receives the connection request of the first equipment, and first equipment is connected on the first service;
The connection request of user equipment A is received, and the user equipment A is connected on the gatt server.
Step S305 receives the data that first equipment is sent.
Bluetooth gateway C receives the data that user equipment A is sent by gatt server, and the data are to be sent to bluetooth The data of equipment B, and the User ID in the data including user equipment A and/or the token with bluetooth equipment B communication.
In this embodiment, before step S301, can also include:
Step S306 receives the information of the second equipment;
Step S307, by the information preservation of second equipment in buffer joint table.
In this step, Bluetooth gateway C can receive the information of bluetooth equipment B, which can be for bluetooth equipment B's MAC Address;When bluetooth equipment B is powered on or resetted, to the information of Bluetooth gateway C sending device, Bluetooth gateway C is by the bluetooth The information preservation of equipment B is in buffer joint table.
In this embodiment, after step S305, can also include:
Step S308 scans the broadcast of the second equipment;
Step S309 arrives the broadcast of second equipment in response to scanning, is connected to second equipment;
Step S310 sends the data to second equipment.
It should be noted that, user, which is previously stored with, in the step of authentication can also be added in Bluetooth gateway, Bluetooth gateway sets Standby authentication information, after receiving inquiry request, cloud can first the information to the user equipment A in data transfer request into Row authentication, for example whether the User ID and/or MAC Address of searching user equipment A are in registration list of devices.When the authentication is passed it Afterwards, otherwise the inquiry operation after just triggering directly transmits refusal and gives user equipment A.
Fig. 4 is the overall flow for the Bluetooth communication system that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Figure, as shown in figure 4, whole system includes user equipment A, bluetooth equipment B, Bluetooth gateway C three parts.In the communication system, Most start user equipment A connection bluetooth equipment B, but since bluetooth equipment B has been connected or blue by other users equipment Tooth equipment B failure, user equipment A are not responded or have been obtained the response of refusal connection, and user equipment A sends number at this time According to Bluetooth gateway C is transmitted a request to, request sends data to bluetooth equipment B, and Bluetooth gateway C receives the request of user equipment A Later, the information for inquiring bluetooth equipment B buffer joint, it is blue when the buffer joint for inquiring bluetooth equipment B is Bluetooth gateway C Tooth gateway C simulates bluetooth equipment B localling create first service, and analog form can be localling create in Bluetooth gateway C Gatt server simulates bluetooth equipment B and sends broadcast, and after user equipment A is connected to gatt server, data are sent It (is actually sent on Bluetooth gateway C) to the gatt server, Bluetooth gateway C is receiving the data Later, the broadcast for starting to scan bluetooth equipment B connects bluetooth equipment B and by institute after the broadcast of bluetooth equipment B is arrived in scanning Data are stated to be sent in the bluetooth equipment B.In one embodiment, if the Bluetooth gateway C is in oneself buffer joint Data sending request, can be transmitted to other Bluetooth gateways, until there is bluetooth by the information that bluetooth equipment B is not found in table Gateway finds the information of bluetooth equipment B, and simulates the bluetooth equipment B.
In above process, the process of authentication can also be added, Bluetooth gateway C is previously stored with the authentication letter of user equipment Breath, after receiving inquiry request, Bluetooth gateway C can the information first to the user equipment A in inquiry request authenticate, than Whether the User ID and/or MAC Address for such as searching user equipment A are in registration list of devices.After the authentication is passed, can just it touch Otherwise hair inquiry directly transmits refusal and gives user equipment A.
Fig. 5 is 50 embodiment one of Bluetooth communication device that buffer joint is inquired based on gateway that the embodiment of the present disclosure provides Structural schematic diagram, as shown in figure 5, the device includes: data transfer request sending module 51, the first connection request sending module 52, the first data transmission blocks 53.Wherein,
Data transfer request sending module 51, for sending data transfer request to Bluetooth gateway, the data transmission is asked It include the information for the second equipment for receiving the data and the information of the first equipment in asking;
First connection request sending module 52, the second equipment simulated for sending connection request to the Bluetooth gateway;
First data transmission blocks 53 send institute for the second equipment in response to being connected to the Bluetooth gateway simulation State the second equipment that data are simulated to the Bluetooth gateway.
Further, the Bluetooth communication device 50 based on gateway inquiry buffer joint further include:
Connection request sending module 54, for sending connection request to the second equipment;
Determining module 55, for determining the response for not receiving the response of the second equipment or receiving refusal connection.
Further, first data transmission blocks 53, for the in response to being connected to Bluetooth gateway simulation Two equipment send the second equipment that data, the information of the first equipment and the first information are simulated to the Bluetooth gateway.
Further, the first connection request sending module 52 has the Bluetooth gateway for arriving in response to scanning The broadcast of the information of second equipment of simulation sends the second equipment that connection request is simulated to the Bluetooth gateway.
The method that Fig. 5 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 60 embodiment two of Bluetooth communication device based on gateway inquiry buffer joint that the embodiment of the present disclosure provides, such as Shown in Fig. 6, it is described based on gateway inquiry buffer joint Bluetooth communication device 60 include: data transfer request receiving module 61, Enquiry module 62, analog module 63, the first link block 64, the first data reception module 65.Wherein,
Data transfer request receiving module 61, for receiving the data transfer request of the first equipment transmission, the data are passed It include the information for the second equipment for receiving the data and the information of the first equipment in defeated request;
Enquiry module 62, for inquiring the information of buffer joint corresponding with second equipment;
Analog module 63, for being third equipment, creation first in response to the buffer joint for inquiring second equipment Second equipment is simulated in service;
First link block 64 for receiving the connection request of the first equipment, and first equipment is connected to described On first service;
First data reception module 65, the data sent for receiving first equipment.
Further, the enquiry module 62, for inquiring buffer joint table by the information of the second equipment, inquire with The information of the corresponding buffer joint of second facility information.
Further, the analog module 63, for being third in response to the buffer joint for inquiring second equipment Equipment, third equipment are localling create first service simulation second equipment, and first service, which is sent, has second equipment Information broadcast.
Further, the Bluetooth communication device 60 based on gateway inquiry buffer joint further include:
Information receiving module 66, for receiving the information of the second equipment;
Preserving module 67, for by the information preservation of second equipment in buffer joint table.
Further, the Bluetooth communication device 60 based on gateway inquiry buffer joint further include:
First scan module 68, for scanning the broadcast of the second equipment;
Second link block 69 is connected to second equipment for arriving the broadcast of second equipment in response to scanning;
Second data transmission blocks 610, for sending the data to second equipment.
The method that device in embodiment two described in Fig. 6 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.
Fig. 7 is the hardware block diagram for illustrating electronic equipment according to an embodiment of the present disclosure.As shown in fig. 7, according to the disclosure The electronic equipment 70 of embodiment includes memory 71 and processor 72.
The memory 71 is for storing non-transitory computer-readable instruction.Specifically, memory 71 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 72 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 70 to execute desired function.? In one embodiment of the disclosure, which makes for running the computer-readable instruction stored in the memory 71 Obtain the whole that the electronic equipment 70 executes the Bluetooth communication method based on Scheduling of Gateway connection of each embodiment of the disclosure above-mentioned Or part steps.
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.
Fig. 8 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present disclosure.As shown in figure 8, root According to the computer readable storage medium 80 of the embodiment of the present disclosure, it is stored thereon with non-transitory computer-readable instruction 81.When this When non-transitory computer-readable instruction 81 is run by processor, execute each embodiment of the disclosure above-mentioned based on Scheduling of Gateway The all or part of the steps of the Bluetooth communication method of connection.
Above-mentioned computer readable storage medium 80 includes but is not limited to: and optical storage media (such as: CD-ROM and DVD), magnetic Optical storage media (such as: MO), magnetic storage medium (such as: tape or mobile hard disk), with built-in rewritable nonvolatile The media (such as: storage card) of 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.
Fig. 9 is the hardware structural diagram for illustrating the terminal device according to the embodiment of the present disclosure.As shown in figure 9, this is based on The Bluetooth communication terminal 90 of Scheduling of Gateway connection includes the above-mentioned Bluetooth communication device embodiment based on Scheduling of Gateway connection.
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 9, gateway should be based on The Bluetooth communication terminal 90 of scheduling connection may include power supply unit 91, wireless communication unit 92, A/V (audio/video) input Unit 93, user input unit 94, sensing unit 95, interface unit 96, controller 97, output unit 98 and storage unit 99 etc. Deng.Fig. 9 shows the terminal with various assemblies, it should be understood that be not required for implementing all components shown, it can also Alternatively to implement more or fewer components.
Wherein, wireless communication unit 92 allows the radio communication between terminal 90 and wireless communication system or network.A/V Input unit 93 is for receiving audio or video signal.It is defeated that the order that user input unit 94 can be inputted according to user generates key Enter data with the various operations of controlling terminal equipment.Sensing unit 95 detects the current state of terminal 90, the position of terminal 90, use Family is mobile for the acceleration or deceleration of the orientation of the presence or absence of touch input of terminal 90, terminal 90, terminal 90 and direction etc., and And generate order or the signal for the operation for being used for controlling terminal 90.Interface unit 96 is used as at least one external device (ED) and terminal 90 Connection can by interface.Output unit 98 is configured to provide output signal with vision, audio and/or tactile manner.It deposits Storage unit 99 can store the software program etc. of the processing and control operation that are executed by controller 97, or can temporarily deposit Store up oneself data through exporting or will export.Storage unit 99 may include the storage medium of at least one type.Moreover, terminal 90 can cooperate with the network storage device for the store function for executing storage unit 99 by network connection.Controller 97 is usually controlled The overall operation of terminal device processed.In addition, controller 97 may include for reproducing or the multimedia mould of multimedia playback data Block.The handwriting input executed on the touchscreen or picture can be drawn input with execution pattern identifying processing by controller 97 It is identified as character or image.Power supply unit 91 receives external power or internal power under the control of controller 97 and provides behaviour Make electric power appropriate needed for each element and component.
The various embodiments for the Bluetooth communication method based on Scheduling of Gateway connection that the disclosure proposes can be used for example The computer-readable medium of computer software, hardware or any combination thereof is implemented.Hardware is implemented, the base that the disclosure proposes In Scheduling of Gateway connection Bluetooth communication method various embodiments can by using application-specific IC (ASIC), Digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field-programmable gate array Column (FPGA), controller, microcontroller, microprocessor, are designed to execute the electronic unit of function described herein processor At least one of implement, in some cases, the Bluetooth communication method based on Scheduling of Gateway connection that the disclosure proposes Various embodiments can be implemented in controller 77.For software implementation, the disclosure propose based on Scheduling of Gateway connection The various embodiments of Bluetooth communication method can be come with the individual software module for allowing to execute at least one functions or operations Implement.Software code can be implemented by the software application (or program) write with any programming language appropriate, software Code can store in storage unit 99 and be executed by controller 97.
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 (16)

1. a kind of Bluetooth communication method based on gateway inquiry buffer joint characterized by comprising
It sends data transfer request and arrives Bluetooth gateway, include the second equipment of the reception data in the data transfer request The information of information and the first equipment;
Send the second equipment that connection request is simulated to the Bluetooth gateway;
In response to being connected to the second equipment of Bluetooth gateway simulation, the data are simulated to the Bluetooth gateway the is sent Two equipment.
2. the Bluetooth communication method according to claim 1 based on gateway inquiry buffer joint, which is characterized in that sending Before data transfer request to cloud, further includes:
Connection request is sent to the second equipment;
It determines the response for not receiving the second equipment or receives the response of refusal connection.
3. the Bluetooth communication method according to claim 1 based on gateway inquiry buffer joint, which is characterized in that the sound Ying Yu is connected to the second equipment of the Bluetooth gateway simulation, sends the data and sets to the Bluetooth gateway is simulated second It is standby, comprising:
In response to being connected to the second equipment of the Bluetooth gateway simulation, data, the information of the first equipment and the first letter are sent Cease the second equipment of the Bluetooth gateway simulation.
4. the Bluetooth communication method according to claim 3 based on gateway inquiry buffer joint, which is characterized in that described the The information of one equipment is the MAC Address of the first equipment, and the first information is token.
5. the Bluetooth communication method according to claim 1 based on gateway inquiry buffer joint, which is characterized in that the hair The second equipment for sending connection request to simulate to the Bluetooth gateway, comprising:
In response to scanning to the broadcast of the information of the second equipment with Bluetooth gateway simulation, connection request is sent described in Second equipment of Bluetooth gateway simulation.
6. a kind of Bluetooth communication method based on gateway inquiry buffer joint characterized by comprising
The data transfer request of the first equipment transmission is received, includes receiving the second of the data to set in the data transfer request The information of standby information and the first equipment;
Inquire the information of buffer joint corresponding with second equipment;
Buffer joint in response to inquiring second equipment is third equipment, and creation first service simulation described second is set It is standby;
The connection request of the first equipment is received, and first equipment is connected on the first service;
Receive the data that first equipment is sent.
7. the Bluetooth communication method according to claim 6 based on gateway inquiry buffer joint, which is characterized in that described to look into Ask the information of buffer joint corresponding with second equipment, comprising:
Buffer joint table is inquired by the information of the second equipment, inquires buffer joint corresponding with second facility information Information.
8. the Bluetooth communication method according to claim 6 based on gateway inquiry buffer joint, which is characterized in that the sound The buffer joint that Ying Yu inquires second equipment is third equipment, and creation first service simulates second equipment, comprising:
Buffer joint in response to inquiring second equipment is third equipment, is localling create first service simulation described the Two equipment, first service send the broadcast of the information with second equipment.
9. the Bluetooth communication method according to claim 6 based on gateway inquiry buffer joint, which is characterized in that described Before the data transfer request for receiving the transmission of the first equipment, further includes:
Receive the information of the second equipment;
By the information preservation of second equipment in buffer joint table.
10. the Bluetooth communication method according to claim 6 based on gateway inquiry buffer joint, which is characterized in that connecing After the data for receiving the first equipment transmission, further includes:
Scan the broadcast of the second equipment;
The broadcast that second equipment is arrived in response to scanning, is connected to second equipment;
The data are sent to second equipment.
11. a kind of Bluetooth communication device based on gateway inquiry buffer joint characterized by comprising
Data transfer request sending module wraps in the data transfer request for sending data transfer request to Bluetooth gateway Include the information for the second equipment for receiving the data and the information of the first equipment;
First connection request sending module, the second equipment simulated for sending connection request to the Bluetooth gateway;
First data transmission blocks send the data for the second equipment in response to being connected to the Bluetooth gateway simulation The second equipment simulated to the Bluetooth gateway.
12. a kind of Bluetooth communication device based on gateway inquiry buffer joint characterized by comprising
Data transfer request receiving module, for receiving the data transfer request of the first equipment transmission, the data transfer request In include the information for the second equipment for receiving the data and the information of the first equipment;
Enquiry module, for inquiring the information of buffer joint corresponding with second equipment;
Analog module creates first service mould for being third equipment in response to the buffer joint for inquiring second equipment Intend second equipment;
First link block is connected to first clothes for receiving the connection request of the first equipment, and by first equipment In business;
First data reception module, the data sent for receiving first equipment.
13. a kind of Bluetooth communication equipment based on gateway inquiry buffer joint, comprising:
Memory, for storing non-transitory computer-readable instruction;And
Processor, for running the computer-readable instruction, so that realizing according to claim 1-5 when the processor executes Any one of described in based on gateway inquiry buffer joint Bluetooth communication method.
14. a kind of Bluetooth communication equipment based on gateway inquiry buffer joint, 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 6- Bluetooth communication method based on gateway inquiry buffer joint described in any one of 10.
15. 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-5 based on The Bluetooth communication method of gateway inquiry buffer joint.
16. 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 6-10 based on The Bluetooth communication method of gateway inquiry buffer joint.
CN201811032735.7A 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway inquiry buffer joint Pending CN109089249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811032735.7A CN109089249A (en) 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway inquiry buffer joint

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811032735.7A CN109089249A (en) 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway inquiry buffer joint

Publications (1)

Publication Number Publication Date
CN109089249A true CN109089249A (en) 2018-12-25

Family

ID=64840647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811032735.7A Pending CN109089249A (en) 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway inquiry buffer joint

Country Status (1)

Country Link
CN (1) CN109089249A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN108306793A (en) * 2016-10-09 2018-07-20 杭州萤石网络有限公司 Smart machine, intelligent domestic gateway, the method and system for establishing connection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Similar Documents

Publication Publication Date Title
Hui et al. Major requirements for building Smart Homes in Smart Cities based on Internet of Things technologies
JP6815382B2 (en) Device cloud management
CN107124278B (en) Service processing method and device and data sharing system
EP3005822B1 (en) Mac layer transport for wi-fi direct services application service platform without internet protocol
US10587708B2 (en) Multi-modal conversational intercom
US20160231907A1 (en) System and methods for control of card elements within an application user interface
US9467202B2 (en) Method and apparatus for downloading content using NFC
US20170250936A1 (en) Techniques for messaging bot rich communication
US20200210052A1 (en) Apparatus and method for remotely controlling peripheral devices in mobile communication terminal
US20170250935A1 (en) Techniques for messaging bot app interactions
CN104125208B (en) Data transmission method and device
US20200382938A1 (en) Method and apparatus for low energy discovery
US20130309973A1 (en) System and method for persistent wireless docking
CN107690078B (en) Bullet screen information display method, bullet screen information providing method and bullet screen information providing equipment
CN103475577B (en) Method, device and network equipment for obtaining characteristic information
CN102100111B (en) Methods and apparatuses for providing temporal information
CN103200550B (en) Mobile terminal and the method answered short message automatically thereof
KR20120049402A (en) Efficient service discovery for peer-to-peer networking devices
JP6419792B2 (en) Method and apparatus for real-time sharing of multimedia content between wireless devices
CN104023050B (en) Equipment collaboration Multi-screen interaction system and its method under a kind of equipment cloud environment
CN104077162B (en) Renewal, dissemination method and the device of mobile terminal application template
US8775561B2 (en) Expanding a social network by the action of a single user
CN103295123A (en) Email mailbox management
US20170070579A1 (en) Mechanism for facilitating proxy user interface-based remote management and control of computing and non-computing devices
JP2020504865A (en) Application data processing method, apparatus, and storage medium

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