CN108449114A - A kind of Bluetooth connecting method and mobile terminal - Google Patents
A kind of Bluetooth connecting method and mobile terminal Download PDFInfo
- Publication number
- CN108449114A CN108449114A CN201810208406.7A CN201810208406A CN108449114A CN 108449114 A CN108449114 A CN 108449114A CN 201810208406 A CN201810208406 A CN 201810208406A CN 108449114 A CN108449114 A CN 108449114A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- frequency hopping
- terminal
- available channel
- hopping table
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention provides a kind of Bluetooth connecting method and mobile terminals, are related to mobile communication technology field, the method includes:It detects when establishing bluetooth connection with the second mobile terminal, the frequency hopping table that generation carries out data transmission with second mobile terminal;The frequency hopping table includes that the first movement terminal carries out the available channel of bluetooth connection and the channel quality parameter of the available channel with second mobile terminal;The frequency hopping table is sent to second mobile terminal.The invention avoids blue-teeth data coating miscellaneous equipments to receive, and improves the Information Security of bluetooth frequency hopping mechanics of communication.
Description
Technical field
The present embodiments relate to mobile communication technology field more particularly to a kind of Bluetooth connecting methods and mobile terminal.
Background technology
With the rapid development of mobile communication technology, the mobile terminal headed by smart mobile phone is each in having become for people's lives
The diversified function of the indispensable tool of aspect, mobile terminal also provides greatly just for the Working Life of user
Profit.Bluetooth wireless transmission technology as mobile communication in terms of a basic technology, national product life in application also get over
Come it is more extensive, if Bluetooth music plays, the call of the wireless hand-free of bluetooth headset, bluetooth file transmission etc. application scenarios, pole
The earth facilitates the ease of use of mobile phone, earphone and mobile unit.
And the bluetooth frequency hopping of one of basic function as blue tooth wireless communication communicates (Auto frequency
Hopping, AFH) technology, AFH can effectively avoid influence of the interference signal to bluetooth data transmission in actual transmissions, into
And improve efficiency of transmission and transmission quality.Current bluetooth wireless communication technology cipher mode, is typically encrypted to data itself,
For example to a coded lock on the data packet band in wireless transmission, then data are lost to air transmission.
However, the Information Security of current AFH is poor.Specifically, from open system interconnection (Open System
Interconnection, OSI) from the point of view of model, the data encryption process of Bluetooth wireless transmission is usually carried out in expression layer, such as
Safeguard protection is carried out by increasing coded lock to bluetooth data packets in expression layer, however, these bluetooth data packets are in space
Middle freely to transmit, whackers can freely get these data packets.
In addition to this, the frequency hop sequence during Bluetooth transmission, and in transmission process by bluetooth main control end in real time more
New to bluetooth receiving terminal, i.e. the frequency hop sequence of frequency hopping table is exposed in wireless channel, this will lead to bluetooth data packets
The person of being illegally accessed obtains, and then carries out cracking illegal acquisition blue-teeth data to data packet.
Invention content
The present invention provides a kind of Bluetooth connecting method and mobile terminals, blue its purpose is to solve in the prior art
The poor problem of the Information Security of tooth frequency hopping mechanics of communication.
In order to solve the above-mentioned technical problem, the invention is realized in this way:A kind of Bluetooth connecting method is applied to first and moves
Dynamic terminal, the method includes:
Detect that generation carries out data transmission with second mobile terminal when establishing bluetooth connection with the second mobile terminal
Frequency hopping table;The frequency hopping table includes that the first movement terminal carries out the available of bluetooth connection with second mobile terminal
The channel quality parameter of channel and the available channel;
The frequency hopping table is sent to second mobile terminal.
In a first aspect, the embodiments of the present invention also provide a kind of Bluetooth connecting method, it is applied to the second mobile terminal, institute
The method of stating includes:
Detect when establishing bluetooth connection with first movement terminal, receive that the first movement terminal sends with described the
The frequency hopping table that one mobile terminal carries out data transmission, the frequency hopping table include that the first movement terminal is moved with described second
Terminal carries out the available channel of bluetooth connection and the channel quality parameter of the available channel.
Second aspect, the embodiments of the present invention also provide a kind of mobile terminal, the mobile terminal includes:
Frequency hopping table generation module when establishing bluetooth connection with the second mobile terminal for detecting, generates and described second
The frequency hopping table that mobile terminal carries out data transmission;The frequency hopping table includes that the first movement terminal and second movement are whole
End carries out the available channel of bluetooth connection and the channel quality parameter of the available channel;
Frequency hopping table sending module, for the frequency hopping table to be sent to second mobile terminal.
The third aspect, the embodiments of the present invention also provide a kind of mobile terminal, the mobile terminal is that the second movement is whole
End, the mobile terminal include:
Frequency hopping table receiving module when establishing bluetooth connection with first movement terminal for detecting, receives described first and moves
The frequency hopping table carried out data transmission with the first movement terminal that dynamic terminal is sent, the frequency hopping table include first shifting
The channel quality for the available channel and the available channel that dynamic terminal carries out bluetooth connection with second mobile terminal is joined
Number.
Fourth aspect, the embodiments of the present invention also provide a kind of mobile terminals, including:Memory, processor and storage
On a memory and the computer program that can run on a processor, processor realize that above-mentioned bluetooth connects when executing computer program
Connect the step in method.
5th aspect, the embodiments of the present invention also provide a kind of computer readable storage medium, computer-readable storage
It is stored with computer program on medium, the step in above-mentioned Bluetooth connecting method is realized when computer program is executed by processor.
In embodiments of the present invention, by when physical layer detects and establishes bluetooth connection with the second mobile terminal, generating
The frequency hopping table carried out data transmission with second mobile terminal, and the frequency hopping table is sent to second mobile terminal,
Frequency hopping table includes the first movement terminal and second mobile terminal carries out the available channel of bluetooth connection and described
The channel quality parameter of available channel, when during Bluetooth transmission, first movement terminal and the second movement are eventually to expression layer
It holds both sides that can be sorted respectively to available channel according to identical sort algorithm, obtains identical frequency hopping channel sequence, first movement
Terminal carries out frequency hopping transmission by frequency hopping channel sequence, and the second mobile terminal carries out frequency hopping by frequency hopping channel sequence and connects
It receives;Other equipment due to not receiving frequency hopping table in physical layer can not obtain frequency hopping channel sequence, and number is received in expression layer
According to when can not determine the selected channel of frequency hopping, can not receive first movement terminal transmission bluetooth data packets, avoid bluetooth
Data packet is received by miscellaneous equipment, improves the Information Security of bluetooth frequency hopping mechanics of communication.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 shows one of flow charts of Bluetooth connecting method provided in an embodiment of the present invention;
Fig. 2 indicates one of the block diagram of mobile terminal that the embodiment of the present invention provides;
Fig. 3 indicates the two of the block diagram for the mobile terminal that the embodiment of the present invention provides;
Fig. 4 indicates the two of the flow chart of Bluetooth connecting method provided in an embodiment of the present invention;
Fig. 5 indicates the three of the block diagram for the mobile terminal that the embodiment of the present invention provides;
Fig. 6 indicates the frequency hopping table structure of the specific example of the present invention;
Fig. 7 indicates the Bluetooth transmission model of the specific example of the present invention;
Fig. 8 shows the first schematic diagram of a scenario for establishing bluetooth connection of the specific example of the present invention;
Fig. 9 indicates the interactive process of the Bluetooth connecting method of the specific example of the present invention;
Figure 10 indicates the four of the block diagram for the mobile terminal that the embodiment of the present invention provides.
Specific implementation mode
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 describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment
A particular feature, structure, or characteristic includes at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction
" in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific feature, knots
Structure or characteristic can in any suitable manner combine in one or more embodiments.
In various embodiments of the present invention, it should be appreciated that the size of the serial number of following each processes is not meant to execute suitable
The execution sequence of the priority of sequence, each process should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention
Process constitutes any restriction.
Referring to Fig. 1, the embodiment provides a kind of Bluetooth connecting methods, are applied to first movement terminal, described
Method includes:
Step 101, detect that generation is carried out with second mobile terminal when establishing bluetooth connection with the second mobile terminal
The frequency hopping table of data transmission, the frequency hopping table include that the first movement terminal carries out bluetooth company with second mobile terminal
The channel quality parameter of the available channel and the available channel that connect.
Wherein, when first movement terminal and the second mobile terminal carry out bluetooth connection, first movement terminal is as master control
End sends bluetooth data packets to the second mobile terminal, and the second mobile terminal receives the bluetooth that main control end is sent as controlled terminal
Data packet.
When detecting that first movement terminal and the second mobile terminal establish the foundation operation of bluetooth connection, first movement is whole
End generation carries out the frequency hopping table of Bluetooth transmission with the second mobile terminal, and frequency hopping table includes that first movement terminal and the second movement are whole
The available channel at end and the channel quality parameter of available channel.And in specific embodiments of the present invention, connect due to establishing bluetooth
The process connect is realized in the physical layer of osi model, so generating the frequency hopping table carried out data transmission with second mobile terminal
The step of also physical layer realize.
Step 102, the frequency hopping table is sent to second mobile terminal.
Specifically, within the physical layer, frequency hopping table is sent to second mobile terminal, frequency hopping table includes available channel
And channel quality parameter, main control end and controlled terminal both sides respectively sort to available channel according to identical sort algorithm, solution
Identical frequency hopping channel sequence is precipitated, i.e., used channel order during frequency-hopping transmissions, therefore, first movement terminal passes through
Frequency hopping channel sequence carries out frequency hopping transmission, and the second mobile terminal carries out frequency hopping reception by frequency hopping channel sequence;Due to
Frequency hopping channel sequence can not be obtained by not receiving the other equipment of frequency hopping table in physical layer, therefore can not when expression layer receives data
It determines the selected channel of frequency hopping, the bluetooth data packets of first movement terminal transmission can not be received, improve the communication of bluetooth frequency hopping
The Information Security of technology.
By taking table 1 as an example, in the embodiment of the present invention, the function that each functional layer of osi model is realized is as follows, wherein physics
Layer also sets up bluetooth connection while realizing bit steaming transfer, generates frequency hopping table, realizes physical layer radio data encryption.
Table 1:
Preferably, described to detect the step that bluetooth connection is established with the second mobile terminal in specific embodiments of the present invention
After rapid, the method further includes:
Preset-key is sent to second mobile terminal.
Specifically, preset-key is used to be ranked up the available channel in the frequency hopping table, i.e. channel sort algorithm.
After first movement terminal carries out bluetooth connection with the second mobile terminal, preset-key is sent to the second shifting by first movement terminal
Dynamic terminal so that the second mobile terminal can determine frequency hopping channel sequence according to preset-key.
Optionally, the step of preset-key being sent to second mobile terminal, can be in first movement terminal and second
Mobile terminal sent when first bluetooth connection, can also regularly update preset-key according to predetermined period and be sent to
Second mobile terminal.
Preferably, in specific embodiments of the present invention, after step 102, the method includes:
According to the preset-key and the frequency hopping table, frequency hop sequence table is generated;
According to the frequency hop sequence table, the frequency hopping selecting sequence of the available channel in the frequency hopping table is determined;
The available channel is selected successively according to the frequency hopping selecting sequence, to the second mobile terminal transmission data.
Wherein, the available channel between first movement terminal and the second mobile terminal is carried in frequency hopping table and can use letter
The channel quality parameter in road, generates frequency hopping table and after being sent to the second mobile terminal in physical layer, first movement terminal according to
Preset-key sorts to the available channel in frequency hopping table, generates frequency hop sequence table;Further according to frequency hop sequence table is generated, frequency hopping is determined
The frequency hopping selecting sequence of available channel employed in transmission process;During practical frequency-hopping transmissions, just according to this frequency hopping
Selecting sequence selects available channel, and bluetooth data packets are sent to the second mobile terminal, and the second mobile terminal is believed by the frequency hopping
Road sequence carries out frequency hopping reception;Other equipment due to not receiving frequency hopping table in physical layer can not obtain frequency hopping channel sequence, because
This can not determine the selected channel of frequency hopping when expression layer receives data, can not receive the bluetooth number of first movement terminal transmission
According to packet, the Information Security of bluetooth frequency hopping mechanics of communication is improved.
Specifically, described according to the preset-key and the frequency hopping table in the embodiment of the present invention, it is suitable to generate frequency hopping
The step of sequence table, including:
According to the preset-key, the available channel in the frequency hopping table is ranked up, generates frequency hop sequence table.
Wherein, it may include multiple available channels in frequency hopping table, and after being ranked up to available channel according to preset-key,
Ensure that the higher available channel of channel quality comes front, and is preferentially used;
According to the preset-key, the available channel in the frequency hopping table is ranked up, will sort preceding present count
The mesh available channel is arranged in order, when preset number is that preset first movement terminal carries out bluetooth frequency hopping, each
The number of institute's frequency hopping in unit interval;For example, presetting interior frequency hopping per second 32 times, then in frequency hopping table, to each available letter
After road is ranked up, preceding 32 available channels are arranged in order, generate frequency hop sequence table so that first movement terminal is in frequency hopping
In transmission process, selected channel is the higher available channel of channel quality, improves the quality of frequency-hopping transmissions.
Preferably, in specific embodiments of the present invention, what the generation carried out data transmission with second mobile terminal
The step of frequency hopping table, including:
The available channel of the determining bluetooth connection between second mobile terminal and the channel matter of the available channel
Measure parameter;
According to the channel quality parameter of the available channel and the available channel, frequency hopping table is generated.
In above-mentioned steps, the process that generates frequency hopping table include determine between second mobile terminal bluetooth connection can
With channel, and the channel quality parameter of determining available channel;Optionally, the channel quality parameter includes signal-to-noise ratio, to
Determine the height of channel quality.
And according to the channel quality parameter of available channel and available channel, generate frequency hopping table.
Preferably, described to detect when establishing bluetooth connection with the second mobile terminal in specific embodiments of the present invention, it is raw
Include at the step of frequency hopping table carried out data transmission with second mobile terminal:
It detects when establishing bluetooth connection with the second mobile terminal, it is preset to determine whether second mobile terminal meets
Security requirement;
When second mobile terminal meets preset security requirement, generate with second mobile terminal into line number
According to the frequency hopping table of transmission.
Specifically, it when physical layer detects and establishes bluetooth connection with the second mobile terminal, needs to the second mobile terminal
Identity security verified, determine whether second mobile terminal meets preset security requirement;When described second
It when mobile terminal meets preset security requirement, determines that the identity of the second mobile terminal is credible, then generates and moved with described second
The frequency hopping table that dynamic terminal carries out data transmission, and frequency hopping table is sent to the second mobile terminal, not by security verification its
Its equipment can not then obtain frequency hopping table, and the selected channel of frequency hopping can not be determined when expression layer receives data, can not receive the
The bluetooth data packets that one mobile terminal is sent, improve the Information Security of bluetooth frequency hopping mechanics of communication.
Further, in specific embodiments of the present invention, it is preset whether determination second mobile terminal meets
The step of security requirement, including:
Receive user feedback described in the second mobile terminal whether safety feedback information;
When the feedback information indicates that second mobile terminal is safe, it is pre- to determine that second mobile terminal meets
If security requirement;
When the feedback information indicates that second mobile terminal is dangerous, determine that second mobile terminal is unsatisfactory for
Preset security requirement then sends refusal respond to second mobile terminal and indicates information.
Wherein it is determined that whether second mobile terminal meets the process of preset security requirement, user feedback is needed,
The second mobile terminal of user feedback can be prompted whether safe after establishing bluetooth connection;And it is indicated when the feedback information
When second mobile terminal is safe, determines that second mobile terminal meets preset security requirement, pass through safety
Verification;When the feedback information indicates that second mobile terminal is dangerous, it is pre- to determine that second mobile terminal is unsatisfactory for
If security requirement, then to second mobile terminal send refusal respond indicate information.
In the above embodiment of the present invention, by when physical layer detects and establishes bluetooth connection with the second mobile terminal,
The frequency hopping table carried out data transmission with second mobile terminal is generated, and the frequency hopping table is sent to second movement eventually
End, during Bluetooth transmission, first movement terminal and the second mobile terminal both sides are respectively according to identical sort algorithm pair
Available channel sorts, and obtains identical frequency hopping channel sequence, and first movement terminal carries out frequency hopping hair by frequency hopping channel sequence
It send, and the second mobile terminal carries out frequency hopping reception by frequency hopping channel sequence;Due to not receiving its of frequency hopping table in physical layer
His equipment can not obtain frequency hopping channel sequence, therefore can not determine the selected channel of frequency hopping, nothing when expression layer receives data
Method receives the bluetooth data packets that first movement terminal is sent, and avoids blue-teeth data coating miscellaneous equipment and receives, improves bluetooth
The Information Security of frequency hopping mechanics of communication.The present invention solves in the prior art, the Information Security of bluetooth frequency hopping mechanics of communication
Poor problem.
Referring to Fig. 2, the embodiment of the present invention additionally provides a kind of mobile terminal 200, and the mobile terminal 200 is first movement
Terminal 200, the mobile terminal 200 include:
Frequency hopping table generation module 201 when establishing bluetooth connection with the second mobile terminal for detecting, generates and described the
The frequency hopping table that two mobile terminals carry out data transmission;The frequency hopping table includes that the first movement terminal is moved with described second
Terminal carries out the available channel of bluetooth connection and the channel quality parameter of the available channel.
Wherein, when first movement terminal and the second mobile terminal carry out bluetooth connection, first movement terminal is as master control
End sends bluetooth data packets to the second mobile terminal, and the second mobile terminal receives the bluetooth that main control end is sent as controlled terminal
Data packet.
When detecting that first movement terminal and the second mobile terminal establish the foundation operation of bluetooth connection, first movement is whole
End generation carries out the frequency hopping table of Bluetooth transmission with the second mobile terminal, and frequency hopping table includes that first movement terminal and the second movement are whole
The available channel at end and the channel quality parameter of available channel.And in specific embodiments of the present invention, connect due to establishing bluetooth
The process connect is realized in the physical layer of osi model, so generating the frequency hopping table carried out data transmission with second mobile terminal
The step of also physical layer realize.
Frequency hopping table sending module 202, for the frequency hopping table to be sent to second mobile terminal.
Specifically, within the physical layer, frequency hopping table is sent to second mobile terminal, frequency hopping table includes available channel
And channel quality parameter, main control end and controlled terminal both sides respectively sort to available channel according to identical sort algorithm, solution
Identical frequency hopping channel sequence is precipitated, i.e., used channel order during frequency-hopping transmissions, therefore, first movement terminal passes through
Frequency hopping channel sequence carries out frequency hopping transmission, and the second mobile terminal carries out frequency hopping reception by frequency hopping channel sequence;Due to
Frequency hopping channel sequence can not be obtained by not receiving the other equipment of frequency hopping table in physical layer, therefore can not when expression layer receives data
It determines the selected channel of frequency hopping, the bluetooth data packets of first movement terminal transmission can not be received, improve the communication of bluetooth frequency hopping
The Information Security of technology.
Optionally, referring to Fig. 3, the mobile terminal 200 further includes:
Key sending module 203, for preset-key to be sent to second mobile terminal.
Optionally, referring to Fig. 3, the mobile terminal 200 includes:
Frequency hopping sending module 204, for according to the preset-key and the frequency hopping table, generating frequency hop sequence table;
According to the frequency hop sequence table, the frequency hopping selecting sequence of the available channel in the frequency hopping table is determined;
The available channel is selected successively according to the frequency hopping selecting sequence, to the second mobile terminal transmission data.
Optionally, referring to Fig. 3, the frequency hopping sending module 204 is used for:
According to the preset-key, the available channel in the frequency hopping table is ranked up, generates frequency hop sequence table.
Optionally, referring to Fig. 3, the frequency hopping table generation module 201 includes:
Determination sub-module, for determining between second mobile terminal available channel of bluetooth connection and described
The channel quality parameter of available channel;
Submodule is generated, for the channel quality parameter according to the available channel and the available channel, generates and jumps
Frequency table.
Optionally, the channel quality parameter includes signal-to-noise ratio.
Optionally, referring to Fig. 3, the frequency hopping table generation module 201 further includes:
Safety verification submodule 2011, for determining whether second mobile terminal meets preset security requirement;
When second mobile terminal meets preset security requirement, generate with second mobile terminal into line number
According to the frequency hopping table of transmission.
Optionally, the safety verification submodule 2011 is used for:
Receive user feedback described in the second mobile terminal whether safety feedback information;
When the feedback information indicates that second mobile terminal is safe, it is pre- to determine that second mobile terminal meets
If security requirement;
When the feedback information indicates that second mobile terminal is dangerous, determine that second mobile terminal is unsatisfactory for
Preset security requirement then sends refusal respond to second mobile terminal and indicates information.
Mobile terminal provided in an embodiment of the present invention can realize that mobile terminal is realized each in the embodiment of the method for Fig. 1
Process, to avoid repeating, which is not described herein again.
In the above embodiment of the present invention, by when physical layer detects and establishes bluetooth connection with the second mobile terminal,
The frequency hopping table carried out data transmission with second mobile terminal is generated, and the frequency hopping table is sent to second movement eventually
End, during Bluetooth transmission, first movement terminal and the second mobile terminal both sides are respectively according to identical sort algorithm pair
Available channel sorts, and obtains identical frequency hopping channel sequence, and first movement terminal carries out frequency hopping hair by frequency hopping channel sequence
It send, and the second mobile terminal carries out frequency hopping reception by frequency hopping channel sequence;Due to not receiving its of frequency hopping table in physical layer
His equipment can not obtain frequency hopping channel sequence, therefore can not determine the selected channel of frequency hopping, nothing when expression layer receives data
Method receives the bluetooth data packets that first movement terminal is sent, and avoids blue-teeth data coating miscellaneous equipment and receives, improves bluetooth
The Information Security of frequency hopping mechanics of communication.
Bluetooth connecting method provided in an embodiment of the present invention is introduced from master control end side above, continues to be situated between from controlled end side below
Continue Bluetooth connecting method provided in an embodiment of the present invention.
Referring to Fig. 4, the embodiment provides a kind of Bluetooth connecting methods, are applied to the second mobile terminal, described
Method includes:
Step 401, it detects when establishing bluetooth connection with first movement terminal, receives what the first movement terminal was sent
The frequency hopping table carried out data transmission with the first movement terminal, the frequency hopping table include the first movement terminal with it is described
Second mobile terminal carries out the available channel of bluetooth connection and the channel quality parameter of the available channel.
Wherein, when first movement terminal and the second mobile terminal carry out bluetooth connection, first movement terminal is as master control
End sends bluetooth data packets to the second mobile terminal, and the second mobile terminal receives the bluetooth that main control end is sent as controlled terminal
Data packet.
When detecting that the second mobile terminal and first movement terminal establish the foundation operation of bluetooth connection, receives first and move
The frequency hopping table that dynamic terminal is sent, frequency hopping table include first movement terminal and the second mobile terminal available channel and can be with believing
The channel quality parameter in road.And in specific embodiments of the present invention, due to establishing physics of the process in osi model of bluetooth connection
Layer is realized, so the step of receiving the frequency hopping table carried out data transmission with mobile terminal with described the is also realized in physical layer.
Further, described to receive carrying out data transmission with the first movement terminal for the first movement terminal transmission
Frequency hopping table the step of include:
Determine the channel quality parameter of the available channel and the available channel in the frequency hopping table.
Specifically, within the physical layer, receive the frequency hopping table that first movement terminal is sent, frequency hopping table include available channel with
And channel quality parameter, main control end and controlled terminal both sides respectively sort to available channel according to identical sort algorithm, parsing
Go out identical frequency hopping channel sequence, i.e., used channel order during frequency-hopping transmissions, therefore, first movement terminal passes through this
Frequency hopping channel sequence carries out frequency hopping transmission, and the second mobile terminal carries out frequency hopping reception by frequency hopping channel sequence;Due to
The other equipment that physical layer does not receive frequency hopping table can not obtain frequency hopping channel sequence, therefore can not be true when expression layer receives data
Determine the selected channel of frequency hopping, the bluetooth data packets of first movement terminal transmission can not be received, improves bluetooth frequency hopping communication skill
The Information Security of art.
Optionally, the channel quality parameter includes signal-to-noise ratio, to determine the height of channel quality.
Preferably, described to detect the step that bluetooth connection is established with first movement terminal in specific embodiments of the present invention
After rapid, the method further includes:
Receive the preset-key that the first movement terminal is sent.
Specifically, preset-key is used to be ranked up the available channel in the frequency hopping table, i.e. channel sort algorithm.
After first movement terminal carries out bluetooth connection with the second mobile terminal, preset-key is sent to the second shifting by first movement terminal
Dynamic terminal so that the second mobile terminal can determine frequency hopping channel sequence according to preset-key.
Optionally, first bluetooth company can be carried out in first movement terminal and the second mobile terminal by receiving the process of preset-key
It is sent when connecing, also can periodically receive the preset-key that first movement terminal is sent according to predetermined period.
Preferably, in specific embodiments of the present invention, after step 401, the method further includes:
According to the preset-key and the frequency hopping table, frequency hop sequence table is generated;
According to the frequency hop sequence table, the frequency hopping selecting sequence of the available channel in the frequency hopping table is determined;
The available channel is selected successively according to the frequency hopping selecting sequence, receives the number that the first movement terminal is sent
According to.
Wherein, the available channel between first movement terminal and the second mobile terminal is carried in frequency hopping table and can use letter
The channel quality parameter in road, after physical layer receives frequency hopping table, the second mobile terminal is according to preset-key in frequency hopping table
Available channel sorts, and generates frequency hop sequence table;Further according to frequency hop sequence table is generated, determine first movement terminal in frequency-hopping transmissions mistake
The frequency hopping selecting sequence of available channel employed in journey;During practical frequency-hopping transmissions, just selected according to this frequency hopping suitable
Sequence selects available channel, receives the bluetooth data packets that first movement terminal is sent;Due to not receiving its of frequency hopping table in physical layer
His equipment can not obtain frequency hopping channel sequence, therefore can not determine the selected channel of frequency hopping, nothing when expression layer receives data
Method receives the bluetooth data packets that first movement terminal is sent, and improves the Information Security of bluetooth frequency hopping mechanics of communication.
Preferably, described according to the preset-key and the frequency hopping table in specific embodiments of the present invention, it generates and jumps
The step of frequency sequence list, including:
According to the preset-key, the available channel in the frequency hopping table is ranked up;
A preceding preset number that will the sort available channel is arranged in order, and generates frequency hop sequence table.
Wherein, may include multiple available channels in frequency hopping table, and first movement terminal according to preset-key to available channel
After being ranked up, it is ensured that the higher available channel of channel quality comes front, and is preferentially used;
When preset number is that preset first movement terminal carries out bluetooth frequency-hopping transmissions with the second mobile terminal, each
The number of institute's frequency hopping in unit interval;For example, presetting interior frequency hopping per second 32 times, then in frequency hopping table, to each available letter
After road is ranked up, preceding 32 available channels are arranged in order, generate frequency hop sequence table so that the second mobile terminal is in frequency hopping
In transmission process, selected channel is the higher available channel of channel quality, improves the quality of frequency-hopping transmissions.
In the above embodiment of the present invention, bluetooth connection is established with first movement terminal by detecting within the physical layer
When, receive the frequency hopping table carried out data transmission with the first movement terminal that the first movement terminal is sent, main control end with
And controlled terminal both sides respectively sort to available channel according to identical sort algorithm, parse identical frequency hopping channel sequence, i.e.,
Channel order used by during frequency-hopping transmissions, therefore, first movement terminal carry out frequency hopping hair by frequency hopping channel sequence
It send, and the second mobile terminal carries out frequency hopping reception by frequency hopping channel sequence;Due to not receiving its of frequency hopping table in physical layer
His equipment can not obtain frequency hopping channel sequence, therefore can not determine the selected channel of frequency hopping, nothing when expression layer receives data
Method receives the bluetooth data packets that first movement terminal is sent, and avoids blue-teeth data coating miscellaneous equipment and receives, improves bluetooth
The Information Security of frequency hopping mechanics of communication.
Referring to Fig. 5, an embodiment of the present invention provides a kind of mobile terminal 500, the mobile terminal 500 is that the second movement is whole
End 500, the mobile terminal 500 include:
Frequency hopping table receiving module 501 when establishing bluetooth connection with first movement terminal for detecting, receives described first
The frequency hopping table carried out data transmission with the first movement terminal that mobile terminal is sent.
Wherein, when first movement terminal and the second mobile terminal 500 carry out bluetooth connection, first movement terminal is as master
End is controlled, bluetooth data packets are sent to the second mobile terminal 500, and the second mobile terminal 500 is used as controlled terminal, receives main control end hair
The bluetooth data packets sent.
When the foundation for detecting the second mobile terminal 500 with first movement terminal and establishing bluetooth connection operates, the is received
The frequency hopping table that one mobile terminal is sent, frequency hopping table include the available channel of first movement terminal and the second mobile terminal 500 with
And the channel quality parameter of available channel.And in specific embodiments of the present invention, due to establishing the process of bluetooth connection in OSI moulds
The physical layer of type realizes, so the step of receiving the frequency hopping table carried out data transmission with mobile terminal 500 with described the is also in object
Layer is managed to realize.
Optionally, the mobile terminal 500 further includes:
Key reception module, the preset-key sent for receiving the first movement terminal.
Optionally, the mobile terminal 500 further includes:
Frequency hopping receiving module, for according to the preset-key and the frequency hopping table, generating frequency hop sequence table;
According to the frequency hop sequence table, the frequency hopping selecting sequence of the available channel in the frequency hopping table is determined;
The available channel is selected successively according to the frequency hopping selecting sequence, receives the number that the first movement terminal is sent
According to.
Optionally, the frequency hopping receiving module is used for:
According to the preset-key, the available channel in the frequency hopping table is ranked up;
A preceding preset number that will the sort available channel is arranged in order, and generates frequency hop sequence table.
Optionally, the frequency hopping table receiving module 501 is used for:
Determine the channel quality parameter of the available channel and the available channel in the frequency hopping table.
Mobile terminal 500 provided in an embodiment of the present invention can realize that mobile terminal 500 is realized in the embodiment of the method for Fig. 4
Each process, to avoid repeating, which is not described herein again.
In the above embodiment of the present invention, bluetooth connection is established with first movement terminal by detecting within the physical layer
When, receive the frequency hopping table carried out data transmission with the first movement terminal that the first movement terminal is sent, main control end with
And controlled terminal both sides respectively sort to available channel according to identical sort algorithm, parse identical frequency hopping channel sequence, i.e.,
Channel order used by during frequency-hopping transmissions, therefore, first movement terminal carry out frequency hopping hair by frequency hopping channel sequence
It send, and the second mobile terminal 500 carries out frequency hopping reception by frequency hopping channel sequence;Due to not receiving frequency hopping table in physical layer
Other equipment can not obtain frequency hopping channel sequence, therefore can not determine the selected channel of frequency hopping when expression layer receives data,
The bluetooth data packets that the transmission of first movement terminal can not be received avoid blue-teeth data coating miscellaneous equipment and receive, improve indigo plant
The Information Security of tooth frequency hopping mechanics of communication.
As a specific example, it is to be realized by the frequency hopping of 0~79 channel this 80 channels, still in Bluetooth system
During frequency hopping, data both sides can communicate update frequency hopping table in real time, the selection and update of that frequency hopping frequency point can will also be sent out
Send in the air give other side execute.
The frequency hopping table structure being shown referring to Fig. 6, Fig. 6 after increasing frequency-hopping encryption scrambling unit, wherein frequency-hopping encryption
Scrambling unit is used to, by preset algorithm (i.e. preset-key), be ranked up frequency hopping table, generates frequency hop sequence table.
The preset algorithm when two wireless devices link for the first time, system interrogation whether secure link.The calculation after determination
The frequency hop sequence that method mechanism can be directed to the available channel inside the frequency hopping table of real-time update variation is encrypted, and the algorithm is as secret
The presence of key is supplied to pairing both sides, subsequent data transmitting and receiving all to transfer the Secret key arithmetic and carry out data encryption and decryption.
The secret key can be as a kind of Encryption Algorithm of bluetooth frequency hopping table real-time update, then the next Frequency point that will be skipped to of bluetooth, only
There is the user for possessing the secret key that can obtain, the possibility that remaining back door obtains correct frequency point is 1/80.That is, meeting
So that the physical layer data for illegally obtaining taker basis is all difficult to get to, less with the violence demodulation for proceeding to session layer data
In.Namely the frequency hopping table of bluetooth is encrypted, the possibility of user data is obtained to reduce illegal person from physical layer.Such as
Shown in Fig. 7, Fig. 7 is the Bluetooth transmission model after increasing frequency-hopping encryption scrambling unit, wherein in band spectrum modulation and despreading
In jump frequency synthesizer in the process, frequency hop sequence encryption key is respectively set, to obtain identical frequency hop sequence.
Below with two equipment, for bluetooth A and bluetooth B are respectively as main control end and controlled terminal, introduce the present invention and implement
The Bluetooth connecting method that example provides;Referring to Fig. 8, Fig. 8 is when establishing bluetooth connection for the first time, and preset-key is sent to indigo plant by bluetooth A
Tooth B, the two store preset-key respectively.
Fig. 9 is the two interactive process schematic diagram:
What 901, bluetooth A received bluetooth B establishes Bluetooth connection request.
902, bluetooth A determine whether bluetooth B meets default security requirement:
If not satisfied, 903 are thened follow the steps, the connection request of refusal respond bluetooth B.
If satisfied, then executing 904, the encryption key generation unit of bluetooth A stores preset-key, and executes 905, by preset-key
It is sent to bluetooth B.
Bluetooth B executes 906, stores preset-key.
In above-mentioned example, from the bottom of Bluetooth wireless transmission data, i.e. physical layer has carried out data encryption, allows illegal nothing
Line number can not obtain the frequency point of bluetooth frequency hopping according to winner, to prevent the illegal acquisition of wireless data from physical layer.
A kind of hardware architecture diagram of Figure 10 mobile terminals of each embodiment to realize the present invention,
The mobile terminal 1000 includes but not limited to:Radio frequency unit 1001, network module 1002, audio output unit
1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, storage
The components such as device 1009, processor 1010 and power supply 1011.It will be understood by those skilled in the art that being moved shown in Figure 10
Terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, or
Combine certain components or different components arrangement.In embodiments of the present invention, mobile terminal includes but not limited to mobile phone, puts down
Plate computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, processor 1010 when establishing bluetooth connection with the second mobile terminal for detecting, generate and described second
The frequency hopping table that mobile terminal carries out data transmission;
The frequency hopping table is sent to second mobile terminal.
In embodiments of the present invention, by when physical layer detects and establishes bluetooth connection with the second mobile terminal, generating
The frequency hopping table carried out data transmission with second mobile terminal, and the frequency hopping table is sent to second mobile terminal,
During Bluetooth transmission, first movement terminal and the second mobile terminal both sides are respectively according to identical sort algorithm to available
Channel sorts, and obtains identical frequency hopping channel sequence, and first movement terminal carries out frequency hopping transmission by frequency hopping channel sequence, and
Second mobile terminal carries out frequency hopping reception by frequency hopping channel sequence;Due to not receiving the other equipment of frequency hopping table in physical layer
Frequency hopping channel sequence can not be obtained, therefore the selected channel of frequency hopping can not be determined when expression layer receives data, can not be received
The bluetooth data packets that first movement terminal is sent avoid blue-teeth data coating miscellaneous equipment and receive, it is logical to improve bluetooth frequency hopping
The Information Security of news technology.
It should be understood that the embodiment of the present invention in, radio frequency unit 1001 can be used for receiving and sending messages or communication process in, signal
Send and receive, specifically, by from base station downlink data receive after, to processor 1010 handle;In addition, by uplink
Data are sent to base station.In general, radio frequency unit 1001 includes but not limited to antenna, at least one amplifier, transceiver, coupling
Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1001 can also by radio communication system and network and other
Equipment communicates.
Mobile terminal has provided wireless broadband internet to the user by network module 1002 and has accessed, and such as user is helped to receive
Send e-mails, browse webpage and access streaming video etc..
It is that audio output unit 1003 can receive radio frequency unit 1001 or network module 1002 or in memory
The audio data stored in 1009 is converted into audio signal and exports to be sound.Moreover, audio output unit 1003 can be with
The relevant audio output of specific function executed with mobile terminal 1000 is provided (for example, call signal receives sound, message sink
Sound etc.).Audio output unit 1003 includes loud speaker, buzzer and receiver etc..
Input unit 1004 is for receiving audio or video signal.Input unit 1004 may include graphics processor
(Graphics Processing Unit, GPU) 10041 and microphone 10042, graphics processor 10041 in video to capturing
In pattern or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into
Row processing.Treated, and picture frame may be displayed on display unit 1006.Through treated the picture frame of graphics processor 10041
It can be stored in memory 1009 (or other storage mediums) or be carried out via radio frequency unit 1001 or network module 1002
It sends.Microphone 10042 can receive sound, and can be audio data by such acoustic processing.Audio that treated
Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1001 in the case of telephone calling model
Formula exports.
Mobile terminal 1000 further includes at least one sensor 1005, for example, optical sensor, motion sensor and other
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 10061, proximity sensor can when mobile terminal 1000 is moved in one's ear,
Close display panel 10061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile terminal appearance when static
State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion)
Deng;Sensor 1005 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas
Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 1006 is for showing information input by user or being supplied to the information of user.Display unit 1006 can
Including display panel 10061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes may be used
Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 10061.
User input unit 1007 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 1007 include touch panel 10071 with
And other input equipments 10072.Touch panel 10071, also referred to as touch screen collect user on it or neighbouring touch are grasped
Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 10071 or in touch panel
Operation near 10071).Touch panel 10071 may include both touch detecting apparatus and touch controller.Wherein, it touches
The touch orientation of detection device detection user is touched, and detects the signal that touch operation is brought, transmits a signal to touch controller;
Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1010,
It receives the order that processor 1010 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface
The multiple types such as sound wave realize touch panel 10071.In addition to touch panel 10071, user input unit 1007 can also include
Other input equipments 10072.Specifically, other input equipments 10072 can include but is not limited to physical keyboard, function key (ratio
Such as volume control button, switch key), trace ball, mouse, operating lever, details are not described herein.
Further, touch panel 10071 can be covered on display panel 10061, when touch panel 10071 detects
After touch operation on or near it, processor 1010 is sent to determine the type of touch event, is followed by subsequent processing device 1010
Corresponding visual output is provided on display panel 10061 according to the type of touch event.Although in Fig. 10, touch panel
10071 with display panel 10061 be realize the function that outputs and inputs of mobile terminal as two independent components, but
In some embodiments, touch panel 10071 can be integrated with display panel 10061 and realize outputting and inputting for mobile terminal
Function does not limit specifically herein.
Interface unit 1008 is the interface that external device (ED) is connect with mobile terminal 1000.For example, external device (ED) may include
Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card
Port, the port for connecting the device with identification module, the port audio input/output (I/O), video i/o port, earphone
Port etc..Interface unit 1008 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously
And by one or more elements that the input received is transferred in mobile terminal 1000 or it can be used in mobile terminal
Transmission data between 1000 and external device (ED).
Memory 1009 can be used for storing software program and various data.Memory 1009 can include mainly storage program
Area and storage data field, wherein storing program area can storage program area, needed at least one function application program (such as
Sound-playing function, image player function etc.) etc.;Storage data field can be stored uses created data (ratio according to mobile phone
Such as audio data, phone directory) etc..In addition, memory 1009 may include high-speed random access memory, can also include non-
Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1010 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 1009, and calls and is stored in storage
Data in device 1009 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 1010 may include one or more processing units;Preferably, processor 1010 can integrate application processor and modulation /demodulation
Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master
Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1010.
Mobile terminal 1000 can also include the power supply 1011 (such as battery) powered to all parts, it is preferred that power supply
1011 can be logically contiguous by power-supply management system and processor 1010, to realize that management is filled by power-supply management system
The functions such as electricity, electric discharge and power managed.
In addition, mobile terminal 1000 includes some unshowned function modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1010, memory 1009, storage
On memory 1009 and the computer program that can be run on the processor 1010, the computer program is by processor 1010
Each process of above-mentioned Bluetooth connecting method embodiment is realized when execution, and can reach identical technique effect, to avoid repeating,
Which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned Bluetooth connecting method embodiment, and energy when being executed by processor
Reach identical technique effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only
Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation
RAM), magnetic disc or CD etc..
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within the protection of the present invention.
Claims (15)
1. a kind of Bluetooth connecting method is applied to first movement terminal, which is characterized in that the method includes:
It detects when establishing bluetooth connection with the second mobile terminal, the jump that generation carries out data transmission with second mobile terminal
Frequency table;The frequency hopping table includes the available letter that the first movement terminal carries out bluetooth connection with second mobile terminal
The channel quality parameter in road and the available channel;
The frequency hopping table is sent to second mobile terminal.
2. according to the method described in claim 1, it is characterized in that, described detect establishes bluetooth connection with the second mobile terminal
The step of after, the method further includes:
Preset-key is sent to second mobile terminal.
3. according to the method described in claim 2, it is characterized in that, described be sent to second movement eventually by the frequency hopping table
After the step of end, the method includes:
According to the preset-key and the frequency hopping table, frequency hop sequence table is generated;
According to the frequency hop sequence table, the frequency hopping selecting sequence of the available channel in the frequency hopping table is determined;
The available channel is selected successively according to the frequency hopping selecting sequence, to the second mobile terminal transmission data.
4. according to the method described in claim 3, it is characterized in that, described according to the preset-key and the frequency hopping table,
The step of generating frequency hop sequence table, including:
According to the preset-key, the available channel in the frequency hopping table is ranked up, generates frequency hop sequence table.
5. according to the method described in claim 1, it is characterized in that, the generation carries out data biography with second mobile terminal
The step of defeated frequency hopping table, including:
The available channel of the determining bluetooth connection between second mobile terminal and the channel quality ginseng of the available channel
Number;
According to the channel quality parameter of the available channel and the available channel, frequency hopping table is generated.
6. according to the method described in claim 1, it is characterized in that, described detect establishes bluetooth connection with the second mobile terminal
When, generate carry out data transmission with second mobile terminal frequency hopping table the step of include:
It detects when establishing bluetooth connection with the second mobile terminal, determines whether second mobile terminal meets preset safety
Property require;
When second mobile terminal meets preset security requirement, generates and carry out data biography with second mobile terminal
Defeated frequency hopping table.
7. according to the method described in claim 6, it is characterized in that, the determination second mobile terminal whether meet it is default
Security requirement the step of, including:
Receive user feedback described in the second mobile terminal whether safety feedback information;
When the feedback information indicates that second mobile terminal is safe, it is preset to determine that second mobile terminal meets
Security requirement;
When the feedback information indicates that second mobile terminal is dangerous, determine that second mobile terminal is unsatisfactory for presetting
Security requirement, then to second mobile terminal send refusal respond indicate information.
8. a kind of Bluetooth connecting method is applied to the second mobile terminal, which is characterized in that the method includes:
It detects when establishing bluetooth connection with first movement terminal, receive that the first movement terminal sends moves with described first
The frequency hopping table that dynamic terminal carries out data transmission, the frequency hopping table include the first movement terminal and second mobile terminal
Carry out the available channel of bluetooth connection and the channel quality parameter of the available channel.
9. according to the method described in claim 8, it is characterized in that, described detect establishes bluetooth connection with first movement terminal
The step of after, the method further includes:
Receive the preset-key that the first movement terminal is sent.
10. according to the method described in claim 9, it is characterized in that, described receiving that the first movement terminal sends with institute
After the step of stating the frequency hopping table that first movement terminal carries out data transmission, the method further includes:
According to the preset-key and the frequency hopping table, frequency hop sequence table is generated;
According to the frequency hop sequence table, the frequency hopping selecting sequence of the available channel in the frequency hopping table is determined;
The available channel is selected successively according to the frequency hopping selecting sequence, receives the data that the first movement terminal is sent.
11. according to the method described in claim 10, it is characterized in that, described according to the preset-key and the frequency hopping
The step of table, generation frequency hop sequence table, including:
According to the preset-key, the available channel in the frequency hopping table is ranked up;
A preceding preset number that will the sort available channel is arranged in order, and generates frequency hop sequence table.
12. according to the method described in claim 8, it is characterized in that, described receiving that the first movement terminal sends with institute
The step of stating the frequency hopping table that first movement terminal carries out data transmission include:
Determine the channel quality parameter of the available channel and the available channel in the frequency hopping table.
13. a kind of mobile terminal, the mobile terminal is first movement terminal, which is characterized in that the mobile terminal includes:
Frequency hopping table generation module when establishing bluetooth connection with the second mobile terminal for detecting, is generated and is moved with described second
The frequency hopping table that terminal carries out data transmission;The frequency hopping table include the first movement terminal with second mobile terminal into
The channel quality parameter of the available channel of row bluetooth connection and the available channel;
Frequency hopping table sending module, for the frequency hopping table to be sent to second mobile terminal.
14. a kind of mobile terminal, the mobile terminal is the second mobile terminal, which is characterized in that the mobile terminal includes:
When establishing bluetooth connection with first movement terminal for detecting, it is whole to receive the first movement for frequency hopping table receiving module
It includes that the first movement is whole to hold the frequency hopping table carried out data transmission with the first movement terminal sent, the frequency hopping table
End carries out the available channel of bluetooth connection and the channel quality parameter of the available channel with second mobile terminal.
15. a kind of mobile terminal, which is characterized in that including:It memory, processor and is stored on the memory and can be in institute
State the computer program run on processor, when the computer program is executed by the processor realize as claim 1 to
The step in Bluetooth connecting method described in any one of 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810208406.7A CN108449114B (en) | 2018-03-14 | 2018-03-14 | Bluetooth connection method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810208406.7A CN108449114B (en) | 2018-03-14 | 2018-03-14 | Bluetooth connection method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108449114A true CN108449114A (en) | 2018-08-24 |
CN108449114B CN108449114B (en) | 2020-01-21 |
Family
ID=63194275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810208406.7A Active CN108449114B (en) | 2018-03-14 | 2018-03-14 | Bluetooth connection method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108449114B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111970669A (en) * | 2020-08-17 | 2020-11-20 | 立讯电子科技(昆山)有限公司 | Bluetooth connection method and device and Bluetooth equipment |
FR3102907A1 (en) * | 2019-11-06 | 2021-05-07 | Idemia Identity & Security France | Radio communication method of a slave device with a master device |
CN112867080A (en) * | 2020-12-31 | 2021-05-28 | 合肥中感微电子有限公司 | Wireless communication method, device, communication equipment and readable storage medium |
WO2021223754A1 (en) * | 2020-05-08 | 2021-11-11 | 华为技术有限公司 | Communication method and communication apparatus in wireless communication system |
CN114071440A (en) * | 2021-11-16 | 2022-02-18 | 思澈科技(重庆)有限公司 | Method and device for enhancing directional connection Bluetooth address security |
CN115442907A (en) * | 2022-08-23 | 2022-12-06 | 桃芯科技(苏州)有限公司 | Bluetooth channel selection method, bluetooth device, and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1427549A (en) * | 2001-12-18 | 2003-07-02 | 三星电子株式会社 | Wireless communication apparatus capable of improving connecting rate |
US20040176065A1 (en) * | 2003-02-20 | 2004-09-09 | Bo Liu | Low power operation in a personal area network communication system |
CN102799838A (en) * | 2011-05-22 | 2012-11-28 | 成都阿艾夫通信有限公司 | Radio frequency identification (RFID) electronic tag random frequency hopping method |
CN106411356A (en) * | 2016-10-18 | 2017-02-15 | 广州海格通信集团股份有限公司 | Self-adaptive frequency-selection communication method based on multi-frequency-hopping radio network in VHF frequency band |
CN107396211A (en) * | 2017-08-31 | 2017-11-24 | 武汉中电物联科技有限公司 | Wireless speech transmitting terminal, receiving terminal and system |
-
2018
- 2018-03-14 CN CN201810208406.7A patent/CN108449114B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1427549A (en) * | 2001-12-18 | 2003-07-02 | 三星电子株式会社 | Wireless communication apparatus capable of improving connecting rate |
US20040176065A1 (en) * | 2003-02-20 | 2004-09-09 | Bo Liu | Low power operation in a personal area network communication system |
CN102799838A (en) * | 2011-05-22 | 2012-11-28 | 成都阿艾夫通信有限公司 | Radio frequency identification (RFID) electronic tag random frequency hopping method |
CN106411356A (en) * | 2016-10-18 | 2017-02-15 | 广州海格通信集团股份有限公司 | Self-adaptive frequency-selection communication method based on multi-frequency-hopping radio network in VHF frequency band |
CN107396211A (en) * | 2017-08-31 | 2017-11-24 | 武汉中电物联科技有限公司 | Wireless speech transmitting terminal, receiving terminal and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR3102907A1 (en) * | 2019-11-06 | 2021-05-07 | Idemia Identity & Security France | Radio communication method of a slave device with a master device |
US11696346B2 (en) | 2019-11-06 | 2023-07-04 | Idemia Identity & Security France | Method for radio communication of a slave device with a master device |
WO2021223754A1 (en) * | 2020-05-08 | 2021-11-11 | 华为技术有限公司 | Communication method and communication apparatus in wireless communication system |
CN113709785A (en) * | 2020-05-08 | 2021-11-26 | 华为技术有限公司 | Communication method and communication device in wireless communication system |
CN113709785B (en) * | 2020-05-08 | 2024-07-19 | 华为技术有限公司 | Communication method and communication device in wireless communication system |
CN111970669A (en) * | 2020-08-17 | 2020-11-20 | 立讯电子科技(昆山)有限公司 | Bluetooth connection method and device and Bluetooth equipment |
CN111970669B (en) * | 2020-08-17 | 2023-11-24 | 立讯电子科技(昆山)有限公司 | Bluetooth connection method and device and Bluetooth equipment |
CN112867080A (en) * | 2020-12-31 | 2021-05-28 | 合肥中感微电子有限公司 | Wireless communication method, device, communication equipment and readable storage medium |
CN114071440A (en) * | 2021-11-16 | 2022-02-18 | 思澈科技(重庆)有限公司 | Method and device for enhancing directional connection Bluetooth address security |
CN114071440B (en) * | 2021-11-16 | 2023-09-26 | 思澈科技(重庆)有限公司 | Method and device for enhancing security of directional connection Bluetooth address |
CN115442907A (en) * | 2022-08-23 | 2022-12-06 | 桃芯科技(苏州)有限公司 | Bluetooth channel selection method, bluetooth device, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108449114B (en) | 2020-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108449114A (en) | A kind of Bluetooth connecting method and mobile terminal | |
CN107770760B (en) | A kind of method and mobile terminal of the type identifying bluetooth equipment | |
CN109521935A (en) | It is a kind of to record screen, the reproducing method based on record screen, terminal | |
CN107547142A (en) | Communication means, device and computer-readable recording medium based on ultrasonic wave | |
CN108629171A (en) | A kind of unread message processing method and terminal | |
CN108076501A (en) | A kind of Wi-Fi network connection management method and mobile terminal | |
CN107392013A (en) | A kind of terminal safety protection method, terminal and computer-readable recording medium | |
CN109145552A (en) | Information ciphering method and terminal device | |
CN108280337A (en) | A kind of message protection method and mobile terminal | |
CN110069229A (en) | Screen sharing method, mobile terminal and computer readable storage medium | |
CN108307529A (en) | A kind of hotspot connection method and its mobile terminal | |
CN108011887A (en) | A kind of account management method and equipment | |
CN108563959A (en) | File encrypting method, device and computer storage media | |
CN109376519A (en) | A kind of unlocked by fingerprint method and terminal device | |
CN108063861A (en) | The method, apparatus and mobile terminal that a kind of state is reminded | |
CN108377483A (en) | A kind of processing method and mobile terminal of bluetooth channel | |
CN107957914A (en) | A kind of information processing method and mobile terminal | |
CN109995391A (en) | A kind of image display method, intelligently wearing terminal and computer readable storage medium | |
CN109740312A (en) | A kind of application control method and terminal device | |
CN108933670A (en) | A kind of digital signature method, device, mobile device and storage medium | |
CN110086808A (en) | A kind of Account Logon control method, equipment and computer readable storage medium | |
CN109992939A (en) | A kind of login method and terminal device | |
CN109753776A (en) | A kind of method, apparatus and mobile terminal of information processing | |
CN108549807A (en) | A kind of unlocking screen method and mobile terminal | |
CN109062492A (en) | A kind of application access method and terminal |
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 |