CN106961663A - A kind of Bluetooth connecting method and device - Google Patents
A kind of Bluetooth connecting method and device Download PDFInfo
- Publication number
- CN106961663A CN106961663A CN201710271701.2A CN201710271701A CN106961663A CN 106961663 A CN106961663 A CN 106961663A CN 201710271701 A CN201710271701 A CN 201710271701A CN 106961663 A CN106961663 A CN 106961663A
- Authority
- CN
- China
- Prior art keywords
- symbolic information
- terminal
- information
- symbolic
- touch
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
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
Abstract
The invention provides a kind of Bluetooth connecting method and device, this method includes:The first symbolic information is sent to second terminal, first symbolic information is the symbolic information being stored in the first terminal, or, the symbolic information detected by the touch-screen of the first terminal;When first symbolic information is matched with the second symbolic information in the second terminal, bluetooth connection is set up with the second terminal.The present invention simplifies the operation of user, improves the convenience, security and accuracy of bluetooth connection by matching symbols information realization bluetooth connection.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of Bluetooth connecting method and device.
Background technology
Bluetooth (Bluetooth) is a kind of wireless technology standard, and fixed terminal, mobile terminal and building people domain can be achieved
Short-range data between net is exchanged.In data exchange process is carried out, many services that bluetooth can be provided all may display
Personal data are controlled by connected equipment, therefore are considered for for security, it is necessary to specific terminal is recognized, to guarantee
Enough control what which terminal was connected with Bluetooth terminal.
The connection procedure of Bluetooth terminal and other-end is realized by matching (paring).The bluetooth of current terminal is matched somebody with somebody
To process generally according to following steps:User opens bluetooth option in system setting and opens Bluetooth switch, connected end
Surrounding is found at end has the terminal of bluetooth;Pairing code is sent mutually with the terminal that searches out.Searched out for example, first terminal is clicked on
Second terminal, first terminal prompting pair-wise key, user clicks on " pairing ", and second terminal points out the pair-wise key that receives,
User clicks on " pairing ".Although the terminal connected in connection historical data can be chosen by a key, for first in the past
For two terminals of connection, it is still necessary to perform above step, operate very cumbersome.
The content of the invention
The embodiment of the present invention provides a kind of Bluetooth connecting method and device, and to solve, existing bluetooth connection is cumbersome to ask
Topic.
First aspect according to the embodiment of the present invention is described applied to first terminal there is provided a kind of Bluetooth connecting method
Method includes:
The first symbolic information is sent to second terminal, first symbolic information is the symbol being stored in the first terminal
Number information, or, the symbolic information detected by the touch-screen of the first terminal;
When first symbolic information is matched with the second symbolic information in the second terminal, with the second terminal
Set up bluetooth connection.
Second aspect according to the embodiment of the present invention is described applied to second terminal there is provided a kind of Bluetooth connecting method
Method includes:
Receive the first symbolic information that first terminal is sent;
Judge whether first symbolic information matches with the second symbolic information, second symbolic information is is stored in
The symbolic information in second terminal is stated, or, the symbolic information detected by the touch-screen of the second terminal;
When first symbolic information is matched with second symbolic information, set up bluetooth with the first terminal and connect
Connect.
The third aspect according to the embodiment of the present invention is deployed in first terminal there is provided a kind of Bluetooth connection device, described
Device includes:
Symbolic information sending module, for sending the first symbolic information to second terminal, first symbolic information is to deposit
The symbolic information in the first terminal is stored up, or, the symbolic information detected by the touch-screen of the first terminal;
First connection establishment module, for when the second symbolic information in first symbolic information and the second terminal
During matching, bluetooth connection is set up with the second terminal.
Fourth aspect according to the embodiment of the present invention is deployed in second terminal there is provided a kind of Bluetooth connection device, described
Device includes:
Symbolic information receiver module, the first symbolic information for receiving first terminal transmission;
Matching judgment module, for judging whether first symbolic information matches with the second symbolic information, described second
Symbolic information of the symbolic information for storage in the second terminal, or, detected by the touch-screen of the second terminal
Symbolic information;
Second connection establishment module, for when first symbolic information is matched with second symbolic information, with institute
State first terminal and set up bluetooth connection.
According in the embodiment of the present invention, first terminal sends the first symbolic information, the first symbol letter to second terminal
The symbolic information to be stored in the first terminal is ceased, or, the symbol detected by the touch-screen of the first terminal
Information;When first symbolic information is matched with the second symbolic information in the second terminal, built with the second terminal
Vertical bluetooth connection.The present invention simplifies the operation of user, improves bluetooth connection by matching symbols information realization bluetooth connection
Convenience, security and accuracy.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are 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 accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of Bluetooth connecting method of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of Bluetooth connecting method of the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of Bluetooth connecting method of the embodiment of the present invention three;
Fig. 4 is a kind of block diagram of Bluetooth connection device of the embodiment of the present invention four;
Fig. 5 is a kind of block diagram of Bluetooth connection device of the embodiment of the present invention five;
Fig. 6 is the block diagram of the mobile terminal of the embodiment of the present invention six;
Fig. 7 is the structural representation of the mobile terminal of the embodiment of the present invention seven;
Fig. 8 is the block diagram of the mobile terminal of the embodiment of the present invention eight;
Fig. 9 is the structural representation of the mobile terminal of the embodiment of the present invention nine.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Embodiment one
A kind of Bluetooth connecting method provided in an embodiment of the present invention is discussed in detail.
Reference picture 1, shows a kind of flow chart of Bluetooth connecting method in the embodiment of the present invention, applied to first eventually
End, methods described includes:
Step 101, the first symbolic information is sent to second terminal, first symbolic information is whole to be stored in described first
Symbolic information in end, or, the symbolic information detected by the touch-screen of the first terminal.
In the present embodiment, the first symbolic information is the symbolic information being stored in the first terminal, or, by described
The symbolic information that the touch-screen of first terminal is detected.For example, carrying out before bluetooth connection, first terminal prestores symbol letter
Breath, user can select the first symbolic information from the multiple symbolic information prestored.User can also be in first terminal
Incoming symbol information on touch-screen, by the touch-screen detection symbols information of first terminal.Symbolic information can be English alphabet,
It can be numeral, can also be figure, the embodiment of the present invention is not made detailed restriction to this, can set according to actual conditions
Put.
First terminal is sent to second terminal before the first symbolic information, searches the second terminal for meeting preparatory condition.Tool
Body, preparatory condition can in not-connected status and prestore second symbolic information in first terminal setpoint distance.
First terminal finds the terminal in setpoint distance, it is later determined that the connection status of the terminal.Whether terminal is in connection status,
It can be represented with status indicator.For example, status indicator represents not connected other-end when being 0, status indicator represents connection when being 1
Other-end.It can also indicate whether to be in connection status using other status indicators.The embodiment of the present invention is not made in detail to this
Limit, can be configured according to actual conditions.
When the terminal is not connected with other-end, search in the terminal whether prestore symbolic information, if in the terminal
Symbolic information is prestored, then first terminal finds second terminal to be connected.For example, setpoint distance is 5 meters, first terminal A
The terminal B in setpoint distance is found, when determining that terminal B is not connected with other-end, searches and symbol letter whether is prestored in terminal B
Breath.If prestoring symbolic information in terminal B, terminal B is second terminal to be connected.If first terminal is in setpoint distance
The terminal inside found is connected in other-end, or terminal the symbolic information that do not prestore, then the terminal found is not
Second terminal to be connected.For example, first terminal A finds terminal C, D and E in setpoint distance, terminal C is connected to terminal E,
Terminal D is not connected with other-end, but does not prestore symbolic information in terminal D, then terminal C, D, E is not that to be connected second is whole
End.
Prestore symbolic information in the setting storage file of terminal, and whether first terminal prestores in lookup other-end
During symbolic information, it can be searched, can also be searched by other means from setting storage file according to store path.This
Inventive embodiments do not make detailed restriction to this, can be configured according to actual conditions.
In a preferred embodiment of the present invention, interval setting time search in setpoint distance in not-connected status and
Prestore the terminal of symbolic information.Specifically, find in setpoint distance in not-connected status and prestore symbolic information
Second terminal after, interval setting time is searched in setpoint distance in not-connected status and prestores the 3rd of symbolic information
Terminal.For example, interval time is 1s, then first terminal A is found after terminal B, and interval 1s searches terminal C.The embodiment of the present invention
Do not make restriction in detail to interval time, can be configured according to actual conditions.
First terminal is found after second terminal, and the first symbolic information is sent to second terminal;Second terminal receives the
The first symbolic information that one terminal is sent, the first symbolic information and the second symbolic information for prestoring are compared.For example, first
Terminal A is found after second terminal B, and the first symbolic information " 2 " of user input is sent to second terminal B;Second terminal B connects
Second symbolic information of the first symbolic information " 2 " with prestoring is received to be compared.
Step 102, it is and described when first symbolic information is matched with the second symbolic information in the second terminal
Second terminal sets up bluetooth connection.
In the present embodiment, first terminal sends the first symbolic information to second terminal, waits second terminal to compare the
The result of one symbolic information and the second symbolic information, second terminal sends comparison result to first terminal after comparing, and first eventually
End receives the comparison result that second terminal is sent.If the comparison result of second terminal is matching, first terminal and second is eventually
Bluetooth connection is set up at end.If comparison result is mismatched, first terminal can not set up bluetooth connection with second terminal.For example,
The comparison result that first terminal A receives terminal B transmissions is matching, then terminal A and terminal B sets up bluetooth connection;First terminal A
The comparison result for receiving terminal F transmissions is to mismatch, then terminal A and terminal F can not set up bluetooth connection.
In summary, in the embodiment of the present invention, first terminal sends the first symbolic information, first symbol to second terminal
Number information is the symbolic information being stored in the first terminal, or, detected by the touch-screen of the first terminal
Symbolic information;When first symbolic information is matched with the second symbolic information in the second terminal, with described second eventually
Bluetooth connection is set up at end.The present invention simplifies the operation of user, improves bluetooth by matching symbols information realization bluetooth connection
Convenience, security and the accuracy of connection.
Embodiment two
Reference picture 2, shows a kind of flow chart of Bluetooth connecting method in another embodiment of the present invention, applied to
One terminal, methods described includes:
Step 201, the first symbolic information is sent to second terminal, first symbolic information is whole to be stored in described first
Symbolic information in end, or, the symbolic information detected by the touch-screen of the first terminal.
In the present embodiment, the position coordinates of first symbolic information including multiple first touch points and with described first
The corresponding timestamp of touch point;The position coordinates of second symbolic information including multiple second touch points and with described second
The corresponding timestamp of touch point.First terminal is when receiving the symbolic information of user input, by many of first symbolic information
The position coordinates of individual first touch point and timestamp corresponding with first touch point is corresponding is stored in the first terminal
In.For example, in the first symbolic information " 12 " of user input " 1 " time of the time earlier than " 2 ", " 1 " is corresponding with timestamp
Storage, by " 2 " storage corresponding with timestamp.
Step 202, when the similarity between first symbolic information and second symbolic information is more than predetermined threshold value
When, set up bluetooth connection with the second terminal.
In the present embodiment, the first symbolic information is sent to after second terminal by first terminal, and second terminal calculates first and accorded with
Similarity number between information and the second symbolic information, when similarity is more than predetermined threshold value, illustrate the first symbolic information and the
Two symbolic information match, and first terminal sets up bluetooth connection with second terminal.Following step can specifically be included by calculating similarity
Suddenly:
Sub-step one, calculate each touch point of first symbolic information and the second symbolic information position coordinates and when
Between stamp obtain the corresponding primary vector array of first symbolic information and the corresponding secondary vector group of second symbolic information.
In the present embodiment, the symbolic information of terminal-pair user input according to the time sample obtaining multiple discrete points, right
These discrete points carry out barycenter, movement or rotation etc. and calculated.It is vectorial, therefore right because these discrete points are directive
Discrete point can obtain vectorial array after being calculated.Position coordinates of the second terminal to each touch point of the first symbolic information
With timestamp calculate and obtain the corresponding primary vector array of the first symbolic information;To each touch point of the second symbolic information
Position coordinates and timestamp calculate obtain the corresponding secondary vector group of the second symbolic information.
Sub-step two, calculates the distance value of the primary vector group and the secondary vector group.
In the present embodiment, the minimum cosine value of primary vector group and secondary vector group is calculated, a distance value is obtained, should be away from
From the similarity that value shows two Vector Groups.When according to the corresponding primary vector array of the first symbolic information and the second symbolic information
When the minimum cosine value of corresponding secondary vector array calculates obtained distance value less than preset value, illustrate that similarity is very high, the
One terminal sets up bluetooth connection with second terminal.When distance value is more than preset value, illustrate that similarity is very low, first terminal and the
Two terminals can not set up bluetooth connection, then first terminal searches qualified third terminal again, set up blue with third terminal
Tooth is connected.By that analogy, first terminal can find the other-end for bluetooth connection.
In summary, in the embodiment of the present invention, first terminal sends the first symbolic information, first symbol to second terminal
Number information is the symbolic information being stored in the first terminal, or, detected by the touch-screen of the first terminal
Symbolic information;When the similarity between first symbolic information and second symbolic information is more than predetermined threshold value, with institute
State second terminal and set up bluetooth connection.The present invention is simplified the operation of user, carried by matching symbols information realization bluetooth connection
The high convenience of bluetooth connection, security and accuracy.
Embodiment three
Reference picture 3, shows a kind of flow chart of Bluetooth connecting method in the embodiment of the present invention, applied to second terminal,
Methods described includes:
Step 301, the first symbolic information that first terminal is sent is received.
In the present embodiment, first terminal sends the first symbolic information to second terminal, and second terminal receives first terminal hair
The first symbolic information sent.
Step 302, judge whether second symbolic information of first symbolic information with prestoring matches, second symbol
Symbolic information of the information for storage in the second terminal, or, the symbol detected by the touch-screen of the second terminal
Number information.
In the present embodiment, the position coordinates of first symbolic information including multiple first touch points and with described first
The corresponding timestamp of touch point;The position coordinates of second symbolic information including multiple second touch points and with described second
The corresponding timestamp of touch point.For example, the second symbolic information " 2 " includes the position coordinates and each touch-control of each touch point of " 2 "
The corresponding timestamp of point.Second terminal is received after the first symbolic information of first terminal transmission, judges the first symbolic information
Whether matched with the second symbolic information.Wherein, symbolic information of second symbolic information for storage in the second terminal,
Or, the symbolic information detected by the touch-screen of the second terminal.For example, second terminal receives the first symbolic information
Afterwards, the user of second terminal incoming symbol information on the touchscreen, second terminal judges to detect the second symbol by touch-screen
Whether number information matches with the first symbolic information received.Or, second terminal prestores user and inputted on the touchscreen
Multiple symbolic information, after the first symbolic information is received, judge the second symbolic information for prestoring and the first symbol
Whether information matches.
In a preferred embodiment of the present invention, judge between first symbolic information and second symbolic information
Whether similarity is more than predetermined threshold value, if similarity is more than predetermined threshold value, it is determined that the first symbolic information and the second symbolic information
Matching;Otherwise, it determines first symbolic information is mismatched with second symbolic information.
In the present embodiment, contrast similar between the first symbolic information and the second symbolic information, two symbolic information of calculating
Degree, if similarity is more than predetermined threshold value, shows that the first symbolic information and the second symbolic information similarity are higher, it is determined that the first symbol
Number information is matched with the second symbolic information.For example, the similarity for calculating the first symbolic information " 2 " and the second symbolic information " 2 " is
98%, predetermined threshold value is 95%, determines that the first symbolic information is matched with the second symbolic information.If similarity is not more than default threshold
Value, shows that the first symbolic information and the second symbolic information similarity are relatively low, it is determined that the first symbolic information and the second symbolic information
Mismatch.For example, the similarity for calculating the first symbolic information " 2 " and the second symbolic information " Z " is 94%, predetermined threshold value is
95%, determine that the first symbolic information is mismatched with the second symbolic information.
In a preferred embodiment of the present invention, judge the corresponding primary vector array of first symbolic information with it is described
The minimum cosine value of the corresponding secondary vector array of second symbolic information calculates whether obtained distance value is less than preset value, if away from
It is less than preset value from value, it is determined that the first symbolic information is matched with the second symbolic information;Otherwise, it determines first symbolic information
Mismatched with second symbolic information.
In the present embodiment, each touch point is the directive vector data of tool in the first symbolic information, similarly, the second symbol
Each touch point is also the directive vector data of tool in number information, according to the corresponding primary vector array of the first symbolic information with
The minimum cosine value of the corresponding secondary vector array of second symbolic information calculates and obtains distance value, and distance value is smaller to show the first symbol
Number information is more similar to the second symbolic information.If distance value is less than preset value, it is determined that the first symbolic information and the second symbol
Information matches;If distance value is not less than preset value, it is determined that the first symbolic information is mismatched with the second symbolic information.
Step 303, when first symbolic information is matched with second symbolic information, set up with the first terminal
Bluetooth connection.
In the present embodiment, if the first symbolic information is matched with the second symbolic information, second terminal is built with first terminal
Vertical bluetooth connection;If the first symbolic information is mismatched with the second symbolic information, second terminal can not be set up with first terminal
Bluetooth connection, first terminal finds other-end and sets up bluetooth connection.
In summary, in the embodiment of the present invention, second terminal receives the first symbolic information that first terminal is sent, and works as judgement
When first symbolic information is matched with the second symbolic information, bluetooth connection is set up with first terminal.The present invention is believed by matching symbols
Breath realizes bluetooth connection, simplifies the operation of user, improves the convenience, security and accuracy of bluetooth connection.
It should be noted that for foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement, because according to
According to the present invention, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know,
Embodiment described in this description belongs to preferred embodiment, and involved action is not necessarily essential to the invention.
Example IV
A kind of Bluetooth connection device provided in an embodiment of the present invention is discussed in detail, embodiment one can be realized into embodiment two
Bluetooth connecting method details, and reach identical effect.
Reference picture 4, shows a kind of block diagram of Bluetooth connection device in the embodiment of the present invention, the Bluetooth connection device
First terminal is deployed in, described device includes symbolic information sending module 401, the first connection establishment module 402:
Symbolic information sending module 401, for sending the first symbolic information to second terminal, first symbolic information is
The symbolic information in the first terminal is stored in, or, the symbolic information detected by the touch-screen of the first terminal;
First connection establishment module 402, for when the second symbol in first symbolic information and the second terminal
During information matches, bluetooth connection is set up with the second terminal.
Alternatively, the position coordinates of first symbolic information including multiple first touch points and with first touch-control
The corresponding timestamp of point;
The position coordinates of second symbolic information including multiple second touch points and corresponding with second touch point
Timestamp.
Alternatively, first connection establishment module 402, specifically for when first symbolic information and the described second symbol
When similarity between number information is more than predetermined threshold value, bluetooth connection is set up with the second terminal.
Alternatively, first connection establishment module 402, specifically for when according to first symbolic information corresponding the
It is small that the minimum cosine value of one vector array secondary vector array corresponding with second symbolic information calculates obtained distance value
When preset value, bluetooth connection is set up with the second terminal.
In summary, in the embodiment of the present invention, Bluetooth connection device sends the first symbolic information to second terminal, when described
When first symbolic information is matched with the second symbolic information in second terminal, bluetooth connection is set up with the second terminal.This hair
It is bright that the operation of user is simplified by matching symbols information realization bluetooth connection, improve convenience, the security of bluetooth connection
And accuracy.
Embodiment five
A kind of Bluetooth connection device provided in an embodiment of the present invention is discussed in detail, the bluetooth connection in embodiment three can be realized
The details of method, and reach identical effect.
Reference picture 5, shows a kind of block diagram of Bluetooth connection device in the embodiment of the present invention, and described device is deployed in
Two terminals, described device includes symbolic information receiver module 501, matching judgment module 502, the second connection establishment module 503:
Symbolic information receiver module 501, the first symbolic information for receiving first terminal transmission;
Matching judgment module 502, for judging whether second symbolic information of first symbolic information with prestoring matches,
Symbolic information of second symbolic information for storage in the second terminal, or, pass through the touch of the second terminal
Shield the symbolic information detected;
Second connection establishment module 503, for when first symbolic information is matched with second symbolic information, with
The first terminal sets up bluetooth connection.
Alternatively, the matching judgment module, specifically for judging that first symbolic information is believed with second symbol
Whether the similarity between breath is more than predetermined threshold value, if the similarity is more than predetermined threshold value, it is determined that the first symbol letter
Breath is matched with second symbolic information;Otherwise, it determines first symbolic information is mismatched with second symbolic information.
Alternatively, the matching judgment module 502, specifically for judging the corresponding primary vector of first symbolic information
The minimum cosine value of array secondary vector array corresponding with second symbolic information calculates whether obtained distance value is less than
Preset value, if the distance value is less than preset value, it is determined that first symbolic information is matched with second symbolic information;It is no
Then, determine that first symbolic information is mismatched with second symbolic information.
In summary, in the embodiment of the present invention, Bluetooth connection device receives the first symbolic information that first terminal is sent, when
When judging that the first symbolic information is matched with the second symbolic information, bluetooth connection is set up with first terminal.The present invention passes through matching symbol
Number information realization bluetooth connection, simplifies the operation of user, improves the convenience, security and accuracy of bluetooth connection.
Embodiment six
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the invention.Mobile terminal 600 shown in Fig. 6 includes:At least
One processor 601, memory 602, at least one network interface 604 and user interface 603.Each in mobile terminal 600
Component is coupled by bus system 605.It is understood that bus system 605 is used to realize that the connection between these components to be led to
Letter.Bus system 605 is in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.But be
For the sake of clear explanation, in figure 6 various buses are all designated as bus system 605.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 402 be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 6022, includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 602, specifically, can be application
The program stored in program 6022 or instruction, processor 601 are used to send the first symbolic information, first symbol to second terminal
Number information is the symbolic information being stored in the first terminal, or, detected by the touch-screen of the first terminal
Symbolic information;When first symbolic information is matched with the second symbolic information in the second terminal, with described second eventually
Bluetooth connection is set up at end.
The method that the embodiments of the present invention are disclosed can apply in processor 601, or be realized by processor 601.
Processor 601 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 602, processor 601 reads the information in memory 602, the step of completing the above method with reference to its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
Manage in device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can
To realize within a processor or outside processor.
Alternatively, the position coordinates of first symbolic information including multiple first touch points and with first touch-control
The corresponding timestamp of point;The position coordinates of second symbolic information including multiple second touch points and with second touch-control
The corresponding timestamp of point.
Alternatively, the processor 601 is additionally operable to:When between first symbolic information and second symbolic information
When similarity is more than predetermined threshold value, bluetooth connection is set up with the second terminal.
Alternatively, the processor 601 is additionally operable to:When according to the corresponding primary vector array of first symbolic information with
When the minimum cosine value of the corresponding secondary vector array of second symbolic information calculates obtained distance value and is less than preset value, with
The second terminal sets up bluetooth connection.
Mobile terminal 600 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
In the embodiment of the present invention, when the first symbolic information sent to second terminal is believed with the second symbol in second terminal
During breath matching, bluetooth connection is set up with second terminal.The present invention simplifies user by matching symbols information realization bluetooth connection
Operation, improve the convenience, security and accuracy of bluetooth connection.
Embodiment seven
Fig. 7 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 7
Can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 710, memory 720, input block
730th, display unit 740, processor 760, voicefrequency circuit 770, WiFi (Wireless Fidelity) modules 780 and power supply
790。
Wherein, input block 730 can be used for the numeral or character information for receiving user input, and produce and mobile terminal
User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 730 can be with
Including contact panel 731.Contact panel 731, collecting touch operation of the user on or near it, (such as user uses hand
The operation of any suitable object such as finger, stylus or annex on contact panel 731), and driven according to formula set in advance
Corresponding attachment means.Optionally, contact panel 731 may include two parts of touch detecting apparatus and touch controller.Wherein,
Touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch control
Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor
760, and the order sent of receiving processor 760 and can be performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with
And the polytype such as surface acoustic wave realizes contact panel 731.Except contact panel 731, input block 730 can also include other
Input equipment 732, other input equipments 732 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 740 can be used for display by the information of user input or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 740 may include display panel 741, optionally, can use LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 741.
It should be noted that contact panel 731 can cover display panel 741, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 760 is sent to determine the type of touch event, with preprocessor
760 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 760 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
Individual part, by operation or performs and is stored in software program and/or module in first memory 721, and calls and be stored in
Data in second memory 722, perform the various functions and processing data of mobile terminal, so as to be carried out to mobile terminal overall
Monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/
Or the data in the second memory 722, processor 760 to second terminal for sending the first symbolic information, first symbol
Number information is the symbolic information being stored in the first terminal, or, detected by the touch-screen of the first terminal
Symbolic information;When first symbolic information is matched with the second symbolic information in the second terminal, with described second eventually
Bluetooth connection is set up at end.
Alternatively, the position coordinates of first symbolic information including multiple first touch points and with first touch-control
The corresponding timestamp of point;The position coordinates of second symbolic information including multiple second touch points and with second touch-control
The corresponding timestamp of point.
Alternatively, the processor 760 is additionally operable to:When between first symbolic information and second symbolic information
When similarity is more than predetermined threshold value, bluetooth connection is set up with the second terminal.
Alternatively, the processor 760 is additionally operable to:When according to the corresponding primary vector array of first symbolic information with
When the minimum cosine value of the corresponding secondary vector array of second symbolic information calculates obtained distance value and is less than preset value, with
The second terminal sets up bluetooth connection.
It can be seen that, in the embodiment of the present invention, when the first symbolic information sent to second terminal and second in second terminal
When symbolic information is matched, bluetooth connection is set up with second terminal.The present invention is simplified by matching symbols information realization bluetooth connection
The operation of user, improves the convenience, security and accuracy of bluetooth connection.
Embodiment eight
Fig. 8 is the block diagram of the mobile terminal of another embodiment of the invention.Mobile terminal 800 shown in Fig. 8 includes:At least
One processor 801, memory 802, at least one network interface 804 and user interface 803.Each in mobile terminal 800
Component is coupled by bus system 805.It is understood that bus system 805 is used to realize that the connection between these components to be led to
Letter.Bus system 805 is in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.But be
For the sake of clear explanation, in fig. 8 various buses are all designated as bus system 805.
Wherein, user interface 803 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or flexible screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 402 be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 8022, includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application
The program stored in program 8022 or instruction, processor 801 are used for the first symbolic information for receiving first terminal transmission;Judge institute
State whether the first symbolic information matches with the second symbolic information, second symbolic information is to store in the second terminal
Symbolic information, or, the symbolic information detected by the touch-screen of the second terminal;When first symbolic information and institute
When stating the matching of the second symbolic information, bluetooth connection is set up with the first terminal.
The method that the embodiments of the present invention are disclosed can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to embodiment of the present invention institute
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 reads the information in memory 802, the step of completing the above method with reference to its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
Manage in device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can
To realize within a processor or outside processor.
Alternatively, the position coordinates of first symbolic information including multiple first touch points and with first touch-control
The corresponding timestamp of point;The position coordinates of second symbolic information including multiple second touch points and with second touch-control
The corresponding timestamp of point.
Alternatively, the processor 801 is additionally operable to:Judge between first symbolic information and second symbolic information
Similarity whether be more than predetermined threshold value, if the similarity be more than predetermined threshold value, it is determined that first symbolic information and institute
State the matching of the second symbolic information;Otherwise, it determines first symbolic information is mismatched with second symbolic information.
Alternatively, the processor 801 is additionally operable to:Judge the corresponding primary vector array of first symbolic information and institute
The minimum cosine value for stating the corresponding secondary vector array of the second symbolic information calculates whether obtained distance value is less than preset value, if
The distance value is less than preset value, it is determined that first symbolic information is matched with second symbolic information;Otherwise, it determines institute
The first symbolic information is stated to mismatch with second symbolic information.
Mobile terminal 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, here
Repeat no more.
In the embodiment of the present invention, when the second symbolic information is matched with the first symbolic information that the first terminal received is sent
When, set up bluetooth connection with second terminal.The present invention simplifies the behaviour of user by matching symbols information realization bluetooth connection
Make, improve the convenience, security and accuracy of bluetooth connection.
Embodiment nine
Fig. 9 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 9
Can be mobile phone, panel computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer
Deng.
Mobile terminal in Fig. 9 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block
930th, display unit 940, processor 960, voicefrequency circuit 970, WiFi (Wireless Fidelity) modules 980 and power supply
990。
Wherein, input block 930 can be used for the numeral or character information for receiving user input, and produce and mobile terminal
User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 930 can be with
Including contact panel 931.Contact panel 931, collecting touch operation of the user on or near it, (such as user uses hand
The operation of any suitable object such as finger, stylus or annex on contact panel 931), and driven according to formula set in advance
Corresponding attachment means.Optionally, contact panel 931 may include two parts of touch detecting apparatus and touch controller.Wherein,
Touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch control
Device;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives the processor
960, and the order sent of receiving processor 960 and can be performed.Furthermore, it is possible to use resistance-type, condenser type, infrared ray with
And the polytype such as surface acoustic wave realizes contact panel 931.Except contact panel 931, input block 930 can also include other
Input equipment 932, other input equipments 932 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 940 can be used for display by the information of user input or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 960 is sent to determine the type of touch event, with preprocessor
960 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 960 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
Individual part, by operation or performs and is stored in software program and/or module in first memory 921, and calls and be stored in
Data in second memory 922, perform the various functions and processing data of mobile terminal, so as to be carried out to mobile terminal overall
Monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
Or the data in the second memory 922, first symbolic information of the processor 960 for receiving first terminal transmission;Judge institute
State whether the first symbolic information matches with the second symbolic information, second symbolic information is to store in the second terminal
Symbolic information, or, the symbolic information detected by the touch-screen of the second terminal;When first symbolic information and institute
When stating the matching of the second symbolic information, bluetooth connection is set up with the first terminal.
Alternatively, the position coordinates of first symbolic information including multiple first touch points and with first touch-control
The corresponding timestamp of point;The position coordinates of second symbolic information including multiple second touch points and with second touch-control
The corresponding timestamp of point.
Alternatively, the processor 960 is additionally operable to:Judge between first symbolic information and second symbolic information
Similarity whether be more than predetermined threshold value, if the similarity be more than predetermined threshold value, it is determined that first symbolic information and institute
State the matching of the second symbolic information;Otherwise, it determines first symbolic information is mismatched with second symbolic information.
Alternatively, the processor 960 is additionally operable to:Judge the corresponding primary vector array of first symbolic information and institute
The minimum cosine value for stating the corresponding secondary vector array of the second symbolic information calculates whether obtained distance value is less than preset value, if
The distance value is less than preset value, it is determined that first symbolic information is matched with second symbolic information;Otherwise, it determines institute
The first symbolic information is stated to mismatch with second symbolic information.
It can be seen that, in the embodiment of the present invention, when the first symbol that the second symbolic information and the first terminal received are sent is believed
During breath matching, bluetooth connection is set up with first terminal.The present invention simplifies user by matching symbols information realization bluetooth connection
Operation, improve the convenience, security and accuracy of bluetooth connection.
For above-mentioned Bluetooth connection device embodiment, because it is substantially similar to embodiment of the method, so description
Fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
Between the difference of other embodiment, each embodiment identical similar part mutually referring to.
It would have readily occurred to a person skilled in the art that be:Any combination application of each above-mentioned embodiment is all feasible, therefore
Any combination between each above-mentioned embodiment is all embodiment of the present invention, but this specification exists as space is limited,
This is not just detailed one by one.
Provided herein bluetooth connection scheme not with the intrinsic phase of any certain computer, virtual system or miscellaneous equipment
Close.Various general-purpose systems can also be used together with based on teaching in this.As described above, construction has present invention side
Structure required by the system of case is obvious.In addition, the present invention is not also directed to any certain programmed language.Should be bright
In vain, it is possible to use various programming languages realize the content of invention described herein, that and language-specific is done above retouches
State be in order to disclose the present invention preferred forms.
In the specification that this place is provided, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself
The separate embodiments of the present invention.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, bluetooth connection technical scheme essence of the invention
On the part that is contributed in other words to prior art or the part of the technical scheme can be embodied in the form of software product
Out, the computer software product is stored in a storage medium, including some instructions are to cause a computer equipment
(can be personal computer, server, or network equipment etc.) perform each of the invention embodiment methods described whole or
Part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various to be stored
The medium of program code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (16)
1. a kind of Bluetooth connecting method, applied to first terminal, it is characterised in that methods described includes:
The first symbolic information is sent to second terminal, first symbolic information is the symbol letter being stored in the first terminal
Breath, or, the symbolic information detected by the touch-screen of the first terminal;
When first symbolic information is matched with the second symbolic information in the second terminal, set up with the second terminal
Bluetooth connection.
2. according to the method described in claim 1, it is characterised in that first symbolic information includes multiple first touch points
Position coordinates and timestamp corresponding with first touch point;
The position coordinates of second symbolic information including multiple second touch points and it is corresponding with second touch point when
Between stab.
3. according to the method described in claim 1, it is characterised in that described to work as first symbolic information and the second terminal
In the second symbolic information matching when, set up bluetooth connection with the second terminal, including:
When the similarity between first symbolic information and second symbolic information is more than predetermined threshold value, with described second
Terminal sets up bluetooth connection.
4. according to the method described in claim 1, it is characterised in that described to work as first symbolic information and the second terminal
In the second symbolic information matching when, set up bluetooth connection with the second terminal, including:
When according to the corresponding primary vector array of first symbolic information secondary vector corresponding with second symbolic information
When the minimum cosine value of array calculates obtained distance value less than preset value, bluetooth connection is set up with the second terminal.
5. a kind of Bluetooth connecting method, applied to second terminal, it is characterised in that methods described includes:
Receive the first symbolic information that first terminal is sent;
Judge whether first symbolic information matches with the second symbolic information, second symbolic information is is stored in described the
Symbolic information in two terminals, or, the symbolic information detected by the touch-screen of the second terminal;
When first symbolic information is matched with second symbolic information, bluetooth connection is set up with the first terminal.
6. according to the method described in regard to claim 5, it is characterised in that first symbolic information includes multiple first touch points
Position coordinates and timestamp corresponding with first touch point;
The position coordinates of second symbolic information including multiple second touch points and it is corresponding with second touch point when
Between stab.
7. according to the method described in regard to claim 5, it is characterised in that judgement first symbolic information and the second symbol
Information whether match including:
Judge whether the similarity between first symbolic information and second symbolic information is more than predetermined threshold value, if described
Similarity is more than predetermined threshold value, it is determined that first symbolic information is matched with second symbolic information;Otherwise, it determines described
First symbolic information is mismatched with second symbolic information.
8. method according to claim 5, it is characterised in that judgement first symbolic information is believed with the second symbol
Breath whether match including:
Judge the corresponding primary vector array of first symbolic information secondary vector number corresponding with second symbolic information
The minimum cosine value of group calculates whether obtained distance value is less than preset value, if the distance value is less than preset value, it is determined that institute
The first symbolic information is stated to match with second symbolic information;Otherwise, it determines first symbolic information and second symbol
Information is mismatched.
9. a kind of Bluetooth connection device, is deployed in first terminal, it is characterised in that described device includes:
Symbolic information sending module, for sending the first symbolic information to second terminal, first symbolic information is to be stored in
Symbolic information in the first terminal, or, the symbolic information detected by the touch-screen of the first terminal;
First connection establishment module, for being matched when first symbolic information with the second symbolic information in the second terminal
When, set up bluetooth connection with the second terminal.
10. device according to claim 9, it is characterised in that first symbolic information includes multiple first touch points
Position coordinates and timestamp corresponding with first touch point;
The position coordinates of second symbolic information including multiple second touch points and it is corresponding with second touch point when
Between stab.
11. device according to claim 9, it is characterised in that
First connection establishment module, specifically for when the phase between first symbolic information and second symbolic information
When being more than predetermined threshold value like degree, bluetooth connection is set up with the second terminal.
12. device according to claim 9, it is characterised in that
First connection establishment module, specifically for when according to the corresponding primary vector array of first symbolic information and institute
When the minimum cosine value for stating the corresponding secondary vector array of the second symbolic information calculates obtained distance value less than preset value, with institute
State second terminal and set up bluetooth connection.
13. a kind of Bluetooth connection device, is deployed in second terminal, it is characterised in that described device includes:
Symbolic information receiver module, the first symbolic information for receiving first terminal transmission;
Matching judgment module, for judging whether first symbolic information matches with the second symbolic information, second symbol
Symbolic information of the information for storage in the second terminal, or, the symbol detected by the touch-screen of the second terminal
Number information;
Second connection establishment module, for when first symbolic information is matched with second symbolic information, with described
One terminal sets up bluetooth connection.
14. according to the device described in regard to claim 13, it is characterised in that first symbolic information includes multiple first touch-controls
The position coordinates and timestamp corresponding with first touch point of point;
The position coordinates of second symbolic information including multiple second touch points and it is corresponding with second touch point when
Between stab.
15. according to the device described in regard to claim 13, it is characterised in that
The matching judgment module, it is similar between first symbolic information and second symbolic information specifically for judging
Whether degree is more than predetermined threshold value, if the similarity is more than predetermined threshold value, it is determined that first symbolic information and described second
Symbolic information is matched;Otherwise, it determines first symbolic information is mismatched with second symbolic information.
16. device according to claim 13, it is characterised in that
The matching judgment module, specifically for judging the corresponding primary vector array of first symbolic information and described second
The minimum cosine value of the corresponding secondary vector array of symbolic information calculates whether obtained distance value is less than preset value, if it is described away from
It is less than preset value from value, it is determined that first symbolic information is matched with second symbolic information;Otherwise, it determines described first
Symbolic information is mismatched with second symbolic information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710271701.2A CN106961663A (en) | 2017-04-24 | 2017-04-24 | A kind of Bluetooth connecting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710271701.2A CN106961663A (en) | 2017-04-24 | 2017-04-24 | A kind of Bluetooth connecting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106961663A true CN106961663A (en) | 2017-07-18 |
Family
ID=59484828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710271701.2A Pending CN106961663A (en) | 2017-04-24 | 2017-04-24 | A kind of Bluetooth connecting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106961663A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413651A (en) * | 2018-11-28 | 2019-03-01 | 上海连尚网络科技有限公司 | Method and apparatus for connecting wireless access point |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038263A (en) * | 2014-06-18 | 2014-09-10 | 小米科技有限责任公司 | Method and device for establishing Bluetooth connection |
CN105208513A (en) * | 2015-09-02 | 2015-12-30 | 深圳市文鼎创数据科技有限公司 | Terminal device pairing connection confirmation method and system |
CN105246024A (en) * | 2015-09-02 | 2016-01-13 | 深圳市文鼎创数据科技有限公司 | Terminal equipment matching connection method and system |
US20160204837A1 (en) * | 2015-01-13 | 2016-07-14 | Hyundai Motor Company | In-vehicle apparatus for communicating with wearable device and control method thereof |
CN106559740A (en) * | 2016-10-13 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of mobile terminal and its control method of communication |
-
2017
- 2017-04-24 CN CN201710271701.2A patent/CN106961663A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104038263A (en) * | 2014-06-18 | 2014-09-10 | 小米科技有限责任公司 | Method and device for establishing Bluetooth connection |
US20160204837A1 (en) * | 2015-01-13 | 2016-07-14 | Hyundai Motor Company | In-vehicle apparatus for communicating with wearable device and control method thereof |
CN105208513A (en) * | 2015-09-02 | 2015-12-30 | 深圳市文鼎创数据科技有限公司 | Terminal device pairing connection confirmation method and system |
CN105246024A (en) * | 2015-09-02 | 2016-01-13 | 深圳市文鼎创数据科技有限公司 | Terminal equipment matching connection method and system |
CN106559740A (en) * | 2016-10-13 | 2017-04-05 | 上海斐讯数据通信技术有限公司 | A kind of mobile terminal and its control method of communication |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109413651A (en) * | 2018-11-28 | 2019-03-01 | 上海连尚网络科技有限公司 | Method and apparatus for connecting wireless access point |
CN109413651B (en) * | 2018-11-28 | 2021-11-23 | 上海连尚网络科技有限公司 | Method and apparatus for connecting wireless access points |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107145348B (en) | A kind of application program split screen processing method and mobile terminal | |
CN107466077A (en) | A kind of method for switching network and mobile terminal | |
CN106126077A (en) | A kind of application program image target display control method and mobile terminal | |
CN106301604B (en) | A kind of radio frequency path detection method and mobile terminal | |
CN105975144A (en) | Information processing method and apparatus | |
CN106406656A (en) | Application program toolbar control method and mobile terminal | |
CN107103304A (en) | The display methods and mobile terminal in a kind of fingerprint recognition region | |
CN106713117A (en) | Group message display method and mobile terminal | |
CN106325753B (en) | A kind of display methods and mobile terminal of payment interface | |
CN107219988A (en) | A kind of interface operation bootstrap technique and mobile terminal | |
CN106454735A (en) | Method for processing WIFI information and mobile terminal | |
CN106961342A (en) | A kind of group chat method and mobile terminal | |
CN106354411B (en) | A kind of interface starting method and mobile terminal | |
CN106874046A (en) | The operating method and mobile terminal of a kind of application program | |
CN105243345A (en) | Accidental touch preventing method for electronic equipment and electronic equipment | |
CN107798228A (en) | A kind of face identification method and mobile terminal | |
CN106817484A (en) | The acquisition methods and mobile terminal of a kind of session information | |
CN106231113B (en) | A kind of Dialing Method and mobile terminal | |
CN106527802A (en) | Detection method and mobile terminal | |
CN106534200A (en) | Identity authentication method and mobile terminal | |
CN107483821A (en) | A kind of image processing method and mobile terminal | |
CN107329687B (en) | A kind of display methods and mobile terminal of virtual input keyboard | |
CN106250757A (en) | The control method of a kind of application program and mobile terminal | |
CN106208206B (en) | A kind of wireless charging method and mobile terminal | |
CN107196847A (en) | A kind of group chat method and mobile 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170718 |
|
RJ01 | Rejection of invention patent application after publication |