Summary of the invention
The object of the invention is to propose a kind of method and equipment thereof of fast searching bluetooth equipment, by Bluetooth Communication Technology, help people to search fast and accurately all kinds of bluetooth equipments, simple to operate and low in energy consumption.
For reaching this object, the present invention by the following technical solutions:
First aspect, provides a kind of method of fast searching bluetooth equipment, comprising:
Set up and be connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment;
Relative distance value according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback with target bluetooth equipment;
According to described relative distance value, send corresponding information.
Wherein, described according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback and the relative distance value of target bluetooth equipment; According to described relative distance value, send corresponding information, comprising:
A, according to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
B, according to described relative distance value, send first information corresponding with described relative distance value;
C, the interval scheduled time, according to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
Whether d, the relative distance value that judges this acquisition be identical with the last relative distance value obtaining, and if so, sends described the first information; If not, continue step e;
E, the relative distance value that judges this acquisition are compared the size variation trend of the last relative distance value obtaining, and send the second corresponding information according to described size variation trend.
Wherein, described in send corresponding information, comprising:
Send corresponding auditory tone cues information and/or send corresponding light prompt information.
Wherein, the relative distance value of described this acquisition of judgement is compared the size variation trend of the last relative distance value obtaining, and sends the second corresponding information according to described size variation trend, comprising:
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information giving great volume than the first sound information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information less than the first sound information volume; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information less than the first sound information volume, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information giving great volume than the first sound information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information brighter than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information darker than the first light prompt information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information darker than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information brighter than the first light prompt information.
Wherein, described foundation is connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment; Also comprise before:
Opened bluetooth function, search target bluetooth equipment, and target bluetooth equipment matches,
Open the fast hunt mode based on bluetooth.
Second aspect, provides a kind of equipment of fast searching bluetooth equipment, comprising:
Bluetooth RF circuit, is connected for the Bluetooth communication of the target bluetooth equipment set up and match; Send Bluetooth communication signal to target bluetooth equipment;
Processor, for the relative distance value with target bluetooth equipment according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback;
Prompt facility, for according to described relative distance value, sends corresponding information.
Wherein, described according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback and the relative distance value of target bluetooth equipment; Send corresponding information with described according to described relative distance value, comprising:
According to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
According to described relative distance value, send first information corresponding with described relative distance value;
The interval scheduled time, according to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
Whether the relative distance value that judges this acquisition is identical with the last relative distance value obtaining, and if so, sends described the first information; If not, the relative distance value that judges this acquisition is compared the size variation trend of the last relative distance value obtaining, and sends the second corresponding information according to described size variation trend.
Wherein, described prompt facility is buzzer for sending corresponding auditory tone cues information, loud speaker or for sending the illuminating lamp of corresponding light prompt information.
Wherein, the relative distance value of described this acquisition of judgement is compared the size variation trend of the last relative distance value obtaining, and sends the second corresponding information according to described size variation trend, comprising:
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information giving great volume than the first sound information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information less than the first sound information volume; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information less than the first sound information volume, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information giving great volume than the first sound information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information brighter than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information darker than the first light prompt information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information darker than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information brighter than the first light prompt information.
Wherein, described foundation is connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment; Also comprise before:
Opened bluetooth function, search target bluetooth equipment, and target bluetooth equipment matches,
Open the fast hunt mode based on bluetooth.
Beneficial effect of the present invention is: a kind of method of fast searching bluetooth equipment and equipment thereof, and Bluetooth RF circuit is set up and is connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment; Processor is the relative distance value with target bluetooth equipment according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback; Prompt facility, according to described relative distance value, sends corresponding information.This fast searching method and equipment thereof, receive in real time the signal of communication of the target bluetooth equipment of pairing with it, identify and the relative distance of target bluetooth equipment according to the intensity size of signal of communication, the intensity of signal of communication is larger, relative distance is nearer, the information of sending according to the distance adjustment of relative distance, and people are according to this information, can search fast and accurately target bluetooth equipment, simple to operate and low in energy consumption.
Embodiment
For the technical scheme of technical problem that the present invention is solved, employing and the technique effect that reaches clearer, below in conjunction with accompanying drawing, the technical scheme of the embodiment of the present invention is described in further detail, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it is the method flow diagram of first embodiment of method of fast searching bluetooth equipment provided by the invention.The method of the fast searching bluetooth equipment that the embodiment of the present invention provides, can be applicable to various bluetooth equipments, such as panel computer, notebook computer, PC, smart mobile phone, bluetooth earphone etc.
The method of this fast searching bluetooth equipment, comprising:
Step S101, foundation are connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment;
Target bluetooth equipment is made a general reference the Bluetooth electronic equipment of all kinds of embedded with bluetooth radio circuits.
Step S102, the intensity acquisition of Bluetooth communication signal of feeding back according to target bluetooth equipment and the relative distance value of target bluetooth equipment;
Setting up bluetooth when Bluetooth mobile terminal with target bluetooth equipment is connected, the Bluetooth communication signal of Bluetooth mobile terminal receiving target bluetooth equipment feedback, the intensity size of identification Bluetooth communication signal, the watt level of the corresponding Bluetooth communication signal of intensity size of Bluetooth communication signal.Between Bluetooth mobile terminal and target bluetooth equipment, the size variation trend of relative distance value and the size variation trend of power form corresponding relation, this Bluetooth mobile terminal transmits control signal to prompt facility according to size variation trend, and prompt facility sends corresponding information according to this control signal.
Step S103, according to described relative distance value, send corresponding information.
To sum up, a kind of method of fast searching bluetooth equipment, receive in real time the signal of communication of the target bluetooth equipment of pairing with it, identify and the relative distance of target bluetooth equipment according to the intensity size of signal of communication, the intensity of signal of communication is larger, and relative distance is nearer, the information of sending according to the distance adjustment of relative distance, people, according to this information, can search target bluetooth equipment fast and accurately, simple to operate and low in energy consumption.
Please refer to Fig. 2, it is the method flow diagram of second embodiment of method of fast searching bluetooth equipment provided by the invention.The main distinction of first embodiment of method of the present embodiment and fast searching bluetooth equipment is to have increased according to the power of signal of communication and identifies and the concrete steps of the relative distance of the target bluetooth equipment matching.
The method of this fast searching bluetooth equipment, comprising:
Step S201, foundation are connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment;
Step S202, according to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
Step S203, according to described relative distance value, send first information corresponding with described relative distance value;
According to the relative distance value obtaining first, directly send the first corresponding information, specifically comprise: in the concordance list of the Bluetooth communication signal strength signal intensity setting in advance and relative distance value, determine relative distance value according to the intensity of the Bluetooth communication signal of feedback, then determine the first information according to relative distance value at the concordance list of the relative distance value setting in advance and information.In view of the intensity of Bluetooth communication signal is that fluctuation changes, concordance list only plays reference role, for obtaining relative distance value and first information of follow-up contrast use.
Step S204, the interval scheduled time, according to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
The scheduled time at interval, by artificially arranging, is preferably 0.5s or 1s.Cycle is shorter, and the number that obtains the Bluetooth communication signal feeding back is more, and the method precision of fast searching bluetooth equipment is higher.
Whether step S205, the relative distance value that judges this acquisition be identical with the last relative distance value obtaining, and if so, sends described the first information; If not, continue step S206;
Step S206, the relative distance value that judges this acquisition are compared the size variation trend of the last relative distance value obtaining, and send the second corresponding information according to described size variation trend.
Wherein, the relative distance value of described this acquisition of judgement is compared the size variation trend of the last relative distance value obtaining, and sends the second corresponding information according to described size variation trend, comprising:
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information giving great volume than the first sound information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information less than the first sound information volume; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information less than the first sound information volume, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information giving great volume than the first sound information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information brighter than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information darker than the first light prompt information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information darker than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information brighter than the first light prompt information.
Certainly, we also can send light prompt information in the information of sounding, and auditory tone cues information can be selected buzzer prompt tone or voice message sound, specifically arranges according to user's use habit.
As: when relative distance value is less than or equal to user's visual range, be preferably 0.2 meter or 0.5 meter.Corresponding information is preferably: play the auditory tone cues information of " object is in 0.2 meter of position of distance " or the auditory tone cues information of broadcasting " object is in 0.5 meter of position of distance ", user can directly see target bluetooth equipment, does not need to carry out seek operations repeatedly.Now, user can select to close the fast searching function based on bluetooth, energy saving.
Compare the size variation trend of the last relative distance value obtaining by judging the relative distance value of this acquisition, send the mode of corresponding information according to described size variation trend, with respect to directly determine relative distance value in the concordance list of the Bluetooth communication signal strength signal intensity setting in advance and relative distance value according to the intensity of the Bluetooth communication signal of feedback, determine again the mode of information at the concordance list of the relative distance value setting in advance and information according to relative distance value, the front kind of each relative distance value obtaining of mode all contrasts with the relative distance value of last time acquisition, send information according to reduced value, remove to greatest extent electromagnetic wave around diverse location or different time may affect Bluetooth communication signal strength signal intensity, the environmental interference factors such as barrier, make the accuracy of fast searching bluetooth equipment higher, exploitativeness is stronger.
To sum up, the method of the fast searching bluetooth equipment that the technical program provides, can be to any wired or wireless equipment with Bluetooth RF function, as bluetooth earphone, smart mobile phone, blue Tooth remote controller, the automobile of embedded with bluetooth radio circuit etc. carries out fast searching, also target bluetooth equipment small and exquisite volume can be placed on to any common objects, as: camera, wallet, key, books, file, CD box, the surface of medicine bottle and all kinds of household goods or inner, combination by described target bluetooth equipment and other objects is placed, by the fast searching to target bluetooth equipment, realize the fast finding location to object correlation, greatly extend the method applicable scope of the fast searching bluetooth equipment that the technical program provides.
Please refer to Fig. 3, it is the method flow diagram of the 3rd embodiment of method of fast searching bluetooth equipment provided by the invention.The main distinction of second embodiment of method of the present embodiment and fast searching bluetooth equipment has been to increase the step of opening the fast hunt mode based on bluetooth.
The method of this fast searching bluetooth equipment, comprising:
Step S301, opened bluetooth function, search target bluetooth equipment, and target bluetooth equipment matches,
Step S302, the fast hunt mode of unlatching based on bluetooth;
In the time pressing the specified button of Bluetooth mobile terminal or activate the specific fast searching application software of Bluetooth mobile terminal, open the fast hunt mode based on bluetooth, and then can be by the target bluetooth equipment in this Bluetooth mobile terminal fast searching bluetooth communications range.
Step S303, foundation are connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment;
Step S304, the intensity acquisition of Bluetooth communication signal of feeding back according to target bluetooth equipment and the relative distance value of target bluetooth equipment;
If apply the method under the environment pre-setting, relative distance value can be thought the actual distance value between Bluetooth terminal equipment and target bluetooth equipment.But in actual applications, due to the variation of application scenario, in view of the intensity of Bluetooth communication signal in different location or different time be that fluctuation changes, relative distance value is the approximate distance value between Bluetooth terminal equipment and target bluetooth equipment.
Step S305, according to described relative distance value, send corresponding auditory tone cues information and/or send corresponding light prompt information.
To sum up, the method for a kind of fast searching bluetooth equipment that the technical program provides, by Bluetooth Communication Technology, helps people to search fast and accurately all kinds of bluetooth equipments, simple to operate and low in energy consumption.
The apparatus embodiments of the fast searching bluetooth equipment providing for the embodiment of the present invention below.The embodiment of the method for the apparatus embodiments of fast searching bluetooth equipment and above-mentioned fast searching bluetooth equipment belongs to same design, the detail content of detailed description not in the apparatus embodiments of fast searching bluetooth equipment, can be with reference to the embodiment of the method for above-mentioned fast searching bluetooth equipment.
Please refer to Fig. 4, it is the block diagram of first embodiment of equipment of fast searching bluetooth equipment provided by the invention.
The equipment of this fast searching bluetooth equipment, comprising:
Bluetooth RF circuit 1, is connected for the Bluetooth communication of the target bluetooth equipment set up and match; Send Bluetooth communication signal to target bluetooth equipment;
Processor 2, for the relative distance value with target bluetooth equipment according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback;
Prompt facility 3, for according to described relative distance value, sends corresponding information.
To sum up, the equipment of the fast searching bluetooth equipment that the technical program provides, receive in real time the signal of communication of the target bluetooth equipment of pairing with it, identify and the relative distance of target bluetooth equipment according to the intensity size of signal of communication, the intensity of signal of communication is larger, and relative distance is nearer, the information of sending according to the distance adjustment of relative distance, people, according to this information, can search target bluetooth equipment fast and accurately, simple to operate and low in energy consumption.
The present invention also provides second embodiment of the equipment of fast searching bluetooth equipment, and the equipment of this fast searching bluetooth equipment, comprising:
Bluetooth RF circuit 1, is connected for the Bluetooth communication of the target bluetooth equipment set up and match; Send Bluetooth communication signal to target bluetooth equipment;
Processor 2, for the relative distance value with target bluetooth equipment according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback;
Prompt facility 3, for according to described relative distance value, sends corresponding information.
Wherein, described according to the intensity acquisition of the Bluetooth communication signal of target bluetooth equipment feedback and the relative distance value of target bluetooth equipment; Send corresponding information with described according to described relative distance value, comprising:
According to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
According to described relative distance value, send first information corresponding with described relative distance value;
The interval scheduled time, according to the intensity of the Bluetooth communication signal of target bluetooth equipment feedback, obtain the relative distance value corresponding with described intensity;
Whether the relative distance value that judges this acquisition is identical with the last relative distance value obtaining, and if so, sends described the first information; If not, the relative distance value that judges this acquisition is compared the size variation trend of the last relative distance value obtaining, and sends the second corresponding information according to described size variation trend.
Wherein, described prompting prompt facility 3 is for the buzzer for sending corresponding auditory tone cues information, loud speaker or for sending the illuminating lamp of corresponding light prompt information.
Wherein, the relative distance value of described this acquisition of judgement is compared the size variation trend of the last relative distance value obtaining, and sends the second corresponding information according to described size variation trend, comprising:
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information giving great volume than the first sound information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information less than the first sound information volume; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second sound information less than the first sound information volume, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second sound information giving great volume than the first sound information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information brighter than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information darker than the first light prompt information; Or,
If judge, the relative distance value of this acquisition is larger than the last relative distance value obtaining, send the second light prompt information darker than the first light prompt information, if judge, the relative distance value of this acquisition is less than the last relative distance value obtaining, and sends the second light prompt information brighter than the first light prompt information.
Wherein, described foundation is connected with the Bluetooth communication of the target bluetooth equipment matching; Send Bluetooth communication signal to target bluetooth equipment; Also comprise before:
Opened bluetooth function, search target bluetooth equipment, and target bluetooth equipment matches,
Open the fast hunt mode based on bluetooth.
Compare the size variation trend of the last relative distance value obtaining by judging the relative distance value of this acquisition, send the mode of corresponding information according to described size variation trend, with respect to directly determine relative distance value in the concordance list of the Bluetooth communication signal strength signal intensity setting in advance and relative distance value according to the intensity of the Bluetooth communication signal of feedback, determine again the mode of information at the concordance list of the relative distance value setting in advance and information according to relative distance value, the front kind of each relative distance value obtaining of mode all contrasts with the relative distance value of last time acquisition, send information according to reduced value, remove to greatest extent electromagnetic wave around diverse location or different time may affect Bluetooth communication signal strength signal intensity, the environmental interference factors such as barrier, make the accuracy of fast searching bluetooth equipment higher, exploitativeness is stronger.
To sum up, the equipment of the fast searching bluetooth equipment that the technical program provides, can be to any wired or wireless equipment with Bluetooth RF function, as bluetooth earphone, smart mobile phone, blue Tooth remote controller, the automobile of embedded with bluetooth radio circuit etc. carries out fast searching, also target bluetooth equipment small and exquisite volume can be placed on to any common objects, as: camera, wallet, key, books, file, CD box, the surface of medicine bottle and all kinds of household goods or inner, combination by described target bluetooth equipment and other objects is placed, by the fast searching to target bluetooth equipment, realize the fast finding location to object correlation, greatly extend the method applicable scope of the fast searching bluetooth equipment that the technical program provides.
The method of fast searching bluetooth equipment and an equipment thereof, by Bluetooth Communication Technology, help people to search fast and accurately all kinds of bluetooth equipments, simple to operate and low in energy consumption.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise memory, disk or CD etc.
Above content is only preferred embodiment of the present invention, for those of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, and this description should not be construed as limitation of the present invention.