CN108900981A - Transmission method, the apparatus and system of Bluetooth audio frequency data - Google Patents

Transmission method, the apparatus and system of Bluetooth audio frequency data Download PDF

Info

Publication number
CN108900981A
CN108900981A CN201810537260.0A CN201810537260A CN108900981A CN 108900981 A CN108900981 A CN 108900981A CN 201810537260 A CN201810537260 A CN 201810537260A CN 108900981 A CN108900981 A CN 108900981A
Authority
CN
China
Prior art keywords
data
main equipment
broadcast
equipment
service
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810537260.0A
Other languages
Chinese (zh)
Inventor
王中镇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Inc
Original Assignee
Goertek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Inc filed Critical Goertek Inc
Priority to CN201810537260.0A priority Critical patent/CN108900981A/en
Publication of CN108900981A publication Critical patent/CN108900981A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/7156Arrangements for sequence synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/7156Arrangements for sequence synchronisation
    • H04B2001/71566Tracking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses transmission method, the apparatus and systems of a kind of Bluetooth audio frequency data.Include by the method that main equipment is implemented:It is sent on CSB logical transport channel and uses the encrypted broadcast data of key, included at least in the broadcast data:Audio data and time information data;Synchronized tracking packet is sent in RF channel, includes the Channel Hopping Sequence of the main equipment in the synchronized tracking packet;The GATT that the main equipment described in low-power consumption bluetooth channels broadcast is supported is serviced, and includes CSB broadcast service in the GATT service, so that described find the main equipment from equipment.According to the present invention it is possible to realize that single-chip main equipment and multiple audio datas between equipment transmit.

Description

Transmission method, the apparatus and system of Bluetooth audio frequency data
Technical field
The present invention relates to technical field of bluetooth communication, transmission method, dress more particularly, to a kind of Bluetooth audio frequency data It sets and system.
Background technique
Transmission for audio data, usually will be first in main equipment and from Bluetooth pairing connection is established between equipment, then Carry out the transmission of audio data.Specifically, as shown in Figure 1, main equipment and passing through Bluetooth audio frequency mode between equipment Agreement (Advenced Audio Distribution Profile, A2DP) and audio and video remote control configuration protocol (Audio Video Remote Cortrol Profile, AVRCP) realize audio data transmission.
Above-mentioned audio data transmission plan is based on A2DP agreement and AVRCP protocol realization, but the two agreements itself Do not support a main equipment and multiple audio data transmission modes from equipment.If realizing the audio data of one master and multiple slaves Transmission, needs that multiple Bluetooth chips or module are arranged in the host, as shown in Fig. 2, each Bluetooth chip in main equipment or Module maintains one group of A2DP and AVRCP agreement to connect with a Bluetooth chip or module from the device.It is this in the host It is high that the mode of the multiple Bluetooth chips or module hardware cost when realizing is set, and the slave equipment number that can be connected is also by bluetooth The limitation of the quantity of chip or module cannot truly realize the audio data transmission of one master and multiple slaves.
Therefore, it has been recognised by the inventors that it is necessary to improve to technical problem of the existing technology.
Summary of the invention
It is an object of the present invention to provide a kind of new solutions of transmission for Bluetooth audio frequency data.
According to the first aspect of the invention, a kind of sending method of Bluetooth audio frequency data is provided, main equipment is applied to, In, the method includes:
It is sent on CSB logical transport channel and uses the encrypted broadcast data of key, at least wrapped in the broadcast data It includes:Audio data and time information data;
Synchronized tracking packet is sent in RF channel, includes the Channel Hopping Sequence of the main equipment in the synchronized tracking packet;
The GATT that the main equipment described in low-power consumption bluetooth channels broadcast is supported is serviced, wide comprising CSB in the GATT service Service is broadcast, so that described find the main equipment from equipment.Optionally, the main equipment described in low-power consumption bluetooth channels broadcast is supported GATT service after, further include:
It is connect with L2CAP is established from equipment;
It is connected by the L2CAP to described and sends service characteristic value from equipment;So that it is described from equipment according to the clothes Characteristic value of being engaged in parses the broadcast data;Wherein, the service characteristic value includes at least broadcast data key and audio coding decoding Device configuration parameter;
Disconnection and the L2CAP connection between equipment.
It optionally, further include control command data in the broadcast data.
According to the second aspect of the invention, a kind of method of reseptance of Bluetooth audio frequency data is provided, is applied to from equipment, In, the method includes:
RF channel is monitored, includes the Channel Hopping Sequence of main equipment to obtain synchronized tracking packet, in the synchronized tracking packet;
According to the Channel Hopping Sequence, is obtained on CSB logical transport channel and uses the encrypted broadcast data of key, It is included at least in the broadcast data:Audio data and time information data;
Low-power consumption bluetooth channel is monitored, the main equipment comprising CSB broadcast service in the GATT service of support is found.
Optionally, it searches out in the GATT service of support after the main equipment comprising CSB broadcast service, the method is also wrapped It includes:
Obtain the service characteristic value of the main equipment;
According to the service characteristic value of the main equipment, the broadcast data of acquisition is parsed.
Optionally, the service characteristic value for obtaining the main equipment includes:
L2CAP is established with the main equipment to connect;
The service characteristic value that the main equipment is sent is received by the L2CAP connection;
Disconnect the L2CAP connection between the main equipment.
Optionally, the service characteristic value includes at least broadcast data key and audio codec configuration parameter;
The service characteristic value according to the main equipment parses the broadcast data of acquisition, including:
According to the broadcast data key, the broadcast data is decrypted;
From the broadcast data after decryption, audio data and time information data are obtained;
Using the audio codec configuration parameter, the audio data is decoded into initial data and is played out.
Optionally, further include:
Control command data is obtained from the broadcast data after decryption.
According to the third aspect of the invention we, a kind of Bluetooth audio frequency data sending device is provided, main equipment is applied to, In, including:
First sending module uses the encrypted broadcast data of key for sending on CSB logical transport channel, described It is included at least in broadcast data:Audio data and time information data;
Second sending module is set in the synchronized tracking packet comprising the master for sending synchronized tracking packet in RF channel Standby Channel Hopping Sequence;
Broadcast module, for the GATT service that the main equipment described in low-power consumption bluetooth channels broadcast is supported, the GATT clothes It include CSB broadcast service in business, so that described find the main equipment from equipment.
According to the fourth aspect of the invention, a kind of Bluetooth audio frequency data sink is provided, is applied to from equipment, In, including:
First monitors module, for monitoring RF channel, to obtain synchronized tracking packet, sets in the synchronized tracking packet comprising master Standby Channel Hopping Sequence;
Module is obtained, for obtaining on CSB logical transport channel and encrypting using key according to the Channel Hopping Sequence Broadcast data afterwards includes at least in the broadcast data:Audio data and time information data;
Second monitors module, for monitoring low-power consumption bluetooth channel, finds in the GATT service of support comprising CSB broadcast clothes The main equipment of business.
According to the fifth aspect of the invention, a kind of Transmission system of Bluetooth audio frequency data is provided, wherein including:
One Bluetooth audio frequency data sending device as described in the third aspect of the present invention;And
Multiple Bluetooth audio frequency data sinks as described in the fourth aspect of the present invention.
According to the present invention it is possible to realize that single-chip main equipment and multiple audio datas between equipment transmit.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Detailed description of the invention
It is combined in the description and the attached drawing for constituting part of specification shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 shows the system schematic of Bluetooth audio frequency data transmission between master-slave equipment in the prior art.
Fig. 2 shows the system signals that single main equipment in the prior art and two are transmitted from equipment room Bluetooth audio frequency data Figure.
Fig. 3 shows the flow diagram of the sending method of the Bluetooth audio frequency data of first embodiment of the invention.
Fig. 4 shows the schematic block diagram of the Bluetooth audio frequency data sending device of first embodiment according to the present invention.
Fig. 5 shows the schematic block diagram of main equipment according to a first embodiment of the present invention.
Fig. 6 shows the flow diagram of the method for reseptance of the Bluetooth audio frequency data of second embodiment of the invention.
Fig. 7 shows the schematic block diagram of Bluetooth audio frequency data sink according to a second embodiment of the present invention.
Fig. 8 shows the schematic block diagram of slave equipment according to a second embodiment of the present invention.
Fig. 9 shows the schematic frame of the Transmission system of the Bluetooth audio frequency data of an example of third embodiment of the invention Figure.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition having Body explanation, the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
Be to the description only actually of at least one exemplary embodiment below it is illustrative, never as to the present invention And its application or any restrictions used.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
In the following, describing each embodiment according to the present invention and example with reference to the accompanying drawings.
<First embodiment>
<Method>
Fig. 3 shows the flow diagram of the sending method of the Bluetooth audio frequency data of first embodiment of the invention.The bluetooth The sending method of audio data is implemented by main equipment.
Specifically, in step 3100, on the logical transport channel CSB (Connectionless Slave Broadcast) It sends and uses the encrypted broadcast data of key, included at least in broadcast data:Audio data and time information data.
Wherein, CSB logical transport channel can be given encrypted broadcast data by single main equipment one-way transmission multiple From equipment.Unlike the prior art, response is not necessarily to after receiving broadcast data from equipment, saving main equipment can use To send the bandwidth of audio data.
It is encrypted specifically, main equipment can be sent on CSB logical transport channel at regular intervals using key Broadcast data afterwards.Due to CSB logical transport be it is insecure, in practical application, a frame broadcast data can be repeated several times It sends, to ensure that broadcast data can be received from equipment.
Main equipment and clock from equipment are generated by crystal oscillator, it is different from the device, the transmission road of audio data Diameter may be different, and processor and working principle all may be different, and crystal oscillator can generate error, each from the Crystal Oscillator Errors of equipment product After tired, clock can be different, play which results in respectively from the audio of equipment asynchronous.Therefore, in this step, main equipment will be certainly Oneself crystal oscillator clock, i.e. time information data carrying be broadcast in broadcast data it is all from equipment so that accordingly from equipment It is directed at crystal oscillator clock, realizes that multiple play from the audio of equipment synchronizes with this.
It further, can also include control command data in broadcast data.When user input on the master broadcasting, temporarily Stop, F.F., the control commands such as rewind when, corresponding control command data is carried in broadcast data, it is each from equipment to control Broadcasting, pause, F.F., the rewind of audio etc..
In step 3200, synchronized tracking packet is sent in RF channel, includes the channel hopping sequence of main equipment in synchronized tracking packet Column.
Characteristic based on Bluetooth transmission, main equipment also needs to send synchronized tracking packet in RF channel, so as to connect in broadcast The slave equipment of receipts mode can be realized synchronous with the bluetooth channel of main equipment according to Channel Hopping Sequence.
In step 3300, in GATT (the Generic Attribute that low-power consumption bluetooth channels broadcast main equipment is supported Profile, general-purpose attribute configuration file) it services, it include CSB broadcast service in GATT service, so as to find main equipment from equipment.
It should be noted that the present embodiment is to the sequencing of the execution of above-mentioned steps 3100 to step 3300 without tool Body limits.
Further, after the GATT service that low-power consumption bluetooth channels broadcast main equipment is supported, main equipment can also be with L2CAP (Logical Link Control and Adaptation Protocol, logic link control and suitable are established from equipment With agreement) connection.And connected by L2CAP to from equipment and send service characteristic value, so that from equipment according to service characteristic value solution Analyse broadcast data.Wherein, service characteristic value includes at least broadcast data key and audio codec configuration parameter.It is taken sending After characteristic value of being engaged in, disconnect and from the L2CAP connection between equipment.
<Device>
Fig. 4 shows the schematic block diagram of the Bluetooth audio frequency data sending device of first embodiment according to the present invention.This The Bluetooth audio frequency data sending device of embodiment is applied to main equipment.
As shown in figure 4, Bluetooth audio frequency data sending device 4000 may include:
First sending module 4010 sends on CSB logical transport channel and uses the encrypted broadcast data of key, broadcast It is included at least in data:Audio data and time information data.
Second sending module 4020 includes main equipment in synchronized tracking packet for sending synchronized tracking packet in RF channel Channel Hopping Sequence.
Broadcast module 4030, the GATT for supporting in low-power consumption bluetooth channels broadcast main equipment are serviced, in GATT service Comprising CSB broadcast service, so as to find main equipment from equipment.
It is well known by those skilled in the art that the development of the electronic information technology with such as large scale integrated circuit technology With the trend of hardware and software, clearly to divide computer system soft and hardware boundary has seemed relatively difficult.Because appointing What operation can be realized with software, can also be realized by hardware.The execution of any instruction can be completed by hardware, equally may be used To be completed by software.Hardware implementations or software implement scheme are used for a certain machine function, depend on price, speed The Non-technical factors such as degree, reliability, memory capacity, change cycle.For the technician, software realization mode and hardware It is achieved in that equivalent.Technical staff can according to need selection software or hardware to realize above scheme.Therefore, here not Specific software or hardware are limited.
<Main equipment>
Any one of above-described embodiment can be realized in the electronic equipment of mobile phone, tablet computer etc..For example, Main equipment may include the Bluetooth audio frequency data sending device in above-described embodiment.
In addition, Fig. 5 shows the schematic block diagram of main equipment according to a first embodiment of the present invention.
As shown in figure 5, main equipment 5000 may include processor 5010, memory 5020, interface arrangement 5030, communication dress Set 5040, display device 5050, input unit 5060, loudspeaker 5070, microphone 5080, etc..
Processor 5010 is such as can be central processing unit (CPU), microprocessor (MCU).Memory 5020 for example wraps Include ROM (read-only memory), RAM (random access memory), nonvolatile memory of hard disk etc..Interface arrangement 5030 For example including USB interface, earphone interface etc..
Communication device 5040 has for example been able to carry out wired or wireless communication.
Display device 5050 is, for example, liquid crystal display, touch display screen etc..Input unit 5060 for example may include touching Touch screen, keyboard etc..User can pass through 5080 inputting/outputting voice information of loudspeaker 5070 and microphone.
Main equipment shown in fig. 5 is only explanatory, and is never intended to limitation invention, its application, or uses.
In this embodiment, for storing instruction, instruction control when main equipment 5000 is run is handled memory 5020 Device 5010 executes the operation in the sending method of the Bluetooth audio frequency data of front reference Fig. 3.It will be appreciated by those skilled in the art that Although multiple devices are shown in FIG. 5, the present invention can only relate to partial devices therein, for example, processor 5010 With memory 5020 etc..Technical staff can disclosed conceptual design instruction according to the present invention.Instruction how control processor into Row operation, this is it is known in the art that therefore being not described in detail herein.
Detailed description of the invention the present embodiment is had been combined above, in the present embodiment, provides a kind of Bluetooth audio frequency data Sending method, device and main equipment use the encrypted broadcast data of key by sending on CSB logical transport channel;? RF channel sends synchronized tracking packet;In the GATT service that low-power consumption bluetooth channels broadcast main equipment is supported.Utilize classical bluetooth Single-chip main equipment and multiple from equipment is completed in CSB logical transport channel and the cooperation of the ACL logical transport channel of low-power consumption bluetooth Between Bluetooth audio frequency data transmission, can support the transmission of audio data and control command data simultaneously, realize really One master and multiple slaves in meaning, hardware cost is low, and realizes respectively synchronous from the broadcasting of equipment room.
<Second embodiment>
<Method>
Fig. 6 shows the flow diagram of the method for reseptance of the Bluetooth audio frequency data of second embodiment of the invention.The bluetooth The method of reseptance of audio data is applied to from equipment.
It include main equipment in synchronized tracking packet to obtain synchronized tracking packet specifically, monitoring RF channel in step 6100 Channel Hopping Sequence.
Can be according to the Channel Hopping Sequence of the main equipment of acquisition from equipment, realization is synchronous with the bluetooth channel of main equipment, To obtain the broadcast data that main equipment is sent in corresponding bluetooth channel at the time of corresponding.
After bluetooth channel synchronizes, 6200 are entered step, according to Channel Hopping Sequence, is obtained on CSB logical transport channel It takes and uses the encrypted broadcast data of key, included at least in broadcast data:Audio data and time information data.
Wherein, the crystal oscillator clock that can correct oneself according to time information data from equipment, makes its crystal oscillator with main equipment Clock alignment, to realize that multiple play from the audio of equipment room synchronizes.
Further, in broadcast data can also include control command data, from equipment can according to control command data, Execute the operation such as broadcasting, pause, F.F., rewind of audio.
In step 6300, low-power consumption bluetooth channel is monitored, finds the master comprising CSB broadcast service in the GATT service of support Equipment.
From equipment after searching out the main equipment for supporting CSB broadcast service, the service characteristic value of main equipment is obtained.According to master The service characteristic value of equipment parses the broadcast data of acquisition.
Wherein, the service characteristic value for obtaining main equipment, can specifically include:L2CAP is established with main equipment to connect.Pass through L2CAP connection obtains the service characteristic value for carrying out autonomous device.It is disconnected between main equipment after obtaining service characteristic value from equipment L2CAP connection.
Further, from equipment and main equipment establish L2CAP connect including:L2CAP connection is sent from equipment to main equipment Request is established, after main equipment receives request, response message is sent to from equipment, to establish L2CAP connection.
Specifically, service characteristic value includes at least broadcast data key and audio codec configuration parameter.From equipment root According to the service characteristic value of main equipment, the broadcast data for parsing acquisition may include:From equipment according to broadcast data key, decryption from The broadcast data obtained on CSB logical transport channel obtains audio data and temporal information number from the broadcast data after decryption According to.Audio codec configuration parameter is used from equipment, audio data is decoded into the initial data of PCM format, initial data After Digital Signal Processing, by being played out from the audio interface drive the speaker sounding of equipment.
It should be noted that service characteristic value can also include broadcast service version number, the broadcast transmitting apparatus of main equipment The information such as Bluetooth address, broadcast transmission state.The present embodiment is not especially limited this.
It further, can also be from the broadcast number after decryption from equipment if in broadcast data including control command data According to middle acquisition control command data, to control broadcasting, pause of audio etc. according to control command data.
<Device>
Fig. 7 shows the schematic block diagram of Bluetooth audio frequency data sink according to a second embodiment of the present invention.This reality The Bluetooth audio frequency data sink for applying example is applied to from equipment equipment.
As shown in fig. 7, Bluetooth audio frequency data sink 7000 may include:
First monitors module 7010, for monitoring RF channel, to obtain synchronized tracking packet, sets in synchronized tracking packet comprising master Standby Channel Hopping Sequence.
Module 7020 is obtained, for obtaining on CSB logical transport channel and encrypting using key according to Channel Hopping Sequence Broadcast data afterwards includes at least in broadcast data:Audio data and time information data.
Second monitors module 7030, for monitoring low-power consumption bluetooth channel, finds wide comprising CSB in the GATT service of support Broadcast the main equipment of service.
It is well known by those skilled in the art that the development of the electronic information technology with such as large scale integrated circuit technology With the trend of hardware and software, clearly to divide computer system soft and hardware boundary has seemed relatively difficult.Because appointing What operation can be realized with software, can also be realized by hardware.The execution of any instruction can be completed by hardware, equally may be used To be completed by software.Hardware implementations or software implement scheme are used for a certain machine function, depend on price, speed The Non-technical factors such as degree, reliability, memory capacity, change cycle.For the technician, software realization mode and hardware It is achieved in that equivalent.Technical staff can according to need selection software or hardware to realize above scheme.Therefore, here not Specific software or hardware are limited.
<From equipment>
Here slave equipment can be the slave equipment including above-mentioned Bluetooth audio frequency data sink 7000.
In addition, Fig. 8 shows the schematic block diagram of slave equipment according to a second embodiment of the present invention.As shown in figure 8, from setting It standby 8000 may include processor 8010, memory 8020, interface arrangement 8030, communication device 8040, display device 8050, defeated Enter device 8060, etc..Although also may include loudspeaker, microphone etc. from equipment, these components and nothing of the present invention It closes, therefore omits herein.
Processor 8010 is such as can be central processing unit (CPU), microprocessor (MCU).Memory 8020 for example wraps Include ROM (read-only memory), RAM (random access memory), nonvolatile memory of hard disk etc..Interface arrangement 8030 For example including USB interface, serial line interface etc..
Communication device 8040 has for example been able to carry out wired or wireless communication.
Display device 8050 is, for example, liquid crystal display, touch display screen etc..Input unit 8060 for example may include touching Touch screen, keyboard etc..
Shown in Fig. 8 from equipment is only explanatory, and is never intended to limitation invention, its application, or uses.
In this embodiment, for storing instruction, instruction control when running from equipment 8000 is handled memory 8020 Device 8010 executes the operation in the method for reseptance of the Bluetooth audio frequency data of front reference Fig. 6.It will be appreciated by those skilled in the art that Although multiple devices are shown in FIG. 8, the present invention can only relate to partial devices therein, for example, processor 8010 With memory 8020 etc..Technical staff can disclosed conceptual design instruction according to the present invention.Instruction how control processor into Row operation, this is it is known in the art that therefore being not described in detail herein.
Detailed description of the invention the present embodiment is had been combined above, in the present embodiment, provides a kind of Bluetooth audio frequency data Method of reseptance, device and from equipment, by monitoring RF channel, to obtain synchronized tracking packet, set in synchronized tracking packet comprising master Standby Channel Hopping Sequence;According to Channel Hopping Sequence, is obtained on CSB logical transport channel and use the encrypted broadcast of key Data include at least in broadcast data:Audio data and time information data;Low-power consumption bluetooth channel is monitored, support is found GATT service in include CSB broadcast service main equipment, and search out support CSB broadcast service main equipment after, by with The L2CAP connection that main equipment is established, obtains the service characteristic value of main equipment to parse the broadcast data of acquisition.Utilize classical bluetooth The ACL logical transport channel cooperation in CSB logical transport channel and low-power consumption bluetooth complete single-chip main equipment with multiple from setting The transmission of Bluetooth audio frequency data between standby, can support the transmission of audio data and control command data simultaneously, realize true One master and multiple slaves in positive meaning, hardware cost is low, and realizes respectively synchronous from the broadcasting of equipment room.
<3rd embodiment>
In the present embodiment, a kind of Transmission system of Bluetooth audio frequency data is provided, is provided including a first embodiment The slave equipment 8000 that main equipment 5000 and multiple second embodiments provide.
Fig. 9 shows the schematic frame of the Transmission system of the Bluetooth audio frequency data of an example of third embodiment of the invention Figure.A main equipment and one is shown from equipment.
As shown in figure 9, after main equipment obtains audio data, it is raw by audio coder, timestamp generator, broadcasting packet Generation of growing up to be a useful person uses the encrypted broadcast data of key, includes at least audio data and time information data in broadcast data.
Main equipment is sent on CSB logical transport channel uses the encrypted broadcast data of key.It is sent in RF channel same Walk tracking bag.In the GATT service that low-power consumption bluetooth channels broadcast main equipment is supported.It wherein, include main equipment in synchronized tracking packet Channel Hopping Sequence.It include CSB broadcast service in GATT service.
From equipment by monitoring RF channel, the synchronized tracking packet that main equipment is sent is obtained, is obtained and is led according to synchronized tracking packet The Channel Hopping Sequence of equipment is realized synchronous with the bluetooth channel of main equipment.It is realized from equipment same with the bluetooth channel of main equipment After step, main equipment transmission is obtained on CSB logical transport channel uses the encrypted broadcast data of key.
Meanwhile it being searched out in the GATT service of support by monitoring low-power consumption bluetooth channel comprising CSB broadcast clothes from equipment After the main equipment of business, L2CAP is established with main equipment and is connect, to obtain the service characteristic value of main equipment.
Specifically, main equipment is receiving after the L2CAP connection of equipment foundation request, established between equipment L2CAP connection.Service characteristic value is generated according to broadcast data key and audio codec parameter, and will by L2CAP connection Service characteristic value is sent to from equipment.
After the service characteristic value for receiving main equipment transmission by L2CAP connection from equipment, disconnect between main equipment L2CAP connection.Then according to the service characteristic value of main equipment, the broadcast data obtained on CSB logical transport channel is parsed.
Specifically, decrypting the broadcast data obtained on CSB logical transport channel according to broadcast data key from equipment. Broadcasting packet resolver obtains audio data and time information data from the broadcast data after decryption.Play time controller Time synchronization is realized according to time information data.Audio decoder use audio codec configuration parameter, to audio data into Row decoding, and decoded audio data is reduced to by original audio data by digital signal processor, via audio hardware Interface is transferred to loudspeaker, plays out finally by loudspeaker.
It should be noted that can also include the control obtained from control command transmitting terminal in the broadcast data that main equipment generates Order data processed.It is corresponding, from the broadcasting packet resolver of equipment control can also be got from the broadcast data after decryption Order data.Control command receiving end can execute corresponding control operation according to control command data.
In the Transmission system of the Bluetooth audio frequency data, the CSB logical transport channel of classical bluetooth is utilized between master-slave equipment With the ACL logical transport channel of low-power consumption bluetooth, cooperation completes single-chip main equipment and multiple bluetooth sounds between equipment The transmission of frequency evidence can support the transmission of audio data and control command data simultaneously, realize a master truly Mostly from hardware cost is low, and realizes respectively synchronous from the broadcasting of equipment room.
It is well known by those skilled in the art that the development of the electronic information technology with such as large scale integrated circuit technology With the trend of hardware and software, clearly to divide computer system soft and hardware boundary has seemed relatively difficult.Because appointing What operation can be realized with software, can also be realized by hardware.The execution of any instruction can be completed by hardware, equally may be used To be completed by software.Hardware implementations or software implement scheme are used for a certain machine function, depend on price, speed The Non-technical factors such as degree, reliability, memory capacity, change cycle.Therefore, for the ordinary skill of electronic information technical field For personnel, mode more direct and that a technical solution is explicitly described is each operation described in the program.Knowing In the case where road institute operation to be performed, those skilled in the art can directly set based on the considerations of to the Non-technical factor Count out desired product.
The present invention can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the invention.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing operation of the present invention can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the invention Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show the system of multiple embodiments according to the present invention, method and computer journeys The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.It is right For those skilled in the art it is well known that, by hardware mode realize, by software mode realize and pass through software and It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In principle, the practical application or to the technological improvement in market for best explaining each embodiment, or make the art its Its those of ordinary skill can understand each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.

Claims (10)

1. a kind of sending method of Bluetooth audio frequency data is applied to main equipment, which is characterized in that the method includes:
It is sent on CSB logical transport channel and uses the encrypted broadcast data of key, included at least in the broadcast data:Sound Frequency evidence and time information data;
Synchronized tracking packet is sent in RF channel, includes the Channel Hopping Sequence of the main equipment in the synchronized tracking packet;
The GATT that the main equipment described in low-power consumption bluetooth channels broadcast is supported is serviced, and CSB broadcast clothes are included in the GATT service Business, so that described find the main equipment from equipment.
2. the method according to claim 1, wherein what the main equipment described in low-power consumption bluetooth channels broadcast was supported After GATT service, further include:
It is connect with L2CAP is established from equipment;
It is connected by the L2CAP to described and sends service characteristic value from equipment;So that described special according to the service from equipment Value indicative parses the broadcast data;Wherein, the service characteristic value includes at least broadcast data key and audio codec is matched Set parameter;
Disconnection and the L2CAP connection between equipment.
3. the method according to claim 1, wherein further including control command data in the broadcast data.
4. a kind of method of reseptance of Bluetooth audio frequency data is applied to from equipment, which is characterized in that the method includes:
RF channel is monitored, includes the Channel Hopping Sequence of main equipment to obtain synchronized tracking packet, in the synchronized tracking packet;
According to the Channel Hopping Sequence, is obtained on CSB logical transport channel and use the encrypted broadcast data of key, it is described It is included at least in broadcast data:Audio data and time information data;
Low-power consumption bluetooth channel is monitored, the main equipment comprising CSB broadcast service in the GATT service of support is found.
5. according to the method described in claim 4, it is characterized in that, searching out in the GATT service of support comprising CSB broadcast clothes After the main equipment of business, the method also includes:
Obtain the service characteristic value of the main equipment;
According to the service characteristic value of the main equipment, the broadcast data of acquisition is parsed.
6. according to the method described in claim 5, it is characterized in that, the service characteristic value for obtaining the main equipment includes:
L2CAP is established with the main equipment to connect;
The service characteristic value that the main equipment is sent is received by the L2CAP connection;
Disconnect the L2CAP connection between the main equipment.
7. according to the method described in claim 5, it is characterized in that, the service characteristic value include at least broadcast data key and Audio codec configuration parameter;
The service characteristic value according to the main equipment parses the broadcast data of acquisition, including:
According to the broadcast data key, the broadcast data is decrypted;
From the broadcast data after decryption, audio data and time information data are obtained;
Using the audio codec configuration parameter, the audio data is decoded into initial data and is played out.
8. a kind of Bluetooth audio frequency data sending device is applied to main equipment, which is characterized in that including:
First sending module uses the encrypted broadcast data of key, the broadcast for sending on CSB logical transport channel It is included at least in data:Audio data and time information data;
Second sending module includes the main equipment in the synchronized tracking packet for sending synchronized tracking packet in RF channel Channel Hopping Sequence;
Broadcast module, for the GATT service that the main equipment described in low-power consumption bluetooth channels broadcast is supported, in the GATT service Comprising CSB broadcast service, so that described find the main equipment from equipment.
9. a kind of Bluetooth audio frequency data sink is applied to from equipment, which is characterized in that including:
First monitors module, includes main equipment in the synchronized tracking packet to obtain synchronized tracking packet for monitoring RF channel Channel Hopping Sequence;
Module is obtained, for obtaining on CSB logical transport channel encrypted using key according to the Channel Hopping Sequence Broadcast data includes at least in the broadcast data:Audio data and time information data;
Second monitors module, and for monitoring low-power consumption bluetooth channel, finding in the GATT service of support includes CSB broadcast service Main equipment.
10. a kind of Transmission system of Bluetooth audio frequency data, wherein including:
One Bluetooth audio frequency data sending device as claimed in claim 8;And
Multiple Bluetooth audio frequency data sinks as claimed in claim 9.
CN201810537260.0A 2018-05-30 2018-05-30 Transmission method, the apparatus and system of Bluetooth audio frequency data Pending CN108900981A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810537260.0A CN108900981A (en) 2018-05-30 2018-05-30 Transmission method, the apparatus and system of Bluetooth audio frequency data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810537260.0A CN108900981A (en) 2018-05-30 2018-05-30 Transmission method, the apparatus and system of Bluetooth audio frequency data

Publications (1)

Publication Number Publication Date
CN108900981A true CN108900981A (en) 2018-11-27

Family

ID=64343456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810537260.0A Pending CN108900981A (en) 2018-05-30 2018-05-30 Transmission method, the apparatus and system of Bluetooth audio frequency data

Country Status (1)

Country Link
CN (1) CN108900981A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493764A (en) * 2019-08-30 2019-11-22 昆腾微电子股份有限公司 Bluetooth devices method, apparatus, bluetooth equipment and storage medium
CN111093179A (en) * 2019-12-27 2020-05-01 合肥中感微电子有限公司 Wireless communication method, device and system
CN111698794A (en) * 2020-06-24 2020-09-22 杭州国芯科技股份有限公司 Wireless audio sharing method
CN111788836A (en) * 2020-02-03 2020-10-16 深圳市汇顶科技股份有限公司 Data transmission method and BLE equipment
CN111918262A (en) * 2020-08-15 2020-11-10 北京百瑞互联技术有限公司 Low-power-consumption Bluetooth communication method and system for rapidly discovering GATT service
CN112055314A (en) * 2019-06-28 2020-12-08 合肥炬芯智能科技有限公司 Bluetooth broadcast communication method, system and master device and slave device thereof
CN112165645A (en) * 2020-09-28 2021-01-01 北京小米松果电子有限公司 Control method of playback device, and computer storage medium
CN112203238A (en) * 2020-05-22 2021-01-08 深圳市汇顶科技股份有限公司 Data communication method, system, electronic device, chip and storage medium
CN112367649A (en) * 2020-09-29 2021-02-12 北京软慧科技有限公司 Data discovery method and device of low-power-consumption Bluetooth and electronic equipment
CN112771890A (en) * 2018-12-07 2021-05-07 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
CN113225691A (en) * 2021-04-02 2021-08-06 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN113328817A (en) * 2021-08-03 2021-08-31 北京百瑞互联技术有限公司 LE broadcast audio stream fast forward and backward method, device, system, medium and equipment
CN114648866A (en) * 2020-12-18 2022-06-21 瑞昱半导体股份有限公司 Bluetooth audio broadcasting system and multi-member Bluetooth device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742405A (en) * 2008-11-17 2010-06-16 英华达(南京)科技有限公司 Bluetooth broadcast communication system and Bluetooth broadcast communication method
CN103796295A (en) * 2012-10-31 2014-05-14 西门子医疗器械公司 Synchronous access method in frequency hopping wireless communication, communication equipment and communication system
US20140355582A1 (en) * 2013-05-29 2014-12-04 Texas Instruments Incorporated Ble scatternet system and method
WO2017146829A1 (en) * 2016-02-24 2017-08-31 Qualcomm Incorporated A source device broadcasts synchronization information associated with a bluetooth isochronous channel
CN107431859A (en) * 2014-12-31 2017-12-01 高通技术国际有限公司 The radio broadcasting of the voice data of encapsulation with control data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101742405A (en) * 2008-11-17 2010-06-16 英华达(南京)科技有限公司 Bluetooth broadcast communication system and Bluetooth broadcast communication method
CN103796295A (en) * 2012-10-31 2014-05-14 西门子医疗器械公司 Synchronous access method in frequency hopping wireless communication, communication equipment and communication system
US20140355582A1 (en) * 2013-05-29 2014-12-04 Texas Instruments Incorporated Ble scatternet system and method
CN107431859A (en) * 2014-12-31 2017-12-01 高通技术国际有限公司 The radio broadcasting of the voice data of encapsulation with control data
WO2017146829A1 (en) * 2016-02-24 2017-08-31 Qualcomm Incorporated A source device broadcasts synchronization information associated with a bluetooth isochronous channel

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112771890A (en) * 2018-12-07 2021-05-07 华为技术有限公司 Point-to-multipoint data transmission method and electronic equipment
CN112055314A (en) * 2019-06-28 2020-12-08 合肥炬芯智能科技有限公司 Bluetooth broadcast communication method, system and master device and slave device thereof
CN110493764A (en) * 2019-08-30 2019-11-22 昆腾微电子股份有限公司 Bluetooth devices method, apparatus, bluetooth equipment and storage medium
CN111093179A (en) * 2019-12-27 2020-05-01 合肥中感微电子有限公司 Wireless communication method, device and system
CN111093179B (en) * 2019-12-27 2023-10-27 合肥中感微电子有限公司 Wireless communication method, device and system
CN111788836A (en) * 2020-02-03 2020-10-16 深圳市汇顶科技股份有限公司 Data transmission method and BLE equipment
CN112203238A (en) * 2020-05-22 2021-01-08 深圳市汇顶科技股份有限公司 Data communication method, system, electronic device, chip and storage medium
US11528764B2 (en) 2020-05-22 2022-12-13 Shenzhen GOODIX Technology Co., Ltd. Data communication method and system, electronic device, chip and storage medium
CN111698794B (en) * 2020-06-24 2021-12-07 杭州国芯科技股份有限公司 Wireless audio sharing method
CN111698794A (en) * 2020-06-24 2020-09-22 杭州国芯科技股份有限公司 Wireless audio sharing method
CN111918262A (en) * 2020-08-15 2020-11-10 北京百瑞互联技术有限公司 Low-power-consumption Bluetooth communication method and system for rapidly discovering GATT service
CN111918262B (en) * 2020-08-15 2024-05-03 北京百瑞互联技术股份有限公司 Method and system for quickly discovering low-power-consumption Bluetooth communication of GATT service
CN112165645A (en) * 2020-09-28 2021-01-01 北京小米松果电子有限公司 Control method of playback device, and computer storage medium
CN112367649A (en) * 2020-09-29 2021-02-12 北京软慧科技有限公司 Data discovery method and device of low-power-consumption Bluetooth and electronic equipment
CN114648866A (en) * 2020-12-18 2022-06-21 瑞昱半导体股份有限公司 Bluetooth audio broadcasting system and multi-member Bluetooth device
CN113225691A (en) * 2021-04-02 2021-08-06 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN113225691B (en) * 2021-04-02 2022-07-08 北京小米移动软件有限公司 Audio processing method, device and storage medium
CN113328817A (en) * 2021-08-03 2021-08-31 北京百瑞互联技术有限公司 LE broadcast audio stream fast forward and backward method, device, system, medium and equipment

Similar Documents

Publication Publication Date Title
CN108900981A (en) Transmission method, the apparatus and system of Bluetooth audio frequency data
CN112217831B (en) Information interaction method, device and equipment for Internet of things equipment
CN109788441A (en) A kind of information processing method, terminal and computer storage medium
AU2017384996B2 (en) Multimodal transmission of packetized data
US11943695B2 (en) Network channel switching method and apparatus, device, and storage medium
WO2021159864A1 (en) Method for transmitting video and audio data, cloud server and system
CN106792454A (en) Bluetooth communication method, communicator, communication system and electronic equipment
US11823675B2 (en) Display mode dependent response generation with latency considerations
CN109561395A (en) A kind of blue-tooth transmission method and device
TWI789205B (en) Bluetooth communication system capable of increasing generation efficiency of cypher keys required for data transmission between bluetooth host device and bluetooth device set, and related bluetooth device set
US20180220251A1 (en) Ambisonic audio with non-head tracked stereo based on head position and time
CN110147557A (en) The charging box and storage medium of a kind of interpretation method, system and wireless headset
US11868175B2 (en) Heterogeneous computing systems and methods for clock synchronization
CN109246851A (en) A kind of processing method of bluetooth connection, equipment and storage medium
WO2015058514A1 (en) Nfc data transmission method and device, and terminal device
CN110380944A (en) A kind of electronic equipment and its control method
CN112507676B (en) Method and device for generating energy report, electronic equipment and computer readable medium
CN107463808A (en) The call method for the functional module being integrated in operating system
CN109842498A (en) A kind of client terminal configuring method, server, client and electronic equipment
CN111263206A (en) Synchronous playing method and device of multimedia information, storage medium and mobile terminal
CN109147747A (en) A kind of method, playback equipment, server and system loading tuning parameter
JP2019091444A (en) Processing method of smart interactive, device, facility and computer storage medium
CN116128415B (en) Power equipment information sending method and device, electronic equipment and computer medium
US20230354443A1 (en) Wireless device snooping method and apparatus
CN114786158A (en) Dual-mode Bluetooth device and Bluetooth connection method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181127