Summary of the invention
In a first aspect, the embodiment of the present disclosure provides a kind of Bluetooth communication method based on cloud scheduling, comprising:
Connection request is sent to cloud, requests the second equipment of bluetooth connection;Scan the first broadcast singal, first broadcast
Signal is the broadcast singal that Bluetooth gateway simulates that the second equipment issues, and first broadcast singal has the information of the second equipment;
First broadcast singal is arrived in response to scanning, uses bluetooth connection to the Bluetooth gateway.
Further, the transmission connection request requests the second equipment of bluetooth connection to cloud, comprising: sends second and sets
Standby MAC Address is to cloud, with the connection status of determination second equipment.
Further, the first broadcast singal of the scanning, first broadcast singal are that Bluetooth gateway simulates the second equipment
The broadcast singal of sending, first broadcast singal have the information of the second equipment, comprising: scanning is with the second equipment MAC
First broadcast singal of location, first broadcast singal are that Bluetooth gateway is issued by first service the second equipment of simulation.
Further, described to arrive first broadcast singal in response to scanning, using bluetooth connection to the Bluetooth gateway,
It include: to use Bluetooth gateway described in bluetooth connection in response to scanning to the first broadcast singal with the second device mac address
On first service.
Second aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication method based on cloud scheduling, comprising:
The connection request of the first equipment transmission is received, includes the information of the second equipment in the connection request;According to described
The information of second equipment inquires the connection status of second equipment;Scheduling queue is added in first equipment, triggering is primary
Scheduling;It is scheduled in response to first equipment, link order is sent to Bluetooth gateway, connects the Bluetooth gateway using bluetooth
Connect first equipment and second equipment.
Further, described that scheduling queue is added in first equipment, and trigger primary scheduling, comprising: by described the
Scheduling queue is added in the User ID of one equipment, judges the priority orders of first equipment and third equipment, wherein described the
Three equipment are the equipment being presently attached in second equipment.
Further, described scheduled in response to first equipment, link order is sent to Bluetooth gateway, makes the indigo plant
Tooth gateway uses the first equipment and second equipment described in bluetooth connection, comprising: when the priority of the first equipment is higher than institute
State the priority of third equipment, send link order to Bluetooth gateway, make the Bluetooth gateway connect first equipment and
Second equipment.
Further, in the information according to second equipment, the connection status of second equipment is inquired, is also wrapped
It includes: the User ID of first equipment is authenticated, if the authentication is passed, according to the information of second equipment, inquiry
The connection status of second equipment.
Further, described scheduled in response to first equipment, link order is sent to Bluetooth gateway, makes the indigo plant
After tooth gateway is using the first equipment and second equipment described in bluetooth connection, further includes: generate timer, calculate first
The Connection Time of equipment and the second equipment.
Further, after the generation timer, further includes: when the time of timer is more than threshold value, transmission, which disconnects, to be referred to
Bluetooth gateway is enabled, the Bluetooth gateway is made to disconnect the connection with first equipment.
The third aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication method based on cloud scheduling, comprising:
The link order that cloud is sent is received, includes the information of the second equipment in the link order;
Create first service, the second equipment described in information simulation of the first service using second equipment;
The first equipment is received to the connection request of second equipment, first equipment is connected to the first service
On.
Fourth aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on cloud scheduling, comprising:
First sending module requests the second equipment of bluetooth connection for sending connection request to cloud;
First scan module, for scanning the first broadcast singal, first broadcast singal is Bluetooth gateway simulation second
The broadcast singal that equipment issues, first broadcast singal have the information of the second equipment;
First link block uses bluetooth connection to the bluetooth for arriving first broadcast singal in response to scanning
Gateway.
Further, first sending module, for sending the MAC Address of the second equipment to cloud, described in determination
The connection status of second equipment.
Further, first scan module, for scanning the first broadcast singal for having the second device mac address,
First broadcast singal is that Bluetooth gateway is issued by first service the second equipment of simulation.
Further, first link block, for wide to first with the second device mac address in response to scanning
Signal is broadcast, on the first service using Bluetooth gateway described in bluetooth connection.
5th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on cloud scheduling, comprising:
First receiving module is set in the connection request including second for receiving the connection request of the first equipment transmission
Standby information;
Enquiry module inquires the connection status of second equipment for the information according to second equipment;
Scheduler module triggers primary scheduling for scheduling queue to be added in first equipment;
Second sending module, for scheduled in response to first equipment, transmission link order makes institute to Bluetooth gateway
It states Bluetooth gateway and uses the first equipment and second equipment described in bluetooth connection.
Further, the scheduler module, for the User ID of first equipment to be added scheduling queue, described in judgement
The priority orders of first equipment and third equipment, wherein the third equipment is to be presently attached to setting in second equipment
It is standby.
Further, second sending module is higher than the excellent of the third equipment for the priority when the first equipment
First grade sends link order to Bluetooth gateway, the Bluetooth gateway is made to connect first equipment and second equipment.
Further, the enquiry module is authenticated for the User ID to first equipment, if authentication is logical
It crosses, then according to the information of second equipment, inquires the connection status of second equipment.
Further, the Bluetooth communication device based on cloud scheduling further include: timer generation module, for generating
Timer calculates the Connection Time of the first equipment and the second equipment.
Further, the Bluetooth communication device based on cloud scheduling, further includes: open command sending module is used for
It is more than threshold value when the time of the timer, sends open command and arrive Bluetooth gateway, disconnects the Bluetooth gateway and described the
The connection of one equipment.
6th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication device based on cloud scheduling, comprising:
Second receiving module includes the second equipment in the link order for receiving the link order of cloud transmission
Information;
First creation module, for creating first service, the first service uses the information simulation of second equipment
Second equipment;
Second link block, for receiving the first equipment to the connection request of second equipment, by first equipment
It is connected on the first service.
7th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on cloud scheduling, comprising: at least one
Processor;And
The memory being connect at least one described processor communication;Wherein, the memory be stored with can by it is described extremely
The instruction that a few processor executes, described instruction are executed by least one described processor, so that at least one described processing
Device is able to carry out any Bluetooth communication method based on cloud scheduling in aforementioned first aspect.
Eighth aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on cloud scheduling, comprising: at least one
Processor;And
The memory being connect at least one described processor communication;Wherein, the memory be stored with can by it is described extremely
The instruction that a few processor executes, described instruction are executed by least one described processor, so that at least one described processing
Device is able to carry out any Bluetooth communication method based on cloud scheduling in aforementioned second aspect.
9th aspect, the embodiment of the present disclosure provide a kind of Bluetooth communication equipment based on cloud scheduling, 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 the Bluetooth communication method based on cloud scheduling described in the aforementioned third aspect.
Tenth aspect, the embodiment of the present disclosure provide a kind of non-transient computer readable storage medium, which is characterized in that this is non-
Transitory computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned first aspect
In any Bluetooth communication method based on cloud scheduling.
Tenth on the one hand, and the embodiment of the present disclosure provides a kind of non-transient computer readable storage medium, which is characterized in that should
Non-transient computer readable storage medium stores computer instruction, and the computer instruction is for making computer execute aforementioned second party
Any Bluetooth communication method based on cloud scheduling 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
The Bluetooth communication method based on cloud scheduling in face.
The embodiment of the present disclosure provides a kind of Bluetooth communication method, device, electronic equipment and computer based on cloud scheduling
Readable storage medium storing program for executing.It wherein should include: to send connection request to cloud based on the Bluetooth communication method that cloud is dispatched, and request bluetooth
Connect the second equipment;The first broadcast singal is scanned, first broadcast singal is that Bluetooth gateway simulates the wide of the second equipment sending
Signal is broadcast, first broadcast singal has the information of the second equipment;First broadcast singal is arrived in response to scanning, uses indigo plant
Tooth is connected to the Bluetooth gateway.The embodiment of the present disclosure solves the problems, such as the exclusive of bluetooth equipment by the scheduling in cloud, so that
The user equipment for needing to connect bluetooth equipment can be connected in time on the bluetooth equipment of needs.
Above description is only the general introduction of disclosed technique scheme, in order to better understand the technological means of the disclosure, and
It can be implemented in accordance with the contents of the specification, and to allow the above and other objects, features and advantages of the disclosure can be brighter
Show understandable, it is special below to lift preferred embodiment, and cooperate attached drawing, detailed description are as follows.
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 flow chart for the Bluetooth communication method embodiment one based on cloud scheduling that the embodiment of the present disclosure provides, this
The Bluetooth communication device that the Bluetooth communication method that should dispatch based on cloud that embodiment provides can be dispatched by one based on cloud come
It executes, software should be can be implemented as based on the Bluetooth communication device that cloud is dispatched, or be embodied as the combination of software and hardware, it should
Bluetooth communication device based on cloud scheduling can integrate in certain equipment of setting in a communications system, such as communication terminal device
In.As shown in Fig. 2, this method comprises the following steps:
Step S201 sends connection request to cloud, and request uses the second equipment of bluetooth connection;
In this step, user equipment send connection request to cloud server, to request the scheduling in cloud, the company
The information that the second equipment is had in request is connect, second equipment is bluetooth equipment, and the information of second equipment can be ratio
MAC Address, the device type ID of such as described bluetooth equipment.In this step, the first equipment sends the MAC Address of the second equipment
To cloud, with the connection status of determination second equipment, the connection status includes the third currently connecting with the second equipment
The busy degree of User ID and the current Bluetooth connection of equipment.First equipment can be user equipment, and third equipment can be
The user equipment being presently attached in second equipment.
Step S202, scans the first broadcast singal, and first broadcast singal is that Bluetooth gateway simulates the sending of the second equipment
Broadcast singal, first broadcast singal have the second equipment information;
After user equipment has sent connection request to cloud, scanning can be opened, to scan the first broadcast singal, institute
The information that the second equipment is had in broadcast singal is stated, for example MAC Address, first broadcast singal are not the second equipment oneself
It sends out, but Bluetooth gateway simulates the broadcast singal that the second equipment is sent.In a typical application, the bluetooth
Gateway simulates the broadcast singal of the second equipment by creation first service, and the first service can be gatt server.
Step S203 arrives first broadcast singal in response to scanning, uses bluetooth connection to the Bluetooth gateway.
When qualified first broadcast singal is arrived in scanning, then user equipment starts bluetooth connection, is connected to the mould
The Bluetooth gateway of quasi- second equipment, so far connection terminates, and since Bluetooth gateway simulates the second equipment, is connected to Bluetooth gateway
It can be considered as and have been coupled in the second equipment.In a typical example, qualified first broadcast singal
The broadcast singal for referring to the MAC Address with the second equipment is to be connected to the bluetooth using Bluetooth gateway described in bluetooth connection
Service on gateway.
In this embodiment, after step S203, can also include:
Step S204 receives the open command that Bluetooth gateway is sent, and disconnects the connection with the Bluetooth gateway.
In this embodiment, since the first equipment is substantially to be connected on Bluetooth gateway, so than being directly connected to the
Two equipment are more controllable, and Bluetooth gateway can be disconnected directly, and the first equipment can disconnect the connection with the second equipment immediately, and
It avoids being directly connected to the second equipment bring uncontrollable factor.
The embodiment of the present disclosure provides a kind of Bluetooth communication method, device, electronic equipment and computer based on cloud scheduling
Readable storage medium storing program for executing.It wherein should include: to send connection request to cloud based on the Bluetooth communication method that cloud is dispatched, and request bluetooth
Connect the second equipment;The first broadcast singal is scanned, first broadcast singal is that Bluetooth gateway simulates the wide of the second equipment sending
Signal is broadcast, first broadcast singal has the information of the second equipment;First broadcast singal is arrived in response to scanning, uses indigo plant
Tooth is connected to the Bluetooth gateway.The embodiment of the present disclosure solves the problems, such as the exclusive of bluetooth equipment by the scheduling in cloud, so that
The user equipment for needing to connect bluetooth equipment can be connected in time on the bluetooth equipment of needs.
Fig. 3 is the flow chart for the Bluetooth communication method embodiment one based on cloud scheduling that the embodiment of the present disclosure provides, this
The Bluetooth communication device that the Bluetooth communication method that should dispatch based on cloud that embodiment provides can be dispatched by one based on cloud come
It executes, software should be can be implemented as based on the Bluetooth communication device that cloud is dispatched, or be embodied as the combination of software and hardware, it should
Bluetooth communication device based on cloud scheduling can integrate in certain equipment of setting in a communications system, such as in cloud device.
As shown in figure 3, this method comprises the following steps:
Step 301, the connection request that the first equipment is sent is received, includes the information of the second equipment in the connection request;
In this step, cloud receives the connection request that the first equipment is sent, and request uses the second equipment of bluetooth connection, institute
The information that the second equipment is had in connection request is stated, the information of second equipment can be the MAC of the such as described bluetooth equipment
Address, device type ID, User ID etc..
Step 302, according to the information of second equipment, the connection status of second equipment is inquired;
According to the information of the second equipment, the bluetooth connection status of current second equipment are inquired, for example can be used second and set
Standby MAC Address or User ID inquire whether current second equipment has been connected by other equipment, if connected,
Then determine the User ID and current Bluetooth connection busy degree of the third equipment being currently connected in second equipment.
Step 303, scheduling queue is added in first equipment, and triggers primary scheduling;
A scheduling queue is safeguarded in cloud, is the user that all requests carry out bluetooth connection with the second equipment in scheduling queue
The User ID is added in scheduling queue the User ID of equipment equipment, and triggers primary scheduling, wherein the scheduling can be with
Based on scheduling strategy.Scheduling strategy herein can be priority-based, for example, user equipment A wants connection bluetooth
Equipment C, but user equipment B is communicated with bluetooth equipment C at this time, when triggering scheduling, judges that user equipment A is set with user
The priority of standby B, if the priority of user equipment A is higher than user equipment B, directly interruption user equipment B and bluetooth equipment C
Communication, scheduling user's set A communicates with bluetooth equipment C, if user equipment A is identical as the priority of user equipment B, sentences
Whether the communication of disconnected user equipment B and bluetooth equipment C is in idle, if being in idle, scheduling user's set A is set with bluetooth
Standby C is communicated.Above-mentioned scheduling strategy is only to illustrate, and is not limited to above-mentioned strategy in actual use.
Step 304, scheduled in response to first equipment, link order is sent to Bluetooth gateway, makes the bluetooth network
It closes using the first equipment and second equipment described in bluetooth connection.
If in scheduling in step 303, determining that the first equipment is scheduled, then cloud sends link order to bluetooth network
It closes, Bluetooth gateway is made to use the first equipment and second equipment described in bluetooth connection.May include in the link order
The MAC Address of second equipment is set so that the Bluetooth gateway simulates the second equipment using the MAC Address to connect first
It is standby.
Step 302, it may further include:
The User ID of first equipment is authenticated, if the authentication is passed, according to the information of second equipment,
Inquire the connection status of second equipment.
That is first the User ID of the first equipment is authenticated before the connection status for inquiring second equipment,
With guarantee the user of first equipment have permission connection the second equipment, if by authentication, continue to execute after the step of.
After the step 304, can also include:
Step 305, timer is generated, the Connection Time of the first equipment and the second equipment is calculated;
Step 306, it is more than threshold value when the time of counter, then sends open command to Bluetooth gateway, make the bluetooth network
The connection with first equipment is opened in shutdown.
After step 306, can also include:
Step 307, the first scheduling of triggering updates the timer if the first current equipment is scheduled again;
Otherwise open command is sent to the Bluetooth gateway.
In the case where first equipment has been coupled to Bluetooth gateway, another triggers scheduling, repeats at this time
Used strategy when scheduling is stated, which equipment judgement should currently dispatch, if the first current equipment is scheduled again,
The timer then can be directly updated, in a typical application, is set if current scheduling does not dispatch described first
It is standby, but scheduled other equipment, then cloud sends open command to Bluetooth gateway, to disconnect the first equipment and the bluetooth network
The connection of pass.The above process is illustrated, the timer effective time is 45 seconds, and the dispatching cycle in cloud is 30 seconds, then
When triggering scheduling, the currently scheduled equipment of judgement, if being still first equipment, by the effective of the timer
Time is updated to 45 seconds, if not first equipment, then sends open command to Bluetooth gateway, make the first equipment with it is described
Bluetooth gateway disconnects.
In this embodiment, the Bluetooth communication method based on cloud scheduling can further include following steps:
Before step 301, can also include:
The reporting message of one or more Bluetooth gateways is received, includes that the Bluetooth gateway is managed in the reporting message
Bluetooth equipment and its connection status;
Wherein, when the state of the bluetooth equipment managed when Bluetooth gateway changes, Bluetooth gateway can be on cloud
The state change of its bluetooth equipment is reported, such as the equipment for being connected to the connection of Bluetooth gateway, disconnection and Bluetooth gateway, currently connecting
Etc..
Fig. 4 is the flow chart for the Bluetooth communication method embodiment one based on cloud scheduling that the embodiment of the present disclosure provides, this
The Bluetooth communication device that the Bluetooth communication method that should dispatch based on cloud that embodiment provides can be dispatched by one based on cloud come
It executes, software should be can be implemented as based on the Bluetooth communication device that cloud is dispatched, or be embodied as the combination of software and hardware, it should
Bluetooth communication device based on cloud scheduling can integrate in certain equipment of setting in a communications system, such as Bluetooth gateway equipment
In.As shown in figure 4, this method comprises the following steps:
Step 401, the link order that cloud is sent is received, includes the information of the second equipment in the link order;
The step occurs after dispatching beyond the clouds, and when first equipment is scheduled, cloud sends link order to indigo plant
Tooth gateway includes the information of the second equipment, such as the MAC Address of the second equipment in the link order, it is possible to understand that, it is described
It can also include the MAC Address of the first equipment in link order, so that Bluetooth gateway determines which equipment can connect.
Step 402, first service is created, second sets described in information simulation of the first service using second equipment
It is standby;
After receiving the link order, the Bluetooth gateway is localling create first service, the first service
The second equipment is simulated using second facility information, in a typical application, the Bluetooth gateway is receiving cloud
After the link order of transmission, a gatt server is being locallyd create, and use the second equipment in the link order
MAC Address simulates second equipment and sends the first broadcast singal, has second equipment in first broadcast singal
MAC Address.It can also include the MAC Address of the first equipment for more secure attachment, in the link order, described first
It include the MAC Address of the first equipment and the MAC Address of the second equipment in broadcast singal, when the scanning of the first equipment is first wide to this
When broadcasting signal and connecting second equipment, need to send the MAC Address of oneself, to determine the matching of MAC Address.
Step 403, the first equipment is received to the connection request of second equipment, first equipment is connected to described
On first service;
When receiving the first equipment to the connection request of second equipment, first equipment is connected to by Bluetooth gateway
On the first service, Bluetooth communication is carried out to simulate the second equipment and the first equipment.It is all later from the first equipment to second
The data of equipment, are forwarded by Bluetooth gateway, are exactly logical with the second equipment progress bluetooth from the perspective of the first equipment
Letter.
Technical solution in through the foregoing embodiment, the bluetooth connection between the first equipment and the second equipment is by bluetooth network
The control of pass directly controls Bluetooth gateway in this way when needing to disconnect the bluetooth connection between the first equipment and the second equipment
, when preventing from being directly connected to the second equipment to the first equipment, the first equipment of instruction is disconnected, and the first equipment is possible to not
Controlled situation keeps the controllability of the connection of bluetooth equipment stronger.
Fig. 5 is the overall flow figure for the Bluetooth communication system based on cloud scheduling that the embodiment of the present disclosure provides, such as Fig. 5 institute
Show, whole system includes user equipment, 4 part of cloud, Bluetooth gateway and bluetooth equipment.In the communication system, work as user
When equipment wants connection bluetooth equipment, the connection request of bluetooth equipment is sent to cloud, the cloud is inquired and is presently attached to indigo plant
The User ID of equipment in tooth equipment, and the User ID of user equipment is put into scheduling queue, primary scheduling is triggered, if with
Family equipment is scheduled, then cloud sends link order to the Bluetooth gateway, and the Bluetooth gateway simulates the bluetooth equipment hair
Broadcast singal is sent, when user equipment scans are to the broadcast singal, is connected to the Bluetooth gateway, later user equipment to bluetooth
The data of equipment and the data of bluetooth equipment to user equipment are forwarded via Bluetooth gateway, when be dispatched to other equipment or
After the connection of user equipment expires, cloud sends open command to the Bluetooth gateway, Bluetooth gateway directly disconnect with it is described
The connection of user equipment.
Fig. 6 is the structural representation for 60 embodiment one of Bluetooth communication device based on cloud scheduling that the embodiment of the present disclosure provides
Figure, as shown in fig. 6, the device includes: the first sending module 61, the first scan module 62, the first link block 63.Wherein,
First sending module 61 requests the second equipment of bluetooth connection for sending connection request to cloud;
First scan module 62, for scanning the first broadcast singal, first broadcast singal is Bluetooth gateway simulation the
The broadcast singal that two equipment issue, first broadcast singal have the information of the second equipment;
First link block 63 uses bluetooth connection to the indigo plant for arriving first broadcast singal in response to scanning
Tooth gateway.
Further, first sending module 61, for sending the MAC Address of the second equipment to cloud, to determine
State the connection status of the second equipment.
Further, first scan module 62, for scanning the first broadcast letter for having the second device mac address
Number, first broadcast singal is that Bluetooth gateway is issued by first service the second equipment of simulation.
Further, first link block 63, in response to scanning to first with the second device mac address
Broadcast singal, on the first service using Bluetooth gateway described in bluetooth connection.
The method that Fig. 6 shown device can execute embodiment illustrated in fig. 2, the part that the present embodiment is not described in detail can join
Examine the related description to embodiment illustrated in fig. 2.In implementation procedure and the technical effect embodiment shown in Figure 2 of the technical solution
Description, details are not described herein.
In 70 embodiment two of Bluetooth communication device based on cloud scheduling that the embodiment of the present disclosure provides, as shown in fig. 7,
The Bluetooth communication device 70 based on cloud scheduling includes: the first receiving module 71, enquiry module 72, scheduler module 73, the
Two sending modules 74.Wherein,
First receiving module 71 includes second in the connection request for receiving the connection request of the first equipment transmission
The information of equipment;
Enquiry module 72 inquires the connection status of second equipment for the information according to second equipment;
Scheduler module 73 triggers primary scheduling for scheduling queue to be added in first equipment;
Second sending module 74, for scheduled in response to first equipment, transmission link order makes to Bluetooth gateway
The Bluetooth gateway uses the first equipment and second equipment described in bluetooth connection.
Further, the scheduler module 73 judges institute for scheduling queue to be added in the User ID of first equipment
The priority orders of the first equipment Yu third equipment are stated, wherein the third equipment is to be presently attached in second equipment
Equipment.
Further, second sending module 74 is higher than the third equipment for the priority when the first equipment
Priority sends link order to Bluetooth gateway, the Bluetooth gateway is made to connect first equipment and second equipment.
Further, the enquiry module 72 is authenticated for the User ID to first equipment, if authentication is logical
It crosses, then according to the information of second equipment, inquires the connection status of second equipment.
Further, the Bluetooth communication device 70 based on cloud scheduling further include:
Timer generation module 75 calculates the Connection Time of the first equipment and the second equipment for generating timer.
One step, the Bluetooth communication device 70 based on cloud scheduling, further includes:
Open command sending module 76 is more than threshold value for the time when the timer, sends open command to bluetooth
Gateway makes the Bluetooth gateway disconnect the connection with first 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 two of Bluetooth communication device based on cloud scheduling that the embodiment of the present disclosure provides, as shown in figure 8,
The Bluetooth communication device 80 based on cloud scheduling includes: the second receiving module 81, the first creation module 82, second connection mould
Block 83.Wherein,
Second receiving module 81 includes second setting for receiving the link order of cloud transmission, in the link order
Standby information;
First creation module 82, for creating first service, the first service uses the information mould of second equipment
Intend second equipment;
Second link block 83 is set for receiving the first equipment to the connection request of second equipment by described first
It is standby to be connected on the first service.
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
The electronic equipment 90 execute each embodiment of the disclosure above-mentioned based on cloud scheduling Bluetooth communication method whole or portion
Step by step.
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
Hold all or part of the steps of the Bluetooth communication method of scheduling.
Above-mentioned computer readable storage medium 100 includes but is not limited to: optical storage media (such as: CD-ROM and DVD),
Magnetic-optical storage medium (such as: MO), magnetic storage medium (such as: tape or mobile hard disk), with built-in rewritable non-volatile
The media (such as: storage card) of property memory and media (such as: ROM box) with built-in ROM.
Being described in detail in relation to the present embodiment can be with reference to the respective description in foregoing embodiments, and details are not described herein.
Figure 11 is the hardware structural diagram for illustrating the terminal device according to the embodiment of the present disclosure.As shown in figure 11, the base
Include the above-mentioned Bluetooth communication device embodiment based on cloud scheduling in the Bluetooth communication terminal 110 of cloud scheduling.
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
The Bluetooth communication terminal 110 of scheduling may include power supply unit 111, wireless communication unit 112, A/V (audio/video) input list
Member 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 groups shown
Part 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 Bluetooth communication method based on cloud scheduling that the disclosure proposes, which can be used, for example to be calculated
The computer-readable medium of machine software, hardware or any combination thereof is implemented.For hardware implement, the disclosure propose based on cloud
Hold the various embodiments of the Bluetooth communication method of scheduling can be by using application-specific IC (ASIC), digital signal
Processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), processor, controller, microcontroller, microprocessor, be designed in the electronic unit for executing function described herein
At least one implement, in some cases, the various realities for the Bluetooth communication method based on cloud scheduling that the disclosure proposes
The mode of applying can be implemented in controller 77.For software implementation, the Bluetooth communication side based on cloud scheduling of disclosure proposition
The various embodiments of method can be implemented with the individual software module that allows to execute at least one functions or operations.Software generation
Code can be implemented by the software application (or program) write with any programming language appropriate, and software code can store
It is executed in storage unit 119 and 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.