CN106452512B - A kind of role transforming method and device based on bluetooth connection - Google Patents

A kind of role transforming method and device based on bluetooth connection Download PDF

Info

Publication number
CN106452512B
CN106452512B CN201610875198.7A CN201610875198A CN106452512B CN 106452512 B CN106452512 B CN 106452512B CN 201610875198 A CN201610875198 A CN 201610875198A CN 106452512 B CN106452512 B CN 106452512B
Authority
CN
China
Prior art keywords
bluetooth
blue tooth
tooth vehicular
module
bluetooth headset
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
CN201610875198.7A
Other languages
Chinese (zh)
Other versions
CN106452512A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610875198.7A priority Critical patent/CN106452512B/en
Publication of CN106452512A publication Critical patent/CN106452512A/en
Application granted granted Critical
Publication of CN106452512B publication Critical patent/CN106452512B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H04B5/72
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • H04M1/6066Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone including a wireless connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6075Portable telephones adapted for handsfree use adapted for handsfree use in a vehicle
    • H04M1/6083Portable telephones adapted for handsfree use adapted for handsfree use in a vehicle by interfacing with the vehicle audio system
    • H04M1/6091Portable telephones adapted for handsfree use adapted for handsfree use in a vehicle by interfacing with the vehicle audio system including a wireless interface

Abstract

The embodiment of the invention discloses the role transforming method and devices based on bluetooth connection, are applied to technical field of information processing.In the method for the present embodiment, if terminal device is in the process that the audio data of broadcasting is sent to bluetooth headset or blue tooth vehicular by bluetooth connection, then terminal device can be after receiving the role transforming request that bluetooth headset or blue tooth vehicular are sent, send refusal role transforming response, to refuse bluetooth headset or blue tooth vehicular as main equipment, the audio data listened to from bluetooth headset or blue tooth vehicular is caused Caton or noise or an interrupted factor occur to eliminate.

Description

A kind of role transforming method and device based on bluetooth connection
Technical field
The present invention relates to technical field of information processing, in particular to a kind of role transforming method and dress based on bluetooth connection It sets.
Background technique
With popularizing for smart phone, bluetooth connection is carried out using bluetooth headset or blue tooth vehicular and mobile phone, and pass through indigo plant Tooth earphone or blue tooth vehicular, which listen to music, to become more and more popular, but there is also many problems, such as music, and Caton occurs, or noise occurs Or the problems such as interrupted, bad experience is brought to user.Cause music that Caton occurs, or noise or interrupted etc. reason occurs Compare more, for example the original audio data that mobile phone plays will be between Caton etc. or mobile phone and bluetooth headset or blue tooth vehicular Bluetooth communication go wrong, how as far as possible in the communication process of mobile phone and bluetooth headset or blue tooth vehicular, elimination causes Music Caton or noise or interrupted factor are an important problems.
Summary of the invention
The embodiment of the present invention provides a kind of role transforming method and device based on bluetooth connection, realizes in terminal device During the audio data played is transmitted to bluetooth headset or blue tooth vehicular, the role for refusing bluetooth headset or blue tooth vehicular turns Change request.
The embodiment of the present invention provides a kind of role transforming method based on bluetooth connection, which comprises
The terminal device and bluetooth headset or blue tooth vehicular carry out bluetooth connection;
The terminal device receives the role transforming request that the bluetooth headset or blue tooth vehicular are sent, the role transforming Request is for requesting the bluetooth headset or blue tooth vehicular as main equipment;
If the terminal device, which is in, is sent to the bluetooth ear by the bluetooth connection for the audio data of broadcasting The process of machine or blue tooth vehicular, the terminal device send refusal role transforming and respond to the bluetooth headset or blue tooth vehicular.
The embodiment of the present invention also provides a kind of role transforming device based on bluetooth connection, comprising:
Link block, for carrying out bluetooth connection with bluetooth headset or blue tooth vehicular;
Request receiving module, the role transforming request sent for receiving the bluetooth headset or blue tooth vehicular, the angle Color convert requests are for requesting the bluetooth headset or blue tooth vehicular as main equipment;
Respond module leads to the audio data of broadcasting if be in for the role transforming device based on bluetooth connection The process that the bluetooth connection is sent to the bluetooth headset or blue tooth vehicular is crossed, refusal role transforming is sent and responds to the indigo plant Tooth earphone or blue tooth vehicular.
As it can be seen that in the method for the present embodiment, if terminal device, which is in, passes through bluetooth connection for the audio data of broadcasting It is sent to the process of bluetooth headset or blue tooth vehicular, then terminal device can be at the angle for receiving bluetooth headset or blue tooth vehicular transmission After color convert requests, refusal role transforming response is sent, to refuse bluetooth headset or blue tooth vehicular as main equipment, to eliminate The audio data listened to from bluetooth headset or blue tooth vehicular is caused Caton or noise or interrupted factor occur.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of role transforming method based on bluetooth connection provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another role transforming method based on bluetooth connection provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of terminal device in the embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of role transforming device based on bluetooth connection provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another role transforming device based on bluetooth connection provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover not exclusively include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
The embodiment of the present invention provides a kind of role transforming method based on bluetooth connection, mainly can be applied to terminal device Such as in mobile phone, flow chart is as shown in Figure 1, comprising:
Step 101, the bluetooth module of terminal device and bluetooth headset or blue tooth vehicular carry out bluetooth connection.
Step 102, the role transforming (role switch) that terminal device receives that bluetooth headset or blue tooth vehicular are sent is asked It asks, role transforming is requested for requesting bluetooth headset or blue tooth vehicular as main equipment.
It is appreciated that under normal circumstances, after terminal device initiates the bluetooth connection with bluetooth headset or blue tooth vehicular, Terminal device can be as main (master) equipment, and bluetooth headset or blue tooth vehicular are used as from equipment.Terminal device and indigo plant in this way Tooth earphone or blue tooth vehicular can transmit data according to the frequency of terminal device during Bluetooth communication, and set according to terminal Standby frequency carries out the operation such as frequency hopping.
Step 103, if terminal device, which is in, is sent to bluetooth ear by above-mentioned bluetooth connection for the audio data of broadcasting The process of machine or blue tooth vehicular, then terminal device can send refusal role transforming and respond to bluetooth headset or blue tooth vehicular.
Some bluetooth headsets or blue tooth vehicular after carrying out bluetooth connection with terminal device, can send role transforming request to Terminal device, to request as main equipment, under normal circumstances, terminal device, which can be sent, receives role's transition response to bluetooth headset Or blue tooth vehicular.But if bluetooth headset or blue tooth vehicular transmit audio data to bluetooth in terminal device as main equipment During earphone or blue tooth vehicular, audio data can be transmitted with the frequency of bluetooth headset or blue tooth vehicular, and according to bluetooth ear The frequency of machine or blue tooth vehicular carries out frequency hopping, so that the audio data that user listens to from bluetooth headset or blue tooth vehicular can go out Existing Caton or noise or it is interrupted the problems such as.
Therefore, in the present embodiment, the audio data of broadcasting is sent out by above-mentioned bluetooth connection if terminal device is in The process of bluetooth headset or blue tooth vehicular is given, then terminal device can send refusal role transforming response, to refuse bluetooth headset Or blue tooth vehicular is as main equipment, to eliminate the audio data card for causing to listen to from bluetooth headset or blue tooth vehicular Or noise or interrupted factor.
It should be noted that terminal device sends refusal role transforming response, and the audio data that transmission plays all is logical It crosses above-mentioned bluetooth connection and is sent to bluetooth headset or blue tooth vehicular.And during executing above-mentioned steps 101, bluetooth headset Or blue tooth vehicular can also send role transforming and request to terminal device, in the present embodiment, when terminal device is executing above-mentioned step During rapid 101, i.e., do not complete bluetooth connection between bluetooth headset or blue tooth vehicular also, be received by bluetooth headset or The role transforming request that blue tooth vehicular is sent directly can return to refusal role transforming response to bluetooth headset or blue tooth vehicular.
In another case, terminal device can just send refusal role transforming in another case and respond to bluetooth ear Machine or blue tooth vehicular, refering to what is shown in Fig. 2, in this case, the role transforming method based on bluetooth connection includes the following steps:
Step 201, the bluetooth module of terminal device and bluetooth headset or blue tooth vehicular carry out bluetooth connection.
Step 202, terminal device receives the role transforming request that bluetooth headset or blue tooth vehicular are sent, role transforming request For requesting bluetooth headset or blue tooth vehicular as main equipment.
Step 203, terminal device, which is in, is sent to the bluetooth ear by the bluetooth connection for the audio data of broadcasting The process of machine or blue tooth vehicular judges that the bluetooth host module for including in terminal device sends Bluetooth format to Bluetooth control module The time interval of audio data whether be greater than such as 50 milliseconds of preset time value, if it is greater, then executing step 204, such as Fruit is not more than, and thens follow the steps 205.
It is appreciated that including bluetooth master in bluetooth module as shown in figure 3, may include bluetooth module in terminal device Machine (host) module and Bluetooth control (controller) module, and in terminal device can also include other modules, Here specific introduction is not done.
After the Bluetooth control module and bluetooth headset or blue tooth vehicular of terminal device carry out bluetooth connection, it can obtain The audio data of the unprocessed form of broadcasting, and send the audio data of unprocessed form to bluetooth host module;By bluetooth host Module is by the format that the audio data coding of unprocessed form is that bluetooth is supported, i.e. the audio data of Bluetooth format, such as by pulse The audio data coding of coded modulation (Pulse Code Modulation, PCM) format is sub-band coding (subband Coding, SBC) format audio data;Then bluetooth host module sends the audio data of Bluetooth format to Bluetooth control The audio data of Bluetooth format is sent to bluetooth headset or bluetooth by above-mentioned bluetooth connection by Bluetooth control module by module It is vehicle-mounted.
Wherein, if bluetooth host module sends the audio data delay of Bluetooth format, such as one to Bluetooth control module As in the case of, bluetooth host module can send the audio data of Bluetooth format to Bluetooth control module, such as every 20 milliseconds (ms) The time interval that fruit bluetooth host module sends data is more than 50ms, then in bluetooth headset or the audio number of blue tooth vehicular uppick According to just will appear Caton or noise or interrupted problem.In the present embodiment, terminal device can detect bluetooth host module to When the time interval that Bluetooth control module sends the audio data of Bluetooth format is greater than 50ms, refuse bluetooth headset or blue tooth vehicular As main equipment, i.e. execution step 204.
Step 204, terminal device sends refusal changing role and responds to bluetooth headset or blue tooth vehicular.
Step 205, terminal device transmission receives changing role and responds to bluetooth headset or blue tooth vehicular.
Further, bluetooth blacklist can also be added in the bluetooth headset or blue tooth vehicular by terminal device, here bluetooth Blacklist can send the bluetooth equipment that role transforming is requested during being used to be stored in Bluetooth communication.It in this way can be black by bluetooth List learns which bluetooth equipment can send role transforming request, to be directed to these bluetooth equipments, configurating terminal device is held The method of row the present embodiment.
Specifically, terminal device can be by high address part (Upper in the address of bluetooth headset or blue tooth vehicular Address Part, UAP) and meaningless address part (Non-significant Address Part, NAP) field be stored into Bluetooth blacklist.Under normal circumstances, the address of bluetooth equipment includes being divided into three parts, i.e. status address part (Lower Address Part, LAP) LAP (24 bit address lower portion), (16 are meaninglessly by UAP (8 bit address upper) and NAP Location part), wherein NAP and UAP is the exclusive identification code of bluetooth equipment production firm, it is necessary to be distributed to not by bluetooth authoritative department Same manufacturer, and LAP is freely distributed by the raw manufacturer internal of bluetooth equipment.
The embodiment of the present invention also provides a kind of role transforming device based on bluetooth connection, structural schematic diagram such as Fig. 4 institute Show, can specifically include:
Link block 10, for carrying out bluetooth connection with bluetooth headset or blue tooth vehicular;
Request receiving module 11, for the link block 10 carry out bluetooth connection after, receive the bluetooth headset or The role transforming request that blue tooth vehicular is sent;
Respond module 12, if being in the audio data that will be played for the role transforming device based on bluetooth connection The process of the bluetooth headset or blue tooth vehicular is sent to by the bluetooth connection, transmission refusal role transforming responds to described Bluetooth headset or blue tooth vehicular.
If the present embodiment device be in by the audio data of broadcasting by bluetooth connection be sent to bluetooth headset or The process of blue tooth vehicular, then request receiving module 11 is in the role transforming request for receiving bluetooth headset or blue tooth vehicular transmission Afterwards, respond module 12 can send refusal role transforming response, to refuse bluetooth headset or blue tooth vehicular as main equipment, to disappear In addition to causing the audio data listened to from bluetooth headset or blue tooth vehicular Caton or noise or an interrupted factor occur.
Refering to what is shown in Fig. 5, in a specific embodiment, the role transforming device based on bluetooth connection is in addition to can wrap It includes outside structure as shown in Figure 4, can also include judgment module 13, module 15 and bluetooth module 14, the bluetooth module is added 14 include bluetooth host module 140 and Bluetooth control module 141, in which:
The link block 10 specifically can control Bluetooth control module 141 and bluetooth headset or blue tooth vehicular carries out bluetooth Connection.
The judgment module 13, for when request receiving module 11 receive role transforming request after, in bluetooth module 14 During the audio data of broadcasting is sent to the bluetooth headset or blue tooth vehicular by the bluetooth connection, described in judgement Whether bluetooth host module 140 is greater than to the time interval for the audio data that Bluetooth control module 141 sends Bluetooth format Preset time value, if it does, the respond module 12 is notified to execute the transmission refusal changing role and respond to the indigo plant The step of tooth earphone or blue tooth vehicular.Further, in this case, which is also used to judge when judgment module The time interval of the bluetooth host module 140 to the audio data that Bluetooth control module 141 sends Bluetooth format is little When preset time value, transmission receives changing role and responds to the bluetooth headset or blue tooth vehicular.
The respond module 13 is also used to carry out bluetooth connection with bluetooth headset or blue tooth vehicular in the link block 10 During, when the terminal device receives the role transforming request that the bluetooth headset or blue tooth vehicular are sent, to described Bluetooth headset or blue tooth vehicular return to refusal role transforming response.
Module 15 is added, for after request receiving module 11 receives role transforming request, by the bluetooth headset or Blue tooth vehicular is added bluetooth blacklist, and the bluetooth blacklist can send role transforming and ask for being stored in during Bluetooth communication The bluetooth equipment asked.
The addition module 15, specifically for storing up UAP and NAP field in the address of the bluetooth headset or blue tooth vehicular It is stored in the bluetooth blacklist.
The embodiment of the present invention also provides a kind of terminal device, and structural schematic diagram is as shown in fig. 6, the terminal device can be because matching It sets or performance is different and generate bigger difference, may include one or more central processing units (central Processing units, CPU) 20 (for example, one or more processors) and memory 21, one or more are deposited Store up the storage medium 22 (such as one or more mass memory units) of application program 221 or data 222.Wherein, it stores Device 21 and storage medium 22 can be of short duration storage or persistent storage.Be stored in storage medium 22 program may include one or More than one module (diagram does not mark), each module may include to the series of instructions operation in terminal device.More into one Step ground, central processing unit 20 can be set to communicate with storage medium 22, execute one in storage medium 22 on the terminal device Series of instructions operation.
Terminal device can also include one or more power supplys 23, one or more wired or wireless networks connect Mouth 24, one or more input/output interfaces 25, and/or, one or more operating systems 223, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Specifically, the application program 221 stored in storage medium 22 includes answering for the role transforming based on bluetooth connection With program, and the program may include the link block 10 in the above-mentioned role transforming device based on bluetooth connection, and request receives Module 15 and bluetooth host module 140 and bluetooth in bluetooth module 14 is added in module 11, respond module 12, judgment module 13 Control module 141, herein without repeating.Further, central processing unit 20 can be set to communicate with storage medium 22, The corresponding system of application program of the role transforming based on bluetooth connection stored in storage medium 22 is executed on the terminal device Column operation.And above-mentioned wired or wireless network interface 24 may include blue tooth interface.
The step as performed by terminal device described in above method embodiment can be set based on the terminal shown in fig. 6 Standby structure.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM), random access memory ram), disk or CD etc..
The role transforming method and device based on bluetooth connection is provided for the embodiments of the invention above to have carried out in detail It introduces, used herein a specific example illustrates the principle and implementation of the invention, the explanation of above embodiments It is merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered It is interpreted as limitation of the present invention.

Claims (11)

1. a kind of role transforming method based on bluetooth connection, which is characterized in that the described method includes:
Terminal device and bluetooth headset or blue tooth vehicular carry out bluetooth connection;
The terminal device receives the role transforming request that the bluetooth headset or blue tooth vehicular are sent, the role transforming request For requesting the bluetooth headset or blue tooth vehicular as main equipment;
If the terminal device be in by the audio data of broadcasting by the bluetooth connection be sent to the bluetooth headset or The process of blue tooth vehicular, the terminal device send refusal role transforming and respond to the bluetooth headset or blue tooth vehicular.
2. the method as described in claim 1, which is characterized in that the terminal device includes bluetooth module, the bluetooth module Including bluetooth host module and Bluetooth control module, the terminal device sends refusal changing role and responds to the bluetooth headset Or before blue tooth vehicular, the method also includes:
Judging the time interval for the audio data that the bluetooth host module sends Bluetooth format to Bluetooth control module is It is no to be greater than preset time value, if it does, the terminal device, which executes the transmission refusal changing role, responds to the indigo plant The step of tooth earphone or blue tooth vehicular.
3. the method as described in claim 1, which is characterized in that carried out in the terminal device and bluetooth headset or blue tooth vehicular During bluetooth connection, asked when the terminal device receives the role transforming that the bluetooth headset or blue tooth vehicular are sent It asks, returns to refusal role transforming response to the bluetooth headset or blue tooth vehicular.
4. method as described in any one of claims 1 to 3, which is characterized in that the method also includes:
Bluetooth blacklist is added in the bluetooth headset or blue tooth vehicular, the bluetooth blacklist is for being stored in Bluetooth communication mistake Cheng Zhonghui sends the bluetooth equipment of role transforming request.
5. method as claimed in claim 4, which is characterized in that described that the bluetooth headset or blue tooth vehicular addition bluetooth is black List specifically includes: UAP and NAP field in the address of the bluetooth headset or blue tooth vehicular is stored into the black name of the bluetooth Dan Zhong.
6. a kind of role transforming device based on bluetooth connection characterized by comprising
Link block, for carrying out bluetooth connection with bluetooth headset or blue tooth vehicular;
Request receiving module, the role transforming request sent for receiving the bluetooth headset or blue tooth vehicular, the role turn Request is changed for requesting the bluetooth headset or blue tooth vehicular as main equipment;
The audio data of broadcasting is passed through institute if be in for the role transforming device based on bluetooth connection by respond module The process that bluetooth connection is sent to the bluetooth headset or blue tooth vehicular is stated, refusal role transforming is sent and responds to the bluetooth ear Machine or blue tooth vehicular.
7. device as claimed in claim 6, which is characterized in that further include judgment module and bluetooth module, the bluetooth module Including bluetooth host module and Bluetooth control module, in which:
The judgment module, for the audio data of broadcasting to be sent to the bluetooth by the bluetooth connection in bluetooth module During earphone or blue tooth vehicular, judge that the bluetooth host module sends the sound of Bluetooth format to Bluetooth control module Whether the time interval of frequency evidence is greater than preset time value, if it does, the respond module is notified to execute the transmission and refuse The step of exhausted changing role responds to the bluetooth headset or blue tooth vehicular.
8. device as claimed in claim 6, which is characterized in that
The respond module is also used to carry out the process of bluetooth connection in the link block and bluetooth headset or blue tooth vehicular In, when terminal device receives the role transforming request that the bluetooth headset or blue tooth vehicular are sent, to the bluetooth headset or Blue tooth vehicular returns to refusal role transforming response.
9. such as the described in any item devices of claim 6 to 8, which is characterized in that described device further include:
Module is added, for bluetooth blacklist to be added in the bluetooth headset or blue tooth vehicular, the bluetooth blacklist is for storing up There are the bluetooth equipments of the role transforming request of meeting during Bluetooth communication.
10. device as claimed in claim 9, which is characterized in that the addition module, be specifically used for the bluetooth headset or UAP and NAP field is stored into the bluetooth blacklist in the address of blue tooth vehicular.
11. a kind of storage medium, is stored with computer program, wherein the computer program executes computer as weighed Benefit requires 1 to 5 described in any item methods.
CN201610875198.7A 2016-09-30 2016-09-30 A kind of role transforming method and device based on bluetooth connection Active CN106452512B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610875198.7A CN106452512B (en) 2016-09-30 2016-09-30 A kind of role transforming method and device based on bluetooth connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610875198.7A CN106452512B (en) 2016-09-30 2016-09-30 A kind of role transforming method and device based on bluetooth connection

Publications (2)

Publication Number Publication Date
CN106452512A CN106452512A (en) 2017-02-22
CN106452512B true CN106452512B (en) 2019-02-12

Family

ID=58172826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610875198.7A Active CN106452512B (en) 2016-09-30 2016-09-30 A kind of role transforming method and device based on bluetooth connection

Country Status (1)

Country Link
CN (1) CN106452512B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445739B (en) * 2018-09-30 2020-05-19 Oppo广东移动通信有限公司 Audio playing method and device, electronic equipment and computer readable medium
CN110234099A (en) * 2019-04-30 2019-09-13 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110267240A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110248343A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110248344A (en) * 2019-04-30 2019-09-17 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110225501A (en) * 2019-04-30 2019-09-10 努比亚技术有限公司 Communication control method, equipment, system and readable storage medium storing program for executing
CN110267243A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication control method, communication equipment and storage medium
CN110267241A (en) * 2019-04-30 2019-09-20 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110740438B (en) * 2019-04-30 2022-04-29 努比亚技术有限公司 Communication method, device, system and readable storage medium
CN110213836A (en) * 2019-04-30 2019-09-06 努比亚技术有限公司 Communication connecting method, communication equipment and storage medium
CN110505265B (en) * 2019-04-30 2021-11-26 努比亚技术有限公司 Communication method, device, system and readable storage medium
CN110505611A (en) * 2019-04-30 2019-11-26 努比亚技术有限公司 Communication means, equipment, system and readable storage medium storing program for executing
CN110681157B (en) * 2019-10-16 2022-05-20 腾讯科技(深圳)有限公司 Method, device, equipment and medium for controlling virtual object to replace wearing part
CN111436043B (en) * 2019-11-06 2023-05-09 珠海市杰理科技股份有限公司 Communication method, device, equipment and system of dual-wireless Bluetooth communication network
CN114466099B (en) * 2021-08-31 2022-12-20 荣耀终端有限公司 Control method and device of Bluetooth equipment and storage medium
CN113645715B (en) * 2021-10-13 2022-01-04 荣耀终端有限公司 Method and terminal device for monitoring link

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684747A (en) * 2011-03-10 2012-09-19 中兴通讯股份有限公司 Method and device for searching adjacent bluetooth device
CN104581617A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Wireless communication method and intelligent equipment
CN105812185A (en) * 2016-03-22 2016-07-27 广东欧珀移动通信有限公司 Communication connection method for playing device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020159401A1 (en) * 2001-04-25 2002-10-31 Brightcom Technologies Ltd. Masterless slave / master role switch in a bluetooth piconet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684747A (en) * 2011-03-10 2012-09-19 中兴通讯股份有限公司 Method and device for searching adjacent bluetooth device
CN104581617A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Wireless communication method and intelligent equipment
CN105812185A (en) * 2016-03-22 2016-07-27 广东欧珀移动通信有限公司 Communication connection method for playing device

Also Published As

Publication number Publication date
CN106452512A (en) 2017-02-22

Similar Documents

Publication Publication Date Title
CN106452512B (en) A kind of role transforming method and device based on bluetooth connection
CN106303933B (en) The power regulating method and device of a kind of bluetooth
CN203289452U (en) Wireless audio system based on acoustic wave communication pairing
CN106412326B (en) A kind of parameter regulation means and terminal device of terminal device
CN105120528B (en) A kind of equipment room carries out the method, apparatus and system of configurability setting
CN110113728B (en) Audio data transmission method, vehicle-mounted platform, vehicle-mounted machine and readable storage medium
CN103124423A (en) Method and device for transmitting and receiving wireless signals, and terminal device
CN110446192A (en) The method of subordinate earphone and audiogenic device pairing line
CN105940720B (en) It is a kind of to trigger the method for register machine protocol interaction, access point, website
CN112689222A (en) Wireless audio conversion device and method
CN106649484B (en) A kind of storage method and device of audio log
CN106507501A (en) A kind of Bluetooth connecting method and device
CN111479184A (en) True wireless earphone, terminal equipment and connection method of true wireless earphone
CN110446193A (en) The treating method and apparatus of bluetooth data packets
CN108513196A (en) A kind of wireless headset and its matching method
CN109936840B (en) Communication method and device and electronic equipment
CN106791243B (en) A kind of function setting method and device based on Bluetooth protocol
CN110856086A (en) Method and device for controlling sound system and readable storage medium
US11310794B2 (en) Data transmission method in internet of vehicles and terminal
CN106507324A (en) Based on the communication means of mobile device, device and system
CN106413130B (en) A kind of Bluetooth connecting method and device
CN111740963B (en) Data communication method and device
CN102917370A (en) Method, device and system for determining corresponding near-end unit of far-end unit and far-end unit
CN113015106B (en) Stereo playing method and device for broadcast networking and electronic equipment
CN112367654B (en) TWS equipment team forming method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant