CN107278380A - Connect the method and terminal device of bluetooth equipment - Google Patents
Connect the method and terminal device of bluetooth equipment Download PDFInfo
- Publication number
- CN107278380A CN107278380A CN201780000346.3A CN201780000346A CN107278380A CN 107278380 A CN107278380 A CN 107278380A CN 201780000346 A CN201780000346 A CN 201780000346A CN 107278380 A CN107278380 A CN 107278380A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- bluetooth equipment
- threshold value
- predetermined threshold
- value
- 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
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- 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
- H04B17/318—Received signal strength
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
A kind of method and terminal device for connecting bluetooth equipment, methods described includes:Bluetooth equipment in end of scan equipment preset range;Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and less than the second predetermined threshold value, then points out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;If during the terminal device is moved, the RSSI value for detecting the bluetooth equipment that the terminal device scans are arrived is more than or equal to second predetermined threshold value, then sets up the communication connection that the terminal device is more than or equal to the bluetooth equipment of second predetermined threshold value with RSSI value.The method for solving existing connection bluetooth equipment is cumbersome, the problem of efficiency is low.
Description
Technical field
The invention belongs to the method and terminal device of communication technical field, more particularly to connection bluetooth equipment.
Background technology
With the fast development of the communication technology, for the ease of bluetooth equipment (such as robot, electronic module master control borad, family
Electrical appliance etc.) control, increasing user controlled using central apparatus (terminal device such as mobile phone, tablet personal computer)
Bluetooth equipment.In the prior art, it is generally required that the screen that user repeatedly clicks on central apparatus just can connect to bluetooth equipment.Example
Such as, the Bluetooth function clicked on and open mobile phone is first passed through, the search that function of search carries out bluetooth equipment is then clicked on again, is selected again afterwards
Select and pairing connection is carried out to some bluetooth equipment in the bluetooth equipment that searches, the process operation is cumbersome, and efficiency is low.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and terminal device for connecting bluetooth equipment, existing to solve
The method for connecting bluetooth equipment is cumbersome, the problem of efficiency is low.
The first aspect of the embodiment of the present invention provides a kind of method for connecting bluetooth equipment, applied to terminal device, institute
The method of stating includes:
Bluetooth equipment in end of scan equipment preset range;
Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and is preset less than second
Threshold value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;
If during the terminal device is moved, detecting the RSSI for the bluetooth equipment that the terminal device scans are arrived
Value is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or equal to described second with RSSI value
The communication connection of the bluetooth equipment of predetermined threshold value.
The second aspect of the embodiment of the present invention provides a kind of terminal device, and the terminal device includes:
Scan module, for scanning the bluetooth equipment in the terminal device preset range;
Acquisition module, RSSI is indicated for obtaining the intensity of reception signal for the bluetooth equipment that the terminal device scans are arrived
Value;
Reminding module, if the RSSI value of the bluetooth equipment arrived for the terminal device scans is more than the first predetermined threshold value,
And less than the second predetermined threshold value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than described the
One predetermined threshold value;
Module is set up, if during for being moved in the terminal device, detecting what the terminal device scans were arrived
The RSSI value of bluetooth equipment is more than or equal to second predetermined threshold value, then set up the terminal device and RSSI value be more than or
Person is equal to the communication connection of the bluetooth equipment of second predetermined threshold value.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, it is characterised in that described in the computing device
Following steps are realized during computer program:
Bluetooth equipment in end of scan equipment preset range;
Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and is preset less than second
Threshold value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;
If during the terminal device is moved, detecting the RSSI for the bluetooth equipment that the terminal device scans are arrived
Value is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or equal to described second with RSSI value
The communication connection of the bluetooth equipment of predetermined threshold value.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage
Media storage has computer program, and the computer program realizes following steps when being executed by processor:
Bluetooth equipment in end of scan equipment preset range;
Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and is preset less than second
Threshold value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;
If during the terminal device is moved, detecting the RSSI for the bluetooth equipment that the terminal device scans are arrived
Value is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or equal to described second with RSSI value
The communication connection of the bluetooth equipment of predetermined threshold value.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:It is pre- that the present invention implements first end of scan equipment
Determine the bluetooth equipment in scope, and obtain the RSSI value of the bluetooth equipment scanned, in the bluetooth equipment scanned
RSSI value is more than the first predetermined threshold value, and during less than the second predetermined threshold value, customer mobile terminal equipment is pointed out, if in terminal device
In mobile process, the RSSI value for detecting scanned bluetooth equipment is more than or equal to the second predetermined threshold value, then sets up eventually
End equipment and the communication connection of the bluetooth equipment.By the embodiment of the present invention, can according to terminal device scans to bluetooth set
Standby RSSI value mobile terminal device, and when the RSSI value of bluetooth equipment is more than or equal to the second predetermined threshold value, control is eventually
End equipment connects the bluetooth equipment, so as to can realize that terminal device rapidly connects bluetooth equipment, the process operation is simple, improves
The efficiency of connection bluetooth equipment.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process figure of the method for connection bluetooth equipment provided in an embodiment of the present invention;
Fig. 2 is the implementation process figure of the method for connection bluetooth equipment provided in an embodiment of the present invention;
Fig. 3 is the structured flowchart of terminal device provided in an embodiment of the present invention;
Fig. 4 is the structured flowchart of terminal device provided in an embodiment of the present invention;
Fig. 5 is the structured flowchart of terminal device provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " indicates described spy
Levy, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the terminal device described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other
Portable set.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the terminal device including display and touch sensitive surface is described.However, should manage
Solution, one or more of the other physical User that terminal device can include such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Terminal device supports various application programs, such as one or more of following:Drawing application program, demonstration application
Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should
With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on the terminal device can use at least one of such as touch sensitive surface
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal device on surface.So, the public physics frame of terminal device
Structure (for example, touch sensitive surface) can support the various application journeys with user interface directly perceived and transparent for a user
Sequence.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is the implementation process figure of the method for the connection bluetooth equipment that the embodiment of the present invention one is provided, as shown in the figure referring to Fig. 1
The method of the connection bluetooth equipment may comprise steps of:
Bluetooth equipment in step S101, end of scan equipment preset range.
In embodiments of the present invention, the terminal device is receiving the connection for the startup terminal device that user sends
The instruction of the function of bluetooth equipment (is for example touched by the option for the function of clicking on the connection bluetooth equipment in the terminal device
The instruction of hair), or the startup terminal device triggered according to prefixed time interval connection bluetooth equipment function finger
After order, start the function of the connection bluetooth equipment of the terminal device, and enter the interface of connection bluetooth equipment.It is described opening
After the function of the connection bluetooth equipment of terminal device, the terminal device can be in real time or pre- with prefixed time interval scanning
Determine the bluetooth equipment in scope.Wherein, the bluetooth equipment can refer to the indigo plant based on Bluetooth technology (such as the technology of bluetooth 4.0)
Tooth ancillary equipment, such as robot, electronic module master control borad and household electrical appliance etc., are not limited thereto.The preset range can
To refer to that user presets the scope of the terminal device scans bluetooth equipment.
Know that the terminal device is scanning the bluetooth equipment in preset range for the ease of user, can be at the end
Show that the terminal device is being scanned in the way of word or figure in the interface of the connection bluetooth equipment of end equipment predetermined
In the range of bluetooth equipment.It can also provide in the way of traditional list and be set to connect bluetooth in the interface of connection bluetooth equipment
Standby option.In actual usage scenario, user generally knows the particular location of the terminal device bluetooth equipment to be connected,
After the function of connection bluetooth equipment is started, the terminal device can be in the interface of connection bluetooth equipment with word or figure
The mode of shape points out user (will the terminal device is close to be connected to the direction movement for the bluetooth equipment to be connected
Bluetooth equipment) so that the terminal device can quickly set up communication connection with the bluetooth equipment to be connected.For example at one
In classroom, child holds mobile phone, is setting up mobile phone with there is the process of the robot A of certain distance communication connection apart from mobile phone
In, can be shown in the interface of connection bluetooth equipment in the form of word " please be close to robot A ".Wherein, the terminal is set
The standby mode for issuing the user with prompt message includes but is not limited to word, figure, voice etc., is not limited thereto.
Step S102, obtains the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived.
In embodiments of the present invention, step S101 is after the function of connection bluetooth equipment is started, and the terminal device enters
The interface of bluetooth equipment is connected, and will in interface user's word of the connection bluetooth equipment or the form prompting user of figure
The terminal device is moved to the direction of specified bluetooth equipment, and the terminal device can timing or real-time in moving process
The intensity for obtaining the reception signal for the bluetooth equipment that the terminal device scans are arrived indicates (Received Signal Strength
Indication, RSSI) value.For example, the bluetooth equipment for obtaining the terminal device scans of user's transmission can received
RSSI value instruction, or the acquisition terminal device scans triggered according to time interval set in advance to bluetooth set
After standby RSSI value, start to obtain the RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived.
It should be noted that the quantity for the bluetooth equipment that the terminal device scans are arrived may be one or more.When
When the terminal device scans are to a bluetooth equipment, the bluetooth equipment is exactly largely that the terminal device to be connected
Bluetooth equipment, that is, specify bluetooth equipment, obtain the RSSI value of the bluetooth equipment.Because user is want the terminal device with referring to
When determining bluetooth equipment foundation communication connection, it is necessary to which the terminal device can scan specified bluetooth equipment, i.e., described terminal
The distance of equipment and the specified bluetooth equipment must be in the range of it can set up communication connection.When the terminal device scans
During to multiple bluetooth equipments (i.e. at least two bluetooth equipments), the multiple bluetooth equipment includes specifying bluetooth equipment, respectively
Obtain the RSSI value of the multiple bluetooth equipment.
Step S103, if the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and it is small
In the second predetermined threshold value, then user is pointed out to move the terminal device, wherein, it is pre- that second predetermined threshold value is more than described first
If threshold value.
In embodiments of the present invention, when the terminal device scans are to a bluetooth equipment, it is determined that the terminal is set
The standby bluetooth equipment scanned is to specify bluetooth equipment, if this specifies the RSSI value of bluetooth equipment to be more than the first predetermined threshold value, and
Less than the second predetermined threshold value, then user is pointed out to move the terminal device, by user knows the bluetooth equipment to be connected (i.e.
Specify bluetooth equipment) positional information, in order to which faster set up with specified bluetooth equipment communicates to connect, user can be by the end
End equipment continues the direction movement to specified bluetooth equipment.
Optionally, when the terminal device scans are to multiple bluetooth equipments;If what the terminal device scans were arrived
The RSSI value of bluetooth equipment is more than the first predetermined threshold value, and less than the second predetermined threshold value, then points out user to move the terminal and set
It is standby to include:
If the maximum of the RSSI value for multiple bluetooth equipments that the terminal device scans are arrived is more than the described first default threshold
Value, and less than second predetermined threshold value, then point out the user to move the terminal device.
In embodiments of the present invention, when the terminal device scans are to multiple bluetooth equipments, obtain respectively the multiple
The RSSI value of bluetooth equipment, and the RSSI value of relatively more the multiple bluetooth equipment, from the RSSI value of the multiple bluetooth equipment,
The RSSI value of maximum is selected, if the maximum RSSI value is more than the first predetermined threshold value, and less than the second predetermined threshold value, is then pointed out
User moves the terminal device to the direction of specified bluetooth equipment, if the maximum RSSI value is less than or equal to first
Predetermined threshold value, then the terminal device continue to obtain the RSSI value for multiple bluetooth equipments that the terminal device is arrived, not to
Family sends any prompt message.
Step S104, if during the terminal device is moved, detecting the bluetooth that the terminal device scans are arrived
The RSSI value of equipment is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or wait with RSSI value
In the communication connection of the bluetooth equipment of second predetermined threshold value.
Optionally, if described during the terminal device is moved, the indigo plant that the terminal device scans are arrived is detected
The RSSI value of tooth equipment is more than or equal to second predetermined threshold value, then set up the terminal device and RSSI value be more than or
Communication connection equal to the bluetooth equipment of second predetermined threshold value includes:
If during the terminal device is moved, detecting multiple bluetooth equipments that the terminal device scans are arrived
The maximum of RSSI value is more than or equal to second predetermined threshold value, then sets up the terminal device and maximum RSSI value institute
The communication connection of corresponding bluetooth equipment.
In embodiments of the present invention, when the terminal device scans are to multiple bluetooth equipments, due to the terminal device
All the time be the direction movement to specified bluetooth equipment, then during the terminal device is moved, the maximum bluetooth of RSSI value
Equipment is generally exactly to specify bluetooth equipment, then sets up leading to for the bluetooth equipment corresponding to the RSSI value of the terminal device and maximum
Letter connection.
In order to more accurately be connected to specified bluetooth equipment, the terminal device is detecting the terminal device scans
When the maximum of the RSSI value of the multiple bluetooth equipments arrived is more than or equal to second predetermined threshold value, the terminal device can
Identification request information is sent with bluetooth equipment respectively corresponding to the maximum RSSI value, to cause the maximum RSSI
The corresponding bluetooth equipment of value feeds back the mark of itself when receiving the identification request information, to the terminal device to be believed
Breath, the terminal device, can be in the company after the identification information for receiving the bluetooth equipment corresponding to the RSSI value of maximum
The identification information of bluetooth equipment corresponding to the RSSI value for the interface display maximum for connecing bluetooth equipment, is receiving user to the mark
After the determine instruction for knowing information, the communication connection of the terminal device and the bluetooth equipment is resettled.Wherein, the bluetooth equipment
Identification information be to refer to the information that only table levies the bluetooth equipment.For example there are multiple robots in a classroom, be
Multiple robots are numbered respectively, and the numbering of different robots is different, and the numbering can serve as the mark of robot
Information.
Optionally, set in the bluetooth for setting up the terminal device and RSSI value and being more than or equal to second predetermined threshold value
After standby communication connection, in addition to:
If the terminal device is more than or equal to the Bluetooth terminal successful connection of second predetermined threshold value with RSSI value,
The prompt message of successful connection is then sent to the user.
By the embodiment of the present invention, can according to terminal device scans to the RSSI value mobile terminal of bluetooth equipment set
It is standby, and when the RSSI value of bluetooth equipment is more than or equal to the second predetermined threshold value, control terminal equipment connects the bluetooth equipment,
So as to realize that terminal device rapidly connects bluetooth equipment, the process operation is simple, improves the efficiency of connection bluetooth equipment.
It is the implementation process figure of the method for the connection bluetooth equipment that the embodiment of the present invention two is provided, as shown in the figure referring to Fig. 2
The method of the connection bluetooth equipment may comprise steps of:
Step S201, stores the identification information for specifying bluetooth equipment in terminal device, wherein, the specified bluetooth equipment
Refer to that the bluetooth equipment of communication connection need to be set up with the terminal device.
In embodiments of the present invention, the identification information of the bluetooth equipment refers to only table and levies the bluetooth equipment
Information.For example there are multiple robots in a classroom, be that multiple robots are numbered respectively, and the volume of different robots
Number difference, the numbering can serve as the identification information of robot.
Step S202, scans the bluetooth equipment in the terminal device preset range.
In embodiments of the present invention, the terminal device is receiving the connection for the startup terminal device that user sends
The instruction of the function of bluetooth equipment (is for example touched by the option for the function of clicking on the connection bluetooth equipment in the terminal device
The instruction of hair), or the startup terminal device triggered according to prefixed time interval connection bluetooth equipment function finger
After order, start the function of the connection bluetooth equipment of the terminal device, and enter the interface of connection bluetooth equipment.It is described opening
After the function of the connection bluetooth equipment of terminal device, the terminal device can be in real time or pre- with prefixed time interval scanning
Determine the bluetooth equipment in scope.Wherein, the bluetooth equipment can refer to the indigo plant based on Bluetooth technology (such as the technology of bluetooth 4.0)
Tooth ancillary equipment, such as robot, electronic module master control borad and household electrical appliance etc., are not limited thereto.
Step S203, if the terminal device scans to bluetooth equipment in there is identification information and set with the specified bluetooth
The bluetooth equipment that standby identification information matches, it is determined that the bluetooth equipment is the specified bluetooth equipment.
Step S204, obtains the RSSI value of the specified bluetooth equipment.
In embodiments of the present invention, in order to reduce the quantity of the RSSI value that the terminal is obtained, the terminal device is saved
Power consumption, extend the endurance of the terminal device, the terminal device can only obtain the specified bluetooth equipment
RSSI value.
Step S205, if the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and less than described the
Two predetermined threshold values, then point out the user to move the terminal device to the direction of the specified bluetooth equipment.
Step S206, if during the terminal device is moved, detecting the RSSI value of the specified bluetooth equipment
More than or equal to second predetermined threshold value, then the communication connection of the terminal device and the specified bluetooth equipment is set up.
In order to more accurately be connected to specified bluetooth equipment, if during the terminal device is moved, detecting
The RSSI value of the specified bluetooth equipment is more than or equal to second predetermined threshold value, then the terminal device can be to described
Bluetooth equipment corresponding to maximum RSSI value sends identification request information, to cause the specified bluetooth equipment receiving
State after identification request information, the identification information of the specified bluetooth equipment is fed back to the terminal device, the terminal device exists
Receive after the identification information, the mark letter can be shown in the interface of the connection bluetooth equipment of the terminal device
Breath, after determine instruction of the user to the identification information is received, resettles the terminal device and is set with the specified bluetooth
Standby communication connection.
Optionally, after communication connection of the terminal device with the specified bluetooth equipment is set up, in addition to:
If the terminal device and the specified bluetooth equipment successful connection, carrying for successful connection is sent to the user
Show information.
The embodiment of the present invention adds " identification information for specifying bluetooth equipment " on the basis of embodiment one, so as to only obtain
Fetching determines the RSSI value of bluetooth equipment, and when specifying the RSSI value of bluetooth equipment more than the second predetermined threshold value, sets up terminal and set
The standby communication connection with specified bluetooth equipment, so as to reduce the operation of terminal device, improves connection and specifies bluetooth equipment
Efficiency, and the power consumption of terminal device is saved, extend the endurance of terminal device.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment
Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic
It is fixed.
Referring to Fig. 3, it is the structured flowchart for the terminal device that the embodiment of the present invention three is provided, for convenience of description, only shows
The part related to the embodiment of the present invention.
The terminal device includes:
Scan module 31, for scanning the bluetooth equipment in the terminal device preset range;
Acquisition module 32, is indicated for obtaining the intensity of reception signal for the bluetooth equipment that the terminal device scans are arrived
RSSI value;
Reminding module 33, if the RSSI value of the bluetooth equipment arrived for the terminal device scans is more than the first default threshold
Value, and less than the second predetermined threshold value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than institute
State the first predetermined threshold value;
Module 34 is set up, if during for being moved in the terminal device, detecting the terminal device scans and arriving
Bluetooth equipment RSSI value be more than or equal to second predetermined threshold value, then set up the terminal device and be more than with RSSI value
Or the communication connection of the bluetooth equipment equal to second predetermined threshold value.
Optionally, when the terminal device scans are to multiple bluetooth equipments;
The reminding module 33, if the maximum of the RSSI value of the multiple bluetooth equipments arrived for the terminal device scans
More than first predetermined threshold value, and less than second predetermined threshold value, then the user is pointed out to move the terminal device;
It is described to set up module 34, if during for being moved in the terminal device, detecting the terminal device and sweeping
The maximum of the RSSI value for the multiple bluetooth equipments retouched is more than or equal to second predetermined threshold value, then sets up the terminal
Equipment and the communication connection of the bluetooth equipment corresponding to maximum RSSI value.
Optionally, the terminal device also includes:
Memory module 35, for before the bluetooth equipment in the terminal device preset range is scanned, in the terminal
The identification information for specifying bluetooth equipment is stored in equipment, wherein, the specified bluetooth equipment is need to be set up with the terminal device
The bluetooth equipment of communication connection;
Determining module 36, for after the bluetooth equipment in the scanning terminal device preset range, if institute
State terminal device scans to bluetooth equipment in have what the identification information of identification information and the specified bluetooth equipment matched
Bluetooth equipment, it is determined that the bluetooth equipment is the specified bluetooth equipment;
The acquisition module 32, the RSSI value for obtaining the specified bluetooth equipment;
The reminding module 33, if the RSSI value for the specified bluetooth equipment is more than first predetermined threshold value, and
Less than second predetermined threshold value, then the user is pointed out to move the terminal device to the direction of the specified bluetooth equipment
It is dynamic;
It is described to set up module 34, if during for being moved in the terminal device, detecting the specified bluetooth and setting
Standby RSSI value is more than or equal to second predetermined threshold value, then sets up the terminal device and the specified bluetooth equipment
Communication connection;
The reminding module 34 includes:
Acquiring unit 341, if the RSSI value for the specified bluetooth equipment is more than first predetermined threshold value, and is less than
Second predetermined threshold value, then obtain the positional information of the specified bluetooth equipment;
Tip element 342, for the positional information according to the specified bluetooth equipment, points out user by the terminal device
Moved to the direction of the specified bluetooth equipment.
Optionally, the terminal device also includes:
Delivering module 37, if being more than or equal to second predetermined threshold value for the terminal device and RSSI value
Bluetooth terminal successful connection, then the prompt message of successful connection is sent to the user.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work(
Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list
Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system
The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
It is the structured flowchart for the terminal device that the embodiment of the present invention four is provided referring to Fig. 4.The terminal device as depicted
It can include:One or more processors 401 (only show one) in figure;One or more input equipments 402 (are only shown in figure
One), one or more output equipments 403 (one is only shown in figure) and memory 404.Above-mentioned processor 401, input equipment
402nd, output equipment 403 and memory 404 are connected by bus 405.Memory 404 is used for store instruction, and processor 401 is used for
Perform the instruction that memory 404 is stored.Wherein:
The processor 401, for the bluetooth equipment in end of scan equipment preset range;Pass through the input equipment
402 obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;If the terminal device
The RSSI value of the bluetooth equipment scanned is more than the first predetermined threshold value, and less than the second predetermined threshold value, is then set by the output
Standby 403 prompting user moves the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;If
During terminal device movement, detect the terminal device scans to the RSSI value of bluetooth equipment be more than or wait
In second predetermined threshold value, then the indigo plant that the terminal device is more than or equal to second predetermined threshold value with RSSI value is set up
The communication connection of tooth equipment.
Optionally, when the terminal device scans are to multiple bluetooth equipments;The processor 401, if for the end
The maximum of the RSSI value for multiple bluetooth equipments that end equipment is scanned is more than first predetermined threshold value, and less than described second
Predetermined threshold value, then point out the user to move the terminal device by the output equipment 403;If being moved in the terminal device
In dynamic process, detect the terminal device scans to the maximums of RSSI value of multiple bluetooth equipments be more than or equal to
Second predetermined threshold value, then set up the communication connection of the terminal device and the bluetooth equipment corresponding to maximum RSSI value.
Optionally, before the bluetooth equipment in the terminal device preset range is scanned, the processor 401 is additionally operable to
In the terminal device store specify bluetooth equipment identification information, wherein, the specified bluetooth equipment refer to need to it is described
Terminal device sets up the bluetooth equipment of communication connection;
After the bluetooth equipment in the terminal device preset range is scanned, if the processor 401 be additionally operable to it is described
Terminal device scans to bluetooth equipment in there is the indigo plant that the identification information of identification information and the specified bluetooth equipment matches
Tooth equipment, it is determined that the bluetooth equipment is the specified bluetooth equipment;The specified bluetooth is obtained by the input equipment 402
The RSSI value of equipment;If the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and pre- less than described second
If threshold value, then point out the user by the terminal device to the side of the specified bluetooth equipment by the output equipment 403
To movement;If during the terminal device is moved, the RSSI value for detecting the specified bluetooth equipment is more than or waited
In second predetermined threshold value, then the communication connection of the terminal device and the specified bluetooth equipment is set up.
Optionally, if the processor 401 is pre- more than described first specifically for the RSSI value of the specified bluetooth equipment
If threshold value, and less than second predetermined threshold value, then the position of the specified bluetooth equipment is obtained by the input equipment 402
Information;According to the positional information of the specified bluetooth equipment, user is pointed out by the terminal device by the output equipment 403
Moved to the direction of the specified bluetooth equipment.
The memory 404, for storing software program and module.The processor 401 is stored in institute by operation
The software program and module of memory 404 are stated, so that various function application and data processing are performed, to set up terminal device
With the communication connection of specified bluetooth equipment.
It should be appreciated that in embodiments of the present invention, the processor 401 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
It can also be any conventional processor etc. to manage device.
Input equipment 402 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint
Directional information), microphone, data receiver interface etc..Output equipment 403 can include display (LCD etc.), loudspeaker, data
Transmission interface etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and
Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited
Store up the information of device type.
In the specific implementation, processor 401, input equipment 402, the and of output equipment 403 described in the embodiment of the present invention
Memory 404 can perform the realization side described in the embodiment of the method for connection bluetooth equipment provided in an embodiment of the present invention
Formula, also can perform the implementation described in terminal device described in embodiment three, will not be repeated here.
It is the structured flowchart for the terminal device that the embodiment of the present invention five is provided referring to Fig. 5, the terminal device can be used for reality
Implementation described in the embodiment for the method for applying connection bluetooth equipment provided in an embodiment of the present invention, also can perform and implements
Implementation described in terminal device described in example three.
As shown in figure 5, terminal device 1200 can include RF (Radio Frequency, radio frequency) circuit 110, include
The memory 120 of one or more (one is only shown in figure) computer-readable recording mediums, input block 130, display
Unit 140, sensor 150, voicefrequency circuit 160, transport module 170, include one or more than one (only shows one in figure
It is individual) processor 180 and the grade part of power supply 190 of processing core.It will be understood by those skilled in the art that the end shown in Fig. 5
End equipment structure does not constitute the restriction to terminal device, can include parts more more or less than diagram, or combine certain
A little parts, or different part arrangements.Wherein:
RF circuits 110 are used to receiving and sending electromagnetic wave, realize the mutual conversion of electromagnetic wave and electric signal, so that with leading to
News network or other equipment are communicated.RF circuits 110 may include the various existing circuit elements for being used to perform these functions
Part, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card, storage
Device etc..RF circuits 110 can be communicated or by wireless with various networks such as internet, intranet, wireless network
Network is communicated with other equipment.Above-mentioned wireless network may include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).
Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to global system for mobile communications
(Global System for Mobile Communication, GSM), enhanced mobile communication technology (Enhanced Data
GSM Environment, EDGE), Wideband CDMA Technology (wideband code division multiple
Access, W-CDMA), CDMA (Code division access, CDMA), TDMA (time
Division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as U.S.'s electricity
Gas and Electronic Engineering Association standard IEEE 802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE
802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, IMU
The agreement of news and short message, and any other suitable communications protocol, or even may include that those are not developed currently yet
Agreement.
Memory 120 can be used for data migration method in storage software program and module, such as above-mentioned embodiment one to two/
Corresponding programmed instruction/the module of terminal device in embodiment three, processor 180 is stored in soft in memory 120 by operation
Part program and module, so as to perform various function application and data processing, that is, realize and obtain the corresponding resource of predeterminable event
Function.Memory 120 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.In some instances, memory 120 can further comprise
The memory remotely located relative to processor 180, these remote memories can pass through network connection to terminal device 1200.
The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input block 130 can be used for the numeral or character information for receiving input, and generation to be set with user and function
The relevant keyboard of control, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 130 may include to touch
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad, collect and use
(such as user is using any suitable objects such as finger, stylus or annex in touch-sensitive table for touch operation of the family on or near it
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment means are driven according to formula set in advance.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection means, and is converted into contact coordinate, then gives processor 180, and can reception processing device 180
The order sent simultaneously is performed.Furthermore, it is possible to using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.Except touch sensitive surface 131, input block 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),
One or more in trace ball, mouse, action bars etc..
Display unit 140 can be used for the information and terminal device for showing the information inputted by user or being supplied to user
1200 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its any combination
To constitute.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes
Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it
On or near touch operation after, send processor 180 to determine the type of touch event, with preprocessor 180 according to touch
The type for touching event provides corresponding visual output on display panel 141.Although in the figure 7, touch sensitive surface 131 and display surface
Plate 141 is that input and input function are realized as two independent parts, but in some embodiments it is possible to by touch-sensitive table
Face 131 and display panel 141 are integrated and realize input and output function.
Terminal device 1200 may also include at least one sensor 150, such as optical sensor, motion sensor and other
Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can basis
The light and shade of ambient light adjusts the brightness of display panel 141, proximity transducer can when terminal device 1200 is moved in one's ear,
Close display panel 141 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect all directions
The size of upper (generally three axles) acceleration, can detect that size and the direction of gravity, available for identification mobile phone posture when static
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, strikes
Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared ray sensor for can also configure as terminal device 1200 etc. its
His sensor, will not be repeated here.
Voicefrequency circuit 160, loudspeaker 161, the audio that microphone 162 can be provided between user and terminal device 1200 connect
Mouthful.Electric signal after the voice data received conversion can be transferred to loudspeaker 161, by loudspeaker 161 by voicefrequency circuit 160
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by voicefrequency circuit
160 receive after be converted to voice data, then after voice data output processor 180 is handled, through RF circuits 110 to be sent to ratio
Such as another terminal, or voice data is exported to memory 120 so as to further processing.Voicefrequency circuit 160 is also possible that
Earphone jack, to provide the communication of peripheral hardware earphone and terminal device 1200.
Terminal device 1200 can help user to send and receive e-mail by transport module 170 (such as WiFi module), clear
Look at and webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 5 shows transmission mould
Block 170, but it is understood that, it is simultaneously not belonging to must be configured into for terminal device 1200, completely can be as needed not
Change in the essential scope of invention and omit.
Processor 180 is the control centre of terminal device 1200, 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 memory 120, and calls and be stored in storage
Data in device 120, perform the various functions and processing data of terminal device 1200, so as to carry out integral monitoring to mobile phone.Can
Choosing, processor 180 may include one or more processing cores;It is preferred that, processor 180 can integrated application processor and modulation
Demodulation processor, wherein, application processor mainly handles operating system, user interface and application program etc., modulation /demodulation processing
Device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal device 1200 also includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can lead to
Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and
The functions such as power managed.Power supply 190 can also include one or more direct current or AC power, recharging system, electricity
The random component such as source failure detector circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal device 1200 can also include camera, bluetooth module etc., will not be repeated here.Specifically
In the present embodiment, the display unit of terminal device is touch-screen display, and terminal device also includes memory, and one
Or more than one program, one of them or more than one program storage in memory, and be configured to by one or
More than one computing device of person states one or more than one program bag contains the instruction for being used for being operated below:
Bluetooth equipment in end of scan equipment preset range;
Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and is preset less than second
Threshold value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;
If during the terminal device is moved, detecting the RSSI for the bluetooth equipment that the terminal device scans are arrived
Value is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or equal to described second with RSSI value
The communication connection of the bluetooth equipment of predetermined threshold value.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, in the memory of the terminal device, in addition to for performing the instruction operated below:
If the maximum of the RSSI value for multiple bluetooth equipments that the terminal device scans are arrived is more than the described first default threshold
Value, and less than second predetermined threshold value, then point out the user to move the terminal device;
If during the terminal device is moved, detecting multiple bluetooth equipments that the terminal device scans are arrived
The maximum of RSSI value is more than or equal to second predetermined threshold value, then sets up the terminal device and maximum RSSI value institute
The communication connection of corresponding bluetooth equipment.
In the third the possible embodiment provided based on the first possible embodiment, the terminal
In the memory of equipment, in addition to for performing the instruction operated below:
Before the bluetooth equipment in the terminal device preset range is scanned, stored in the terminal device and specify indigo plant
The identification information of tooth equipment, wherein, the specified bluetooth equipment refers to that the bluetooth of communication connection need to be set up with the terminal device
Equipment;
After the bluetooth equipment in the terminal device preset range is scanned, if the bluetooth that the terminal device scans are arrived
There is the bluetooth equipment that the identification information of identification information and the specified bluetooth equipment matches in equipment, it is determined that the bluetooth is set
Standby is the specified bluetooth equipment;
Obtain the RSSI value of the specified bluetooth equipment;
If the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and less than the described second default threshold
Value, then point out the user to move the terminal device to the direction of the specified bluetooth equipment;
If during the terminal device is moved, the RSSI value for detecting the specified bluetooth equipment is more than or waited
In second predetermined threshold value, then the communication connection of the terminal device and the specified bluetooth equipment is set up.
Assuming that above-mentioned is the third possible embodiment, then provided based on the third possible embodiment
The 4th kind of possible embodiment in, in the memory of the terminal device, also comprising for performing the instruction operated below:
If the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and less than the described second default threshold
Value, then obtain the positional information of the specified bluetooth equipment;
According to the positional information of the specified bluetooth equipment, user is pointed out to set the terminal device to the specified bluetooth
Standby direction movement.
In the first possible embodiment or second of possible embodiment or the third possible embodiment or
In the 5th kind of possible embodiment provided based on 4th kind of possible embodiment, the storage of the terminal device
In device, also comprising for performing the instruction operated below:
If the terminal device is more than or equal to the Bluetooth terminal successful connection of second predetermined threshold value with RSSI value,
The prompt message of successful connection is then sent to the user.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment
The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, system embodiment described above is only schematical, for example, the division of the module or unit,
It is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be with
With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or
Communication connection, 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.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, the technical scheme of the embodiment of the present invention
The part substantially contributed in other words to prior art or all or part of the technical scheme can be with software products
Form embody, the computer software product is stored in a storage medium, including some instructions are to cause one
Computer equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform this hair
The all or part of step of each embodiment methods described of bright embodiment.And foregoing storage medium includes:USB flash disk, mobile hard disk,
Read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
Dish or CD etc. are various can be with the medium of store program codes.
Specific as follows, yet another embodiment of the invention also provides a kind of computer-readable recording medium, and this is computer-readable to deposit
Storage media can be the computer-readable recording medium included in the memory in above-described embodiment;Can also individually deposit
Without the computer-readable recording medium in supplying terminal device.The computer-readable recording medium storage have one or
More than one program of person, one or more than one program is used for performing one by one or more than one processor
The method for connecting bluetooth equipment, methods described includes:
Bluetooth equipment in end of scan equipment preset range;
Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and is preset less than second
Threshold value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;
If during the terminal device is moved, detecting the RSSI for the bluetooth equipment that the terminal device scans are arrived
Value is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or equal to described second with RSSI value
The communication connection of the bluetooth equipment of predetermined threshold value.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, in the memory of the terminal device, in addition to for performing the instruction operated below:
If the maximum of the RSSI value for multiple bluetooth equipments that the terminal device scans are arrived is more than the described first default threshold
Value, and less than second predetermined threshold value, then point out the user to move the terminal device;
If during the terminal device is moved, detecting multiple bluetooth equipments that the terminal device scans are arrived
The maximum of RSSI value is more than or equal to second predetermined threshold value, then sets up the terminal device and maximum RSSI value institute
The communication connection of corresponding bluetooth equipment.
In the third the possible embodiment provided based on the first possible embodiment, the terminal
In the memory of equipment, in addition to for performing the instruction operated below:
Before the bluetooth equipment in the terminal device preset range is scanned, stored in the terminal device and specify indigo plant
The identification information of tooth equipment, wherein, the specified bluetooth equipment refers to that the bluetooth of communication connection need to be set up with the terminal device
Equipment;
After the bluetooth equipment in the terminal device preset range is scanned, if the bluetooth that the terminal device scans are arrived
There is the bluetooth equipment that the identification information of identification information and the specified bluetooth equipment matches in equipment, it is determined that the bluetooth is set
Standby is the specified bluetooth equipment;
Obtain the RSSI value of the specified bluetooth equipment;
If the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and less than the described second default threshold
Value, then point out the user to move the terminal device to the direction of the specified bluetooth equipment;
If during the terminal device is moved, the RSSI value for detecting the specified bluetooth equipment is more than or waited
In second predetermined threshold value, then the communication connection of the terminal device and the specified bluetooth equipment is set up.
Assuming that above-mentioned is the third possible embodiment, then provided based on the third possible embodiment
The 4th kind of possible embodiment in, in the memory of the terminal device, also comprising for performing the instruction operated below:
If the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and less than the described second default threshold
Value, then obtain the positional information of the specified bluetooth equipment;
According to the positional information of the specified bluetooth equipment, user is pointed out to set the terminal device to the specified bluetooth
Standby direction movement.
In the first possible embodiment or second of possible embodiment or the third possible embodiment or
In the 5th kind of possible embodiment provided based on 4th kind of possible embodiment, the storage of the terminal device
In device, also comprising for performing the instruction operated below:
If the terminal device is more than or equal to the Bluetooth terminal successful connection of second predetermined threshold value with RSSI value,
The prompt message of successful connection is then sent to the user.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
1. a kind of method for connecting bluetooth equipment, applied to terminal device, it is characterised in that methods described includes:
Bluetooth equipment in end of scan equipment preset range;
Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and less than the second default threshold
Value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;
If during the terminal device is moved, the RSSI value for detecting the bluetooth equipment that the terminal device scans are arrived is big
In or equal to second predetermined threshold value, then set up the terminal device and preset with RSSI value more than or equal to described second
The communication connection of the bluetooth equipment of threshold value.
2. the method as described in claim 1, it is characterised in that when the terminal device scans are to multiple bluetooth equipments;Institute
If the RSSI value for stating the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and less than the second predetermined threshold value,
Then prompting user moves the terminal device and included:
If the maximum of the RSSI value for multiple bluetooth equipments that the terminal device scans are arrived is more than first predetermined threshold value, and
Less than second predetermined threshold value, then the user is pointed out to move the terminal device;
If described during the terminal device is moved, the RSSI for the bluetooth equipment that the terminal device scans are arrived is detected
Value is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or equal to described second with RSSI value
The communication connection of the bluetooth equipment of predetermined threshold value includes:
If during the terminal device is moved, detecting the RSSI for multiple bluetooth equipments that the terminal device scans are arrived
The maximum of value is more than or equal to second predetermined threshold value, then sets up corresponding to the terminal device and maximum RSSI value
Bluetooth equipment communication connection.
3. the method as described in claim 1, it is characterised in that scanning the bluetooth equipment in the terminal device preset range
Before, in addition to:
The identification information for specifying bluetooth equipment is stored in the terminal device, wherein, the specified bluetooth equipment refers to need to be with
The terminal device sets up the bluetooth equipment of communication connection;
After the bluetooth equipment in the terminal device preset range is scanned, in addition to:
If the terminal device scans to bluetooth equipment in there is the identification information of identification information and the specified bluetooth equipment
The bluetooth equipment matched, it is determined that the bluetooth equipment is the specified bluetooth equipment;
It is described obtain the terminal device scans to the intensity indicating RSSI value of reception signal of bluetooth equipment include:
Obtain the RSSI value of the specified bluetooth equipment;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and is preset less than second
Threshold value, then pointing out user to move the terminal device includes:
If the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and is less than second predetermined threshold value, then
The user is pointed out to move the terminal device to the direction of the specified bluetooth equipment;
If described during the terminal device is moved, the RSSI for the bluetooth equipment that the terminal device scans are arrived is detected
Value is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or equal to described second with RSSI value
The communication connection of the bluetooth equipment of predetermined threshold value includes:
If during the terminal device is moved, the RSSI value for detecting the specified bluetooth equipment is more than or equal to institute
The second predetermined threshold value is stated, then sets up the communication connection of the terminal device and the specified bluetooth equipment.
4. method as claimed in claim 3, it is characterised in that if the RSSI value of the specified bluetooth equipment is more than described
First predetermined threshold value, and less than second predetermined threshold value, then point out user to set the terminal device to the specified bluetooth
Standby direction movement includes:
If the RSSI value of the specified bluetooth equipment is more than first predetermined threshold value, and is less than second predetermined threshold value, then
Obtain the positional information of the specified bluetooth equipment;
According to the positional information of the specified bluetooth equipment, point out user by the terminal device to the specified bluetooth equipment
Move in direction.
5. the method as described in any one of Claims 1-4, it is characterised in that big with RSSI value setting up the terminal device
After the communication connection of the bluetooth equipment of second predetermined threshold value, in addition to:
If the terminal device is more than or equal to the Bluetooth terminal successful connection of second predetermined threshold value with RSSI value, to
The user sends the prompt message of successful connection.
6. a kind of terminal device, it is characterised in that the terminal device includes:
Scan module, for scanning the bluetooth equipment in the terminal device preset range;
Acquisition module, the intensity indicating RSSI value of the reception signal for obtaining the bluetooth equipment that the terminal device scans are arrived;
Reminding module, if the RSSI value of the bluetooth equipment arrived for the terminal device scans is more than the first predetermined threshold value, and it is small
In the second predetermined threshold value, then user is pointed out to move the terminal device, wherein, it is pre- that second predetermined threshold value is more than described first
If threshold value;
Module is set up, if during for being moved in the terminal device, detecting the bluetooth that the terminal device scans are arrived
The RSSI value of equipment is more than or equal to second predetermined threshold value, then sets up the terminal device and be more than or wait with RSSI value
In the communication connection of the bluetooth equipment of second predetermined threshold value.
7. terminal device as claimed in claim 6, it is characterised in that when the terminal device scans to multiple bluetooth equipments
When;
The reminding module, if the maximum of the RSSI value of the multiple bluetooth equipments arrived for the terminal device scans is more than institute
The first predetermined threshold value is stated, and less than second predetermined threshold value, then points out the user to move the terminal device;
It is described to set up module, if during for being moved in the terminal device, detecting what the terminal device scans were arrived
The maximum of the RSSI value of multiple bluetooth equipments be more than or equal to second predetermined threshold value, then set up the terminal device with
The communication connection of bluetooth equipment corresponding to maximum RSSI value.
8. terminal device as claimed in claim 6, it is characterised in that the terminal device also includes:
Memory module, for before the bluetooth equipment in the terminal device preset range is scanned, in the terminal device
The identification information of bluetooth equipment is specified in storage, wherein, the specified bluetooth equipment is need to set up communication link with the terminal device
The bluetooth equipment connect;
Determining module, for after the bluetooth equipment in the scanning terminal device preset range, if the terminal
Device scan to bluetooth equipment in there is the bluetooth that the identification information of identification information and the specified bluetooth equipment matches and set
It is standby, it is determined that the bluetooth equipment is the specified bluetooth equipment;
The acquisition module, the RSSI value for obtaining the specified bluetooth equipment;
The reminding module, if the RSSI value for the specified bluetooth equipment is more than first predetermined threshold value, and less than institute
The second predetermined threshold value is stated, then points out the user to move the terminal device to the direction of the specified bluetooth equipment;
It is described to set up module, if during for being moved in the terminal device, detecting the specified bluetooth equipment
RSSI value is more than or equal to second predetermined threshold value, then sets up the communication of the terminal device and the specified bluetooth equipment
Connection;
The reminding module includes:
Acquiring unit, if the RSSI value for the specified bluetooth equipment is more than first predetermined threshold value, and less than described the
Two predetermined threshold values, then obtain the positional information of the specified bluetooth equipment;
Tip element, for the positional information according to the specified bluetooth equipment, points out user by the terminal device to described
Specify the direction movement of bluetooth equipment.
9. the terminal device as described in any one of claim 6 to 8, it is characterised in that the terminal device also includes:
Delivering module, if being more than or equal to the bluetooth of second predetermined threshold value for the terminal device and RSSI value
Terminal successful connection, then send the prompt message of successful connection to the user.
10. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor
The computer program of operation, it is characterised in that realize following steps during computer program described in the computing device:
Bluetooth equipment in end of scan equipment preset range;
Obtain the intensity indicating RSSI value of the reception signal for the bluetooth equipment that the terminal device scans are arrived;
If the RSSI value for the bluetooth equipment that the terminal device scans are arrived is more than the first predetermined threshold value, and less than the second default threshold
Value, then point out user to move the terminal device, wherein, second predetermined threshold value is more than first predetermined threshold value;
If during the terminal device is moved, the RSSI value for detecting the bluetooth equipment that the terminal device scans are arrived is big
In or equal to second predetermined threshold value, then set up the terminal device and preset with RSSI value more than or equal to described second
The communication connection of the bluetooth equipment of threshold value.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2017/084528 WO2018209555A1 (en) | 2017-05-16 | 2017-05-16 | Bluetooth device connection method and terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107278380A true CN107278380A (en) | 2017-10-20 |
Family
ID=60076508
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780000346.3A Pending CN107278380A (en) | 2017-05-16 | 2017-05-16 | Connect the method and terminal device of bluetooth equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107278380A (en) |
WO (1) | WO2018209555A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977175A (en) * | 2017-11-06 | 2018-05-01 | 厦门盈趣科技股份有限公司 | A kind of wireless printer and its control method of information protection mechanism |
CN109788441A (en) * | 2017-11-13 | 2019-05-21 | 北京小鸟听听科技有限公司 | A kind of information processing method, terminal and computer storage medium |
CN110572805A (en) * | 2019-09-10 | 2019-12-13 | 中化信息技术有限公司 | Data transmission method and device, electronic equipment and computer readable medium |
CN112040461A (en) * | 2019-06-03 | 2020-12-04 | 华为技术有限公司 | Approach discovery method and device |
CN112586006A (en) * | 2019-12-31 | 2021-03-30 | 深圳市大疆创新科技有限公司 | Communication system and method, movable platform and terminal equipment |
CN113068160A (en) * | 2019-12-13 | 2021-07-02 | 纳恩博(北京)科技有限公司 | Vehicle unlocking method, terminal and storage medium |
WO2022156598A1 (en) * | 2021-01-21 | 2022-07-28 | 维沃移动通信有限公司 | Bluetooth connection method and apparatus, and electronic device |
WO2024113982A1 (en) * | 2022-11-28 | 2024-06-06 | 中兴通讯股份有限公司 | Bluetooth connection method, mobile terminal, and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113115291B (en) * | 2021-04-13 | 2021-11-26 | 深圳市康凯铭科技有限公司 | Bluetooth automatic reconnection method and system based on low-power-consumption Bluetooth |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101095318A (en) * | 2004-05-10 | 2007-12-26 | 索尼爱立信移动通讯股份有限公司 | Method and device for bluetooth pairing |
CN102821184A (en) * | 2011-06-06 | 2012-12-12 | 株式会社电装 | Short range wireless communication apparatus |
CN103840857A (en) * | 2014-03-12 | 2014-06-04 | 上海天奕达电子科技有限公司 | Method and equipment for searching for Bluetooth equipment rapidly |
CN104811896A (en) * | 2015-04-01 | 2015-07-29 | 广东小天才科技有限公司 | Method and device for confirming low-power-consumption Bluetooth connection |
CN105450268A (en) * | 2015-12-02 | 2016-03-30 | 惠州Tcl移动通信有限公司 | Bluetooth-based method and system for automatically connecting wearable device with mobile terminal |
CN105516896A (en) * | 2015-12-02 | 2016-04-20 | 惠州Tcl移动通信有限公司 | Bluetooth interconnection method and system for wearable device and mobile terminal |
CN105828281A (en) * | 2016-05-19 | 2016-08-03 | 北京小米移动软件有限公司 | Device connection method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2355563A1 (en) * | 2010-02-10 | 2011-08-10 | Cheng Uei Precision Industry Co., Ltd. | Method for automatic pairing to a wireless network |
CN106535323B (en) * | 2016-10-25 | 2019-10-08 | 广州创想云科技有限公司 | The method and device of bluetooth BLE communication device where selecting bluetooth bracelet |
-
2017
- 2017-05-16 CN CN201780000346.3A patent/CN107278380A/en active Pending
- 2017-05-16 WO PCT/CN2017/084528 patent/WO2018209555A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101095318A (en) * | 2004-05-10 | 2007-12-26 | 索尼爱立信移动通讯股份有限公司 | Method and device for bluetooth pairing |
CN102821184A (en) * | 2011-06-06 | 2012-12-12 | 株式会社电装 | Short range wireless communication apparatus |
CN103840857A (en) * | 2014-03-12 | 2014-06-04 | 上海天奕达电子科技有限公司 | Method and equipment for searching for Bluetooth equipment rapidly |
CN104811896A (en) * | 2015-04-01 | 2015-07-29 | 广东小天才科技有限公司 | Method and device for confirming low-power-consumption Bluetooth connection |
CN105450268A (en) * | 2015-12-02 | 2016-03-30 | 惠州Tcl移动通信有限公司 | Bluetooth-based method and system for automatically connecting wearable device with mobile terminal |
CN105516896A (en) * | 2015-12-02 | 2016-04-20 | 惠州Tcl移动通信有限公司 | Bluetooth interconnection method and system for wearable device and mobile terminal |
CN105828281A (en) * | 2016-05-19 | 2016-08-03 | 北京小米移动软件有限公司 | Device connection method and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107977175A (en) * | 2017-11-06 | 2018-05-01 | 厦门盈趣科技股份有限公司 | A kind of wireless printer and its control method of information protection mechanism |
CN107977175B (en) * | 2017-11-06 | 2021-09-21 | 厦门盈趣科技股份有限公司 | Wireless printer with information protection mechanism and control method thereof |
CN109788441A (en) * | 2017-11-13 | 2019-05-21 | 北京小鸟听听科技有限公司 | A kind of information processing method, terminal and computer storage medium |
CN112040461A (en) * | 2019-06-03 | 2020-12-04 | 华为技术有限公司 | Approach discovery method and device |
CN112040461B (en) * | 2019-06-03 | 2022-05-24 | 华为技术有限公司 | Approach discovery method and device |
CN110572805A (en) * | 2019-09-10 | 2019-12-13 | 中化信息技术有限公司 | Data transmission method and device, electronic equipment and computer readable medium |
CN113068160A (en) * | 2019-12-13 | 2021-07-02 | 纳恩博(北京)科技有限公司 | Vehicle unlocking method, terminal and storage medium |
CN112586006A (en) * | 2019-12-31 | 2021-03-30 | 深圳市大疆创新科技有限公司 | Communication system and method, movable platform and terminal equipment |
WO2021134471A1 (en) * | 2019-12-31 | 2021-07-08 | 深圳市大疆创新科技有限公司 | Communication system and method, and movable platform and terminal device |
WO2022156598A1 (en) * | 2021-01-21 | 2022-07-28 | 维沃移动通信有限公司 | Bluetooth connection method and apparatus, and electronic device |
WO2024113982A1 (en) * | 2022-11-28 | 2024-06-06 | 中兴通讯股份有限公司 | Bluetooth connection method, mobile terminal, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018209555A1 (en) | 2018-11-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107278380A (en) | Connect the method and terminal device of bluetooth equipment | |
CN106327166A (en) | Information processing method and mobile terminal | |
CN104346276B (en) | The method and device of software test | |
CN107241784A (en) | The method and device of Internet of Things access | |
CN106326072B (en) | The method and mobile terminal of information processing | |
CN106453839B (en) | The method of adjustment and mobile terminal of antenna | |
CN104699501B (en) | A kind of method and device for running application program | |
CN107203147A (en) | Internet of Things network control system and method based on cloud platform | |
CN106445721B (en) | The method and mobile terminal of house dog fault-tolerant processing | |
CN106326073B (en) | The method and mobile terminal of information processing | |
CN109067981A (en) | Split screen application switching method, device, storage medium and electronic equipment | |
CN107145386A (en) | Data migration method, terminal device and computer-readable recording medium | |
CN107219951A (en) | Touch screen control method, device, storage medium and terminal device | |
CN104660769B (en) | A kind of methods, devices and systems for adding associated person information | |
CN106791084A (en) | The synchronous method and mobile terminal of personalizing parameters | |
CN106817489B (en) | The reminding method and mobile terminal of message | |
CN106332023A (en) | Unread information display method and device, and mobile terminal | |
CN106500751B (en) | The calibration method and mobile terminal of proximity sensor | |
CN105940368A (en) | Pattern lock unlocking method and terminal | |
CN110413639A (en) | Data check method and device, electronic equipment and computer readable storage medium | |
CN104636455B (en) | The acquisition methods and device of application program map information | |
CN106484141B (en) | The setting method and mobile terminal of threshold value | |
CN107045610A (en) | Data migration method, terminal device and computer-readable recording medium | |
CN106941564A (en) | The player method and mobile terminal of speech message | |
CN107506120A (en) | Method for information display, terminal and computer-readable recording medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171020 |