CN109151786B - Bluetooth communication method and device based on gateway scheduling connection - Google Patents

Bluetooth communication method and device based on gateway scheduling connection Download PDF

Info

Publication number
CN109151786B
CN109151786B CN201811032748.4A CN201811032748A CN109151786B CN 109151786 B CN109151786 B CN 109151786B CN 201811032748 A CN201811032748 A CN 201811032748A CN 109151786 B CN109151786 B CN 109151786B
Authority
CN
China
Prior art keywords
bluetooth
gateway
equipment
connection
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811032748.4A
Other languages
Chinese (zh)
Other versions
CN109151786A (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 CN201811032748.4A priority Critical patent/CN109151786B/en
Publication of CN109151786A publication Critical patent/CN109151786A/en
Application granted granted Critical
Publication of CN109151786B publication Critical patent/CN109151786B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information

Abstract

The disclosure discloses a Bluetooth communication method, a Bluetooth communication device, electronic equipment and a computer-readable storage medium based on gateway scheduling connection. The Bluetooth communication method based on gateway scheduling connection comprises the following steps: scanning a first broadcast signal of a Bluetooth gateway, wherein the first broadcast signal is provided with information of second equipment; in response to scanning the first broadcast signal, sending connection information of a first device to the Bluetooth gateway; receiving first information sent by a Bluetooth gateway, and creating a first service, wherein the first service sends a second broadcast signal, and the second broadcast signal carries the first information; receiving a connection request of a Bluetooth gateway, wherein the Bluetooth gateway comprises a second service simulating second equipment; connecting to the second service on the Bluetooth gateway through a Bluetooth connection. The embodiment of the disclosure solves the problem of monopolizing the Bluetooth equipment by scheduling and connecting the Bluetooth gateway.

Description

Bluetooth communication method and device based on gateway scheduling connection
Technical Field
The present disclosure relates to the field of communications, and in particular, to a bluetooth communication method and apparatus based on gateway scheduling connection, an electronic device, and a computer-readable storage medium.
Background
In recent years, as the technology updating speed is increasing, people hope to apply the emerging technology to daily life. Compared with the traditional home product, the intelligent and networked home product is more popular due to the characteristics of safety, simplicity, convenience, powerful functions and the like. By means of the mature automation technology, the sensor technology, the electrical technology and the embedded technology, part of household products are intelligentized to be practical, such as intelligent curtains, intelligent lighting, intelligent sockets and the like. However, the final purpose of smart home is not the intellectualization of a single home product, but a home network is formed by a plurality of home devices, and the daily home life is continuously more convenient and humanized by combining the smart client devices which are popularized at present, such as smart phones, smart tablets and the like. At present, the standardization degree is high in the aspect of intelligent household terminal equipment, and the mainstream wireless communication mode is bluetooth communication.
However, when bluetooth communication is used, there is an exclusive problem of bluetooth devices, that is, when a bluetooth device is already connected by one device, other devices are connected to the bluetooth device, and the connected device must wait for the disconnection of the bluetooth communication before the bluetooth device can be connected, which causes inconvenience in the use of the bluetooth device.
Disclosure of Invention
In a first aspect, an embodiment of the present disclosure provides a bluetooth communication method based on gateway scheduling connection, including: scanning a first broadcast signal of a Bluetooth gateway, wherein the first broadcast signal is provided with information of second equipment; in response to scanning the first broadcast signal, sending connection information of a first device to the Bluetooth gateway; receiving first information sent by a Bluetooth gateway, and creating a first service, wherein the first service sends a second broadcast signal, and the second broadcast signal carries the first information; receiving a connection request of a Bluetooth gateway, wherein the Bluetooth gateway comprises a second service simulating second equipment; connecting to the second service on the Bluetooth gateway through a Bluetooth connection.
Further, the bluetooth communication method based on gateway scheduling connection further includes:
transmitting data to the second device in response to connecting to the second service; disconnecting the connection with the second service in response to receiving a disconnection instruction of the Bluetooth gateway or the Bluetooth connection being expired.
Further, the MAC address of the second device is included in the first broadcast signal.
Further, the sending connection information of the first device to the bluetooth gateway in response to scanning the first broadcast signal includes: and in response to scanning the first broadcast signal, sending the user ID of the first device and the MAC address of the second device to the Bluetooth gateway.
In a second aspect, an embodiment of the present disclosure provides a bluetooth communication method based on gateway scheduling connection, including: creating a second service, the second service for emulating a second device; transmitting a first broadcast signal through a second service, wherein the first broadcast signal is provided with information of a second device; in response to receiving the connection information of the first device, sending first information to the first device; adding the first equipment into a scheduling queue and triggering one-time scheduling; connecting the first device according to the first information if the first device is scheduled; connecting the first device to the second service via a Bluetooth connection.
Further, before creating the second service, the method further includes: receiving a third broadcast signal transmitted by one or more second devices and connecting the one or more second devices; receiving type ID information of the one or more second devices; and inquiring the information of the second equipment from a cloud according to the type ID information of the second equipment.
Further, the creating a second service, the second service simulating a second device, includes: creating a second service according to the queried information of the second device, wherein the second service simulates the second device by using the information of the second device.
Further, the sending, in response to receiving the connection information of the first device, the first information to the first device includes: and responding to the received user ID of the first equipment, authenticating the user ID, and if the authentication is passed, sending a first key value to the first equipment.
Further, the adding the first device into a scheduling queue and triggering a scheduling includes: and adding the user ID of the first equipment into a scheduling queue, and judging the priority order of the first equipment and third equipment, wherein the third equipment is the equipment currently connected to the second equipment.
Further, if the first device is scheduled, connecting the first device according to the first information includes: and if the priority of the first equipment is higher than that of the third equipment, connecting the first equipment by using the first key value.
Further, after the connecting the first device to the second service through the bluetooth connection, the method further includes: creating a timer for the Bluetooth connection, the timer being used to calculate the remaining active time of the Bluetooth connection.
Further, after the creating the counter of the bluetooth connection, the method further includes: triggering a first schedule, and if the current first equipment is scheduled again, updating the timer; otherwise, sending a disconnection instruction to the first equipment.
In a third aspect, an embodiment of the present disclosure provides a bluetooth communication apparatus based on gateway scheduling connection, including: the scanning module is used for scanning a first broadcast signal of a gateway, wherein the first broadcast signal is provided with information of second equipment; the first sending module is used for responding to the scanning of the first broadcast signal and sending the connection information of the first equipment to the Bluetooth gateway; the first receiving module is used for receiving first information sent by a Bluetooth gateway and creating a first service, wherein the first service sends a second broadcast signal, and the second broadcast signal carries the first information; the second receiving module is used for receiving a connection request of a Bluetooth gateway, and the Bluetooth gateway comprises a second service simulating second equipment; and the first connecting module is used for connecting to the second service on the Bluetooth gateway through Bluetooth.
Further, the bluetooth communication device based on gateway scheduling connection further includes: a fourth sending module, configured to send data to the second device in response to connecting to the second service; and the first disconnection module is used for responding to the received disconnection instruction of the Bluetooth gateway or the expiration of the second information and disconnecting the connection with the second equipment.
Further, the MAC address of the second device is included in the first broadcast signal.
Further, the first sending module is configured to send, to the bluetooth gateway, the user ID of the first device and the MAC address of the second device in response to scanning the first broadcast signal.
In a fourth aspect, an embodiment of the present disclosure provides a bluetooth communication apparatus based on gateway scheduling connection, including:
a first creation module for creating a second service, the second service for simulating a second device; a second sending module, configured to send a first broadcast signal through a second service, where the first broadcast signal includes information of a second device; a third sending module, configured to send, in response to receiving the information of the first device, first information to the first device; the scheduling module is used for adding the first equipment into a scheduling queue and triggering one-time scheduling; a second connection module, configured to connect the first device according to the first information if the first device is scheduled; a third connection module, configured to connect the first device to the second service through a bluetooth connection.
Further, the bluetooth communication device connected based on gateway scheduling further includes: a fourth connection module, configured to receive a third broadcast signal sent by one or more second devices, and connect the one or more second devices; a third receiving module, configured to receive type ID information of the one or more second devices; and the first query module is used for querying the information of the second equipment from a cloud end according to the type ID information of the second equipment.
Further, the first creating module is configured to create a second service according to the queried information of the second device, where the second service simulates the second device using the information of the second device.
Further, the second sending module is configured to authenticate the user ID in response to receiving the user ID of the first device, and send the first key to the first device if the authentication is passed.
Further, the scheduling module is configured to add the user ID of the first device to a scheduling queue, and determine a priority order of the first device and a third device, where the third device is a device currently connected to the second device.
Further, the second connection module is configured to use the first key value to connect the first device if the priority of the first device is higher than that of the third device.
Further, the bluetooth communication device connected based on gateway scheduling further includes: the updating scheduling module is used for triggering the first scheduling, and updating the second information if the current first equipment is scheduled again; otherwise, sending a disconnection instruction to the first equipment.
In a fifth aspect, an embodiment of the present disclosure provides a bluetooth communication device connected based on gateway scheduling, including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of bluetooth communication based on gateway dispatch connectivity of any of the preceding first aspects.
In a sixth aspect, an embodiment of the present disclosure provides a bluetooth communication device connected based on gateway scheduling, including: at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of bluetooth communication based on gateway dispatch connectivity of any of the second aspect.
In a seventh aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium, which stores computer instructions for causing a computer to execute any one of the bluetooth communication method based on gateway dispatch connection in the foregoing first aspect.
In an eighth aspect, the embodiment of the present disclosure provides a non-transitory computer-readable storage medium, which is characterized by storing computer instructions for causing a computer to execute the bluetooth communication method based on gateway scheduling connection in any one of the foregoing second aspects.
The embodiment of the disclosure provides a Bluetooth communication method and device based on gateway scheduling connection, electronic equipment and a computer readable storage medium. The Bluetooth communication method based on gateway scheduling connection comprises the following steps: scanning a first broadcast signal of a Bluetooth gateway, wherein the first broadcast signal is provided with information of second equipment; in response to scanning the first broadcast signal, sending connection information of a first device to the Bluetooth gateway; receiving first information sent by a Bluetooth gateway, and creating a first service, wherein the first service sends a second broadcast signal, and the second broadcast signal carries the first information; receiving a connection request of a Bluetooth gateway, wherein the Bluetooth gateway comprises a second service simulating second equipment; connecting to the second service on the Bluetooth gateway through a Bluetooth connection. The embodiment of the disclosure solves the problem of monopolizing the Bluetooth equipment by scheduling and connecting the Bluetooth gateway, so that the user equipment which needs to be connected with the Bluetooth equipment can be connected to the required Bluetooth equipment in time.
The foregoing is a summary of the present disclosure, and for the purposes of promoting a clear understanding of the technical means of the present disclosure, the present disclosure may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present disclosure, and other drawings can be obtained according to the drawings without creative efforts for those skilled in the art.
FIG. 1 is a schematic diagram of an exemplary application environment of an embodiment of the present disclosure;
fig. 2 is a flowchart of a first embodiment of a bluetooth communication method based on gateway scheduling connection according to an embodiment of the present disclosure;
fig. 3 is a flowchart of an embodiment of a bluetooth communication method based on a gateway scheduling connection according to an embodiment of the present disclosure;
fig. 4 is a communication flow diagram of a bluetooth communication system based on gateway scheduling connection according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a first bluetooth communication apparatus based on gateway scheduling connection according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a second embodiment of a bluetooth communication apparatus based on gateway scheduling connection according to the embodiment of the present disclosure
Fig. 7 is a schematic structural diagram of a bluetooth communication device connected based on gateway scheduling provided in an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of a computer-readable storage medium provided in accordance with an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a bluetooth communication terminal connected based on gateway scheduling according to an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
Fig. 1 is a schematic diagram of a typical application scenario of the present disclosure. In a typical application, there are a plurality of user equipments 101 in the system, typically, the user equipment 101 may be a smart phone, the user equipment 101 may control the bluetooth device 102 through a specific APP, typically, the bluetooth device 102 may be a bluetooth lamp, the bluetooth device 102 may be managed by a bluetooth gateway 103, the user equipment 101 and the bluetooth gateway 103 and the bluetooth device 102 and the bluetooth gateway 103 are connected through a bluetooth link 105, and the bluetooth gateway 103 may be connected with a cloud server through wifi or a 4G network 106.
Fig. 2 is a flowchart of a first embodiment of a bluetooth communication method based on a gateway scheduling connection according to an embodiment of the present disclosure, where the bluetooth communication method based on the gateway scheduling connection according to this embodiment may be executed by a bluetooth communication apparatus based on the gateway scheduling connection, and the bluetooth communication apparatus based on the gateway scheduling connection may be implemented as software or as a combination of software and hardware, and the bluetooth communication apparatus based on the gateway scheduling connection may be integrally disposed in a certain device in a communication system, such as a communication terminal device. As shown in fig. 2, the method comprises the steps of:
step S201, scanning a first broadcast signal of a Bluetooth gateway, wherein the first broadcast signal has information of second equipment;
in this step, the user equipment scans a broadcast signal sent by the bluetooth gateway, where the broadcast signal includes device information of a second device connected to the bluetooth gateway, the second device is a bluetooth device, the information of the second device may be, for example, a MAC address, a device type ID, and the like of the bluetooth device, and since the bluetooth gateway may be connected to a plurality of bluetooth devices, the broadcast signal scanned by the user equipment may be broadcast in turn, and the MAC addresses and/or the device type IDs of the plurality of bluetooth devices are broadcast in turn.
Step S202, responding to the first broadcast signal scanned, and sending the connection information of the first device to the Bluetooth gateway;
the first device may be a user equipment. When the user equipment scans the broadcast signal with the second equipment information, the equipment connection information of the user equipment is sent to the Bluetooth gateway, and the connection information can comprise the user ID of the user equipment and the MAC address of the second equipment.
Step S203, receiving first information sent by a Bluetooth gateway, and creating a first service, wherein the first service sends a second broadcast signal, and the second broadcast signal carries the first information;
in this step, the user equipment receives first information sent by the bluetooth gateway, where the first information may be a key value, and is used by the gateway to determine the user equipment later. When receiving the first information, the user equipment creates a first service locally, the first service transmits a second broadcast signal, and the first information is carried in the second broadcast signal. The first service may be a gatt server, and the first information is the key value, so that the bluetooth gateway can conveniently use the key value to notify the user equipment when the bluetooth gateway schedules the user equipment.
Step S204, receiving a connection request of a Bluetooth gateway, wherein the Bluetooth gateway comprises a second service simulating second equipment;
in this step, the user equipment receives a connection request of the bluetooth gateway, and the connection request may include the first information in step S203 to confirm that the user equipment and the bluetooth gateway may be connected. Wherein a second service is created on the bluetooth gateway, the second service simulates the second device, and the first device may regard the second service simulating the second device as the second device.
Step S205, connecting to the second service on the Bluetooth gateway through Bluetooth;
in this step, the user device may connect to a second service emulating a second device via the MAC address of the second device, the second service being located on the bluetooth gateway. For the user equipment, the user equipment is connected to a Bluetooth gateway, and the Bluetooth gateway is responsible for Bluetooth communication connection between the user equipment and the second equipment.
In this embodiment, the bluetooth communication method based on gateway scheduling connection may further include the following steps:
step 206, responding to the connection to the service, and sending data to the second device;
and step 207, in response to receiving a disconnection instruction of the bluetooth gateway or the bluetooth connection is expired, disconnecting the connection with the second service.
The user equipment sends a Bluetooth connection request to the Bluetooth gateway to request to connect the second equipment, and the Bluetooth gateway uses the second service to replace the user equipment to connect the second equipment and forwards data between the user equipment and the second equipment. When a disconnection instruction of the Bluetooth gateway is received, disconnecting the connection with a second service; or disconnecting the connection with the second service when the bluetooth connection expires.
The embodiment of the disclosure provides a Bluetooth communication method and device based on gateway scheduling connection, electronic equipment and a computer readable storage medium. The Bluetooth communication method based on gateway scheduling connection comprises the following steps: scanning a first broadcast signal of a Bluetooth gateway, wherein the first broadcast signal is provided with information of second equipment; in response to scanning the first broadcast signal, sending connection information of a first device to the Bluetooth gateway; receiving first information sent by a Bluetooth gateway, and creating a first service, wherein the first service sends a second broadcast signal, and the second broadcast signal carries the first information; receiving a connection request of a Bluetooth gateway, wherein the Bluetooth gateway comprises a second service simulating second equipment; connecting to the second service on the Bluetooth gateway through Bluetooth. The embodiment of the disclosure solves the problem of monopolizing the Bluetooth equipment by scheduling and connecting the Bluetooth gateway, so that the user equipment which needs to be connected with the Bluetooth equipment can be connected to the required Bluetooth equipment in time.
Fig. 3 is a flowchart of a first embodiment of a bluetooth communication method based on a gateway scheduling connection according to an embodiment of the present disclosure, where the bluetooth communication method based on the gateway scheduling connection according to this embodiment may be executed by a bluetooth communication apparatus based on the gateway scheduling connection, and the bluetooth communication apparatus based on the gateway scheduling connection may be implemented as software or as a combination of software and hardware, and the bluetooth communication apparatus based on the gateway scheduling connection may be integrated in a certain device in a communication system, such as a bluetooth gateway device. As shown in fig. 3, the method comprises the steps of:
step 301, creating a second service, wherein the second service is used for simulating a second device;
in this step, the bluetooth gateway creates a gatt server locally to simulate the bluetooth devices managed by the bluetooth gateway, and sends the first broadcast signal, since the bluetooth gateway can manage a plurality of bluetooth devices, the broadcast signal may be alternated among broadcast signals of the plurality of bluetooth devices, for example, if the bluetooth gateway manages 5 bluetooth devices altogether, the broadcast signal may be alternated every 0.2 seconds, so that within 1 second, the broadcast signals of the 5 devices may be alternated.
Step 302, sending a first broadcast signal through a second service, wherein the first broadcast signal has information of a second device;
in this step, the bluetooth gateway transmits a first broadcast signal through the second service created in step 310, where the first broadcast signal carries information of the second device, and the information of the second device may be, for example, a MAC address, a device type ID, and the like of the bluetooth device, and since the bluetooth gateway may be connected with a plurality of bluetooth devices, the bluetooth gateway may broadcast the broadcast signal in a time-sharing carousel manner, and broadcast the MAC addresses and/or the device type IDs of the plurality of bluetooth devices in turn.
Step 303, in response to receiving the connection information of the first device, sending first information to the first device;
the first device may be a user device which is always scanning for broadcast signals of the bluetooth gateway and which sends connection information of the first device to the bluetooth gateway when a broadcast signal with information of the second device is scanned. And when the Bluetooth gateway receives the connection information of the first equipment, sending first information to the first equipment. Here, the connection information of the first device may be a user ID and/or a MAC address of the user equipment, and the first information may be a key value, and a typical example of this step is that the bluetooth gateway receives the user ID and/or the MAC address of the user, authenticates the user ID, and if the authentication is passed, sends a key value to the user equipment, where the key value is used for connecting with the user equipment when the user equipment is scheduled later.
Step 304, adding the first device into a scheduling queue, and triggering a scheduling;
and maintaining a scheduling queue in the Bluetooth gateway, wherein the scheduling queue is the user ID of all user equipment requesting Bluetooth connection with the second equipment, and when the user ID passes authentication, adding the user ID into the scheduling queue and triggering one-time scheduling, wherein the scheduling can be based on a scheduling strategy. The scheduling policy may be based on priority, for example, the ue a wants to connect to the bluetooth device C, but the ue B is communicating with the bluetooth device C at this time, when scheduling is triggered, the priorities of the ue a and the ue B are determined, if the priority of the ue a is higher than that of the ue B, the communication between the ue B and the bluetooth device C is directly interrupted, the ue a is scheduled to communicate with the bluetooth device C, if the priorities of the ue a and the ue B are the same, whether the communication between the ue B and the bluetooth device C is idle is determined, and if the communication is idle, the ue a is scheduled to communicate with the bluetooth device C. The scheduling policy described above is merely an example, and is not limited to the above policy in practical use.
Step 305, if the first device is scheduled, connecting the first device according to the first information;
if it is determined in the scheduling in step 303 that the first device is scheduled, the gateway connects the first device according to the first information transmitted in step 302. In this step, the bluetooth gateway scans the second broadcast signal of the first terminal, and since the second broadcast signal carries the first information, the bluetooth gateway can determine the first device according to the first information and connect the first device.
Step 306, connecting the first device to the second service through a bluetooth connection.
In this step, the first device may connect to the second service via a broadcast signal transmitted by the second service, and since the second service emulates the second device, the broadcast signal carries information about the second device, such as the MAC address of the second device, and thus, for the first device, connecting to the second service is equivalent to connecting to the second device.
In this embodiment, the bluetooth communication method based on gateway scheduling connection may further include the following steps:
after step 306, it may further include:
step 307, creating a timer of the bluetooth connection, wherein the timer is used for calculating the remaining effective time of the bluetooth connection.
The timer of this step may be implemented in various forms, either as a timer on the bluetooth gateway that decrements with time, or as a timer in the form of a token, which is used by the first device to connect with the second service. The timer includes the remaining active time of the bluetooth connection, which decreases as the time of the connection becomes longer. In one embodiment, the timer may also be implemented in the form of a traffic count, i.e. the amount of data that can be transferred between the first device and the second device is fixed.
After step 307, the method may further include:
step 308, triggering a first scheduling, and if the current first device is scheduled again, updating the timer; otherwise, sending a disconnection instruction to the first equipment.
In a typical application, if the current scheduling does not schedule the first device but schedules other devices, the bluetooth gateway sends a disconnection instruction to the first device to disconnect the connection between the first device and the second service. For example, the above process is illustrated, where the timer is a token, the bluetooth gateway sends the token to the first device, and specifies that the valid time of the token is 45 seconds, and the scheduling period of the bluetooth gateway is 30 seconds, when scheduling is triggered, it determines that the currently scheduled device is, if the currently scheduled device is still the first device, updates the valid time of the token to 45 seconds, and if the currently scheduled device is not the first device, sends a disconnection instruction to the first device, so that the first device is disconnected from the second service; if the Bluetooth gateway has a problem, so that the Bluetooth gateway disconnection instruction cannot be sent to the first device, when the token holding time of the first device reaches 45 seconds, the Bluetooth connection is also closed, and the first device disconnects the second service.
In this embodiment, the bluetooth communication method based on gateway scheduling connection may further include the following steps:
before step 301, the method may further include:
step 3001, receiving a third broadcast signal transmitted by one or more second devices, and connecting the one or more second devices;
step 3002, receiving type ID information of the one or more second devices;
step 3003, querying information of the second device from a cloud according to the type ID information of the second device.
In step 3001, after the bluetooth device is powered on for the first time or the device is reset, the bluetooth device sends a broadcast signal, and after the bluetooth gateway receives the broadcast signal, the bluetooth device is connected. After connecting to the bluetooth device in step 3002, receiving the type ID information sent by the bluetooth device, and after receiving the type ID information in step 3003, the bluetooth gateway querying the cloud for various attribute information of the bluetooth device, such as the MAC address of the bluetooth device, according to the type ID information of the bluetooth device. The second service created in step 301 may create a second service according to the information of the second device queried in step 3003, so as to simulate the second device through the second service.
Fig. 4 is a flowchart of an overall process of the bluetooth communication system based on gateway scheduling connection according to an embodiment of the present disclosure, as shown in fig. 4, when a bluetooth device is powered on or reset for the first time, a broadcast signal is sent to the bluetooth gateway, the bluetooth gateway connects the bluetooth device according to the broadcast signal, and then the bluetooth device reports a type ID or a device ID of the bluetooth device to the bluetooth gateway, and the bluetooth gateway may query an attribute (not shown in the figure) of the bluetooth device, such as a MAC address of the bluetooth device, from a cloud according to the type ID or the device ID. The bluetooth gateway then creates a gatt server locally, simulates the bluetooth device sending a broadcast signal, the broadcast signal includes the MAC address of the bluetooth device, and when a user device wants to connect to the bluetooth device, it scans the broadcast signal with the MAC address of the Bluetooth device sent by the Bluetooth gateway, then connects the Bluetooth gateway and sends the user id of the user device, the Bluetooth gateway authenticates the user id, if the authentication is passed, a key value is sent to the user equipment, and after the user equipment receives the key value, a gatt server is created locally and a broadcast signal with the key value is sent, after the bluetooth gateway authenticates the user equipment, a schedule can be triggered, and if the user equipment is determined to be scheduled, connecting the user equipment with the key value, and connecting the user equipment to a gatt server simulating the Bluetooth equipment on the Bluetooth gateway. When other equipment is dispatched, the Bluetooth gateway sends a command to the user equipment to disconnect the user equipment from the gatt server simulating the Bluetooth equipment; or after the Bluetooth connection expires, the user equipment is disconnected from the gatt server simulating the Bluetooth equipment.
Fig. 5 is a schematic structural diagram of a first embodiment of a bluetooth communication apparatus 50 configured to connect based on gateway scheduling according to an embodiment of the present disclosure, and as shown in fig. 5, the apparatus includes: a scanning module 51, a first transmitting module 52, a first receiving module 53, a second receiving module 54, and a first connecting module 55. Wherein the content of the first and second substances,
a scanning module 51, configured to scan a first broadcast signal of a gateway, where the first broadcast signal includes information of a second device;
a first sending module 52, configured to send connection information of a first device to the bluetooth gateway in response to scanning the first broadcast signal;
a first receiving module 53, configured to receive first information sent by a bluetooth gateway, and create a first service, where the first service sends a second broadcast signal, and the second broadcast signal carries the first information;
a second receiving module 54, configured to receive a connection request of a bluetooth gateway, where the bluetooth gateway includes a second service simulating a second device;
a first connection module 55, configured to connect to the second service on the bluetooth gateway through bluetooth.
Further, the bluetooth communication apparatus 50 that schedules connection based on the gateway further includes:
a fourth sending module 56, configured to send data to the second device in response to connecting to the second service;
a first disconnection module 57, configured to disconnect the connection with the second device in response to receiving a disconnection instruction of the bluetooth gateway or expiration of the second information.
Further, the MAC address of the second device is included in the first broadcast signal.
Further, the first sending module 52 is configured to send the user ID of the first device and the MAC address of the second device to the bluetooth gateway in response to scanning the first broadcast signal.
The apparatus shown in fig. 5 can perform the method of the embodiment shown in fig. 2, and reference may be made to the related description of the embodiment shown in fig. 2 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 2, and are not described herein again.
In a second embodiment of the bluetooth communication apparatus 60 for connection scheduling based on a gateway according to the embodiment of the present disclosure, as shown in fig. 6, the bluetooth communication apparatus for connection scheduling based on a gateway includes: a first creating module 61, a second sending module 62, a third sending module 63, a scheduling module 64, a second connecting module 65, and a third connecting module 66. Wherein the content of the first and second substances,
a first creation module 61 for creating a second service for emulating a second device;
a second sending module 62, configured to send a first broadcast signal through a second service, where the first broadcast signal includes information of a second device;
a third sending module 63, configured to send, in response to receiving the information of the first device, the first information to the first device;
a scheduling module 64, configured to add the first device to a scheduling queue and trigger a scheduling;
a second connecting module 65, configured to connect the first device according to the first information if the first device is scheduled;
a third connecting module 66, configured to connect the first device to the second service through a bluetooth connection.
Further, the bluetooth communication apparatus 60 for scheduling connection based on gateway further includes:
a fourth connection module 67, configured to receive a third broadcast signal sent by one or more second devices and connect the one or more second devices;
a third receiving module 68, configured to receive type ID information of the one or more second devices;
a first query module 69, configured to query the information of the second device from the cloud according to the type ID information of the second device.
Further, the first creating module 61 is configured to create a second service according to the queried information of the second device, where the second service simulates the second device using the information of the second device.
Further, the second sending module 62 is configured to authenticate the user ID in response to receiving the user ID of the first device, and send the first key to the first device if the authentication is passed.
Further, the scheduling module 64 is configured to add the user ID of the first device into a scheduling queue, and determine a priority order of the first device and a third device, where the third device is a device currently connected to the second device.
Further, the second connection module 65 is configured to connect the first device by using the first key value if the priority of the first device is higher than that of the third device.
Further, the bluetooth communication apparatus 60 for scheduling connection based on gateway further includes:
an update scheduling module 691, configured to trigger the first scheduling, and update the second information if the current first device is scheduled again; otherwise, sending a disconnection instruction to the first equipment.
The apparatus in the second embodiment can execute the method in the embodiment shown in fig. 3, and reference may be made to the related description of the embodiment shown in fig. 3 for a part not described in detail in this embodiment. The implementation process and technical effect of the technical solution refer to the description in the embodiment shown in fig. 3, and are not described herein again.
Fig. 7 is a hardware block diagram illustrating an electronic device according to an embodiment of the present disclosure. As shown in fig. 7, an electronic device 70 according to an embodiment of the present disclosure includes a memory 71 and a processor 72.
The memory 71 is used to store non-transitory computer readable instructions. In particular, memory 71 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc.
The processor 72 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 70 to perform desired functions. In one embodiment of the present disclosure, the processor 72 is configured to execute the computer readable instructions stored in the memory 71, so that the electronic device 70 performs all or part of the aforementioned steps of the bluetooth communication method based on gateway dispatch connection according to the embodiments of the present disclosure.
Those skilled in the art should understand that, in order to solve the technical problem of how to obtain a good user experience, the present embodiment may also include well-known structures such as a communication bus, an interface, and the like, and these well-known structures should also be included in the protection scope of the present invention.
For the detailed description of the present embodiment, reference may be made to the corresponding descriptions in the foregoing embodiments, which are not repeated herein.
Fig. 8 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. As shown in fig. 8, a computer-readable storage medium 80, having non-transitory computer-readable instructions 81 stored thereon, in accordance with an embodiment of the present disclosure. When executed by a processor, the non-transitory computer readable instructions 81 perform all or part of the steps of the gateway scheduling connection based bluetooth communication method of the embodiments of the present disclosure described above.
The computer-readable storage medium 80 includes, but is not limited to: optical storage media (e.g., CD-ROMs and DVDs), magneto-optical storage media (e.g., MOs), magnetic storage media (e.g., magnetic tapes or removable disks), media with built-in rewritable non-volatile memory (e.g., memory cards), and media with built-in ROMs (e.g., ROM cartridges).
For the detailed description of the present embodiment, reference may be made to the corresponding descriptions in the foregoing embodiments, which are not repeated herein.
Fig. 9 is a diagram illustrating a hardware structure of a terminal device according to an embodiment of the present disclosure. As shown in fig. 9, the bluetooth communication terminal 90 based on the gateway scheduling connection includes the above-mentioned bluetooth communication device embodiment based on the gateway scheduling connection.
The terminal device may be implemented in various forms, and the terminal device in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rear view mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like.
The terminal may also include other components as equivalent alternative embodiments. As shown in fig. 9, the gateway scheduling connection-based bluetooth communication terminal 90 may include a power supply unit 91, a wireless communication unit 92, an a/V (audio/video) input unit 93, a user input unit 94, a sensing unit 95, an interface unit 96, a controller 97, an output unit 98, and a storage unit 99, and the like. Fig. 9 shows a terminal having various components, but it is to be understood that not all of the shown components are required to be implemented, and that more or fewer components may alternatively be implemented.
The wireless communication unit 92 allows, among other things, radio communication between the terminal 90 and a wireless communication system or network. The a/V input unit 93 is for receiving an audio or video signal. The user input unit 94 may generate key input data to control various operations of the terminal device according to a command input by a user. The sensing unit 95 detects a current state of the terminal 90, a position of the terminal 90, presence or absence of a touch input of the user to the terminal 90, an orientation of the terminal 90, acceleration or deceleration movement and direction of the terminal 90, and the like, and generates a command or signal for controlling an operation of the terminal 90. The interface unit 96 serves as an interface through which at least one external device is connected to the terminal 90. The output unit 98 is configured to provide output signals in a visual, audio, and/or tactile manner. The storage unit 99 may store software programs or the like for processing and controlling operations performed by the controller 97, or may temporarily store data that has been output or is to be output. The storage unit 99 may include at least one type of storage medium. Also, the terminal 90 may cooperate with a network storage device that performs a storage function of the storage unit 99 through a network connection. The controller 97 generally controls the overall operation of the terminal device. In addition, the controller 97 may include a multimedia module for reproducing or playing back multimedia data. The controller 97 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image. The power supply unit 91 receives external power or internal power and supplies appropriate power required to operate the respective elements and components under the control of the controller 97.
Various embodiments of the gateway dispatch connection based bluetooth communication method presented in this disclosure may be implemented using a computer readable medium such as computer software, hardware, or any combination thereof. For a hardware implementation, various embodiments of the bluetooth communication method based on the gateway scheduling connection proposed by the present disclosure may be implemented by using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, and an electronic unit designed to perform the functions described herein, and in some cases, various embodiments of the bluetooth communication method based on the gateway scheduling connection proposed by the present disclosure may be implemented in the controller 77. For software implementation, various embodiments of the gateway dispatch connection based bluetooth communication method proposed by the present disclosure may be implemented with a separate software module that allows at least one function or operation to be performed. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory unit 99 and executed by the controller 97.
For the detailed description of the present embodiment, reference may be made to the corresponding descriptions in the foregoing embodiments, which are not repeated herein.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
Also, as used herein, "or" as used in a list of items beginning with "at least one" indicates a separate list, such that, for example, a list of "A, B or at least one of C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the described example is preferred or better than other examples.
It is also noted that in the systems and methods of the present disclosure, components or steps may be decomposed and/or re-combined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure.
Various changes, substitutions and alterations to the techniques described herein may be made without departing from the techniques of the teachings as defined by the appended claims. Moreover, the scope of the claims of the present disclosure is not limited to the particular aspects of the process, machine, manufacture, composition of matter, means, methods and acts described above. Processes, machines, manufacture, compositions of matter, means, methods, or acts, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or acts.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (18)

1. A Bluetooth communication method based on gateway scheduling connection is characterized by comprising the following steps:
the method comprises the steps that a first device scans a first broadcast signal of a Bluetooth gateway, wherein the first broadcast signal is provided with information of a second device;
in response to scanning the first broadcast signal, the first device sending connection information of the first device to the Bluetooth gateway;
the first equipment receives first information sent by a Bluetooth gateway and creates a first service, the first service sends a second broadcast signal, and the second broadcast signal carries the first information; the first information is used for connecting with the first equipment when the Bluetooth gateway dispatches the first equipment;
the first equipment receives a connection request of a Bluetooth gateway, and the Bluetooth gateway comprises a second service simulating second equipment; wherein, the connection request of the Bluetooth gateway comprises the first information;
the first device is connected to the second service on the Bluetooth gateway through Bluetooth.
2. The bluetooth communication method based on gateway scheduling connection according to claim 1, further comprising:
transmitting data to the second device in response to connecting to the second service;
disconnecting the connection with the second service in response to receiving a disconnection instruction of the Bluetooth gateway or the Bluetooth connection being expired.
3. The bluetooth communication method based on gateway scheduling connection according to claim 1, wherein:
the first broadcast signal includes a MAC address of the second device.
4. The gateway-dispatch-connection-based Bluetooth communication method of claim 1, wherein the sending connection information of a first device to the Bluetooth gateway in response to scanning the first broadcast signal comprises:
and in response to scanning the first broadcast signal, sending the user ID of the first device and the MAC address of the second device to the Bluetooth gateway.
5. A Bluetooth communication method based on gateway scheduling connection is characterized by comprising the following steps:
the Bluetooth gateway creates a second service, and the second service is used for simulating a second device;
the Bluetooth gateway sends a first broadcast signal through a second service, wherein the first broadcast signal is provided with information of second equipment;
in response to receiving connection information of a first device, the Bluetooth gateway sends first information to the first device;
the Bluetooth gateway adds the first equipment into a scheduling queue and triggers one-time scheduling;
if the first device is scheduled, the Bluetooth gateway connects the first device according to the first information;
the bluetooth gateway connects the first device to the second service via a bluetooth connection.
6. The gateway scheduling connection-based bluetooth communication method according to claim 5, further comprising, before creating the second service:
receiving a third broadcast signal transmitted by one or more second devices and connecting the one or more second devices;
receiving type ID information of the one or more second devices;
and inquiring the information of the second equipment from a cloud according to the type ID information of the second equipment.
7. The gateway dispatch connection-based Bluetooth communication method of claim 6, wherein the creating a second service, the second service for emulating a second device, comprises:
creating a second service according to the queried information of the second device, wherein the second service simulates the second device by using the information of the second device.
8. The gateway scheduling connection-based bluetooth communication method according to claim 5, wherein said sending the first information to the first device in response to receiving the connection information of the first device comprises:
and responding to the received user ID of the first equipment, authenticating the user ID, and if the authentication is passed, sending a first key value to the first equipment.
9. The method for bluetooth communication based on gateway scheduling connection according to claim 8, wherein the adding the first device into a scheduling queue and triggering a scheduling comprises:
and adding the user ID of the first equipment into a scheduling queue, and judging the priority order of the first equipment and third equipment, wherein the third equipment is the equipment currently connected to the second equipment.
10. The gateway-dispatch-connection-based Bluetooth communication method of claim 9, wherein if the first device is dispatched, connecting the first device according to the first information comprises:
and if the priority of the first equipment is higher than that of the third equipment, connecting the first equipment by using the first key value.
11. The gateway dispatch connection-based bluetooth communication method of claim 10, wherein after the connecting the first device to the second service over the bluetooth connection, further comprising:
creating a timer for the Bluetooth connection, the timer being used to calculate the remaining active time of the Bluetooth connection.
12. The bluetooth communication method based on gateway scheduling connection according to claim 5, further comprising, after the timer for creating the bluetooth connection:
triggering a first schedule, and if the current first equipment is scheduled again, updating the timer; otherwise, sending a disconnection instruction to the first equipment.
13. A bluetooth communication device that schedules connections based on a gateway, comprising:
the scanning module is used for scanning a first broadcast signal of a gateway by first equipment, wherein the first broadcast signal is provided with information of second equipment;
the first sending module is used for responding to the scanning of the first broadcast signal, and the first equipment sends the information of the first equipment to the Bluetooth gateway;
a first receiving module, configured to receive, by the first device, first information sent by a bluetooth gateway, and create a first service, where the first service sends a second broadcast signal, and the second broadcast signal carries the first information; the first information is used for connecting with the first equipment when the Bluetooth gateway dispatches the first equipment;
the second receiving module is used for receiving a connection request of the Bluetooth gateway by the first equipment, and the Bluetooth gateway comprises a second service simulating second equipment; wherein, the connection request of the Bluetooth gateway comprises the first information;
and the first connection module is used for connecting the first equipment to the second service on the Bluetooth gateway through Bluetooth.
14. A bluetooth communication device that schedules connections based on a gateway, comprising:
the first establishing module is used for establishing a second service by the Bluetooth gateway, and the second service is used for simulating second equipment;
a second sending module, configured to send, by the bluetooth gateway, a first broadcast signal through a second service, where the first broadcast signal includes information of a second device;
the third sending module is used for responding to the received information of the first equipment, and the Bluetooth gateway sends the first information to the first equipment;
the scheduling module is used for the Bluetooth gateway to add the first equipment into a scheduling queue and trigger primary scheduling;
the second connection module is used for connecting the first equipment by the Bluetooth gateway according to the first information if the first equipment is scheduled;
and the third connecting module is used for connecting the first equipment to the second service through Bluetooth connection by the Bluetooth gateway.
15. A bluetooth communication device that schedules connections based on a gateway, comprising:
a memory for storing non-transitory computer readable instructions; and
a processor for executing the computer readable instructions, such that the processor when executing implements the bluetooth communication method based on gateway dispatch connection according to any of claims 1-4.
16. A bluetooth communication device that schedules connections based on a gateway, comprising:
a memory for storing non-transitory computer readable instructions; and
a processor for executing the computer readable instructions, such that the processor when executing implements the bluetooth communication method based on gateway dispatch connection according to any of claims 5-12.
17. A computer-readable storage medium storing non-transitory computer-readable instructions which, when executed by a computer, cause the computer to perform the bluetooth communication method based on gateway scheduling connection of any one of claims 1 to 4.
18. A computer-readable storage medium storing non-transitory computer-readable instructions which, when executed by a computer, cause the computer to perform the bluetooth communication method based on gateway scheduling connection of any one of claims 5 to 12.
CN201811032748.4A 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway scheduling connection Active CN109151786B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811032748.4A CN109151786B (en) 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway scheduling connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811032748.4A CN109151786B (en) 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway scheduling connection

Publications (2)

Publication Number Publication Date
CN109151786A CN109151786A (en) 2019-01-04
CN109151786B true CN109151786B (en) 2022-01-04

Family

ID=64827053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811032748.4A Active CN109151786B (en) 2018-09-05 2018-09-05 Bluetooth communication method and device based on gateway scheduling connection

Country Status (1)

Country Link
CN (1) CN109151786B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799152A (en) * 2012-07-13 2012-11-28 太仓博天网络科技有限公司 Intelligent household control system based on bluetooth
CN105578386A (en) * 2015-11-26 2016-05-11 小米科技有限责任公司 Bluetooth device management method and device
CN107197429A (en) * 2017-07-28 2017-09-22 苏州跬步信息技术有限公司 The method of remote analog bluetooth equipment service based on Cloud Server
CN107517438A (en) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 Bluetooth electronic devices and its sharing method
CN107770761A (en) * 2017-10-19 2018-03-06 北京地平线机器人技术研发有限公司 Bluetooth equipment shares request and control method and electronic equipment
CN108111999A (en) * 2017-12-28 2018-06-01 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment
WO2018127200A1 (en) * 2017-01-09 2018-07-12 云丁网络技术(北京)有限公司 Method for smart device to access network, mobile terminal, cloud server, device, and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799152A (en) * 2012-07-13 2012-11-28 太仓博天网络科技有限公司 Intelligent household control system based on bluetooth
CN105578386A (en) * 2015-11-26 2016-05-11 小米科技有限责任公司 Bluetooth device management method and device
WO2018127200A1 (en) * 2017-01-09 2018-07-12 云丁网络技术(北京)有限公司 Method for smart device to access network, mobile terminal, cloud server, device, and system
CN107197429A (en) * 2017-07-28 2017-09-22 苏州跬步信息技术有限公司 The method of remote analog bluetooth equipment service based on Cloud Server
CN107517438A (en) * 2017-09-01 2017-12-26 北京地平线机器人技术研发有限公司 Bluetooth electronic devices and its sharing method
CN107770761A (en) * 2017-10-19 2018-03-06 北京地平线机器人技术研发有限公司 Bluetooth equipment shares request and control method and electronic equipment
CN108111999A (en) * 2017-12-28 2018-06-01 北京地平线机器人技术研发有限公司 Short-distance communication equipment shares request and control method and electronic equipment

Also Published As

Publication number Publication date
CN109151786A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
US20150077231A1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
KR102509679B1 (en) electronic device for supporting access to wireless media using TWT(target wake time) defined in the IEEE 802.11 standard
US20150133049A1 (en) Method and apparatus for downloading content using nfc
CN109219028B (en) Equivalent device Bluetooth communication method and device based on cloud
CN109395372A (en) Realize method, system and the electronic equipment of game paddle remote control computer game
US20170171496A1 (en) Method and Electronic Device for Screen Projection
AU2013388030B2 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN113992958B (en) Multi-window same-screen interaction method, terminal and storage medium
CN109218994B (en) Equivalent equipment Bluetooth communication method and device based on gateway
CN109151787B (en) Bluetooth communication method and device based on cloud scheduling
CN109981299B (en) Wake-up method and device
CN112817248B (en) Shared equipment management method and device, storage medium and electronic device
CN106998501B (en) Television control method and device
CN109151786B (en) Bluetooth communication method and device based on gateway scheduling connection
CN112083655B (en) Electronic equipment control method and related equipment
CN111190634B (en) Layout information processing method and device and electronic equipment
CN112689172A (en) Program playing method and device, set top box and storage medium
CN109089250B (en) Bluetooth communication method and device based on gateway scheduling
CN109309965B (en) Bluetooth communication method and device based on shared channel controlled by cloud
CN108966200B (en) Bluetooth communication method and device for inquiring equivalent equipment based on Bluetooth connection
CN109089249B (en) Bluetooth communication method and device based on gateway inquiry buffer node
CN108966199B (en) Bluetooth communication method and device based on cloud inquiry buffer node
CN114980358A (en) Automatic network distribution method, system, equipment and storage medium for batch intelligent equipment
CN112750435B (en) Smart home equipment synchronization method and device
CN109462841B (en) Bluetooth communication method and device based on shared channel

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
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.