CN111417072A - Wireless earphone positioning method, device and system - Google Patents

Wireless earphone positioning method, device and system Download PDF

Info

Publication number
CN111417072A
CN111417072A CN202010286357.6A CN202010286357A CN111417072A CN 111417072 A CN111417072 A CN 111417072A CN 202010286357 A CN202010286357 A CN 202010286357A CN 111417072 A CN111417072 A CN 111417072A
Authority
CN
China
Prior art keywords
wireless earphone
mobile terminal
information
wireless
current position
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
Application number
CN202010286357.6A
Other languages
Chinese (zh)
Inventor
胡治方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202010286357.6A priority Critical patent/CN111417072A/en
Publication of CN111417072A publication Critical patent/CN111417072A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a wireless earphone positioning method, a wireless earphone positioning device and a wireless earphone positioning system. The wireless earphone calculates displacement information of the wireless earphone according to information acquired by an inertia measurement component of the wireless earphone; and transmits the displacement information to the mobile terminal. The mobile terminal can calculate the current position information of the wireless earphone by using the positioning information and the displacement information; and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone. The user can determine the current position of the wireless earphone quickly through the position relation obtained by the mobile terminal, so that the wireless earphone is searched quickly, and the searching efficiency of the wireless earphone is greatly improved.

Description

Wireless earphone positioning method, device and system
Technical Field
The present invention relates to the field of wireless positioning technologies, and in particular, to a method, an apparatus, and a system for positioning a wireless headset.
Background
The market scale of the wireless earphones is larger and larger, the use amount of the wireless earphones is gradually increased, but the loss of the wireless earphones is also a problem. How to prevent the loss of the earphone and how to find the earphone as soon as possible after the earphone is lost becomes a problem to be solved.
In the prior art, an electronic device with a relatively fixed position, such as a wireless earphone box, is used for positioning and detecting a wireless earphone. In a specific implementation, a communication connection between the wireless headset and the wireless headset box is established, and a communication state between the wireless headset and the wireless headset box is detected according to a set frequency. When the communication connection between the wireless earphone and the wireless earphone box is disconnected, the wireless earphone gives an alarm, so that the risk of losing the wireless earphone is reduced.
The existing mode is only that when the wireless earphone and the wireless earphone box are disconnected due to the fact that the distance is far away, the alarm prompt arouses the attention of a user, so that the user can find the wireless earphone in time conveniently, but the mode cannot realize the positioning of the position of the wireless earphone, and the user still needs to spend a long time to search the wireless earphone.
It can be seen that how to realize the positioning of the wireless headset to improve the searching efficiency of the wireless headset is a problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention aims to provide a wireless earphone positioning method, a wireless earphone positioning device and a wireless earphone positioning system, which can realize positioning of a wireless earphone and improve the searching efficiency of the wireless earphone.
In order to solve the above technical problem, an embodiment of the present invention provides a wireless headset positioning method, which is applicable to a mobile terminal, and the method includes:
when a positioning request sent by a wireless earphone is received, positioning information is sent to the wireless earphone;
receiving displacement information transmitted by the wireless earphone; the displacement information is obtained by calculating the wireless earphone according to information collected by an inertia measurement component;
calculating the current position information of the wireless earphone by using the positioning information and the displacement information;
and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
Optionally, after the calculating current position information of the wireless headset by using the positioning information and the displacement information, the method further includes:
calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the mobile terminal and the current position information of the wireless earphone;
and when the relative distance value is larger than a preset threshold value, giving an alarm.
Optionally, when the receiving a location request sent by a wireless headset, after sending location information to the wireless headset, the method further includes:
and sending a low power consumption instruction to the wireless earphone so as to switch the wireless earphone into a low power consumption working mode.
The embodiment of the invention also provides a wireless earphone positioning device which is suitable for the mobile terminal and comprises a receiving unit, a sending unit, a calculating unit and an obtaining unit;
the receiving unit is used for triggering the sending unit to send positioning information to the wireless earphone when receiving a positioning request sent by the wireless earphone;
the receiving unit is also used for receiving the displacement information transmitted by the wireless earphone; the displacement information is obtained by calculating the wireless earphone according to information collected by an inertia measurement component;
the calculating unit is used for calculating the current position information of the wireless earphone by utilizing the positioning information and the displacement information;
the obtaining unit is used for obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
Optionally, an alarm unit is further included;
the calculating unit is further used for calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the mobile terminal and the current position information of the wireless earphone;
and the alarm unit is used for giving an alarm prompt when the relative distance value is larger than a preset threshold value.
Optionally, the sending unit is further configured to send a low power consumption instruction to the wireless headset, so that the wireless headset is switched to a low power consumption operating mode.
The embodiment of the invention also provides a wireless earphone positioning method, which is suitable for the wireless earphone and comprises the following steps:
sending a positioning request to a mobile terminal with communication connection according to a preset condition;
taking the received positioning information sent by the mobile terminal as initial position information;
calculating displacement information of the inertial measurement unit according to the information acquired by the inertial measurement unit;
and transmitting the displacement information to the mobile terminal so that the mobile terminal can obtain the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
Optionally, the sending the positioning request to the mobile terminal having the communication connection according to the preset condition includes:
and when detecting that the self is switched from the wearing state to the non-wearing state, sending a positioning request to the mobile terminal with communication connection.
Optionally, after the calculating displacement information of the inertial measurement unit according to the information collected by the inertial measurement unit, the method further includes:
calculating the current position information of the mobile terminal according to the initial position information and the displacement information;
calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the wireless earphone and the acquired current position information of the mobile terminal;
and when the relative distance value is larger than a preset threshold value, giving an alarm.
Optionally, the displacement information includes a moving distance and a moving direction;
correspondingly, the calculating of the displacement information of the inertial measurement unit according to the information collected by the inertial measurement unit includes:
judging whether the acceleration value acquired by the acceleration sensor exceeds a threshold value or not;
if so, calculating the self moving distance of the wireless earphone according to the acceleration value, the duration of the acceleration value and the angle vector acquired by the gyroscope;
and determining the moving direction of the wireless earphone according to the data acquired by the magnetometer.
Optionally, the wireless headset is provided with a classic bluetooth module and a low power bluetooth module;
when the wireless earphone is in a wearing state, the classic Bluetooth module is in a working state, and the low-power Bluetooth module is in an idle state;
when the wireless earphone receives a low-power-consumption instruction sent by the mobile terminal, the low-power-consumption Bluetooth module is adjusted to be in a working state, and the classic Bluetooth module is in an idle state, so that a low-power-consumption working mode of the wireless earphone is realized.
The embodiment of the invention also provides a wireless earphone positioning device which is suitable for the wireless earphone and comprises a sending unit, a receiving unit and a calculating unit;
the sending unit is used for sending a positioning request to a mobile terminal with communication connection according to a preset condition;
the receiving unit is used for taking the received positioning information sent by the mobile terminal as initial position information;
the calculation unit is used for calculating displacement information of the calculation unit according to the information acquired by the inertia measurement component;
the sending unit is further configured to transmit the displacement information to the mobile terminal, so that the mobile terminal obtains a position relationship between the mobile terminal and the wireless headset according to current position information of the mobile terminal and current position information of the wireless headset;
optionally, the sending unit is specifically configured to send a positioning request to a mobile terminal with a communication connection when detecting that the mobile terminal is switched from a wearing state to a non-wearing state.
Optionally, an alarm unit is further included;
the calculation unit is further used for calculating the current position information of the calculation unit according to the initial position information and the displacement information; calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the wireless earphone and the acquired current position information of the mobile terminal;
and the alarm unit is used for giving an alarm prompt when the relative distance value is larger than a preset threshold value.
Optionally, the displacement information includes a moving distance and a moving direction;
correspondingly, the computing unit is specifically configured to determine whether an acceleration value acquired by the acceleration sensor exceeds a threshold value; if so, calculating the self moving distance of the wireless earphone according to the acceleration value, the duration of the acceleration value and the angle vector acquired by the gyroscope; and determining the moving direction of the wireless earphone according to the data acquired by the magnetometer.
Optionally, the wireless headset is provided with a classic bluetooth module and a low power bluetooth module; when the wireless earphone is in a wearing state, the classic Bluetooth module is in a working state, and the low-power Bluetooth module is in an idle state; the device further comprises an adjustment unit;
the adjusting unit is used for adjusting the low-power-consumption Bluetooth module to be in a working state and the classic Bluetooth module to be in an idle state when the wireless earphone receives the low-power-consumption instruction sent by the mobile terminal, so that the low-power-consumption working mode of the wireless earphone is realized.
The embodiment of the invention also provides a wireless earphone positioning system, which comprises a wireless earphone and a mobile terminal;
the wireless earphone is used for sending a positioning request to a mobile terminal with communication connection according to a preset condition; taking the received positioning information sent by the mobile terminal as initial position information; calculating displacement information of the inertial measurement unit according to the information acquired by the inertial measurement unit; transmitting the displacement information to the mobile terminal so that the mobile terminal can obtain the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone;
the mobile terminal is used for sending positioning information to the wireless earphone when receiving a positioning request sent by the wireless earphone; receiving displacement information transmitted by the wireless earphone; the displacement information is obtained by calculating the wireless earphone according to information collected by an inertia measurement component; calculating the current position information of the wireless earphone by using the positioning information and the displacement information; and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
According to the technical scheme, the wireless earphone sends the positioning request to the mobile terminal with communication connection according to the preset condition, and the received positioning information sent by the mobile terminal is used as the initial position information. The wireless earphone can be moved under the condition that a user is unknown, so that the position of the wireless earphone is changed, and the wireless earphone can calculate the displacement information of the wireless earphone according to the information acquired by the inertial measurement component of the wireless earphone; and transmits the displacement information to the mobile terminal. The positioning information reflects the initial position of the wireless earphone, the displacement information reflects the moving distance and the moving direction of the wireless earphone, and the mobile terminal can calculate the current position information of the wireless earphone by using the positioning information and the displacement information; and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone. The user can determine the current position of the wireless earphone quickly through the position relation obtained by the mobile terminal, so that the wireless earphone is searched quickly, and the searching efficiency of the wireless earphone is greatly improved.
Drawings
In order to illustrate the embodiments of the present invention more clearly, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a signaling diagram of a wireless headset positioning method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of interaction between a wireless headset and a mobile terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a wireless headset positioning device suitable for a mobile terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a wireless headset positioning device suitable for a wireless headset according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a wireless headset positioning system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without any creative work belong to the protection scope of the present invention.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
Next, a method for positioning a wireless headset according to an embodiment of the present invention is described in detail. Fig. 1 is a signaling diagram of a wireless headset positioning method according to an embodiment of the present invention, where the method includes:
s101: the wireless earphone sends a positioning request to the mobile terminal with communication connection according to preset conditions.
A mobile terminal refers to an electronic device used by a user, and the electronic device may establish a communication connection with a wireless headset. In the embodiment of the present invention, a smart phone is taken as an example for introduction.
The wireless earphones can be of various types, including infrared wireless earphones, Bluetooth wireless earphones, 2.4G wireless earphones and the like.
For convenience of description, in the embodiments of the present invention, a bluetooth wireless headset is taken as an example for description. The Bluetooth wireless earphone is provided with a Bluetooth module, and correspondingly, the mobile terminal is also provided with the Bluetooth module so as to be convenient for communication with the Bluetooth module on the wireless earphone.
The wireless headset can send positioning requests to the mobile terminal in various modes, one mode can send the positioning requests to the mobile terminal according to set frequency, and when the wireless headset is switched from a wearing state to a non-wearing state, the latest acquired positioning information is used as the initial position information of the wireless headset.
Another way may be that when the wireless headset detects that the wireless headset switches from the wearing state to the non-wearing state, a positioning request is sent to the mobile terminal with the communication connection.
Because the wireless earphone is generally used for listening to music and making a call when being worn, the wireless earphone is relatively close to the smart phone, and the positioning information of the smart phone can be regarded as the position information of the wireless earphone. Therefore, when the wireless headset detects that the wireless headset is switched from the wearing state to the non-wearing state, the wireless headset can send a positioning request to the mobile terminal with communication connection at the moment in order to acquire the initial position information of the wireless headset.
S102: and when receiving the positioning request sent by the wireless earphone, the mobile terminal sends positioning information to the wireless earphone.
In consideration of the fact that the mobile terminal is often in a moving state, in order to accurately acquire the location information of the mobile terminal, in practical applications, the mobile terminal may periodically acquire its own location information according to a set time interval.
The value of the time interval can be set according to actual requirements, for example, the time interval can be set to 1 minute, that is, the mobile terminal acquires its own positioning information every 1 minute.
When receiving the positioning request sent by the wireless headset, the mobile terminal may send the latest acquired positioning information to the wireless headset.
Taking a smart phone as an example, 2 implementations of acquiring the positioning information are provided, and one implementation manner is to acquire the positioning information of the smart phone by using a GPS positioning method under the condition that a GPS signal is good. In another mode, the positioning information of the user can be acquired by adopting a base station positioning method or an indoor WIFI positioning method indoors under the condition that the GPS signal is weak.
S103: the wireless earphone takes the received positioning information sent by the mobile terminal as initial position information.
When the wireless headset is switched from the wearing state to the non-wearing state, the positioning information of the mobile terminal can be regarded as the current position information of the wireless headset, and considering that the wireless headset can move even in the non-wearing state, the positioning information received by the wireless headset and sent by the mobile terminal can be regarded as the initial position information of the wireless headset for the convenience of distinguishing.
S104: the wireless earphone calculates the displacement information of the wireless earphone according to the information collected by the inertia measurement component.
The displacement information includes a movement distance and a movement direction. As shown in fig. 2, which is a schematic diagram of interaction between a wireless headset and a mobile terminal, the inertial measurement unit provided in the wireless headset of fig. 2 may include an acceleration sensor (G-sensor), a gyroscope, and a magnetometer. The moving distance of the wireless earphone can be calculated according to information collected by the acceleration sensor and the gyroscope; according to the information collected by the magnetometer, the moving direction of the wireless earphone can be determined.
The G-sensor may acquire X, Y, Z directional acceleration values and detect acceleration data as the headset moves. In a specific implementation, the wireless headset can judge whether the acceleration value acquired by the acceleration sensor exceeds a threshold value.
The value of the threshold may be set according to actual requirements, and is not limited herein.
When the acceleration value acquired by the acceleration sensor exceeds the threshold value, the wireless headset moves, and the moving distance of the wireless headset can be calculated according to the acceleration value, the duration of the acceleration value and the angle vector acquired by the gyroscope; and determining the moving direction of the wireless earphone according to the data acquired by the magnetometer.
When the wireless headset does not move, the acceleration value of the wireless headset can become zero, and the process from the detection of the acceleration value to the change of the acceleration value into zero is the duration of the acceleration value. The running speed of the wireless earphone can be obtained by carrying out integral operation on the acceleration value. The product of the running speed and the duration is the moving distance of the wireless earphone.
The gyroscope can compensate the angle, when the wireless earphone is moved, the gyroscope obtains initial position information when the wireless earphone is not moved, and then after the wireless earphone is moved, the gyroscope can obtain angle vectors before and after the wireless earphone is moved, so that corresponding compensation is carried out on the moving distance.
Acceleration sensor can acquire the acceleration of X, Y, Z direction, and the gyroscope can acquire the angle of X, Y, Z direction, relies on the duration of the acceleration and the angle and the acceleration value of X, Y, Z direction, can calculate wireless earphone self moving distance.
The magnetometer determines the direction of movement of the wireless headset by acquiring X, Y, Z the 3-axis data. The moving direction of the wireless headset is determined according to the data collected by the magnetometer, which belongs to the prior conventional technology and is not described herein any more.
S105: the wireless earphone transmits the displacement information to the mobile terminal.
The wireless earphone can transmit displacement information to the mobile terminal through the Bluetooth module of the wireless earphone.
S106: the mobile terminal receives displacement information transmitted by the wireless earphone; and calculating the current position information of the wireless earphone by using the positioning information and the displacement information.
The mobile terminal can receive the displacement information transmitted by the wireless earphone through the Bluetooth module of the mobile terminal.
The positioning information reflects the initial position of the wireless earphone, the displacement information reflects the mobile position of the wireless earphone, and the current position information of the wireless earphone can be determined according to the initial position and the mobile position.
S107: and the mobile terminal obtains the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
After the current position information of the mobile terminal and the current position information of the wireless earphone are acquired, the terminal can acquire the position relation of the mobile terminal and the wireless earphone on the graphic coordinates in a graphic coordinate mode, and a user can quickly determine the position of the wireless earphone, which is located at the mobile terminal, according to the position relation, so that the wireless earphone can be quickly searched.
After determining the position relationship between the mobile terminal and the wireless earphone, the mobile terminal can display the position relationship between the mobile terminal and the wireless earphone through an interface of the mobile terminal. The current position information of the wireless earphone can also be broadcasted in a voice broadcasting mode, or the position relation between the mobile terminal and the wireless earphone is broadcasted, for example, the direction and the distance value of the wireless earphone located at the mobile terminal are broadcasted.
According to the technical scheme, the wireless earphone sends the positioning request to the mobile terminal with communication connection according to the preset condition, and the received positioning information sent by the mobile terminal is used as the initial position information. The wireless earphone can be moved under the condition that a user is unknown, so that the position of the wireless earphone is changed, and the wireless earphone can calculate the displacement information of the wireless earphone according to the information acquired by the inertial measurement component of the wireless earphone; and transmits the displacement information to the mobile terminal. The positioning information reflects the initial position of the wireless earphone, the displacement information reflects the moving distance and the moving direction of the wireless earphone, and the mobile terminal can calculate the current position information of the wireless earphone by using the positioning information and the displacement information; and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone. The user can determine the current position of the wireless earphone quickly through the position relation obtained by the mobile terminal, so that the wireless earphone is searched quickly, and the searching efficiency of the wireless earphone is greatly improved.
In the embodiment of the invention, the wireless earphone and the mobile terminal are in communication connection through the Bluetooth module, the communication distance of the Bluetooth module is limited, and the distance between the wireless earphone and the mobile terminal can be detected in order to ensure the normal communication between the wireless earphone and the mobile terminal.
Taking the mobile terminal as an example, the mobile terminal can calculate a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the mobile terminal and the current position information of the wireless earphone; and when the relative distance value is larger than a preset threshold value, alarming and prompting.
Taking a wireless earphone as an example, after the wireless earphone calculates the displacement information of the wireless earphone according to the information collected by the inertia measurement component, the wireless earphone can calculate the current position information of the wireless earphone according to the initial position information and the displacement information; calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the wireless earphone and the acquired current position information of the mobile terminal; and when the relative distance value is larger than a preset threshold value, alarming and prompting.
The preset threshold value can be an upper limit value of an effective communication distance between the wireless earphone and the mobile terminal, when the relative distance value between the wireless earphone and the mobile terminal is larger than the preset threshold value, the fact that the distance between the wireless earphone and the mobile terminal is close to the effective communication range of the Bluetooth module is indicated, the wireless earphone and the mobile terminal can carry out alarm prompt at the moment, so that the attention of a user can be attracted, and the problem that the wireless earphone is inaccurate in positioning due to the fact that the distance between the wireless earphone and the mobile terminal is far is avoided.
When the wireless earphone is not worn, the requirement on the function of the wireless earphone is low, and in order to increase the endurance time of the wireless earphone, the wireless earphone can be adjusted to be in a low power consumption mode.
In a specific implementation, when receiving a positioning request sent by a wireless headset, the mobile terminal may send a low power consumption instruction to the wireless headset in addition to sending positioning information to the wireless headset, so that the wireless headset is switched to a low power consumption operating mode.
Taking a wireless earphone provided with a classic Bluetooth module (BR/EDR) and a low-power Bluetooth module (B L E) as an example, when the wireless earphone is in a wearing state, the classic Bluetooth module is in a working state, and the low-power Bluetooth module is in an idle state, and when the wireless earphone receives a low-power instruction sent by a mobile terminal, the low-power Bluetooth module can be adjusted to be in the working state and the classic Bluetooth module to be in the idle state, so that a low-power working mode of the wireless earphone is realized.
According to the change of the wearing state of the wireless earphone, the wireless earphone is adjusted to a low-power-consumption working mode when the wireless earphone is not worn, the endurance time of the wireless earphone can be effectively prolonged, and a powerful guarantee is provided for normal communication between the wireless earphone and the mobile terminal.
Fig. 3 is a schematic structural diagram of a wireless headset positioning apparatus according to an embodiment of the present invention, which is suitable for a mobile terminal, and includes a receiving unit 31, a sending unit 32, a calculating unit 33, and an obtaining unit 34;
the receiving unit 31 is configured to trigger the sending unit 32 to send positioning information to the wireless headset when receiving a positioning request sent by the wireless headset;
the receiving unit 31 is further configured to receive displacement information transmitted by the wireless headset; the displacement information is obtained by calculating the wireless earphone according to the information collected by the inertia measurement component;
a calculating unit 33, configured to calculate current position information of the wireless headset by using the positioning information and the displacement information;
the obtaining unit 34 is configured to obtain a position relationship between the mobile terminal and the wireless headset according to the current position information of the mobile terminal and the current position information of the wireless headset.
Optionally, an alarm unit is further included;
the calculating unit is also used for calculating the relative distance value between the wireless earphone and the mobile terminal according to the current position information of the mobile terminal and the current position information of the wireless earphone;
and the alarm unit is used for giving an alarm prompt when the relative distance value is greater than a preset threshold value.
Optionally, the system further comprises an obtaining unit;
the acquisition unit is used for periodically acquiring the positioning information of the acquisition unit according to a set time interval;
correspondingly, the sending unit is specifically configured to send the latest acquired positioning information to the wireless headset.
Optionally, the sending unit is further configured to send a low power consumption instruction to the wireless headset, so that the wireless headset is switched to the low power consumption operating mode.
The description of the features in the embodiment corresponding to fig. 3 may refer to the related description of the embodiment corresponding to fig. 1, and is not repeated here.
According to the technical scheme, the wireless earphone sends the positioning request to the mobile terminal with communication connection according to the preset condition, and the received positioning information sent by the mobile terminal is used as the initial position information. The wireless earphone can be moved under the condition that a user is unknown, so that the position of the wireless earphone is changed, and the wireless earphone can calculate the displacement information of the wireless earphone according to the information acquired by the inertial measurement component of the wireless earphone; and transmits the displacement information to the mobile terminal. The positioning information reflects the initial position of the wireless earphone, the displacement information reflects the moving distance and the moving direction of the wireless earphone, and the mobile terminal can calculate the current position information of the wireless earphone by using the positioning information and the displacement information; and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone. The user can determine the current position of the wireless earphone quickly through the position relation obtained by the mobile terminal, so that the wireless earphone is searched quickly, and the searching efficiency of the wireless earphone is greatly improved.
Fig. 4 is a schematic structural diagram of a wireless headset positioning device according to an embodiment of the present invention, which is suitable for a wireless headset, and includes a transmitting unit 41, a receiving unit 42, and a calculating unit 43;
a sending unit 41, configured to send a positioning request to a mobile terminal having a communication connection according to a preset condition;
a receiving unit 42, configured to use the received positioning information sent by the mobile terminal as initial position information;
the calculation unit 43 is used for calculating displacement information of the inertial measurement unit according to the information acquired by the inertial measurement unit;
the sending unit 41 is further configured to transmit the displacement information to the mobile terminal, so that the mobile terminal obtains a position relationship between the mobile terminal and the wireless headset according to current position information of the mobile terminal and current position information of the wireless headset.
Optionally, the sending unit is specifically configured to send the positioning request to a mobile terminal with a communication connection when detecting that the mobile terminal is switched from a wearing state to a non-wearing state.
Optionally, an alarm unit is further included;
the calculation unit is also used for calculating the current position information of the calculation unit according to the initial position information and the displacement information; calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the wireless earphone and the acquired current position information of the mobile terminal;
and the alarm unit is used for giving an alarm prompt when the relative distance value is greater than a preset threshold value.
Optionally, the displacement information includes a movement distance and a movement direction;
correspondingly, the calculating unit is specifically used for judging whether the acceleration value acquired by the acceleration sensor exceeds a threshold value; if so, calculating the self moving distance of the wireless earphone according to the acceleration value, the duration of the acceleration value and the angle vector acquired by the gyroscope; and determining the moving direction of the wireless earphone according to the data acquired by the magnetometer.
Optionally, the wireless headset is provided with a classic bluetooth module and a low-power bluetooth module; when the wireless earphone is in a wearing state, the classic Bluetooth module is in a working state, and the low-power-consumption Bluetooth module is in an idle state; the device further comprises an adjusting unit;
and the adjusting unit is used for adjusting the low-power-consumption Bluetooth module to be in a working state and the classic Bluetooth module to be in an idle state when the wireless earphone receives the low-power-consumption instruction sent by the mobile terminal so as to realize a low-power-consumption working mode of the wireless earphone.
The description of the features in the embodiment corresponding to fig. 4 may refer to the related description of the embodiment corresponding to fig. 1, and is not repeated here.
According to the technical scheme, the wireless earphone sends the positioning request to the mobile terminal with communication connection according to the preset condition, and the received positioning information sent by the mobile terminal is used as the initial position information. The wireless earphone can be moved under the condition that a user is unknown, so that the position of the wireless earphone is changed, and the wireless earphone can calculate the displacement information of the wireless earphone according to the information acquired by the inertial measurement component of the wireless earphone; and transmits the displacement information to the mobile terminal. The positioning information reflects the initial position of the wireless earphone, the displacement information reflects the moving distance and the moving direction of the wireless earphone, and the mobile terminal can calculate the current position information of the wireless earphone by using the positioning information and the displacement information; and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone. The user can determine the current position of the wireless earphone quickly through the position relation obtained by the mobile terminal, so that the wireless earphone is searched quickly, and the searching efficiency of the wireless earphone is greatly improved.
Fig. 5 is a schematic structural diagram of a system 50 for positioning a wireless headset according to an embodiment of the present invention, which includes a wireless headset 51 and a mobile terminal 52;
a wireless headset 51 for sending a positioning request to a mobile terminal 52 having a communication connection according to a preset condition; using the received positioning information sent by the mobile terminal 52 as initial position information; calculating displacement information of the inertial measurement unit according to the information acquired by the inertial measurement unit; transmitting the displacement information to the mobile terminal 52, so that the mobile terminal 52 obtains the position relationship between the mobile terminal 52 and the wireless earphone 51 according to the current position information of the mobile terminal 52 and the current position information of the wireless earphone 51;
a mobile terminal 52, configured to send positioning information to the wireless headset 51 when receiving a positioning request sent by the wireless headset 51; receiving displacement information transmitted by the wireless headset 51; wherein, the displacement information is calculated by the wireless earphone 51 according to the information collected by the inertia measurement component; calculating the current position information of the wireless headset 51 by using the positioning information and the displacement information; the position relationship between the mobile terminal 52 and the wireless headset 51 is obtained according to the current position information of the mobile terminal 52 and the current position information of the wireless headset 51.
The method, the device and the system for positioning a wireless headset according to the embodiments of the present invention are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

Claims (11)

1. A wireless headset positioning method is applicable to a mobile terminal, and comprises the following steps:
when a positioning request sent by a wireless earphone is received, positioning information is sent to the wireless earphone;
receiving displacement information transmitted by the wireless earphone; the displacement information is obtained by calculating the wireless earphone according to information collected by an inertia measurement component;
calculating the current position information of the wireless earphone by using the positioning information and the displacement information;
and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
2. The method of claim 1, further comprising, after said calculating current position information of the wireless headset using the positioning information and the displacement information:
calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the mobile terminal and the current position information of the wireless earphone;
and when the relative distance value is larger than a preset threshold value, giving an alarm.
3. The method according to claim 1 or 2, wherein, after said receiving the positioning request sent by the wireless headset, sending positioning information to the wireless headset further comprises:
and sending a low power consumption instruction to the wireless earphone so as to switch the wireless earphone into a low power consumption working mode.
4. A wireless earphone positioning device is characterized in that the device is suitable for a mobile terminal and comprises a receiving unit, a sending unit, a calculating unit and an obtaining unit;
the receiving unit is used for triggering the sending unit to send positioning information to the wireless earphone when receiving a positioning request sent by the wireless earphone;
the receiving unit is also used for receiving the displacement information transmitted by the wireless earphone; the displacement information is obtained by calculating the wireless earphone according to information collected by an inertia measurement component;
the calculating unit is used for calculating the current position information of the wireless earphone by utilizing the positioning information and the displacement information;
the obtaining unit is used for obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
5. A method for wireless headset positioning, the method being adapted for wireless headsets, the method comprising:
sending a positioning request to a mobile terminal with communication connection according to a preset condition;
taking the received positioning information sent by the mobile terminal as initial position information;
calculating displacement information of the inertial measurement unit according to the information acquired by the inertial measurement unit;
and transmitting the displacement information to the mobile terminal so that the mobile terminal can obtain the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
6. The method according to claim 5, wherein said sending a positioning request to a mobile terminal having a communication connection according to a preset condition comprises:
and when detecting that the self is switched from the wearing state to the non-wearing state, sending a positioning request to the mobile terminal with communication connection.
7. The method of claim 5, further comprising, after calculating displacement information of the inertial measurement unit from the information collected by the inertial measurement unit:
calculating the current position information of the mobile terminal according to the initial position information and the displacement information;
calculating a relative distance value between the wireless earphone and the mobile terminal according to the current position information of the wireless earphone and the acquired current position information of the mobile terminal;
and when the relative distance value is larger than a preset threshold value, giving an alarm.
8. The method of claim 5, wherein the displacement information comprises a movement distance and a movement direction;
correspondingly, the calculating of the displacement information of the inertial measurement unit according to the information collected by the inertial measurement unit includes:
judging whether the acceleration value acquired by the acceleration sensor exceeds a threshold value or not;
if so, calculating the self moving distance of the wireless earphone according to the acceleration value, the duration of the acceleration value and the angle vector acquired by the gyroscope;
and determining the moving direction of the wireless earphone according to the data acquired by the magnetometer.
9. The method according to any of claims 5-8, wherein the wireless headset is provided with a classic bluetooth module and a bluetooth low energy module;
when the wireless earphone is in a wearing state, the classic Bluetooth module is in a working state, and the low-power Bluetooth module is in an idle state;
when the wireless earphone receives a low-power-consumption instruction sent by the mobile terminal, the low-power-consumption Bluetooth module is adjusted to be in a working state, and the classic Bluetooth module is in an idle state, so that a low-power-consumption working mode of the wireless earphone is realized.
10. A wireless earphone positioning device is suitable for a wireless earphone and comprises a sending unit, a receiving unit and a calculating unit;
the sending unit is used for sending a positioning request to the mobile terminal with communication connection when detecting that the wearing state of the sending unit is switched to a non-wearing state;
the receiving unit is used for taking the received positioning information sent by the mobile terminal as initial position information;
the calculation unit is used for calculating displacement information of the calculation unit according to the information acquired by the inertia measurement component;
the sending unit is further configured to transmit the displacement information to the mobile terminal, so that the mobile terminal obtains a position relationship between the mobile terminal and the wireless headset according to current position information of the mobile terminal and current position information of the wireless headset.
11. A wireless earphone positioning system is characterized by comprising a wireless earphone and a mobile terminal;
the wireless earphone is used for sending a positioning request to a mobile terminal with communication connection according to a preset condition; taking the received positioning information sent by the mobile terminal as initial position information; calculating displacement information of the inertial measurement unit according to the information acquired by the inertial measurement unit; transmitting the displacement information to the mobile terminal so that the mobile terminal can obtain the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone;
the mobile terminal is used for sending positioning information to the wireless earphone when receiving a positioning request sent by the wireless earphone; receiving displacement information transmitted by the wireless earphone; the displacement information is obtained by calculating the wireless earphone according to information collected by an inertia measurement component; calculating the current position information of the wireless earphone by using the positioning information and the displacement information; and obtaining the position relation between the mobile terminal and the wireless earphone according to the current position information of the mobile terminal and the current position information of the wireless earphone.
CN202010286357.6A 2020-04-13 2020-04-13 Wireless earphone positioning method, device and system Pending CN111417072A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010286357.6A CN111417072A (en) 2020-04-13 2020-04-13 Wireless earphone positioning method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010286357.6A CN111417072A (en) 2020-04-13 2020-04-13 Wireless earphone positioning method, device and system

Publications (1)

Publication Number Publication Date
CN111417072A true CN111417072A (en) 2020-07-14

Family

ID=71494861

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010286357.6A Pending CN111417072A (en) 2020-04-13 2020-04-13 Wireless earphone positioning method, device and system

Country Status (1)

Country Link
CN (1) CN111417072A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104570019A (en) * 2015-01-28 2015-04-29 锤子科技(北京)有限公司 Location reminding method and user client
CN105561566A (en) * 2015-12-23 2016-05-11 木牙(天津)科技有限公司 Child sport accompanying time statistical system and method
US20160187129A1 (en) * 2014-12-31 2016-06-30 Qualcomm Incorporated Mobile device in-vehicle localization using inertial sensors
CN106705961A (en) * 2015-11-16 2017-05-24 华为终端(东莞)有限公司 Positioning method and equipment
CN109688533A (en) * 2018-11-22 2019-04-26 歌尔科技有限公司 A kind of wearable device localization method, device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160187129A1 (en) * 2014-12-31 2016-06-30 Qualcomm Incorporated Mobile device in-vehicle localization using inertial sensors
CN104570019A (en) * 2015-01-28 2015-04-29 锤子科技(北京)有限公司 Location reminding method and user client
CN106705961A (en) * 2015-11-16 2017-05-24 华为终端(东莞)有限公司 Positioning method and equipment
CN105561566A (en) * 2015-12-23 2016-05-11 木牙(天津)科技有限公司 Child sport accompanying time statistical system and method
CN109688533A (en) * 2018-11-22 2019-04-26 歌尔科技有限公司 A kind of wearable device localization method, device and storage medium

Similar Documents

Publication Publication Date Title
KR101445715B1 (en) Location information decision method in integrated terminal
KR101735832B1 (en) Method and apparatus for communicating using speed of user equipment in wireless communication system
CN104661180B (en) The method of adjustment and terminal of a kind of location frequency
CN105101404B (en) Localization method, device and terminal
US20140162701A1 (en) Mobile device location finder
US8521148B1 (en) Method of reducing power consumption within a portable communication device
JP2011504578A (en) Mobile terminal and method for adjusting power on / off of GPS positioning circuit
JP2012507701A (en) Location determination system and method in a building
JP2007020074A (en) Mobile radio station and communication parameter control method thereof
US20210144786A1 (en) Location source control
JPWO2008099736A1 (en) Portable terminal device and positioning result acquisition interval setting method thereof
KR101104591B1 (en) apparatus for tracking position using sensors mounted in the mobile phone and method for tracking thereof
CN102193099A (en) Positioning terminal and server
EP3269050B1 (en) Methods of antenna selection based on movement/orientation, and related wireless electronic devices
WO2017197578A1 (en) Portable electronic device and positioning method
JP6804130B2 (en) Shooting direction deviation detection method, device, device and storage medium
CN111954198A (en) Intelligent device searching method and device and charging seat
CN107835304B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
KR101899661B1 (en) System for indoor location estimation of moving beacon and method thereof
CN105338495A (en) Short-distance wireless communication positioning and tracking device and tracking method thereof
CN111417072A (en) Wireless earphone positioning method, device and system
CN107835948B (en) Positioning method and device
JP6444023B2 (en) Terminal device, positioning method and program
JP6152336B2 (en) Mobile terminal, location information transmission method and program
Oshin et al. A method to evaluate the energy-efficiency of wide-area location determination techniques used by smartphones

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: 20200714