Summary of the invention
In a first aspect, the embodiment of the present disclosure provides a kind of equivalent device Bluetooth communication method based on cloud, comprising: send
The facility information and equivalent device inquiry instruction of second equipment are to cloud;The equivalent device of second equipment is received from cloud
Facility information and the first information, the first information is for connecting the equivalent device;The first broadcast of scanning, described first
The facility information of the equivalent device is had in broadcast;It is logical using the first information in response to scanning to first broadcast
Cross equivalent device described in bluetooth connection.
Further, the equivalent device Bluetooth communication method based on cloud further include: disconnect and the equivalent device
Connection;Send the second broadcast, facility information and the expression equivalence with the equivalent device in second broadcast
The mark of equipment free time.
Further, before the facility information and equivalent device inquiry instruction to cloud for sending the second equipment,
Further include: connection request is sent, the connection request uses the second equipment of bluetooth connection for requesting;Determine the connection request
It does not receive response or is rejected.
Further, the facility information and the first information of the equivalent device that second equipment is received from cloud,
The first information is for connecting the equivalent device, comprising: the MAC of the equivalent device of second equipment is received from cloud
Location and token, the token are used to authenticate with the equivalent device.
Second aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication method based on cloud, comprising: receive
The facility information for the second equipment that first equipment is sent and the equivalent device inquiry instruction of the second equipment;It is set according to described second
Standby facility information inquires the equivalent device of second equipment;The facility information of the equivalent device is sent to Bluetooth gateway;
Receive the first information that the Bluetooth gateway is sent;The first information is sent to first equipment.
Further, after the first information for receiving the Bluetooth gateway transmission, further includes: set the equivalence
It is standby to be set as busy condition.
Further, after the transmission first information to first equipment, further includes: receive Bluetooth gateway
The state of transmission more new command;Idle state is set by the equivalent device according to the state more new command.
Further, the facility information of second equipment includes: the MAC Address and device type ID of the second equipment.
Further, the facility information according to second equipment inquires the equivalent device of second equipment, packet
It includes: equipment identical with the type of second equipment is inquired according to the device type ID of second equipment.
The third aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication method based on cloud, comprising: receive
The facility information of the equivalent device for the second equipment that cloud is sent;The equivalent device is connected, and sends activation instruction and first
Information is to the equivalent device;The first information is sent to the cloud.
Further, after the transmission first information to the cloud, further includes: the second broadcast of scanning, institute
It states the facility information in the second broadcast with the equivalent device and indicates the mark of the equivalent device free time;In response to sweeping
Second broadcast is retouched, sets idle state for the equivalent device;Transmission state more new command is to cloud.
Fourth aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication device based on cloud, comprising:
First sending module, the facility information and equivalent device inquiry instruction for sending the second equipment are to cloud;
First receiving module, for receiving the facility information and the first letter of the equivalent device of second equipment from cloud
Breath, the first information is for connecting the equivalent device;
First scan module, for scanning the first broadcast, the equipment with the equivalent device is believed in first broadcast
Breath;
First link block, for, to first broadcast, being connected using the first information by bluetooth in response to scanning
Connect the equivalent device.
Further, the equivalent device Bluetooth communication device based on cloud further include:
First disconnects module, for disconnecting and the connection of the equivalent device;
First broadcast module is broadcasted for sending second by the first service, with described in second broadcast
The facility information of equivalent device and the mark for indicating the equivalent device free time.
Further, the equivalent device Bluetooth communication device based on cloud further include:
Sending module is connected, for sending connection request, the connection request is set for requesting using bluetooth connection second
It is standby;
Determining module is responded or is rejected for determining that the connection request does not receive.
Further, first receiving module, the MAC of the equivalent device for receiving second equipment from cloud
Location and token, the token are used to authenticate with the equivalent device.
5th aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication device based on cloud, comprising:
Second receiving module, for receive the first equipment transmission the second equipment facility information and the second equipment etc.
The instruction of valence equipment query;
Enquiry module inquires the equivalent device of second equipment for the facility information according to second equipment;
Second sending module, for sending the facility information of the equivalent device to Bluetooth gateway;
Third receiving module, the first information sent for receiving the Bluetooth gateway;
Third sending module, for sending the first information to first equipment.
Further, the equivalent device Bluetooth communication device based on cloud further include:
First setup module, for setting busy condition for the equivalent device.
Further, the equivalent device Bluetooth communication device based on cloud further include:
Command reception module is updated, for receiving the state more new command of Bluetooth gateway transmission;
Second setup module, for setting idle state for the equivalent device according to the state more new command.
Further, the enquiry module, for according to the device type ID of second equipment inquiry and described second
The identical equipment of the type of equipment.
6th aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication device based on cloud, comprising:
4th receiving module, the facility information of the equivalent device of the second equipment for receiving cloud transmission;
Second link block for connecting the equivalent device, and sends activation instruction and the first information to the equivalence
Equipment;
4th sending module, for sending the first information to the cloud.
Further, the equivalent device Bluetooth communication device based on cloud further include:
Second scan module, for scanning the second broadcast, the equipment with the equivalent device is believed in second broadcast
Cease and indicate the mark of the equivalent device free time;
Third setup module, for, to second broadcast, setting idle shape for the equivalent device in response to scanning
State;
Instruction sending module is updated, for sending state more new command to cloud.
7th aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication equipment based on cloud, 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 equivalent device Bluetooth communication method based on cloud in aforementioned first aspect.
Eighth aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication equipment based on cloud, 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 equivalent device Bluetooth communication method based on cloud in aforementioned second aspect.
9th aspect, the embodiment of the present disclosure provide a kind of equivalent device Bluetooth communication equipment based on cloud, 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 equivalent device Bluetooth communication method based on cloud in the aforementioned third aspect.
Tenth aspect, the embodiment of the present disclosure provide a kind of non-transient computer readable storage medium, which is characterized in that this is non-
Transitory computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned first aspect
In any equivalent device Bluetooth communication method based on cloud.
Tenth on the one hand, and the embodiment of the present disclosure provides a kind of non-transient computer readable storage medium, which is characterized in that should
Non-transient computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned second party
Any equivalent device Bluetooth communication method based on cloud in face.
12nd aspect, the embodiment of the present disclosure provide a kind of non-transient computer readable storage medium, which is characterized in that should
Non-transient computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned third party
Any equivalent device Bluetooth communication method based on cloud in face.
The embodiment of the present disclosure provide it is a kind of by the equivalent device Bluetooth communication method in cloud, device, electronic equipment and based on
Calculation machine readable storage medium storing program for executing.Wherein being somebody's turn to do the equivalent device Bluetooth communication method based on cloud includes: the equipment for sending the second equipment
Information and equivalent device inquiry instruction are to cloud;From cloud receive the equivalent device of second equipment facility information and
The first information, the first information is for connecting the equivalent device;Scanning first is broadcasted, with described in first broadcast
The facility information of equivalent device;In response to scanning to first broadcast, passed through described in bluetooth connection using the first information
Equivalent device.The embodiment of the present disclosure inquires the equivalent device of bluetooth equipment by cloud, by gateway activation equivalent device, solves
The exclusive problem of bluetooth equipment, the bluetooth for allowing the user equipment for needing to connect bluetooth equipment to be connected to needs in time are set
It is standby upper.
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.
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 process for the equivalent device Bluetooth communication method embodiment one based on cloud that the embodiment of the present disclosure provides
Figure, the equivalent device Bluetooth communication method based on cloud provided in this embodiment can be by an equivalent device based on cloud indigo plants
Tooth communication device executes, should equivalent device Bluetooth communication device based on cloud can be implemented as software, or be embodied as soft
The combination of part and hardware, the equivalent device Bluetooth communication device based on cloud can integrate certain of setting in a communications system and set
In standby, such as in communication terminal device.As shown in Fig. 2, this method comprises the following steps:
Step S201, the facility information and equivalent device inquiry instruction for sending the second equipment are to cloud;
In this step, the facility information that user equipment sends the second equipment that it to be connected is sent simultaneously to cloud
Equivalent device inquiry instruction is to cloud, and the equivalent device inquiry instruction is for inquiring the equivalent device of second equipment, institute
Stating the second equipment and the equivalent device is bluetooth equipment.The equivalent device can be mutually similar with second equipment
The equipment of type or the equipment for having identical function, for example in an application scenarios, there is 4 bluetooth lamps in a room, it uses
Family is wanted to open 1 therein, and the brightness of this 4 lamps is identical, is closely located to, in this way if only opening wherein one,
Real any one effect of opening is the same, this 4 bluetooth lamps are the equivalent device of other side mutually.Second equipment
Facility information can be with the MAC Address of the second equipment and/or the device type ID of the second equipment etc..
Step S202 receives the facility information and the first information of the equivalent device of second equipment from cloud, described
The first information is for connecting the equivalent device;
When cloud finds equivalent device, user equipment can be received from cloud equivalent device facility information and one the
One information, the facility information of the equivalent device can be the MAC Address of equivalent device, and the first information can be bluetooth
Gateway is used for the user equipment and equivalent device by the calculated key assignments of special algorithm or code key or token
It is authenticated when connection.
In this step, the user equipment can also send the User ID of user equipment to the cloud, and cloud is to institute
It states User ID to be authenticated, the facility information and the first letter of equivalent device could be received after the authentication is passed from the cloud
Breath, otherwise can receive refusal information from cloud.
Step S203, scanning first are broadcasted, and the facility information of the equivalent device is had in first broadcast;
Step S204 is passed through described in bluetooth connection etc. in response to scanning to first broadcast using the first information
Valence equipment.
The MAC Address of equivalent device can be used in user equipment, and scanning has the Bluetooth broadcast of the address information, works as scanning
To after the Bluetooth broadcast with the address information, bluetooth connection is carried out using the first information and the equivalent device.Institute
Stating Bluetooth broadcast can be issued by the equivalent device.
In this embodiment, after step s 204, can also include:
Step S205 disconnects the connection with the equivalent device;
Step S206 sends the second broadcast, the facility information and table of the equivalent device is had in second broadcast
Show the mark of the equivalent device free time.
When the communication completion of user equipment and the equivalent device, the connection with the equivalent device is disconnected.Or it is described
User equipment connects equivalent device with effective authentication means using token etc., when token is expired, disconnects and the equivalence
The connection of equipment.At this point, user equipment can be by localling create the second broadcast of first service transmission, the band in the broadcast
There is the MAC Address of equivalent device and indicate the idle mark of the equivalent device, so that the Bluetooth gateway updates institute
State the state of equivalent device.Wherein the first service can be user equipment in the gatt server locallyd create.
In this embodiment, before step S201, can also include:
Step S207, sends connection request, and the connection request uses the second equipment of bluetooth connection for requesting;
Step S208 determines that the connection request does not receive response or is rejected.
User equipment connects the second equipment, but the second equipment may be sent out by other equipment connection or the second equipment
Raw failure can not connect, and when user equipment determines that the second equipment can not connect, start to execute step S201.
The embodiment of the present disclosure provide it is a kind of by the equivalent device Bluetooth communication method in cloud, device, electronic equipment and based on
Calculation machine readable storage medium storing program for executing.Wherein being somebody's turn to do the equivalent device Bluetooth communication method based on cloud includes: the equipment for sending the second equipment
Information and equivalent device inquiry instruction are to cloud;From cloud receive the equivalent device of second equipment facility information and
The first information, the first information is for connecting the equivalent device;Scanning first is broadcasted, with described in first broadcast
The facility information of equivalent device;In response to scanning to first broadcast, passed through described in bluetooth connection using the first information
Equivalent device.The embodiment of the present disclosure inquires the equivalent device of bluetooth equipment by cloud, by gateway activation equivalent device, solves
The exclusive problem of bluetooth equipment, the bluetooth for allowing the user equipment for needing to connect bluetooth equipment to be connected to needs in time are set
It is standby upper.
Fig. 3 is the process for the equivalent device Bluetooth communication method embodiment one based on cloud that the embodiment of the present disclosure provides
Figure, the equivalent device Bluetooth communication method based on cloud provided in this embodiment can be by an equivalent device based on cloud indigo plants
Tooth communication device executes, should equivalent device Bluetooth communication device based on cloud can be implemented as software, or be embodied as soft
The combination of part and hardware, the equivalent device Bluetooth communication device based on cloud can integrate certain of setting in a communications system and set
In standby, such as in cloud device.As shown in figure 3, this method comprises the following steps:
Step 301, the facility information of the second equipment and the equivalent device of the second equipment for receiving the transmission of the first equipment are looked into
Ask instruction;
Cloud receives the facility information of the equivalent device inquiry instruction that user equipment is sent and the second equipment, the inquiry
Instruction is for inquiring and the equivalent equipment of second equipment.
Step 302, according to the facility information of second equipment, the equivalent device of second equipment is inquired;
When the facility information for receiving inquiry instruction and the second equipment, according to the information of second equipment, inquiry is current
In the bluetooth equipment that cloud is managed, if having the equivalent device of second equipment.The equivalent device of second equipment can
To be equipment identical with the type of the second equipment or have the equipment of identical function, and the equivalent device with the second equipment
It is in idle condition.In one embodiment, when the equivalent device is connected, it, which can be set, to be queried to,
Without checking the state of equivalent device when inquiring in this way, as long as the equivalent device that can be queried to all is idle.
Step 303, the facility information of the equivalent device is sent to Bluetooth gateway;
When inquiring the equivalent device of second equipment, the facility information of the equivalent device is sent to bluetooth network
It closes, the facility information of the equivalent device can be the MAC Address etc. of equipment.
Step 304, the first information that the Bluetooth gateway is sent is received;
After Bluetooth gateway receives the facility information of the equivalent device, generates the first information and be sent to cloud, cloud
End receives the first information that the Bluetooth gateway is sent.The Bluetooth gateway that can be passes through the calculated key of special algorithm
Value or code key or token are used for authentication when the connection of the user equipment and equivalent device.
Step 305, the first information is sent to first equipment.
Cloud is transmitted to the user equipment after receiving the first information, by the first information, sets user
It is standby that the first information connection equivalent device can be used.
In this embodiment, after step S304, can also include:
The equivalent device is set busy condition by step S306;
After the first information for receiving Bluetooth gateway transmission, illustrate that equivalent device has been activated, therefore can be
Cloud sets busy for the state of equivalent device, and such other equipment can not connect or can not inquire the equivalent device.
In this embodiment, after step S305, further includes:
Step S307 receives the state more new command that Bluetooth gateway is sent;
The equivalent device is set idle state by step S308.
After user equipment and the sign off of the equivalent device, the second broadcast can be sent, Bluetooth gateway scanning should
Second broadcasts, facility information and the mark of the expression equivalent device free time in second broadcast with the equivalent device
Know, indicates that the equivalent device is idle, can be connected by other equipment.When Bluetooth gateway scanning to second broadcast
When, according to the facility information of the equivalent device in second broadcast, such as the MAC Address of equivalent device, the equivalence is set
Standby state is updated to the free time, and is reported to cloud, and when useful family equipment query equivalent device next time, which can
To be queried to.
In this embodiment, before step S301, can also include:
Receive the user information of the first equipment;
The user information is authenticated, if the authentication is passed, continues to execute step S301.
The step of having added an authentication herein, needs to receive the user information of the first equipment, such as user from the first equipment
ID is authenticated beyond the clouds, there is the permission of connection equivalent device with the user of determination first equipment.
Fig. 4 is the process for the equivalent device Bluetooth communication method embodiment one based on cloud that the embodiment of the present disclosure provides
Figure, the equivalent device Bluetooth communication method based on cloud provided in this embodiment can be by an equivalent device based on cloud indigo plants
Tooth communication device executes, should equivalent device Bluetooth communication device based on cloud can be implemented as software, or be embodied as soft
The combination of part and hardware, the equivalent device Bluetooth communication device based on cloud can integrate certain of setting in a communications system and set
In standby, such as in Bluetooth gateway.As shown in figure 4, this method comprises the following steps:
Step S401 receives the facility information of the equivalent device for the second equipment that cloud is sent;
After cloud inquires the equivalent device of the second equipment, the facility information of equivalent device is sent to Bluetooth gateway,
Bluetooth gateway receives the facility information of the equivalent device of second equipment, such as the MAC Address of equivalent device.
Step S402 connects the equivalent device, and sends activation instruction and the first information to the equivalent device;
Bluetooth gateway can connect the equivalent device according to the facility information of the equivalent device, and send out to equivalent device
Send activation instruction and the first information.The activation instruction is used to that the equivalent device to be made to send Bluetooth broadcast, and in the bluetooth
The facility information of the equivalent device is had in broadcast, the first information can be Bluetooth gateway and calculate by special algorithm
A key assignments or code key or token, be used for authentication when the connection of the user equipment and equivalent device.
Step S403 sends the first information to the cloud;
Since Bluetooth gateway is not with user equipment direct communication, Bluetooth gateway will be described after generating the first information
The first information is sent to the cloud, and cloud is transmitted to the user equipment again.
In this embodiment, after step S403, can also include:
Step S404, scanning second are broadcasted, and the facility information and table of the equivalent device are had in second broadcast
Show the mark of the equivalent device free time;
Step S405 sets idle state for the equivalent device in response to scanning to second broadcast;
Step S406 sends state more new command to cloud.
In the step, after bluetooth equipment disconnects the connection with first equipment, it is wide that the first equipment can send second
It broadcasts, facility information and the mark of the expression equivalent device free time in second broadcast with the equivalent device, when
The Bluetooth gateway scanning sets idle state for the equivalent device to second broadcast, and sends state update
It instructs to cloud, cloud is made to update the state of equivalent device.
Technical solution in through the foregoing embodiment, when user equipment connects bluetooth equipment, discovery needs the indigo plant connected
Tooth equipment is occupied or breaks down, and can request the equivalent device for inquiring the bluetooth equipment, to cloud to solve
The problem of bluetooth equipment occupancy can not connect.
Fig. 5 is the overall flow figure for the equivalent device Bluetooth communication system based on cloud that the embodiment of the present disclosure provides, such as
Shown in Fig. 5, whole system includes user equipment, 4 part of cloud, Bluetooth gateway and bluetooth equipment.Wherein bluetooth equipment refers to
Equivalent device in above-described embodiment.In the communication system, when user equipment wants connection bluetooth equipment, the bluetooth is found
Equipment is broken down by other equipment connection or the bluetooth equipment, then referring to Fig. 5, sends to cloud and want connection
The MAC Address of bluetooth equipment, device type and inquire the bluetooth equipment equivalent device instruction, cloud is according to bluetooth equipment
MAC Address, device type etc. inquire the bluetooth equipment equivalent device, can carry out one to user equipment before or after inquiry
The facility information of equivalent device is sent to Bluetooth gateway after finding equivalent device by a authentication operations (not shown),
After Bluetooth gateway receives the facility information of equivalent device, it is connected to the equivalent device and is sent to the equivalent device and swashed
Instruction living and the first information, and cloud is sent by the first information.When equivalent device receives activation instruction, in equivalence
A gatt server is created in equipment, sends third broadcast, including in the third broadcast can be with the activation mark of equivalent device
Know, the facility informations such as the MAC Address of equivalent device.After cloud receives the first information, by the first information and equivalent device
Facility information is sent to user equipment, user equipment after receiving the facility information and the first information of the equivalent device,
Third broadcast is scanned, after scanning to third is broadcasted, the use of the first information is that authentication information connects the equivalent device, goes forward side by side
The transmission of row data.It when the data transfer ends or the timeliness of connection reach the time limit, disconnects, user equipment can send the at this time
Two broadcast, facility information and the mark of the expression equivalent device free time in second broadcast with the equivalent device
Know, when Bluetooth gateway scanning is to after the described second broadcast, the state for updating the equivalent device is the free time, so as to other users
Equipment can be inquired and be connected in the equivalent device, and send state more new command to cloud, so that cloud update etc.
The state of valence equipment.
Fig. 6 is the structure for 60 embodiment one of equivalent device Bluetooth communication device based on cloud that the embodiment of the present disclosure provides
Schematic diagram, as shown in fig. 6, the device includes: the first sending module 61, the first receiving module 62, the first scan module 63, first
Link block 64.Wherein,
First sending module 61, the facility information and equivalent device inquiry instruction for sending the second equipment are to cloud;
First receiving module 62, the facility information and first of the equivalent device for receiving second equipment from cloud
Information, the first information is for connecting the equivalent device;
First scan module 63 has the equipment of the equivalent device for scanning the first broadcast in first broadcast
Information;
First link block 64, for, to first broadcast, passing through bluetooth using the first information in response to scanning
Connect the equivalent device.
Further, the equivalent device Bluetooth communication device 60 based on cloud further include:
First disconnects module 65, for disconnecting and the connection of the equivalent device;
First broadcast module 66, for by the first service send second broadcast, it is described second broadcast in band
It states the facility information of equivalent device and indicates the mark of the equivalent device free time.
Further, the equivalent device Bluetooth communication device 60 based on cloud further include:
Sending module 67 is connected, for sending connection request, the connection request uses bluetooth connection second for requesting
Equipment;
Determining module 68 is responded or is rejected for determining that the connection request does not receive.
Further, first receiving module 62, the MAC of the equivalent device for receiving second equipment from cloud
Address and token, the token are used to authenticate with the equivalent device.
The method that Fig. 6 shown device can execute embodiment illustrated in fig. 2, the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 2.In implementation procedure and the technical effect embodiment shown in Figure 2 of the technical solution
Description, details are not described herein.
In 70 embodiment two of equivalent device Bluetooth communication device based on cloud that the embodiment of the present disclosure provides, such as Fig. 7
Shown, the equivalent device Bluetooth communication device 70 based on cloud includes: the second receiving module 71, enquiry module 72, second
Sending module 73, third receiving module 74, third sending module 75.Wherein,
Second receiving module 71, the facility information and the second equipment of the second equipment for receiving the transmission of the first equipment
Equivalent device inquiry instruction;
Enquiry module 72 inquires the equivalent device of second equipment for the facility information according to second equipment;
Second sending module 73, for sending the facility information of the equivalent device to Bluetooth gateway;
Third receiving module 74, the first information sent for receiving the Bluetooth gateway;
Third sending module 75, for sending the first information to first equipment.
Further, the equivalent device Bluetooth communication device 70 based on cloud further include:
First setup module 76, for setting busy condition for the equivalent device.
Further, the equivalent device Bluetooth communication device 70 based on cloud further include:
Command reception module 77 is updated, for receiving the state more new command of Bluetooth gateway transmission;
Second setup module 78, for setting idle state for the equivalent device according to the state more new command.
Further, the enquiry module 72, for according to the device type ID of second equipment inquiry and described the
The identical equipment of the type of two equipment.
The method that device in embodiment two described in Fig. 7 can execute embodiment illustrated in fig. 3, the present embodiment are not described in detail
Part, can refer to the related description to embodiment illustrated in fig. 3.The implementation procedure and technical effect of the technical solution are referring to Fig. 3
Description in illustrated embodiment, details are not described herein.
In 80 embodiment three of equivalent device Bluetooth communication device based on cloud that the embodiment of the present disclosure provides, such as Fig. 8
It is shown, the equivalent device Bluetooth communication device 80 based on cloud include: the 4th receiving module 81, the second link block 82,
4th sending module 83.Wherein,
4th receiving module 81, the facility information of the equivalent device of the second equipment for receiving cloud transmission;
Second link block 82 for connecting the equivalent device, and sends activation instruction and the first information to described etc.
Valence equipment;
4th sending module 83, for sending the first information to the cloud.
Further, the equivalent device Bluetooth communication device 80 based on cloud further include:
Second scan module 84 has the equipment of the equivalent device for scanning the second broadcast in second broadcast
Information and the mark for indicating the equivalent device free time;
Third setup module 85, for, to second broadcast, setting idle for the equivalent device in response to scanning
State;
Instruction sending module 86 is updated, for sending state more new command to cloud.
The method that device in embodiment two described in Fig. 8 can execute embodiment illustrated in fig. 4, the present embodiment are not described in detail
Part, can refer to the related description to embodiment illustrated in fig. 4.The implementation procedure and technical effect of the technical solution are referring to fig. 4
Description in illustrated embodiment, details are not described herein.
Fig. 9 is the hardware block diagram for illustrating electronic equipment according to an embodiment of the present disclosure.As shown in figure 9, according to the disclosure
The electronic equipment 90 of embodiment includes memory 91 and processor 92.
The memory 91 is for storing non-transitory computer-readable instruction.Specifically, memory 91 may include one
Or multiple computer program products, the computer program product may include various forms of computer readable storage mediums, example
Such as volatile memory and/or nonvolatile memory.The volatile memory for example may include random access memory
(RAM) and/or cache memory (cache) etc..The nonvolatile memory for example may include read-only memory
(ROM), hard disk, flash memory etc..
The processor 92 can be central processing unit (CPU) or have data-handling capacity and/or instruction execution energy
The processing unit of the other forms of power, and can control other components in electronic equipment 90 to execute desired function.?
In one embodiment of the disclosure, which makes for running the computer-readable instruction stored in the memory 91
Obtain the whole that the electronic equipment 90 executes the equivalent device Bluetooth communication method based on cloud 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.
Figure 10 is the schematic diagram for illustrating computer readable storage medium according to an embodiment of the present disclosure.As shown in Figure 10,
According to the computer readable storage medium 100 of the embodiment of the present disclosure, it is stored thereon with non-transitory computer-readable instruction 101.
When the non-transitory computer-readable instruction 101 is run by processor, execute each embodiment of the disclosure above-mentioned based on cloud
The all or part of the steps of the equivalent device Bluetooth communication method at end.
Above-mentioned computer readable storage medium 100 includes but is not limited to: optical storage media (such as: CD-ROM and DVD),
Magnetic-optical storage medium (such as: MO), magnetic storage medium (such as: tape or mobile hard disk), with built-in rewritable non-volatile
The media (such as: storage card) of property memory and media (such as: ROM box) with built-in ROM.
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
Figure 11 is the hardware structural diagram for illustrating the terminal device according to the embodiment of the present disclosure.As shown in figure 11, the base
Equivalent device Bluetooth communication terminal 110 in cloud includes the above-mentioned equivalent device Bluetooth communication device embodiment based on cloud.
The terminal device can be implemented in a variety of manners, and the terminal device in the disclosure can include but is not limited to such as
Mobile phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer),
PMP (portable media player), navigation device, vehicle-mounted terminal equipment, vehicle-mounted display terminal, vehicle electronics rearview mirror etc.
Mobile terminal device and such as number TV, desktop computer etc. fixed terminal equipment.
As the embodiment of equivalent replacement, which can also include other assemblies.As shown in figure 11, cloud should be based on
Equivalent device Bluetooth communication terminal 110 may include power supply unit 111, wireless communication unit 112, A/V (audio/video) defeated
Enter unit 113, user input unit 114, sensing unit 115, interface unit 116, controller 117, output unit 118 and storage
Unit 119 etc..Figure 11 shows the terminal with various assemblies, it should be understood that being not required for implementing all show
Component, can also alternatively implement more or fewer components.
Wherein, wireless communication unit 112 allows the radio communication between terminal 110 and wireless communication system or network.
A/V input unit 113 is for receiving audio or video signal.The order that user input unit 114 can be inputted according to user is raw
At key input data with the various operations of controlling terminal equipment.Current state, the terminal 110 of the detection terminal 110 of sensing unit 115
Position, user it is mobile for the acceleration or deceleration of the orientation of the presence or absence of touch input of terminal 110, terminal 110, terminal 110
With direction etc., and generate order or the signal of operation for controlling terminal 110.Interface unit 116 is used as at least one
External device (ED) connect with terminal 110 can by interface.Output unit 118 is configured to vision, audio and/or tactile side
Formula provides output signal.Storage unit 119 can store the software program etc. of the processing and control operation that are executed by controller 117
Deng, or can temporarily store oneself data through exporting or will export.Storage unit 119 may include at least one type
Storage medium.Moreover, terminal 110 can be with the network storage for the store function for executing storage unit 119 by network connection
Device cooperation.The overall operation of the usual controlling terminal equipment of controller 117.In addition, controller 117 may include for reproduce or
The multi-media module of multimedia playback data.Controller 117 can be with execution pattern identifying processing, by what is executed on the touchscreen
Handwriting input or picture draw input and are identified as character or image.Power supply unit 111 receives outer under the control of controller 117
Portion's electric power or internal power and electric power appropriate needed for each element of operation and component are provided.
The various embodiments for the equivalent device Bluetooth communication method based on cloud 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 cloud equivalent device 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 equivalent device Bluetooth communication method based on cloud that the disclosure proposes
Various embodiments can be implemented in controller 77.The equivalent device based on cloud proposed for software implementation, the disclosure
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 119 and be executed by controller 117.
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.