CN106791243B - A kind of function setting method and device based on Bluetooth protocol - Google Patents
A kind of function setting method and device based on Bluetooth protocol Download PDFInfo
- Publication number
- CN106791243B CN106791243B CN201611110451.6A CN201611110451A CN106791243B CN 106791243 B CN106791243 B CN 106791243B CN 201611110451 A CN201611110451 A CN 201611110451A CN 106791243 B CN106791243 B CN 106791243B
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- bluetooth equipment
- equipment
- information
- function
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000011946 reduction process Methods 0.000 claims abstract description 50
- 230000006854 communication Effects 0.000 claims abstract description 32
- 238000004891 communication Methods 0.000 claims abstract description 30
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 claims abstract description 10
- 230000006870 function Effects 0.000 claims description 110
- 238000003860 storage Methods 0.000 claims description 47
- 230000002093 peripheral effect Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims 2
- 238000005516 engineering process Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 241001062009 Indigofera Species 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000037452 priming Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M9/00—Arrangements for interconnection not involving centralised switching
- H04M9/08—Two-way loud-speaking telephone systems with means for conditioning the signal, e.g. for suppressing echoes for one or both directions of traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses function setting methods and device based on Bluetooth protocol, are applied to field of communication technology.In the method for the present embodiment, when the Bluetooth communication that the first bluetooth equipment is established between the second bluetooth equipment connects, if the identification information of the second bluetooth equipment matches with preset bluetooth equipment information, forbid the echo cancellor and noise reduction process function of the first bluetooth equipment.The bluetooth equipment information stored in the first bluetooth equipment can be arranged in user in advance in this way, these bluetooth equipments have the function of echo cancellor and noise reduction process, and it will not send and forbid the order of echo cancellor and noise reduction process function to the first bluetooth equipment, to prevent the first bluetooth equipment and these bluetooth equipments from repeating repetition echo cancellor and noise reduction process to the voice data of these bluetooth equipment typings, so that the noise for the local sound that the call opposite end of the first bluetooth equipment is heard is reduced, volume increases.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of function setting method and device based on Bluetooth protocol.
Background technique
Major part mobile-terminal platform such as International Organization for standardization (International Organization at present
For Standardization, ISO) platform or Android platform etc. can connect bluetooth headset or vehicle-mounted Bluetooth equipment,
In connection after bluetooth headset or vehicle-mounted Bluetooth equipment, if mobile-terminal platform has phone progress, the call sound of opposite end can lead to
Cross that bluetooth connection passes to bluetooth headset or vehicle-mounted Bluetooth equipment plays out, and local voice input then uses bluetooth headset
Or the microphone input of vehicle-mounted Bluetooth equipment.
Under normal circumstances, bluetooth headset or vehicle-mounted Bluetooth equipment, can be to the local sound of typing after the sound of typing local
Echo cancellor and noise reduction process are carried out, if bluetooth headset or vehicle-mounted Bluetooth equipment do not have echo cancellor and noise reduction process ability,
Then mobile-terminal platform can also carry out echo cancellor and drop to from the received local sound of bluetooth headset or vehicle-mounted Bluetooth equipment
It makes an uproar processing.Most of bluetooth headset/vehicle-mounted Bluetooth equipments have echo cancellor and decrease of noise functions, in this way in practical communication process
In, it may appear that after bluetooth headset or vehicle-mounted Bluetooth equipment have carried out echo cancellor and noise reduction process to local sound, it is mobile eventually
It holds platform to carry out second of echo cancellor and noise reduction process to local sound again, local sound can be caused to have noise, volume in this way
It is small etc., it shows as opposite end and hears that local sound has noise, volume small.
Summary of the invention
The embodiment of the present invention provides a kind of function setting method and device based on Bluetooth protocol, realizes according to the second indigo plant
The identification information of tooth equipment determines whether to open the echo cancellor and noise reduction process function of the first bluetooth equipment.
The embodiment of the present invention provides a kind of function setting method based on Bluetooth protocol, comprising:
When the Bluetooth communication that first bluetooth equipment is established between the second bluetooth equipment connects, obtains second bluetooth and set
Standby identification information, second bluetooth equipment, which has, controls the logical of first bluetooth equipment by Bluetooth communication connection
Talk about function;
First bluetooth equipment matches the identification information with preset bluetooth equipment information, if phase
Match, then forbids the echo cancellor and noise reduction process function of first bluetooth equipment;If they do not match it is blue to open described first
The echo cancellor and noise reduction process function of tooth equipment;
Wherein, the echo cancellor and noise reduction process function are that first bluetooth equipment connects to by the Bluetooth communication
Connect the processing function from the received voice data of the second bluetooth equipment.
The embodiment of the present invention provides a kind of function setting device based on Bluetooth protocol, comprising:
Identifier acquisition module obtains described second when the Bluetooth communication for establishing between the second bluetooth equipment connects
The identification information of bluetooth equipment, second bluetooth equipment, which has, is assisted by the way that Bluetooth communication connection control is described based on bluetooth
The call function of the function setting device of view;
Matching module, for matching the identification information with preset bluetooth equipment information;
Function setup module is forbidden described if matched for the identification information and preset bluetooth equipment information
The echo cancellor and noise reduction process function of function setting device based on Bluetooth protocol;If they do not match being based on described in opening
The echo cancellor and noise reduction process function of the function setting device of Bluetooth protocol, wherein the echo cancellor and noise reduction process function
It can be that the function setting device based on Bluetooth protocol connects to by Bluetooth communication connection from second bluetooth equipment
The processing function of the voice data of receipts.
As it can be seen that establishing when the first bluetooth equipment and leading to the bluetooth between the second bluetooth equipment in the method for the present embodiment
When letter connection, if the identification information of the second bluetooth equipment matches with preset bluetooth equipment information, forbid the first bluetooth
The echo cancellor and noise reduction process function of equipment.The bluetooth equipment stored in the first bluetooth equipment can be arranged in user in advance in this way
Information, these bluetooth equipments have the function of echo cancellor and noise reduction process, and will not send and forbid echo cancellor and noise reduction process
The order of function is to the first bluetooth equipment, to prevent the first bluetooth equipment and these bluetooth equipments from repeating to these bluetooth equipments
The repetition echo cancellor and noise reduction process of the voice data of typing, so that the sheet that the call opposite end of the first bluetooth equipment is heard
The noise of ground sound is reduced, and volume increases.
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 function setting method based on Bluetooth protocol provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another function setting method based on Bluetooth protocol provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of function setting device based on Bluetooth protocol provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another function setting device based on Bluetooth protocol provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of terminal device platform 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 series of steps or module, system, production
Product or equipment those of are not necessarily limited to be clearly listed step or module, but may include be not clearly listed or for this
A little process, methods, the other steps or module of product or equipment inherently.
The embodiment of the present invention provides a kind of function setting method based on Bluetooth protocol, mainly can be applied to certain supports
In the call terminal (hereinafter referred to as the first bluetooth equipment) of Bluetooth protocol, such as the stronger equipment of the functions such as terminal device platform,
Method flow diagram is as shown in Figure 1, comprising:
Step 101, when the Bluetooth communication that the first bluetooth equipment is established between the second bluetooth equipment connects, it is blue to obtain second
The identification information of tooth equipment.Wherein, the second bluetooth equipment can be vehicle-mounted Bluetooth equipment or bluetooth headset etc., the second bluetooth equipment
Identification information can be high 3 bit address information in the address information of the second bluetooth equipment or the address of the second bluetooth equipment.
It is appreciated that after the first bluetooth equipment establishes the Bluetooth communication connection between the second bluetooth equipment, the second bluetooth
Equipment can connect the call of the first bluetooth equipment of control by the Bluetooth communication, for example answer, and hang up, and rejection or voice are dialled
Number etc., wherein in the communication process of the first bluetooth equipment and opposite end, the first bluetooth equipment can be by received opposite end sound number
It is transferred to the second bluetooth equipment according to by Bluetooth communication connection and plays out, and the second bluetooth equipment is by local voice data
The first bluetooth equipment is transferred to by Bluetooth communication connection to be sent to opposite end.Then the first bluetooth equipment and the second bluetooth equipment
Between Bluetooth communication connection can be earphone (Headset) agreement or handsfree protocol (Hands-free Profile, HFP)
Connection.Here when the Bluetooth communication that the first bluetooth equipment is established between the second bluetooth equipment connects, it can be the first bluetooth
When equipment searches the second bluetooth equipment of the call function with the first bluetooth equipment of control, or send Bluetooth communication connection
When requesting to the second bluetooth equipment, when can also complete the Bluetooth communication establishment of connection between the second bluetooth equipment.
Under normal circumstances, the address of bluetooth equipment includes being divided into three parts, i.e. LAP Lower Address Part (Lower Address
Part, LAP) (24 bit address lower portion), high address part (Upper Address Part, UAP) (8 bit address are high-end
Part) and meaningless address part (Non-significant Address Part, NAP) (16 meaningless address parts),
Wherein NAP and UAP is the exclusive identification code of bluetooth equipment production firm, it is necessary to different factories is distributed to by bluetooth authoritative department
Quotient, and LAP is freely distributed by the raw manufacturer internal of bluetooth equipment.High 3 bit address information refers to that the second bluetooth is set in the present embodiment
Standby UAP.
Step 102, the first bluetooth equipment carries out the identification information of the second bluetooth equipment and preset bluetooth equipment information
Matching, if matched, thens follow the steps 103, if they do not match thening follow the steps 104.Here preset bluetooth equipment letter
It may include the identification information of multiple bluetooth equipments in breath.
Step 103, forbid the echo cancellor and noise reduction process function of the first bluetooth equipment, the echo cancellor and noise reduction process
Function is the first bluetooth equipment to the processing function by Bluetooth communication connection from the received voice data of the second bluetooth equipment.
Step 104, the echo cancellor and noise reduction process function of the first bluetooth equipment are opened.
It should be noted that under normal circumstances, if the second bluetooth equipment has the function of echo cancellor and noise reduction process,
During interacting with the first bluetooth equipment, the first bluetooth equipment, which can be defaulted, opens echo cancellor and decrease of noise functions, needs
Want the transmission of the second bluetooth equipment that the echo cancellor of the first bluetooth equipment and the order of noise reduction process function is forbidden to set to the first bluetooth
It is standby, echo cancellor and noise reduction process are only carried out by voice data of second bluetooth equipment to typing.But some second bluetooths are set
The standby order that will not send the echo cancellor for forbidding the first bluetooth equipment and noise reduction process function, in order to prevent sets the second bluetooth
The information of these the second bluetooth equipments can be then preset at by the repetition echo cancellor and noise reduction process for the voice data that priming enters
In first bluetooth equipment, as preset bluetooth equipment information, by the first bluetooth equipment according to the preset bluetooth equipment information
Echo cancellor and noise reduction process function are forbidden or are opened in decision.
As it can be seen that establishing when the first bluetooth equipment and leading to the bluetooth between the second bluetooth equipment in the method for the present embodiment
When letter connection, if the identification information of the second bluetooth equipment matches with preset bluetooth equipment information, forbid the first bluetooth
The echo cancellor and noise reduction process function of equipment.The bluetooth equipment stored in the first bluetooth equipment can be arranged in user in advance in this way
Information, these bluetooth equipments have the function of echo cancellor and noise reduction process, and will not send and forbid echo cancellor and noise reduction process
The order of function is to the first bluetooth equipment, to prevent the first bluetooth equipment and these bluetooth equipments from repeating to these bluetooth equipments
The repetition echo cancellor and noise reduction process of the voice data of typing, so that received of the call opposite end of the first bluetooth equipment
The noise of ground sound is reduced, and volume increases.
In a specific embodiment, user can will have the function of echo cancellor and noise reduction process, and will not send
Forbid the order of echo cancellor and noise reduction process function to the information of the second bluetooth equipment of the first bluetooth equipment as above-mentioned pre-
(i.e. blacklist configuration file) setting is set the bluetooth equipment information set in local storage space i.e. the first bluetooth in the form of a file
In standby permanent storage space, or it is arranged in another storage equipment.
Such first bluetooth equipment directly can obtain black name from local storage space when executing the matching of 102 steps
Single configuration file, or detect the Peripheral Interface of first bluetooth equipment and whether connect another storage equipment, if connection, from another
It stores and obtains blacklist configuration file in equipment, include above-mentioned preset bluetooth equipment information in the blacklist configuration file;So
The blacklist configuration file for parsing acquisition afterwards obtains preset bluetooth equipment information, by the identification information and solution of the second bluetooth equipment
Obtained preset bluetooth equipment information is analysed to be matched.
In another specific embodiment, bluetooth equipment manufacturer can also will have echo cancellor and noise reduction process function
Can, and the letter for the second bluetooth equipment for forbidding the order of echo cancellor and noise reduction process function to the first bluetooth equipment will not be sent
Breath is arranged in bluetooth procedures code in the form of blacklist list as above-mentioned preset bluetooth equipment information.Or first is blue
Tooth equipment is before executing above-mentioned steps 101, can be by local storage space when the first bluetooth equipment is when starting Bluetooth function
Or bluetooth setting information included by the blacklist configuration file of the storage device stored connected by Peripheral Interface is added to indigo plant
In the blacklist list of tooth program code.
In this case, since the first bluetooth equipment is when opening Bluetooth function, bluetooth procedures code can be first stored into
In the storage medium of first bluetooth equipment, that is, temporary storage medium, in this way when the first bluetooth equipment is in for executing 102 steps
Timing, can directly will the identification information of the second bluetooth equipment and local storage medium storage bluetooth procedures code in include
Blacklist list is matched, and includes above-mentioned preset bluetooth equipment information in blacklist list.
In other specific embodiments, the first bluetooth equipment does not have to deposit what local storage space or Peripheral Interface connected
Bluetooth equipment information included by the blacklist configuration file stored in storage equipment is added in bluetooth procedures code.With reference to Fig. 2
It is shown, when the first bluetooth equipment is when executing step 102, step 1021 can be first carried out, i.e., by the mark of the second bluetooth equipment
Information is matched with the blacklist list in bluetooth procedures code, if matched, executes 103;If they do not match also
It needs to continue to execute step 1022, i.e., believes the bluetooth equipment in the identification information of the second bluetooth equipment and blacklist configuration file
Breath is matched, if they do not match then executing above-mentioned steps 104, if matched, thens follow the steps 103.
The embodiment of the present invention also provides a kind of function setting device based on Bluetooth protocol, i.e., the first above-mentioned bluetooth is set
Standby, structural schematic diagram is as shown in figure 3, can specifically include:
Identifier acquisition module 11 when Bluetooth communication connection for establishing between the second bluetooth equipment, obtains described the
The identification information of two bluetooth equipments, second bluetooth equipment, which has, is based on bluetooth by the way that Bluetooth communication connection control is described
The call function of the function setting device of agreement;
Matching module 12, identification information and preset bluetooth equipment information for obtaining the identifier acquisition module 11
It is matched;
In one case, the matching module 12 is specifically used for connecting from local storage space or by Peripheral Interface
Storage equipment in obtain blacklist configuration file, include the preset bluetooth equipment letter in the blacklist configuration file
Breath;It parses the blacklist configuration file and obtains the preset bluetooth equipment information, the identification information is obtained with parsing
Preset bluetooth equipment information matched.
Function setup module 13, if determining the identification information and preset bluetooth equipment for the matching module 12
Information matches, then forbids the echo cancellor and noise reduction process function of the function setting device based on Bluetooth protocol;If
It does not match that, opens the echo cancellor and noise reduction process function of the function setting device based on Bluetooth protocol, wherein described
Echo cancellor is that the function setting device based on Bluetooth protocol is connected to by the Bluetooth communication with noise reduction process function
From the processing function of the received voice data of the second bluetooth equipment.
It should be noted that the identification information of above-mentioned second bluetooth equipment can be the address information of the second bluetooth equipment,
Or second bluetooth equipment address in high 3 bit address information;Based on Bluetooth protocol function setting device be call terminal, second
Bluetooth equipment is bluetooth headset or vehicle-mounted Bluetooth equipment.
As it can be seen that establishing when the function setting device based on Bluetooth protocol and being set with the second bluetooth in the device of the present embodiment
When Bluetooth communication between standby connects, if the identification information of the second bluetooth equipment matches with preset bluetooth equipment information,
Then function setup module 13 forbids the echo cancellor and noise reduction process function of the setting device of the function based on Bluetooth protocol.It uses in this way
The bluetooth equipment information stored in the setting device of the function based on Bluetooth protocol can be arranged in family in advance, these bluetooth equipments have
Echo cancellor and noise reduction process function, and will not send and the order of echo cancellor and noise reduction process function is forbidden to assist to based on bluetooth
Device is arranged in the function of view, to prevent the function based on Bluetooth protocol that device and the repetition of these bluetooth equipments is arranged to these indigo plants
The repetition echo cancellor and noise reduction process of the voice data of tooth equipment typing, so that dress is arranged in the function based on Bluetooth protocol
The noise of the received local sound in the call opposite end set is reduced, and volume increases.
Refering to what is shown in Fig. 4, in a specific embodiment, the function setting device based on Bluetooth protocol is in addition to can wrap
Include outside structure as shown in Figure 3, can also include adding module 14, and matching module 12 can by the first matching module 121,
Or it is realized by the first matching module 121 and the second matching module 122, in which:
First matching module 121, specifically for the identification information that obtains the identifier acquisition module 11 be locally stored
The blacklist list for including in the bluetooth procedures code of medium storage is matched, and includes described preset in the blacklist list
Bluetooth equipment information.In one case, if in identification information and blacklist list that identifier acquisition module 11 obtains
Bluetooth equipment matches, then function setup module 13 can forbid the echo cancellor and drop of the setting device of the function based on Bluetooth protocol
It makes an uproar processing function.
Adding module 14, for will locally deposit when starting the Bluetooth function of the function setting device based on Bluetooth protocol
Bluetooth setting information included by the blacklist configuration file of storage space or the storage device stored connected by Peripheral Interface adds
It is added in the blacklist list of the bluetooth procedures code.Such first matching module 121 can add according to adding module 14
Bluetooth procedures code after adding is matched.
Second matching module 122, if determined in identification information and blacklist list for first matching module 121
Bluetooth equipment information do not match that, the identification information is set with local storage space or by the storage that Peripheral Interface is connect
Bluetooth equipment information in the blacklist configuration file of standby middle storage is matched.
In the present embodiment, in another case, if the determination of the first matching module 121 does not match that, by second
Continue to match with module 122, if the determination of the second matching module 122 matches, institute is forbidden by function setup module 13
The echo cancellor and noise reduction process function for stating the function setting device based on Bluetooth protocol, if the second matching module 122 determines
It does not match that, then function setup module 13 is opened at the echo cancellor and noise reduction of the function setting device based on Bluetooth protocol
Manage function.
The embodiment of the present invention also provides a kind of terminal device platform, and structural schematic diagram is as shown in figure 5, the terminal device is flat
Tai Keyin configuration or performance are 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
The storage medium 22 (such as one or more mass memory units) of more than one storage application program 221 or data 222.
Wherein, memory 21 and storage medium 22 can be of short duration storage or persistent storage.The program for being stored in storage medium 22 can be with
Including one or more modules (diagram does not mark), each module may include to a series of fingers in terminal device platform
Enable operation.Further, central processing unit 20 can be set to communicate with storage medium 22, execute on terminal device platform
Series of instructions operation in storage medium 22.
Specifically, the application program 221 stored in storage medium 22 includes answering for the function setting based on Bluetooth protocol
With program, and the program may include the identifier acquisition module 11 in the above-mentioned function setting device based on Bluetooth protocol, matching
Module 12, function setup module 13 and adding module 14, herein without repeating.Further, central processing unit 20 can be with
It is set as communicating with storage medium 22, the function based on Bluetooth protocol of storing in storage medium 22 is executed on playback equipment and is set
The corresponding sequence of operations of the application program set.
Terminal device platform can also include one or more power supplys 23, one or more wired or wireless nets
Network interface 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..
The step as performed by the first bluetooth equipment described in above method embodiment can be based on the end shown in fig. 5
The structure of end equipment platform.
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..
Function setting method and device based on Bluetooth protocol 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 (13)
1. a kind of function setting method based on Bluetooth protocol characterized by comprising
When the Bluetooth communication that first bluetooth equipment is established between the second bluetooth equipment connects, second bluetooth equipment is obtained
Identification information, second bluetooth equipment have the call function that first bluetooth equipment is controlled by Bluetooth communication connection
Energy;
First bluetooth equipment matches the identification information with preset bluetooth equipment information, if matched,
Forbid the echo cancellor and noise reduction process function of first bluetooth equipment;It is set if they do not match opening first bluetooth
Standby echo cancellor and noise reduction process function;
Wherein, the echo cancellor and noise reduction process function be first bluetooth equipment to by the Bluetooth communication connect from
The processing function of the received voice data of second bluetooth equipment.
2. the method as described in claim 1, which is characterized in that described by the identification information and preset bluetooth equipment information
It is matched, comprising:
Blacklist configuration file, the blacklist are obtained from local storage space or the storage equipment connected by Peripheral Interface
It include the preset bluetooth equipment information in configuration file;
It parses the blacklist configuration file and obtains the preset bluetooth equipment information, the identification information is obtained with parsing
Preset bluetooth equipment information matched.
3. the method as described in claim 1, which is characterized in that described by the identification information and preset bluetooth equipment information
It is matched, comprising:
The blacklist list for including in bluetooth procedures code that the identification information is stored with local storage medium is matched,
It include the preset bluetooth equipment information in the blacklist list.
4. method as claimed in claim 3, which is characterized in that first bluetooth equipment is established between the second bluetooth equipment
Bluetooth communication connection before, the method also includes:
When starting the Bluetooth function of the first bluetooth equipment, first bluetooth equipment connects by local storage space or by peripheral hardware
Bluetooth setting information included by the blacklist configuration file of the storage device stored of mouth connection is added to the bluetooth procedures generation
In the blacklist list of code.
5. method as claimed in claim 3, which is characterized in that described by the identification information and preset bluetooth equipment information
It is matched, further includes:
If the identification information is not matched that with the bluetooth equipment information in blacklist list, by the identification information and local
Bluetooth equipment information in memory space or the storage equipment connected by Peripheral Interface in the blacklist configuration file that stores into
Row matching.
6. such as method described in any one of claim 1 to 5, which is characterized in that
Address information or second bluetooth equipment of the identification information of second bluetooth equipment for second bluetooth equipment
UAP;
First bluetooth equipment is call terminal, and second bluetooth equipment is bluetooth headset or vehicle-mounted Bluetooth equipment.
7. device is arranged in a kind of function based on Bluetooth protocol characterized by comprising
Identifier acquisition module obtains second bluetooth when Bluetooth communication for establishing between the second bluetooth equipment connects
The identification information of equipment, second bluetooth equipment have described based on Bluetooth protocol by Bluetooth communication connection control
The call function of function setting device;
Matching module, for matching the identification information with preset bluetooth equipment information;
Function setup module forbids described be based on if matched for the identification information and preset bluetooth equipment information
The echo cancellor and noise reduction process function of the function setting device of Bluetooth protocol;If they do not match opening described based on bluetooth
The echo cancellor and noise reduction process function of the function setting device of agreement, wherein the echo cancellor and noise reduction process function are
The function setting device based on Bluetooth protocol is received from second bluetooth equipment to being connected by the Bluetooth communication
The processing function of voice data.
8. device as claimed in claim 7, which is characterized in that
The matching module, specifically for obtaining black name from local storage space or the storage equipment connected by Peripheral Interface
Single configuration file includes the preset bluetooth equipment information in the blacklist configuration file;Parse the blacklist configuration
File obtains the preset bluetooth equipment information, by the identification information and the obtained preset bluetooth equipment information of parsing into
Row matching.
9. device as claimed in claim 7, which is characterized in that the matching module includes:
First matching module, specifically for including in the bluetooth procedures code that stores the identification information with local storage medium
Blacklist list matched, in the blacklist list include the preset bluetooth equipment information.
10. device as claimed in claim 9, which is characterized in that further include:
Adding module, for will be locally stored when the Bluetooth function of the starting function setting device based on Bluetooth protocol
Bluetooth setting information included by the blacklist configuration file of space or the storage device stored connected by Peripheral Interface is added
Into the blacklist list of the bluetooth procedures code.
11. device as claimed in claim 9, which is characterized in that the matching module further include:
Second matching module will if do not matched that for the identification information and the bluetooth equipment information in blacklist list
The blacklist configuration file stored in the identification information and local storage space or the storage equipment being connect by Peripheral Interface
In bluetooth equipment information matched.
12. such as the described in any item devices of claim 7 to 11, which is characterized in that
Address information or second bluetooth equipment of the identification information of second bluetooth equipment for second bluetooth equipment
UAP;
The function setting device based on Bluetooth protocol is call terminal, and second bluetooth equipment is bluetooth headset or vehicle-mounted
Bluetooth equipment.
13. a kind of storage medium, is stored with computer program, wherein the computer program executes computer as weighed
Benefit requires 1 to 6 described in any item methods.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611110451.6A CN106791243B (en) | 2016-12-06 | 2016-12-06 | A kind of function setting method and device based on Bluetooth protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611110451.6A CN106791243B (en) | 2016-12-06 | 2016-12-06 | A kind of function setting method and device based on Bluetooth protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106791243A CN106791243A (en) | 2017-05-31 |
CN106791243B true CN106791243B (en) | 2019-08-06 |
Family
ID=58874424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611110451.6A Expired - Fee Related CN106791243B (en) | 2016-12-06 | 2016-12-06 | A kind of function setting method and device based on Bluetooth protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106791243B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109087660A (en) * | 2018-09-29 | 2018-12-25 | 百度在线网络技术(北京)有限公司 | Method, apparatus, equipment and computer readable storage medium for echo cancellor |
CN110708615A (en) * | 2019-08-29 | 2020-01-17 | 广东思派康电子科技有限公司 | Intercommunication system and intercommunication method realized based on TWS earphone |
KR20230072840A (en) * | 2021-11-18 | 2023-05-25 | 삼성전자주식회사 | Method of controlling content playing device and electronic device performing the method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203261458U (en) * | 2013-06-03 | 2013-10-30 | 北京兴科迪科技有限公司 | Two-microphone denoising-type Bluetooth earphone and vehicle therewith |
CN103873975A (en) * | 2014-03-20 | 2014-06-18 | 深圳市中兴移动通信有限公司 | Bluetooth headset noise reduction method, device and system |
CN105262516A (en) * | 2015-09-07 | 2016-01-20 | 惠州Tcl移动通信有限公司 | Slave device, and system and method for automatically pairing master and slave devices |
US9357080B2 (en) * | 2013-06-04 | 2016-05-31 | Broadcom Corporation | Spatial quiescence protection for multi-channel acoustic echo cancellation |
CN105702259A (en) * | 2014-12-11 | 2016-06-22 | 现代自动车株式会社 | Method and system for removing active noise of car |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9998850B2 (en) * | 2014-07-02 | 2018-06-12 | Sonetyics Holdings, Inc. | Multiple communication mode headset |
-
2016
- 2016-12-06 CN CN201611110451.6A patent/CN106791243B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203261458U (en) * | 2013-06-03 | 2013-10-30 | 北京兴科迪科技有限公司 | Two-microphone denoising-type Bluetooth earphone and vehicle therewith |
US9357080B2 (en) * | 2013-06-04 | 2016-05-31 | Broadcom Corporation | Spatial quiescence protection for multi-channel acoustic echo cancellation |
CN103873975A (en) * | 2014-03-20 | 2014-06-18 | 深圳市中兴移动通信有限公司 | Bluetooth headset noise reduction method, device and system |
CN105702259A (en) * | 2014-12-11 | 2016-06-22 | 现代自动车株式会社 | Method and system for removing active noise of car |
CN105262516A (en) * | 2015-09-07 | 2016-01-20 | 惠州Tcl移动通信有限公司 | Slave device, and system and method for automatically pairing master and slave devices |
Also Published As
Publication number | Publication date |
---|---|
CN106791243A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108551670B (en) | Bluetooth connection method and device and intelligent terminal | |
US20210385892A1 (en) | BLUETOOTH Communication Method and Terminal | |
CN103518418B (en) | A kind of method and apparatus connected between bluetooth equipment | |
US7236773B2 (en) | Conference call method and apparatus therefor | |
DE102004001172B4 (en) | System and method for exchanging data and audio information between mobile phones and landline telephones | |
CN102761988B (en) | The short-distance movement terminal and repeater that can coordinate | |
EP2701313A1 (en) | Method for pairing bluetooth accessory with bluetooth device, and bluetooth accessory | |
US7027774B2 (en) | Method for direct voice telephone call using bluetooth terminal | |
US20160094982A1 (en) | Call Management Method and Apparatus for Multi-SIM Multi-Active Terminal | |
CN106791243B (en) | A kind of function setting method and device based on Bluetooth protocol | |
CN106452512A (en) | Role transition method and device based on Bluetooth connection | |
CN105120528B (en) | A kind of equipment room carries out the method, apparatus and system of configurability setting | |
CN105975063A (en) | Method and device for controlling intelligent terminal | |
CN105721659B (en) | Incoming call processing method and device | |
CN106507501A (en) | A kind of Bluetooth connecting method and device | |
CN106507324B (en) | Mobile device-based communication means, device and system | |
CN106413130B (en) | A kind of Bluetooth connecting method and device | |
CN101572570B (en) | Message processing method and system of wireless network card through mobile termination | |
CN106649484B (en) | A kind of storage method and device of audio log | |
CN109640280B (en) | Call control method, device, computer equipment and storage medium | |
CN109347666B (en) | Automatic network access configuration method and system for wifi Internet of things equipment | |
CN106604209A (en) | Function setting method and device based on Bluetooth protocol | |
EP3063958B1 (en) | A method of extending an intercom communication range and device thereof | |
WO2016124039A1 (en) | Method and apparatus for realizing multi-card call | |
CN101222245A (en) | Method for implementing call forwarding service processing by Bluetooth terminal, and Bluetooth system thereof |
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 | ||
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: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190806 |