CN106878927B - Multifunctional Bluetooth equipment and attaching method thereof - Google Patents

Multifunctional Bluetooth equipment and attaching method thereof Download PDF

Info

Publication number
CN106878927B
CN106878927B CN201710070760.3A CN201710070760A CN106878927B CN 106878927 B CN106878927 B CN 106878927B CN 201710070760 A CN201710070760 A CN 201710070760A CN 106878927 B CN106878927 B CN 106878927B
Authority
CN
China
Prior art keywords
main equipment
equipment
virtual unit
bluetooth
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710070760.3A
Other languages
Chinese (zh)
Other versions
CN106878927A (en
Inventor
吴瀚平
符运河
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jian Rong semiconductor (Shenzhen) Co., Ltd.
Original Assignee
ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd
Jian Rong Semiconductor (shenzhen) Co Ltd
Jianrong Integrated Circuit Technology Zhuhai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd, Jian Rong Semiconductor (shenzhen) Co Ltd, Jianrong Integrated Circuit Technology Zhuhai Co Ltd filed Critical ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY Co Ltd
Priority to CN201710070760.3A priority Critical patent/CN106878927B/en
Publication of CN106878927A publication Critical patent/CN106878927A/en
Application granted granted Critical
Publication of CN106878927B publication Critical patent/CN106878927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the present invention provides a kind of Multifunctional Bluetooth equipment and attaching method thereof.This method includes:Some virtual units are set;The virtual unit has independent facility information, corresponding with least one Bluetooth function;In device search process, timesharing switches the facility information to be supplied to main equipment;Establish the connection of the virtual unit and the main equipment;Perform Bluetooth function corresponding with the virtual unit.By the way that a variety of Bluetooth functions are configured in each virtual unit, main equipment is attached with multiple virtual units respectively, the connection between main equipment and slave unit can be reduced to interact and the traffic, and there is good equipment connective stability and compatibility in the situation for integrating multiple Profile.

Description

Multifunctional Bluetooth equipment and attaching method thereof
Technical field
The present invention relates to Bluetooth technology field, more particularly to a kind of Multifunctional Bluetooth equipment and attaching method thereof.
Background technology
Various types of radio transmission apparatus, such as the beginning such as smart mobile phone, bluetooth earphone, MP3 player are extensive People live in every field in apply.Most radio transmission apparatus can support blue tooth transmission audio frequency or other Various types of data simultaneously realize a variety of functions.
In bluetooth standard protocol, for the compatibility between easier holding bluetooth equipment, defined in standard agreement " configuration file " (Profile).The configuration file expresses general behavior (such as a kind of connection or application), and bluetooth equipment can To take this, by being communicated between these behaviors and other equipment, to realize different functions.
Extensive configuration file defined in bluetooth, it is with a variety of functions corresponding.For example, for realizing that bluetooth is stood The Bluetooth stereo transmission specification (A2DP) that body sound plays, for realizing the bluetooth earphone specification of bluetooth earphone call function (HSP) and hand-held device specification (HFP) is exempted from, for supporting the man-machine interface of the button control function such as bluetooth keyboard or mouse to advise Model (HID) or the PAN specification (PANP) surfed the Net by bluetooth etc..
The development trend that more functions are existing electronic equipments is integrated in the same apparatus.Therefore, for a thing For managing bluetooth equipment, such as bluetooth earphone, a variety of different functions can be generally supported.Such, it needs to be integrated with many Different Profile.
In process of the present invention is realized, it is found by the applicant that problems be present in correlation technique:In above-mentioned connection method, by It is too many in the Profile that bluetooth equipment integrates, cause main equipment to connect transinformation content increase with slave unit.Also, too many number The Profile of amount can influence equipment compatibility, there is the probability of error, such as one can support simultaneously A2DP and HID bluetooth earphone, connected smart mobile phone only may be connected to A2DP and ignore HID, or only connect HID and ignore A2DP, causes the function to misread.
The content of the invention
The embodiment of the present invention causes equipment work(mainly solving the technical problems that bluetooth equipment integrates excessive Profile functions It can misread and connect the problem of transinformation content is big.
In order to solve the above technical problems, the embodiments of the invention provide the connection method of Multifunctional Bluetooth equipment.This method Including:Some virtual units are set;The virtual unit has independent facility information, corresponding with least one Bluetooth function; In device search process, timesharing switches the facility information to be supplied to main equipment;Establish the virtual unit and the master The connection of equipment;Perform Bluetooth function corresponding with the virtual unit.
Alternatively, described in device search process, timesharing switches the facility information to be supplied to main equipment, specific bag Include:
Timesharing switches the facility information with the searching request of response main equipment.
Alternatively, the connection for establishing the virtual unit and the main equipment, is specifically included:
Obtain the connection request of main equipment and determine virtual unit corresponding with the connection request;Preserve and described virtual Bluetooth function corresponding to equipment;Stop remaining virtual unit can discovery feature.
Alternatively, described in device search process, timesharing switches the facility information to be supplied to main equipment, specific bag Include:
Timesharing switches the facility information and broadcasted.
Alternatively, the facility information includes:Device address, device name and device attribute.
In order to solve the above technical problems, the embodiment of the present invention additionally provides a kind of Multifunctional Bluetooth equipment.The multi-functional indigo plant Tooth equipment includes:Distribute module, for setting some virtual units;The virtual unit has independent facility information, and extremely A few Bluetooth function is corresponding;Time block, in device search process, timesharing to switch the facility information to be supplied to Main equipment;Link block, for establishing the connection of the virtual unit and the main equipment;And operation module, for performing Bluetooth function corresponding with the virtual unit.
Alternatively, the time block is specifically used for:Timesharing switches the facility information please with the search of response main equipment Ask.
Alternatively, the link block is specifically used for:Obtain the connection request of main equipment and determine and the connection request Corresponding virtual unit;Preserve Bluetooth function corresponding with the virtual unit;Stop remaining virtual unit can discovery feature.
Alternatively, the time block is specifically used for:Timesharing switches the facility information and broadcasted.
Alternatively, the facility information includes:Device address, device name and device attribute.
In order to solve the above technical problems, the embodiment of the present invention additionally provides a kind of Multifunctional Bluetooth equipment.The multi-functional indigo plant Tooth equipment includes:Memory, for storing configuration file corresponding with Bluetooth function;Timer, for providing the predetermined time Cycle;Processor, for setting some virtual units;The virtual unit has independent facility information, supports at least one The configuration file;In device search process, according to the time cycle of timer offer, timesharing switches the equipment letter Cease to be supplied to main equipment;Establish the connection of the virtual unit and the main equipment and perform corresponding with the virtual unit Bluetooth function.
Alternatively, the processor is specifically used for:Receive the ID bags that the main equipment is sent;With the time slot pair of main equipment Together;The FHS bags of virtual unit are sent to main equipment, the time that the FHS bags of different virtual units provide according to the timer is all Phase timesharing switches.
Alternatively, the processor is specifically used for:After connection of the virtual unit with the main equipment is established, stop Remaining virtual unit can discovery feature.
Multifunctional Bluetooth equipment provided in the embodiment of the present invention and attaching method thereof, by the way that a variety of Bluetooth functions are distributed Into each virtual unit virtually generated, then it is attached respectively with multiple virtual units by main equipment, so as to drop Connection between low main equipment and slave unit interacts and the traffic, and integrates multiple Profile feelings in a bluetooth equipment Condition has good equipment connective stability and compatibility.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys The bright restriction not formed to embodiment, the element for having same reference numbers label in accompanying drawing are expressed as similar element, removed Non- have a special statement, and composition does not limit the figure in accompanying drawing.
Fig. 1 is application environment schematic diagram provided in an embodiment of the present invention;
Fig. 2 is the structural representation of Multifunctional Bluetooth equipment provided in an embodiment of the present invention;
Fig. 3 is the connection timing diagram of connection method provided in an embodiment of the present invention;
Fig. 4 is the data format figure of typical FHS bags;
Fig. 5 is the functional block diagram of Multifunctional Bluetooth equipment provided in an embodiment of the present invention;
Fig. 6 is the method flow diagram of the connection method of Multifunctional Bluetooth equipment provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not For limiting the present invention.
Bluetooth standard protocol is provided in a bluetooth equipment, can support multiple configuration files (Profile).Typically , configuration file (Profile) can be understood as a Bluetooth function, define possible application.Such as support that bluetooth is three-dimensional The Bluetooth wireless transmission function of stereo music can be performed between two bluetooth equipments of sound transmission specification (A2DP).
Fig. 1 is the application environment of Multifunctional Bluetooth equipment provided in an embodiment of the present invention.As shown in figure 1, including:User 10th, Multifunctional Bluetooth equipment 20, main equipment 30 and network 40.
User 10 can be any number of, have the colony of same or similar operation behavior, such as family, working group It is or personal.User 10 can pass through any suitable type, one or more kinds of user interaction devices and multifunction blue tooth Equipment 20 interacts, such as mouse, button, remote control, touch-screen, body-sensing camera or intelligent wearable device, input instruction Or control Multifunctional Bluetooth equipment 20 perform one or more kinds of operations, such as audio player operation, receive calls, play it is next Song etc..
Multifunctional Bluetooth equipment 20 can be various types of, and the multifunction electronic for being integrated with a variety of different Profile is set It is standby, such as smart mobile phone, tablet personal computer, bluetooth earphone, PC, laptop computer, Bluetooth audio device, the self-shooting bar of bluetooth connection Or other intelligence/unintelligent terminal equipment.
Multifunctional Bluetooth equipment 20 can establish bluetooth connection according between user instruction, with main equipment 30, by various Different types of data or instruction are transmitted in different Profile connections.For example, the Multifunctional Bluetooth equipment 20 can be bluetooth Earphone, is integrated with the configuration files such as A2DP, HID, HSP, HFP, and main equipment 30 is smart mobile phone.User 10 can be blue by controlling Button on tooth earphone, the control for smart mobile phone is realized, control broadcasting, pause of song etc., or pass through smart mobile phone Bluetooth communication connection between bluetooth earphone, transmits stereo audio data or is received calls by bluetooth earphone.
One blueteeth network can be made up of (each independent a main equipment (Master) and multiple slave units (Server) Synchronous blueteeth network is referred to as a piconet).In the blueteeth network of the application environment shown in Fig. 1, main equipment 30 can be Any suitable type, support the hardware device of Bluetooth wireless transmission, such as smart mobile phone, PC, laptop computer, flat board Computer, wearable smart machine etc..Main equipment 30 can establish connection from multiple different slave units in a piconet.
Relative to main equipment 30, Multifunctional Bluetooth equipment 20 serves as the role of slave unit in blueteeth network, by this hair The Multifunctional Bluetooth equipment connection method that bright embodiment provides, there is provided multiple different virtual units are set as slave unit with master Standby 30 complete equipment connection.
" main equipment " as used herein and " slave unit " is only representing hardware device is served as in blueteeth network role. In actual moving process, device role can be changed according to the actual requirements, such as be set multiple multifunction blue tooths be present In the case of standby 20, one of Multifunctional Bluetooth equipment 20 can also be used as main equipment.
Network 40 can be any suitable, to realize that two communication between electronic connect wired or wireless Network, such as internet, LAN or wireline cable.Multifunctional Bluetooth equipment 20 or main equipment 30 can have at least one Individual network interface, establish and communicate to connect with network 40, corresponding data or instruction are obtained from network 40.Certainly, multi-functional indigo plant Tooth equipment 20 or main equipment 30 can also have at least one local storage, and corresponding number is obtained from local storage According to or programmed instruction.
In further embodiments, can be increased or economization some equipment according to actual conditions, such as can be with economization net Network 40 adds extra user interaction device.Although 2 Multifunctional Bluetooth equipments 20 are only show in Fig. 1 and 1 master sets Standby 30, in certain embodiments, the application environment can also include any number of Multifunctional Bluetooth equipment 20, main equipment 30 Or user 10.
Fig. 2 is provided in an embodiment of the present invention, the Multifunctional Bluetooth equipment used in the application environment shown in Fig. 1.Such as Shown in Fig. 2, the Multifunctional Bluetooth equipment can include:Memory 100, timer 2 00 and processor 300.
Can be by any suitable between the memory 100, timer 2 00 and processor 300, wired or nothing Line connected mode realizes communication connection, transmits data or programmed instruction.In fig. 2, so that bus connects as an example.
Memory 100 can be the non-volatile computer readable storage medium storing program for executing of any suitable type, for storing and indigo plant Configuration file corresponding to tooth function, there is provided used to processor.The memory 100 can also store other computer softwares Programmed instruction, so that processor 300 runs the computer software programs instruction, so as to perform corresponding functional steps.
Timer 2 00 can be based on the hardware clocking capability module that either software or hardware and software are implemented in combination with.It is fixed When device 200 be used to provide random or cycle regular time, such as 1s to processor 300.In further embodiments, Timer 2 00 can also be the one of functional module being integrated in processor 300.
Processor 300 can be specifically any kind of, have the integrated chip or discrete of certain logical operation capability Formula electronic circuit, such as multi-core or the central processing unit of single core.It can call memory 100 and timer 2 00 to carry The data of confession, multiple different virtual units are fictionalized in a Multifunctional Bluetooth equipment.
Wherein, each virtual unit has oneself independent facility information, supports at least one configuration file.Example Such as, Bluetooth stereo transmission specification (A2DP), bluetooth earphone specification (HSP) and man-machine interface specification are integrated with for one (HID) three kinds of Profile Multifunctional Bluetooth equipment, processor 300 can be respectively that it configures three different virtual units 1st, virtual unit 2 and virtual unit 3, the Profile different from three is corresponding respectively.
In further embodiments, different virtual units can also support identical Profile, or support to be more than one Individual Profile.Corresponding relation between specific virtual unit and the Profile of support can be by technical staff according to reality Situation is determined or adjusted.
In main equipment carries out device search process, in classical Bluetooth protocol, as shown in figure 3, main equipment 30 is lookup Equipment, it can constantly broadcast a fixed ID bag.After Multifunctional Bluetooth equipment 20 receives the ID bags, the time slot of oneself can be adjusted Alignd with main equipment 30.And in next time slot, FHS bags are sent to main equipment, response is carried out to main equipment.
In Bluetooth protocol, FHS bags are a special control bags, and it comprises bluetooth device address, sender's clock Deng facility information, Fig. 4 is the data format of typical FHS bag.
In embodiments of the present invention, due to being configured with multiple different virtual units in a Multifunctional Bluetooth equipment.Cause This, the time cycle that processor 300 can provide according to the timer, timesharing switches the facility information and main equipment 30 is entered Row response.
For example, as shown in figure 3, processor 300 can be sent corresponding with virtual unit 1 in first period of time T 1 FHS bags, then in second period of time T 2, send FHS bags corresponding with virtual unit 2 to main equipment 30 to main equipment 30. FHS bags corresponding with virtual unit 3 are sent to main equipment 30 in the 3rd period of time T 3.
The time cycle that this is used to switch facility information is as produced by timer 2 00.As shown in figure 3, two virtual units Between the interval that switches over can be the arbitrary time, that is, the time cycle caused by timer both can be random time, It can also be cycle regular time, can specifically be determined according to actual conditions.
As shown in figure 3, by such mode, from the perspective of main equipment 30, its will search virtual unit 1, 3 three equipment of virtual unit 2 and virtual unit.In a piconet, main equipment 30 can respectively with virtual unit 1, empty Propose standby Bluetooth communication of establishing between 2 and 3 three equipment of virtual unit to connect, enter row data communication.
In the application environment shown in Fig. 1, main equipment 30 (is such as set according to the facility information of the multiple virtual units searched Standby address, device name), corresponding equipment connection request can be initiated.
Because the equipment connection request that main equipment 30 is initiated is the ID bags for one of virtual unit.Therefore, more work( Can bluetooth equipment 20 can according to the ID bags of acquisition, it is determined that specifically virtual unit and corresponding Profile (or function), and Complete follow-up certain operations (such as protocol discovery, equipment Profile connection procedures) foundation and the connection of main equipment 30.
After the completion of connection between main equipment 30 and virtual unit, what main equipment 30 was carried out between virtual unit every time Bluetooth communication can be by the Multifunctional Bluetooth equipment according to virtual unit concrete configuration situation, bluetooth work(corresponding to execution Energy.
After the completion of main equipment 30 is connected with one of virtual unit (such as virtual unit 1), according to the use feelings of reality Condition, Multifunctional Bluetooth equipment 20 can select to stop retrieving for other virtual units, it is possible to find function so that main equipment 30 exists In device search process, it is impossible to search by the virtual other virtual units of Multifunctional Bluetooth equipment.It is such, dispatch state meeting Reduce, equipment is more simple.
In further embodiments, after the completion of main equipment 30 is connected with one of virtual unit (such as virtual unit 1), Multifunctional Bluetooth equipment can continue to keep other virtual units can find, can search function.Main equipment 30 still can be with Search other virtual units (such as virtual unit 2, virtual unit 3).
In embodiments of the present invention, the facility information handover operation performed by processor 300, can be multi-functional at one Multiple different virtual units (such as virtual unit 1, virtual unit 2 and virtual unit 3) are fictionalized in bluetooth equipment 20.One side Face, inside Multifunctional Bluetooth equipment 20, the equipment such as device address during virtual unit can be set to believe by processor 300 Breath, the functional attributes of the Multifunctional Bluetooth equipment of reality are managed.
On the other hand, for main equipment 30, its slave unit foundation respectively with being integrated with lesser amt Profile is set Standby connection, and support corresponding Bluetooth function (such as Bluetooth stereo transmission, bluetooth conversation).With usually directly with it is integrated multiple The mode that Profile Multifunctional Bluetooth equipment establishes connection is compared, and is connected between the Multifunctional Bluetooth equipment 20 and main equipment 30 Connect the connection being considered between multiple slave units and main equipment, (such as main equipment respectively with support A2DP slave unit and Support HID slave unit connection).Therefore, the compatibility of connection and stability significantly improve, and error rate is smaller, will not cause work( Misunderstanding on energy.It is additionally, since that the integrated Profile quantity of slave unit (i.e. virtual unit) is few, slave unit and main equipment Profile connections interaction and the traffic reduce.
In an alternative embodiment of the invention, above-mentioned processor 300 fictionalizes multiple virtual on a physics bluetooth equipment Bluetooth equipment specifically can be by one or more other Implement of Function Module as slave unit, and the functional module can be passed through The mode that hardware, software or hardware and software combine is realized.Fig. 5 is the work(of Multifunctional Bluetooth equipment provided in an embodiment of the present invention Can block diagram.
As shown in figure 5, the Multifunctional Bluetooth equipment can include:Distribute module 100, time block 200, link block 300 and operation module 400.
Wherein, the distribute module 100 is used to set some virtual units;The virtual unit has independent equipment letter Breath, it is corresponding with least one Bluetooth function.Time block 200 is used in device search process, and timesharing switches the equipment letter Cease to be supplied to main equipment.Link block 300 is used for the connection for establishing the virtual unit and the main equipment.Operation module 400 are used to perform Bluetooth function corresponding with the virtual unit.
First, different Bluetooth functions is respectively allocated to multiple virtual by Multifunctional Bluetooth equipment by distribute module 100 In equipment.
Wherein, each virtual unit all has oneself independent facility information, to distinguish different virtual units and really Determine Bluetooth function corresponding to virtual unit (such as Profile).For example, the facility information can include device address, device name And the information such as device attribute.
And in the equipment search phase, time block 200 is according to the timer fixation that either other manner provides or random Time cycle, timesharing switch the facility information for being supplied to main equipment.Due to have answered different facility informations to main equipment timesharing. Therefore, main equipment will search multiple different equipment (virtually being generated by Multifunctional Bluetooth equipment).
After equipment search is completed, link block 300 performs some corresponding behaviour according to the connection request of main equipment 30 Make, the equipment connection corresponding to foundation between virtual unit and main equipment.
Finally, the functions of the equipments or attribute of Multifunctional Bluetooth equipment are managed by operation module 400, performed and void Propose standby corresponding Bluetooth function.For example, according to the device address of virtual unit 1, in the communication of virtual unit 1 and main equipment Cheng Zhong, carry out the Bluetooth transmission of stereo audio.
Fig. 6 is the method flow diagram of the connection method of Multifunctional Bluetooth equipment provided in an embodiment of the present invention.Such as Fig. 6 institutes Show, methods described comprises the following steps:
100:Some virtual units are set;The virtual unit has independent facility information, with least one bluetooth work( Can be corresponding.
In embodiments of the present invention, the Bluetooth function, which can refer to, realizes certain application or certain connection.One configuration text Part (profile) is it is considered that describe a Bluetooth function.
200:In device search process, timesharing switches the facility information to be supplied to main equipment.
The normal process such as equipment search, connection and communication defined in bluetooth standard specification.Wherein, in process described in equipment In, main equipment can find these equipment according to the facility information that slave unit is fed back.In the present embodiment, Multifunctional Bluetooth equipment leads to The mode of the facility information of multiple virtual units is fed back when undue to main equipment, main equipment can be made to be sent out in device search process These existing virtual units.
300:Establish the connection of the virtual unit and the main equipment.Connection between virtual unit and main equipment can be with Completed after being adjusted correspondingly according to the definition of the Bluetooth protocol used.
After connection of one of virtual unit with the main equipment is established, Multifunctional Bluetooth equipment can select to stop Only other virtual units are found, can search for function.Certainly, in further embodiments, Multifunctional Bluetooth equipment can also Do not stop finding, can search for function.
400:Perform Bluetooth function corresponding with the virtual unit.Each virtual unit can use similar side Formula, established respectively with main equipment by the operating process of standard and be connected and (be used as slave unit).Multifunctional Bluetooth equipment is according to virtual The facilities of equipment, these Bluetooth functions (i.e. Profile) are managed.
Fig. 3 is the device search process under classical Bluetooth protocol specification.As shown in figure 3, in step 200, it is multi-functional The ID bags that bluetooth equipment 20 is sent according to main equipment, timesharing switch the facility information with response main equipment, enable main equipment Search multiple different virtual units.
It is empty to realize according to classical Bluetooth protocol for equipment connection, the definition of communication process after the completion of equipment search Standby communication process complete between main equipment is proposed, step 300 can specifically include:
First, obtain the connection request of main equipment and determine virtual unit corresponding with the connection request.Main equipment exists When initiating equipment connects, an ID bag (or other types of packet) for being directed to the virtual unit can be sent.Multi-functional indigo plant Tooth equipment can according to this ID bag determine corresponding to virtual unit.
Then, Bluetooth function corresponding with the virtual unit is preserved.After virtual unit is determined, Multifunctional Bluetooth equipment It can determine therefrom that now main equipment needs the Bluetooth function (such as A2DP) connected.Multifunctional Bluetooth equipment can be somebody's turn to do with keeping records Bluetooth function corresponding to virtual unit (such as Profile), in order to follow-up operation.Completion is connected with main equipment in virtual unit Afterwards, to the behaviour of the corresponding functions of the equipments attribute of Multifunctional Bluetooth equipment when each main equipment with the communication of virtual unit is connection Make.
In the present embodiment, a Multifunctional Bluetooth equipment can fictionalize multiple virtual units, and according to virtually setting The functions of the equipments and attribute of the standby equipment information management Multifunctional Bluetooth equipment set.Moreover, Multifunctional Bluetooth equipment can be In connection procedure, it is (corresponding according to the virtual unit of connection under the mode of operation in which kind of application to know that main equipment is currently needed for Bluetooth function can know).
For example, it is smart mobile phone in main equipment 30, and when Multifunctional Bluetooth equipment 20 is bluetooth earphone, Multifunctional Bluetooth equipment The target virtual devices (such as virtual unit 2) that can be connected according to smart mobile phone initiating equipment, determine that smart mobile phone now needs In wireless blue tooth call mode of operation in.It is such, Multifunctional Bluetooth equipment can be made to make some differentiation accordingly Man-machine interaction, such as special prompt tone, adjust audio volume or change audio play pattern.
In further embodiments, it is other in addition to classical Bluetooth protocol specification to be also possible to support for Multifunctional Bluetooth equipment 20 Agreement, such as BLE low-power consumption bluetooths.Set due in BLE protocol specifications, defining device search process using equipment active broadcast The mode of the facility informations such as standby address, title and attribute.Therefore, step 200 can be adjusted to accordingly:Multifunction blue tooth is set The facility information of the different virtual units of standby 20 timesharing broadcast, so that main equipment can search multiple different virtual set It is standby.Certainly, the time cycle of the switching can be random period or cycle regular time.
After completing equipment search, similar, follow-up connection and communication with the operation in above-mentioned classical Bluetooth protocol specification Process can be carried out corresponding according to the definition in BLE protocol specifications to the connection between main equipment and virtual unit and communication Adjustment, so as to realize that a Multifunctional Bluetooth equipment in BLE low-power consumption bluetooth agreements, fictionalizes multiple virtual units and master The target that equipment is attached.
It should be noted that because above method embodiment and device embodiment are conceived based on identical application, therefore, dress Put the corresponding contents in embodiment and be equally applicable to embodiment of the method, the corresponding contents in embodiment of the method can also be real by device The each functional module applied in example performs, and is no longer described in detail herein.
Professional should further appreciate that, be described with reference to the embodiments described herein exemplary Bluetooth communication step, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.
Professional and technical personnel can realize described function using distinct methods to each specific application, still This realization is it is not considered that beyond the scope of this invention.Described computer software can be stored in computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory or random access memory etc..
Embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize this The equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations Technical field, it is included within the scope of the present invention.

Claims (12)

  1. A kind of 1. connection method of Multifunctional Bluetooth equipment, it is characterised in that including:
    Some virtual units are set;The virtual unit has independent facility information, corresponding with least one Bluetooth function;
    In device search process, receive come autonomous device ID bags and according to the ID bags align and the main equipment when Gap;
    By way of sending FHS bags corresponding with the virtual unit to the main equipment, timesharing switches the facility information To be supplied to main equipment, main equipment is set to search multiple different virtual units;
    According to the connection request of main equipment, the connection of the virtual unit and the main equipment is established;
    Perform Bluetooth function corresponding with the virtual unit.
  2. 2. according to the method for claim 1, it is characterised in that it is described in device search process, set described in timesharing switching Standby information is specifically included with being supplied to main equipment:
    Timesharing switches the facility information with the searching request of response main equipment.
  3. 3. according to the method for claim 2, it is characterised in that the company for establishing the virtual unit and the main equipment Connect, specifically include:
    Obtain the connection request of main equipment and determine virtual unit corresponding with the connection request;
    Preserve Bluetooth function corresponding with the virtual unit;
    Stop remaining virtual unit can discovery feature.
  4. 4. according to the method for claim 1, it is characterised in that it is described in device search process, set described in timesharing switching Standby information is specifically included with being supplied to main equipment:
    Timesharing switches the facility information and broadcasted.
  5. 5. according to any described methods of claim 1-4, it is characterised in that the facility information includes:Device address, equipment Title and device attribute.
  6. A kind of 6. Multifunctional Bluetooth equipment, it is characterised in that including:
    Distribute module, for setting some virtual units;The virtual unit has independent facility information, with least one indigo plant Tooth function is corresponding;
    Time block, in device search process, reception to carry out the ID bags of autonomous device and according to ID bags alignment and institute State the time slot of main equipment;
    By way of sending FHS bags corresponding with the virtual unit to the main equipment, timesharing switches the facility information To be supplied to main equipment, main equipment is set to search multiple different virtual units;
    Link block, for the connection request according to main equipment, establish the connection of the virtual unit and the main equipment;And
    Operation module, for performing Bluetooth function corresponding with the virtual unit.
  7. 7. Multifunctional Bluetooth equipment according to claim 6, it is characterised in that the time block is specifically used for:Timesharing Switch the facility information with the searching request of response main equipment.
  8. 8. Multifunctional Bluetooth equipment according to claim 7, it is characterised in that the link block is specifically used for:
    Obtain the connection request of main equipment and determine virtual unit corresponding with the connection request;
    Preserve Bluetooth function corresponding with the virtual unit;
    Stop remaining virtual unit can discovery feature.
  9. 9. Multifunctional Bluetooth equipment according to claim 6, it is characterised in that the time block is specifically used for:Timesharing Switch the facility information to be broadcasted.
  10. 10. according to any described Multifunctional Bluetooth equipments of claim 6-9, it is characterised in that the facility information includes:If Standby address, device name and device attribute.
  11. A kind of 11. Multifunctional Bluetooth equipment, it is characterised in that including:
    Memory, for storing configuration file corresponding with Bluetooth function;
    Timer, for providing the predetermined time cycle;
    Processor, for setting some virtual units;The virtual unit has independent facility information, supports at least one institute State configuration file;
    In device search process, the ID bags sent by main equipment are received;And alignd with the time slot of the main equipment;
    The time cycle provided according to the timer, the FHS bags of virtual unit, different virtual units are sent to the main equipment The time cycle timesharing that is provided according to the timer of FHS bags switch, the main equipment is searched multiple different Virtual unit;
    According to the connection request of the main equipment, establish the connection of the virtual unit and the main equipment and perform and the void Propose standby corresponding Bluetooth function.
  12. 12. Multifunctional Bluetooth equipment according to claim 11, it is characterised in that the processor is specifically used for:
    After the connection of the virtual unit and the main equipment is established, stop remaining virtual unit can discovery feature.
CN201710070760.3A 2017-02-09 2017-02-09 Multifunctional Bluetooth equipment and attaching method thereof Active CN106878927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710070760.3A CN106878927B (en) 2017-02-09 2017-02-09 Multifunctional Bluetooth equipment and attaching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710070760.3A CN106878927B (en) 2017-02-09 2017-02-09 Multifunctional Bluetooth equipment and attaching method thereof

Publications (2)

Publication Number Publication Date
CN106878927A CN106878927A (en) 2017-06-20
CN106878927B true CN106878927B (en) 2018-03-27

Family

ID=59167290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710070760.3A Active CN106878927B (en) 2017-02-09 2017-02-09 Multifunctional Bluetooth equipment and attaching method thereof

Country Status (1)

Country Link
CN (1) CN106878927B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613483A (en) * 2017-09-25 2018-01-19 福州汇思博信息技术有限公司 Method and smart machine based on virtual bluetooth equipment communication between process
CN110366154A (en) * 2019-07-26 2019-10-22 深圳市瑞荣达电子有限公司 A kind of Bluetooth audio frequency wireless networking system
CN116234062B (en) * 2022-12-27 2024-03-01 深圳凯晖电子科技有限公司 One-to-many input device connection method and device and computer device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1167207C (en) * 2002-12-31 2004-09-15 艾威梯软件技术(北京)有限公司 Method of establishing blue-teeth connection between blue-teeth equipments
KR20080003959A (en) * 2006-07-04 2008-01-09 삼성전자주식회사 Bluetooth apparatus possible to select profile and method for transmission data thereof
JP4282721B2 (en) * 2007-01-31 2009-06-24 株式会社東芝 Mobile terminal device
US20090053997A1 (en) * 2007-08-24 2009-02-26 Motorola, Inc. Dynamic user interface for displaying connection status and method thereof
CN101159451B (en) * 2007-10-22 2011-03-02 中兴通讯股份有限公司 Audio equipment connecting method in bluetooth authentication
CN101631156B (en) * 2009-08-13 2012-10-10 中兴通讯股份有限公司 Method and system for controlling orderly connection of Bluetooth headset by using terminal
CN105025431A (en) * 2014-05-30 2015-11-04 络达科技股份有限公司 Multi-role Bluetooth device and Bluetooth connection method thereof
CN105376870A (en) * 2015-11-30 2016-03-02 惠州Tcl移动通信有限公司 Method for enabling smart watch to support plurality of wireless connections and smart watch
CN105516897A (en) * 2015-12-07 2016-04-20 哈尔滨工业大学深圳研究生院 Method and device for one-key establishment of communication connection between Bluetooth devices

Also Published As

Publication number Publication date
CN106878927A (en) 2017-06-20

Similar Documents

Publication Publication Date Title
CN110347979A (en) Information sharing method, device and touch control terminal, storage medium of the split screen across application
CN105139877A (en) Method for connecting multimedia play devices, main device, control terminal and system
KR102036049B1 (en) Icon Displaying Method according to service usage capability and Electronic Device supporting the same
CN106878927B (en) Multifunctional Bluetooth equipment and attaching method thereof
CN104081360A (en) Tracking data usage under a schematized data plan
CN107168905A (en) A kind of document display method, device, storage medium and mobile terminal
JP2002202836A (en) Input device, equipment, control method, program, and storage medium
CN107135463A (en) A kind of Bluetooth connecting method and device
KR20100115944A (en) Device and method for establishing connections and controlling application via physical contact between devices
WO2016127687A1 (en) Media file playback progress synchronization method, device and system
CN107146608B (en) Playing control method and device and intelligent equipment
KR20130074132A (en) Mobile terminal capable of connecting to multiple external devices and control method thereof
CN108462618A (en) Cloud Server and smart home device method for managing system
CN109152094A (en) Wireless network connecting method for terminal
CN102770850A (en) A token for communicating with a host device, corresponding communication system and method
CN102932759A (en) Information sharing method and device
CN108370353A (en) It is increased network utilization using network assistance agreement
CN101415251B (en) Apparatus for implementing data transmission based on Bluetooth
CN104281363A (en) Interface operation method
CN104052801B (en) A kind of information processing method and electronic equipment
CN113391559A (en) Smart home equipment control method and terminal equipment
CN105429900A (en) Method, device and system for bandwidth speed acceleration
MXPA05002647A (en) A method and an apparatus for providing multimedia services in mobile terminal.
CN109688402A (en) A kind of exchange method based on hologram, client and system
CN107624252A (en) Control the method and device of network insertion

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

Effective date of registration: 20191220

Address after: 518000 District 652, district a, huameiju business center, Xinhu Road, Haiyu community, Xin'an street, Bao'an District, Shenzhen City, Guangdong Province

Patentee after: Jian Rong semiconductor (Shenzhen) Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Gao Xin Road No. 013 Fu technology building B block 5 layer 505

Co-patentee before: Jianrong Integrated Circuit Technology (Zhuhai) Co., Ltd.

Patentee before: Jian Rong semiconductor (Shenzhen) Co., Ltd.

Co-patentee before: ZHUHAI HUANGRONG INTEGRATED CIRCUIT TECHNOLOGY CO., LTD.

TR01 Transfer of patent right