CN109587666A - Bluetooth equipment, system and dispatching method - Google Patents
Bluetooth equipment, system and dispatching method Download PDFInfo
- Publication number
- CN109587666A CN109587666A CN201811400686.8A CN201811400686A CN109587666A CN 109587666 A CN109587666 A CN 109587666A CN 201811400686 A CN201811400686 A CN 201811400686A CN 109587666 A CN109587666 A CN 109587666A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- data
- receiving device
- equipment
- time slot
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/06—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
- H04W28/065—Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/04—Wireless resource allocation
- H04W72/044—Wireless resource allocation based on the type of the allocated resource
- H04W72/0446—Resources in time domain, e.g. slots or frames
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/12—Wireless traffic scheduling
- H04W72/1263—Mapping of traffic onto schedule, e.g. scheduled allocation or multiplexing of flows
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/15—Setup of multiple wireless link connections
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to technical field of bluetooth communication, specifically disclose a kind of Bluetooth system, bluetooth equipment and bluetooth schedule method, which includes: that the main receiving device of bluetooth executes the data that one can make source data equipment not send data in rear N number of time slot in the reception time slot of source data equipment and sends operation;In the sending time slots of source data equipment, the main receiving device of bluetooth receives the equipment room data that the main receiving device of bluetooth is sent to data between bluetooth time receiving device sending device, bluetooth time receiving device;In the reception time slot of source data equipment, bluetooth time receiving device receives the equipment room data that bluetooth time receiving device is sent to data between the main receiving device sending device of bluetooth, the main receiving device of bluetooth.The data transmission when bluetooth time receiving device is under listening mode, between the main receiving device of bluetooth and bluetooth time receiving device may be implemented in bluetooth equipment, Bluetooth system and bluetooth schedule method provided by the invention.
Description
Technical field
The present invention relates to technical field of bluetooth communication, specially bluetooth equipment, system and dispatching method.
Background technique
Bluetooth is a kind of wireless technology standard, it can be achieved that short between fixed equipment, mobile device and building personal area network
Range data exchanges, and includes a bluetooth master (Master) and Bluetooth slave devices (Slave), bluetooth in a Bluetooth link
Network provides clock by bluetooth master, and the frequency jumped using per second 1600 carries out frequency hopping communications.In the definition of Bluetooth specification
It include the concept of time slot (Slot), a time slot is 1/1600 second, i.e. 625us, and the time slot of bluetooth includes successively being alternately present
MS master-slave time slot (Master-to-Slave time slot) and from-main time slot (Slave-to-Master time slot), in MS master-slave time slot
In, bluetooth master sends data to Bluetooth slave devices, and from-main time slot, Bluetooth slave devices send number to bluetooth master
According to.And in blueteeth network, data transmission is always sent out in MS master-slave time slot to Bluetooth slave devices transmission data from bluetooth master
It rises, Bluetooth slave devices terminate from-main time slot response data.
In application scenes, need data output source by Bluetooth transmission to two or above equipment, such as
Stereophone needs the playback equipment of left and right acoustic channels to be required to receive the signal of data source, and then realizes the effect being played simultaneously
Fruit.In the prior art, it when receiving data, is typically only capable to be set by the playback equipment of one of sound channel as the main reception of bluetooth
It is standby, receive the data of data output source transmission.Then by the data by the wireless transmission protocol of other non-bluetooths, such as near field magnetic
Induction technology (NFMI) or customized Bluetooth protocol, being transmitted to the playback equipment of another sound channel, (i.e. bluetooth time is received and is set
It is standby) in.
But existing this scheme, the forwarding for needing that the main receiving device of bluetooth is allowed to do a data undoubtedly will increase indigo plant
The power consumption of the main receiving device of tooth, and former mode needs to introduce additional radio-frequency technique, will increase system cost and design
Difficulty.Latter approach needs that (bluetooth time is received and set in the main receiving device of bluetooth and data-source device and another playback equipment
It is standby) between establish two independent Bluetooth links simultaneously, due between the main receiving device of bluetooth and data source and bluetooth master connects
There are a large amount of data to transmit between receiving unit and bluetooth time receiving device, two Bluetooth links will increase the main receiving device of bluetooth
Power consumption and its scheduling cost between both links.The increase of scheduling cost means that a possibility that scheduling collides can increase
Add, such case is simultaneously especially Bluetooth slave devices role in two Bluetooth links in the main receiving device of bluetooth, or one
When being bluetooth master role and be Bluetooth slave devices role in another Bluetooth link in Bluetooth link, embodiment is especially
Obviously.
In order to reduce the data volume that the main receiving device of bluetooth needs to forward, applicant proposed a kind of setting bluetooths time to receive
Equipment to obtain the technical solution of data source output data is exactly in bluetooth master specifically in the operating mode of data interception
While receiving device and data-source device establish Bluetooth link, by the parameter of Bluetooth link, such as: bluetooth clock, bluetooth master are set
The bottoms such as standby and Bluetooth slave devices Bluetooth address, the 3BIT logical address from equipment, frequency hop sequences, connection key, coded key
Layer Bluetooth protocol parameter and L2CAP, RFCOMM, Handfree, A2DP etc. upper layers Bluetooth protocol parameter, is sent to bluetooth time and receives
Equipment, after bluetooth time receiving device is according to corresponding parameter configuration, frequency hop sequences and bluetooth clock of bluetooth time receiving device etc.
Will be fully synchronized with the main receiving device of bluetooth and data-source device, and then can be as the main receiving device of bluetooth, with prison
The mode listened receives the data from data source, realizes that synchrodata receives.Although this mode solves the main reception of bluetooth and sets
The problem of standby forwarding source data, but usually need to transmit some equipment between the main receiving device of bluetooth and bluetooth time receiving device
Between information, such as data reiving/transmitting state, whether packet loss, volume setting instruction, switching on and shutting down instruction, and due to bluetooth time in the program
Receiving device frequency hop sequences and bluetooth clock etc. and the main receiving device of bluetooth and data-source device are fully synchronized, thus bluetooth master
There is no independent clock and frequency-hopping sequences between receiving device and bluetooth time receiving device, therefore independence can not be carried out between the two
Data transmission.Which limits the development of this listening mode, and also exactly therefore, most of bluetooth headsets use in the market
Be it is above-mentioned by the main receiving device of bluetooth by customized bluetooth or the scheme of other protocol forward data, solve this monitoring
Data transmission problems under mode are of great significance for the promotion and application of the program.
Summary of the invention
The invention is intended to provide a kind of bluetooth schedule method, the main receiving device of bluetooth, bluetooth time receiving device and bluetooth
System may be implemented when bluetooth time receiving device is under listening mode, the main receiving device of bluetooth and bluetooth time receiving device
Between data transmission.
In order to solve the above-mentioned technical problem, the application provides the following technical solutions:
A kind of bluetooth schedule method, it is characterised in that: include:
S100: the main receiving device of bluetooth, which executes one in the reception time slot of source data equipment, can make source data equipment exist
The data for not sending data in N number of time slot afterwards send operation;
S200: the main receiving device of bluetooth completes data transmission with bluetooth time receiving device in rear M time slot;
The S200 includes:
S200-1: the sending time slots of the source data equipment in rear M time slot, the main receiving device of bluetooth are received to bluetooth time
Data between equipment sending device, bluetooth time receiving device receive the equipment room data that the main receiving device of bluetooth is sent;
S200-2: the reception time slot of the source data equipment in rear M time slot, bluetooth time receiving device is to the main reception of bluetooth
Data between equipment sending device, the main receiving device of bluetooth receive the equipment room data that bluetooth time receiving device is sent.
It illustrates:
Sending time slots: being MS master-slave time slot for bluetooth master, for from-main time slot for Bluetooth slave devices;
Receive time slot: from-main time slot, to be MS master-slave time slot for Bluetooth slave devices for bluetooth master.
Having the beneficial effect that for technical solution of the present invention sends operation by the data of the main receiving device of bluetooth, can make
Source data equipment does not send data in rear N number of time slot, and then again in subsequent time slot, the main receiving device of bluetooth is set in source data
Data between standby sending time slots sending device can receive indigo plant since secondary receiving device monitors always source data equipment
The equipment room data that the main receiving device of tooth is sent, then bluetooth time receiving device is just in next time slot, i.e. source data equipment
It receives in time slot, the equipment room data answered is sent back into network, due to the data packet format of equipment room data and the indigo plant of standard
Tooth packet format is different, therefore, although source data equipment is in receive time slot and can receive bluetooth time receiving device and sends at this time
Data, but this data packet will not be detected by the filtering of source data equipment, therefore will not be impacted to source data equipment,
And then realize the data transmission between the main receiving device of bluetooth and bluetooth time receiving device.In technical scheme, although
Bluetooth time receiving device is listening mode, does not have independent bluetooth chain between the main receiving device of bluetooth and bluetooth time receiving device
Road, but pass through the scheduling of the main receiving device of bluetooth, so that source data equipment will not connect the main receiving device of bluetooth and bluetooth time
Data transmission between receiving unit interferes, and realizes independent number between the main receiving device of bluetooth and bluetooth time receiving device
According to transmission.
Further, the source data equipment is bluetooth master, and the main receiving device of bluetooth is Bluetooth slave devices, described
Data in M=N, the S100 send operation
The main receiving device of bluetooth sends a data packet head and gives source data equipment from-main time slot, and in data packet head
The domain TYPE in specify the corresponding data packet of the data packet head to occupy N+1 time slot.
When source data equipment is bluetooth master, the main receiving device of bluetooth is Bluetooth slave devices, source data equipment is grasped
The communication scheduling power of entire blueteeth network, at this time if the main receiving device of bluetooth there is no permission schedule network resources reach with
Secondary receiving device carries out the purpose of independent communication;In the application, allow the main receiving device of bluetooth as Bluetooth slave devices to source
Data equipment has sent the domain a TYPE middle finger and determines the data packet head that the corresponding data packet of data packet head occupies N+1 time slot, leads to
The data packet head is crossed, source data equipment can be cheated, allows it to enter data receiving state, so that it is when subsequent N number of
Data are no longer sent out in gap, and then the main receiving device of bluetooth and bluetooth time receiving device can be completed in this N number of time slot
The communication of equipment room data.The method that this programme cheats source data equipment by the domain TYPE of data packet head, so that without network
The main receiving device of bluetooth of scheduling of resource power can dispatch the transmission behavior of source data equipment, reach communication objective.
Further, the sending time slots of the source data equipment in the S200-1 are MS master-slave time slot, the source in the S200-2
The reception time slot of data equipment is from-main time slot.
Further, the main receiving device of the bluetooth is bluetooth master, and the source data equipment is Bluetooth slave devices, described
Data in N=1, the S100 send operation
The main receiving device of bluetooth does not send data to source data equipment in MS master-slave time slot.
When the main receiving device of bluetooth is bluetooth master, the resource of entire blueteeth network can be dispatched, when it is in master-
When not sending data to source data equipment from time slot, source data equipment would not send data in the latter time slot, and then reach
Stop the purpose that source data equipment sends data.
Further, the sending time slots of the source data equipment in the S200-1 are the source from-main time slot, the S200-2
The reception time slot of data equipment is MS master-slave time slot.
The present invention also provides a kind of main receiving devices of bluetooth, including scheduler module, the first sending module and first to receive
Module, the scheduler module can be when needing to carry out the transmission of equipment room data with bluetooth time receiving device to source data equipment
Data send behavior and are scheduled, and reception time slot of the scheduling by the first sending module of control in source data equipment executes one
A data that source data equipment can be made not send data in rear N number of time slot send operation and realize, first sending module
For sending data to source data equipment, first receiving module is used to receive the data of source data equipment transmission, and described the
One sending module is also used to the sending time slots in source data equipment to data between bluetooth time receiving device sending device, and described first
Receiving module is also used to receive the equipment room data that bluetooth time receiving device is sent in the time slot that receives of source data equipment.
Further, the scheduler module includes data packet head generation module, and the data packet head generation module can generate
One data packet head, and specify the corresponding data packet of the data packet head to occupy N+1 time slot in the domain TYPE of data packet head,
The data send operation to send the data packet head that data packet head generation module generates.
Further, the scheduler module includes empty generation module, and the sky sending module is used to need to connect with bluetooth time
The first sending module, which is controlled, when receiving unit progress equipment room data transmission does not send data in the reception time slot of source data equipment.
The present invention also provides a kind of bluetooth time receiving device, the bluetooth time receiving device is set with the main reception of above-mentioned bluetooth
Standby to be used cooperatively, the bluetooth time receiving device includes the second sending module and the second receiving module, second receiving module
The data of source data equipment or the main receiving device transmission of bluetooth, second hair are received for the sending time slots in source data equipment
Module is sent to be used for after receiving the equipment room data that the main receiving device of bluetooth is sent, in next reception of source data equipment
Gap is to data between the main receiving device sending device of bluetooth.
The present invention also provides a kind of Bluetooth systems, receive including the above-mentioned main receiving device of bluetooth and above-mentioned bluetooth time
Equipment.
Detailed description of the invention
Fig. 1 is the timing diagram of the Bluetooth data transfer process of mobile phone, main earphone and secondary earphone in the embodiment of the present invention one:
Fig. 2 is the timing diagram of the Bluetooth data transfer process of mobile phone, main earphone and secondary earphone in the embodiment of the present invention one.
Specific embodiment
It is further described below by specific embodiment:
Embodiment one
Present embodiment discloses a kind of Bluetooth system, which includes that the main receiving device of a bluetooth and a bluetooth time connect
Receiving unit, which needs to collectively constitute a blueteeth network with source data equipment, in this blueteeth network, the main reception of bluetooth
Equipment is bluetooth master, and source data equipment is Bluetooth slave devices, and bluetooth time is received as audiomonitor, bluetooth time receiving device
Listening state is had been configured as, some Bluetooth link parameters of the main receiving device of bluetooth, including bluetooth clock, indigo plant are synchronized
The Bluetooth address of tooth main equipment and Bluetooth slave devices, the 3BIT logical address from equipment, frequency hop sequences, connection key, coding are close
The upper layers such as the underlying Bluetooth protocols such as key parameter and L2CAP, RFCOMM, Handfree, A2DP Bluetooth protocol parameter etc..In order to save
Energy, bluetooth time receiving device only monitor the data of the sending time slots of source data equipment.
For the scheme of clearer open the application, the present embodiment also discloses the main receiving device of bluetooth and bluetooth time connects
Receiving unit, specific:
The main receiving device of bluetooth includes scheduler module, the first sending module and the first receiving module, and scheduler module can be
Behavior is sent to the data of source data equipment when needing to carry out the transmission of equipment room data with bluetooth time receiving device to be scheduled, and is adjusted
Degree, which executes one in the reception time slot of source data equipment by the first sending module of control, can make source data equipment when rear N number of
The data for not sending data in gap send operation and realize, scheduler module includes that module occurs for sky, and empty sending module is for needing
With bluetooth time receiving device controlled when the transmission of equipment room data the first sending module source data equipment reception time slot not
Send data.
First sending module is used to send data to source data equipment, and the first receiving module is for receiving source data equipment hair
The data sent, the first sending module are also used to count in the sending time slots of source data equipment between bluetooth time receiving device sending device
According to the first receiving module is also used to receive the equipment room number that bluetooth time receiving device is sent in the time slot that receives of source data equipment
According to.
Bluetooth time receiving device is used cooperatively with the main receiving device of above-mentioned bluetooth, and bluetooth time receiving device includes the second transmission
Module and the second receiving module, the second receiving module are used to receive source data equipment or bluetooth in the sending time slots of source data equipment
The data that main receiving device is sent, the second sending module are used in the equipment room data for receiving the main receiving device transmission of bluetooth
Afterwards, in next reception time slot of source data equipment to data between the main receiving device sending device of bluetooth.
A kind of bluetooth schedule method matched with above system is also disclosed in the present embodiment, this method includes following step
It is rapid:
S100: the main receiving device of bluetooth, which executes one in the reception time slot of source data equipment, can make source data equipment exist
The data for not sending data in 1 time slot afterwards send operation;
S200: the main receiving device of bluetooth completes data transmission with bluetooth time receiving device in rear M time slot;
Data in the S100 send operation
The main receiving device of bluetooth does not send data to source data equipment in MS master-slave time slot.
The S200 includes:
S200-1: the sending time slots of the source data equipment in rear M time slot, the main receiving device of bluetooth are received to bluetooth time
Data between equipment sending device, bluetooth time receiving device receive the equipment room data that the main receiving device of bluetooth is sent;
S200-2: the reception time slot of the source data equipment in rear M time slot, bluetooth time receiving device is to the main reception of bluetooth
Data between equipment sending device, the main receiving device of bluetooth receive the equipment room data that bluetooth time receiving device is sent.
The number of communications of the main receiving device of the size of M bluetooth as needed and bluetooth time receiving device determines that M is preferably even
Number, after ensuring that the main receiving device of bluetooth sends data, bluetooth time receiving device can send receipt data.
The sending time slots of source data equipment in S200-1 are the source data equipment from-main time slot, the S200-2
Reception time slot is MS master-slave time slot.
When the main receiving device of bluetooth is bluetooth master, the resource of entire blueteeth network can be dispatched, when it is in master-
When not sending data to source data equipment from time slot, source data equipment would not send data in the latter time slot, and then reach
Stop the purpose that source data equipment sends data.
In the present embodiment, by taking bluetooth headset and mobile phone as an example, as shown in Figure 1, for convenience of describe, we by time slot according to
Time sequencing is successively labeled as time slot 1 to time slot 8, after bluetooth headset and mobile phone networking, an earphone as main receiving device,
It is referred to as to be main earphone in the present embodiment, another earphone is used as time receiving device, is referred to as time earphone, mobile phone conduct in this implementation
Source data equipment, bluetooth master of the main earphone as entire blueteeth network, mobile phone pass through suitable as Bluetooth slave devices, secondary earphone
When audiomonitor of the synchronous configuration as blueteeth network, secondary earphone is configured as listening only to the data of the sending time slots of mobile phone,
The synchronous data monitoring mobile phone and issuing while to save power consumption.
Time slot 1 is a MS master-slave time slot, and in this timeslot, main earphone is sent to one data packet of mobile phone, while mobile phone connects
Have received the data packet.
Time slot 2 is one from-main time slot, and in this timeslot, mobile phone has sent a data packet, while main earphone is as blue
Tooth main equipment has received the data packet, and secondary earphone also has received the data packet as listener, if the data packet is sound
Frequency evidence, then main earphone and time earphone can synchronous cants.
Time slot 3 is a MS master-slave time slot, in this timeslot, is sent to time earphone since main earphone needs data, as
The main earphone of bluetooth master does not send any data at this time.At this point, the hand due to being MS master-slave time slot, as Bluetooth slave devices
Machine opens its receiver.Obviously mobile phone not will receive any data in time slot 3, this also leads to it when next
Any data are not sent in gap 4.
Time slot 4 is one from-main time slot, and in this timeslot, secondary earphone will do it monitoring, data between main earphone sending device
To secondary earphone, secondary earphone can receive the equipment room data for carrying out autonomous earphone;
Time slot 5 be a MS master-slave time slot, in this timeslot, the main earphone as bluetooth master do not send data but
The equipment room data for waiting time earphone to reply.So in this timeslot, from data between earphone sending device, while main earphone connects
Receive this data.In addition, the mobile phone as Bluetooth slave devices can also open its receiver simultaneously since time slot 5 is MS master-slave time slot.
But due to the data packet of equipment room data is different from the format of standard bluetooth packet, this data packet will not pass through handset receiver
The detection of filtering, therefore mobile phone can close its receiver until next MS master-slave time slot;
In time slot 6, transmitted without any data;
In time slot 7 and time slot 8, main earphone and mobile phone restore normal bluetooth data communication.
Embodiment two
Bluetooth system in the present embodiment includes the main receiving device of a bluetooth and a bluetooth time receiving device, the system
It needs to collectively constitute a blueteeth network with source data equipment.
What is different from the first embodiment is that source data equipment is bluetooth master, the main reception of bluetooth in this blueteeth network
Equipment is Bluetooth slave devices, and bluetooth time receiving device is audiomonitor, and bluetooth time receiving device has been configured as listening state,
Its some Bluetooth link parameter for being synchronized the main receiving device of bluetooth, including bluetooth clock, bluetooth master and Bluetooth slave devices
Bluetooth address, the 3BIT logical address from equipment, frequency hop sequences, connection key, the underlying Bluetooth protocols parameter such as coded key
With the upper layers Bluetooth protocol parameter such as L2CAP, RFCOMM, Handfree, A2DP etc..In order to save energy, bluetooth time receiving device
Only monitor the data of the sending time slots of source data equipment.
For the scheme of clearer open the application, the present embodiment also discloses the main receiving device of bluetooth and bluetooth time connects
Receiving unit, specific:
The main receiving device of bluetooth includes scheduler module, the first sending module and the first receiving module, and scheduler module can be
Behavior is sent to the data of source data equipment when needing to carry out the transmission of equipment room data with bluetooth time receiving device to be scheduled, and is adjusted
Degree, which executes one in the reception time slot of source data equipment by the first sending module of control, can make source data equipment when rear N number of
The data for not sending data in gap send operation and realize that the scheduler module includes data packet head generation module, the data packet
Head generation module can generate a data packet head, and the corresponding number of the data packet head is specified in the domain TYPE of data packet head
N+1 time slot is occupied according to packet, the data send operation to send the data packet head that data packet head generation module generates.
First sending module is used to send data to source data equipment, and the first receiving module is for receiving source data equipment hair
The data sent, the first sending module are also used to count in the sending time slots of source data equipment between bluetooth time receiving device sending device
According to the first receiving module is also used to receive the equipment room number that bluetooth time receiving device is sent in the time slot that receives of source data equipment
According to.
Bluetooth time receiving device is used cooperatively with the main receiving device of above-mentioned bluetooth, and bluetooth time receiving device includes the second transmission
Module and the second receiving module, the second receiving module are used to receive source data equipment or bluetooth in the sending time slots of source data equipment
The data that main receiving device is sent, the second sending module are used in the equipment room data for receiving the main receiving device transmission of bluetooth
Afterwards, in next reception time slot of source data equipment to data between the main receiving device sending device of bluetooth.
A kind of bluetooth schedule method matched with above system is also disclosed in the present embodiment, this method includes following step
It is rapid:
S100: the main receiving device of bluetooth, which executes one in the reception time slot of source data equipment, can make source data equipment exist
The data for not sending data in N number of time slot afterwards send operation;
S200: the main receiving device of bluetooth completes data transmission with bluetooth time receiving device in rear M time slot;
Data in the S100 send operation
The main receiving device of bluetooth sends a data packet head and gives source data equipment from-main time slot, and in data packet head
The domain TYPE in specify the corresponding data packet of the data packet head to occupy N+1 time slot.
The S200 includes:
S200-1: the sending time slots of the source data equipment in rear M time slot, the main receiving device of bluetooth are received to bluetooth time
Data between equipment sending device, bluetooth time receiving device receive the equipment room data that the main receiving device of bluetooth is sent;
S200-2: the reception time slot of the source data equipment in rear M time slot, bluetooth time receiving device is to the main reception of bluetooth
Data between equipment sending device, the main receiving device of bluetooth receive the equipment room data that bluetooth time receiving device is sent.
In the present embodiment, the communication time of the main receiving device of the size of M=N, M bluetooth as needed and bluetooth time receiving device
Number determines that M is preferably greater than 0 even number, and after ensuring that the main receiving device of bluetooth sends data, bluetooth time receiving device can be sent out
It sends back to and holds data.
The sending time slots of source data equipment in S200-1 are MS master-slave time slot, the source data equipment in the S200-2
Receiving time slot is from-main time slot.
In the present embodiment, by taking bluetooth headset and mobile phone as an example, as shown in Fig. 2, for convenience of describe, we by time slot according to
Time sequencing is successively labeled as time slot 1 to time slot 8, after bluetooth headset and mobile phone networking, an earphone as main receiving device,
It is referred to as to be main earphone in the present embodiment, another earphone is used as time receiving device, is referred to as time earphone, mobile phone conduct in this implementation
Source data equipment, bluetooth master of the mobile phone as entire blueteeth network, main earphone pass through suitable as Bluetooth slave devices, secondary earphone
When audiomonitor of the synchronous configuration as blueteeth network, secondary earphone is configured as listening only to the data of the sending time slots of mobile phone,
The synchronous data monitoring mobile phone and issuing while to save power consumption.By main earphone with from earphone once communicated for (main ear
Machine sends the data between primary equipment, and the data between primary equipment are replied from earphone), the LDE in figure indicates Long Data
Exchange, i.e., long data interaction.
Time slot 1 is a MS master-slave time slot, and in this timeslot, mobile phone issues one data packet of main earphone, while secondary earphone is made
The data packet is also had received for listener, if the data packet is audio data, main earphone can synchronous hair with time earphone
Sound.
Time slot 2 is one from-main time slot, and in this timeslot, secondary earphone is not listening to data, since main earphone needs data
It is sent to time earphone, main earphone sends a data packet head to mobile phone, and subsequent in the instruction of the domain TYPE of the data packet head
Data packet is the data packet for needing to occupy 3 time slot durations, and after mobile phone receives the data packet head, reserved 3 time slots (are contained
Current time slots) duration for main earphone send data.
Time slot 3 is a MS master-slave time slot, and in this timeslot, secondary earphone will do it monitoring, and mobile phone is due to receiving data packet
Head comes out so data will not be sent, and main earphone data between this time slot sending device give time earphone, and secondary earphone, which can receive, to be come
The equipment room data of autonomous earphone.
Time slot 4 is one from-main time slot, and in this timeslot, from data between earphone sending device, while main earphone receives this
Data.Since the data packet of equipment room data is different from the format of standard bluetooth packet, this data packet will not pass through handset receiver
Filtering detection, therefore mobile phone can close its receiver until next from-main time slot.
In time slot 5 and time slot 6, main earphone and mobile phone restore normal bluetooth data communication, from earphone to data in mobile phone into
Row is monitored.
When source data equipment is bluetooth master, the main receiving device of bluetooth is Bluetooth slave devices, source data equipment is grasped
The communication scheduling power of entire blueteeth network, at this time if the main receiving device of bluetooth there is no permission schedule network resources reach with
Secondary receiving device carries out the purpose of independent communication;In the application, allow the main receiving device of bluetooth as Bluetooth slave devices to source
Data equipment has sent the domain a TYPE middle finger and determines the data packet head that the corresponding data packet of data packet head occupies N+1 time slot, leads to
The data packet head is crossed, source data equipment can be cheated, allows it to enter data receiving state, so that it is when subsequent N number of
Data are no longer sent out in gap, and then the main receiving device of bluetooth and bluetooth time receiving device can be completed in this N number of time slot
The communication of equipment room data.The method that this programme cheats source data equipment by the domain TYPE of data packet head, so that without network
The main receiving device of bluetooth of scheduling of resource power can dispatch the transmission behavior of source data equipment, reach communication objective.
The above are merely the embodiment of the present invention, the common sense such as well known specific structure and characteristic are not made excessively herein in scheme
Description, all common of technical field that the present invention belongs to before one skilled in the art know the applying date or priority date
Technological know-how can know the prior art all in the field, and have using routine experiment means before the date
Ability, one skilled in the art can improve in conjunction with self-ability under the enlightenment that the application provides and implement we
Case, some typical known features or known method should not become the barrier that one skilled in the art implement the application
Hinder.It should be pointed out that for those skilled in the art, without departing from the structure of the invention, if can also make
Dry modification and improvement, these also should be considered as protection scope of the present invention, these all will not influence the effect that the present invention is implemented and
Patent practicability.The scope of protection required by this application should be based on the content of the claims, the specific reality in specification
Applying the records such as mode can be used for explaining the content of claim.
Claims (10)
1. a kind of bluetooth schedule method, it is characterised in that: include:
S100: the main receiving device of bluetooth, which executes one in the reception time slot of source data equipment, can make source data equipment rear N number of
The data for not sending data in time slot send operation;
S200: the main receiving device of bluetooth completes data transmission with bluetooth time receiving device in rear M time slot;
The S200 includes:
S200-1: the sending time slots of the source data equipment in rear M time slot, the main receiving device of bluetooth is to bluetooth time receiving device
Data between sending device, bluetooth time receiving device receive the equipment room data that the main receiving device of bluetooth is sent;
S200-2: the reception time slot of the source data equipment in rear M time slot, bluetooth time receiving device is to the main receiving device of bluetooth
Data between sending device, the main receiving device of bluetooth receive the equipment room data that bluetooth time receiving device is sent.
2. bluetooth schedule method according to claim 1, it is characterised in that: the source data equipment is bluetooth master,
The main receiving device of bluetooth is Bluetooth slave devices, and the data in the M=N, the S100 send operation and include:
The main receiving device of bluetooth sends a data packet head and gives source data equipment from-main time slot, and in data packet head
The corresponding data packet of the data packet head is specified to occupy N+1 time slot in the domain TYPE.
3. bluetooth schedule method according to claim 2, it is characterised in that: the hair of the source data equipment in the S200-1
Sending time slot is MS master-slave time slot, and the reception time slot of the source data equipment in the S200-2 is from-main time slot.
4. bluetooth schedule method according to claim 1, it is characterised in that: the main receiving device of bluetooth is that bluetooth master sets
Standby, the source data equipment is Bluetooth slave devices, and the data in the N=1, the S100 send operation and include:
The main receiving device of bluetooth does not send data to source data equipment in MS master-slave time slot.
5. bluetooth schedule method according to claim 4, it is characterised in that: the hair of the source data equipment in the S200-1
Sending the reception time slot that time slot is the source data equipment from-main time slot, the S200-2 is MS master-slave time slot.
6. a kind of main receiving device of bluetooth, it is characterised in that: including scheduler module, the first sending module and the first receiving module,
The scheduler module can be when the main receiving device of bluetooth needs to carry out the transmission of equipment room data with bluetooth time receiving device to source
The data of data equipment send behavior and are scheduled, and the scheduling is by controlling the first sending module in the reception of source data equipment
Time slot, which executes the data that one can make source data equipment not send data in rear N number of time slot and sends operation, to be realized, described the
One sending module is used to send data to source data equipment, and first receiving module is used to receive the number of source data equipment transmission
According to first sending module is also used to count in the sending time slots of source data equipment between bluetooth time receiving device sending device
According to first receiving module is also used to receive the equipment room that bluetooth time receiving device is sent in the time slot that receives of source data equipment
Data.
7. the main receiving device of bluetooth according to claim 6, it is characterised in that: the scheduler module includes that data packet is first-born
At module, the data packet head generation module can generate a data packet head, and specify in the domain TYPE of data packet head
The corresponding data packet of the data packet head occupies N+1 time slot, and it is raw to send data packet head generation module that the data send operation
At data packet head.
8. the main receiving device of bluetooth according to claim 6, it is characterised in that: the scheduler module includes empty transmission mould
Block, the sky sending module are used to control when bluetooth master needs and carries out the transmission of equipment room data with bluetooth time receiving device
First sending module does not send data in the reception time slot of source data equipment.
9. a kind of bluetooth being used cooperatively with claim 7 or the main receiving device of bluetooth according to any one of claims 8 time receiving device,
It is characterized by: the bluetooth time receiving device includes the second sending module and the second receiving module, second receiving module
The data of source data equipment or the main receiving device transmission of bluetooth, second hair are received for the sending time slots in source data equipment
Module is sent to be used for after receiving the equipment room data that the main receiving device of bluetooth is sent, in next reception of source data equipment
Gap is to data between the main receiving device sending device of bluetooth.
10. the present invention also provides a kind of Bluetooth systems, it is characterised in that: including claim 7 or indigo plant according to any one of claims 8
The main receiving device of tooth and bluetooth as claimed in claim 9 time receiving device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811400686.8A CN109587666B (en) | 2018-11-22 | 2018-11-22 | Bluetooth device, system and scheduling method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811400686.8A CN109587666B (en) | 2018-11-22 | 2018-11-22 | Bluetooth device, system and scheduling method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109587666A true CN109587666A (en) | 2019-04-05 |
CN109587666B CN109587666B (en) | 2022-07-26 |
Family
ID=65923518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811400686.8A Active CN109587666B (en) | 2018-11-22 | 2018-11-22 | Bluetooth device, system and scheduling method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587666B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351696A (en) * | 2019-09-05 | 2019-10-18 | 恒玄科技(上海)有限公司 | The communication means of wireless headset and wireless headset |
CN111885554A (en) * | 2020-04-24 | 2020-11-03 | 珠海市杰理科技股份有限公司 | Link switching method based on double-wireless Bluetooth communication and related equipment |
WO2021092728A1 (en) * | 2019-11-11 | 2021-05-20 | 展讯通信(上海)有限公司 | Data transmission method and apparatus |
WO2021208359A1 (en) * | 2020-04-17 | 2021-10-21 | 炬力(珠海)微电子有限公司 | Tws bluetooth apparatus, primary apparatus and secondary apparatus thereof, and method of transmitting data between apparatuses |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130040575A1 (en) * | 2011-08-14 | 2013-02-14 | Juei-Ting Sun | Communication method, and bluetooth device utilizing the communication method |
CN106559861A (en) * | 2015-09-28 | 2017-04-05 | 展讯通信(上海)有限公司 | Bluetooth equipment data transmission method and device |
US20170171673A1 (en) * | 2013-07-08 | 2017-06-15 | Starkey Laboratories, Inc. | Method and apparatus for communication between hearing assistance devices in a bluetooth network |
CN107135256A (en) * | 2017-04-27 | 2017-09-05 | 建荣半导体(深圳)有限公司 | Bluetooth communication method, communicator, communication system and electronic equipment |
CN107894881A (en) * | 2017-10-18 | 2018-04-10 | 恒玄科技(上海)有限公司 | The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch |
CN108337595A (en) * | 2018-06-19 | 2018-07-27 | 恒玄科技(上海)有限公司 | Bluetooth headset realizes the method being precisely played simultaneously |
CN108616818A (en) * | 2018-03-23 | 2018-10-02 | 南京中感微电子有限公司 | A kind of data repeating method, Bluetooth slave devices and wireless communication system |
CN108616819A (en) * | 2018-03-23 | 2018-10-02 | 南京中感微电子有限公司 | A kind of data repeating method, bluetooth master and wireless communication system |
-
2018
- 2018-11-22 CN CN201811400686.8A patent/CN109587666B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130040575A1 (en) * | 2011-08-14 | 2013-02-14 | Juei-Ting Sun | Communication method, and bluetooth device utilizing the communication method |
US20170171673A1 (en) * | 2013-07-08 | 2017-06-15 | Starkey Laboratories, Inc. | Method and apparatus for communication between hearing assistance devices in a bluetooth network |
CN106559861A (en) * | 2015-09-28 | 2017-04-05 | 展讯通信(上海)有限公司 | Bluetooth equipment data transmission method and device |
CN107135256A (en) * | 2017-04-27 | 2017-09-05 | 建荣半导体(深圳)有限公司 | Bluetooth communication method, communicator, communication system and electronic equipment |
CN107894881A (en) * | 2017-10-18 | 2018-04-10 | 恒玄科技(上海)有限公司 | The method that principal and subordinate link switching, conversation monitoring and the Mike of bluetooth earphone switch |
CN108616818A (en) * | 2018-03-23 | 2018-10-02 | 南京中感微电子有限公司 | A kind of data repeating method, Bluetooth slave devices and wireless communication system |
CN108616819A (en) * | 2018-03-23 | 2018-10-02 | 南京中感微电子有限公司 | A kind of data repeating method, bluetooth master and wireless communication system |
CN108337595A (en) * | 2018-06-19 | 2018-07-27 | 恒玄科技(上海)有限公司 | Bluetooth headset realizes the method being precisely played simultaneously |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110351696A (en) * | 2019-09-05 | 2019-10-18 | 恒玄科技(上海)有限公司 | The communication means of wireless headset and wireless headset |
CN110351696B (en) * | 2019-09-05 | 2019-12-03 | 恒玄科技(上海)有限公司 | The communication means of wireless headset and wireless headset |
WO2021092728A1 (en) * | 2019-11-11 | 2021-05-20 | 展讯通信(上海)有限公司 | Data transmission method and apparatus |
US11917043B2 (en) | 2019-11-11 | 2024-02-27 | Spreadtrum Communications (Shanghai) Co., Ltd. | Data transmission method and apparatus |
WO2021208359A1 (en) * | 2020-04-17 | 2021-10-21 | 炬力(珠海)微电子有限公司 | Tws bluetooth apparatus, primary apparatus and secondary apparatus thereof, and method of transmitting data between apparatuses |
CN111885554A (en) * | 2020-04-24 | 2020-11-03 | 珠海市杰理科技股份有限公司 | Link switching method based on double-wireless Bluetooth communication and related equipment |
CN111885554B (en) * | 2020-04-24 | 2023-09-12 | 珠海市杰理科技股份有限公司 | Link switching method based on dual-wireless Bluetooth communication and related equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109587666B (en) | 2022-07-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109495867A (en) | The method of bluetooth equipment, system and the transmission of equipment room information | |
CN109327829A (en) | The method of bluetooth equipment, Bluetooth communication system and equipment room transmission instruction | |
CN109587666A (en) | Bluetooth equipment, system and dispatching method | |
CN110267305A (en) | A kind of wireless data repeating method | |
CN102487609B (en) | Apparatuses and methods for coordination between plurality of co-located wireless communication modules via one wire | |
CN109495868A (en) | Network-building method and Bluetooth communication system between bluetooth equipment, bluetooth equipment | |
JP2020524936A (en) | Copy transmission configuration, copy transmission method and apparatus | |
CN105409245B (en) | Hearing assistant system and method | |
CN109769232A (en) | Wireless blue tooth audio communication system, method and transceiver | |
CN110248341A (en) | Transmission rate switching method, bluetooth equipment and computer-readable medium | |
CN101779419A (en) | Simultaneously maintaining bluetooth and 802.11 connections to increase data throughput | |
CN103733661A (en) | Methods and apparatuses for providing profile information in a bluetooth communication system | |
JP2023546303A (en) | Inter-device communication method and system used in wireless communication system | |
CN112055349B (en) | Wireless communication method and Bluetooth device | |
CN104601201B (en) | The method and terminal of information are sent based on Bluetooth Low Energy BLE technologies | |
CN113055868B (en) | Bluetooth rapid networking method and system and Bluetooth headset | |
CN107071604A (en) | For being at least the method that mobile terminal device selects communications status | |
CN111586595B (en) | Relay repeater networking communication system | |
KR101190658B1 (en) | Customer service system based on Wireless Personal Area Network | |
CN107947814A (en) | A kind of wireless digital frequency hopping interphone for being operated in ISM band | |
CN110166988A (en) | A kind of wireless communication system and its method | |
CN110234101A (en) | A kind of radio transmitting method of reliable transmitting data, equipment and system | |
CN104158569A (en) | Bluetooth protocol-based voice communication method using ACL link for bearing | |
CN102224699A (en) | System and method to implement synchronous channel timing in a wireless communications network | |
CN103166935A (en) | Method and device for realizing near field communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230331 Address after: 401120 14th Floor, 107 Daguzhong Road, Xiantao Street, Yubei District, Chongqing Patentee after: WU QI TECHNOLOGIES, Inc. Address before: 401120 14th Floor, 107 Daguzhong Road, Xiantao Street, Yubei District, Chongqing Patentee before: WU QI TECHNOLOGIES, Inc. Patentee before: SHANGHAI WU QI TECHNOLOGIES, Inc. |