Positioning method of electronic equipment and earphone

By transmitting Bluetooth signals from electronic devices and using master-slave earphones to receive signals to determine the location of the device, it solves the problem of low accuracy of GPS positioning in specific scenarios and realizes precise positioning and rapid positioning of devices in complex scenarios.

CN119342378APending Publication Date: 2025-01-21GEER INTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411391325.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the prior art, GPS positioning technology has low positioning accuracy in specific scenarios, and cannot quickly locate when the mobile phone is lost or stolen.

Method used

The electronic device emits a Bluetooth signal when the positioning function is turned on. The master earphone and the slave earphone respectively receive and determine the relative position of the electronic device relative to itself. The actual position of the electronic device is determined by comparing whether the two positions coincide.

Benefits of technology

It achieves secondary precise positioning of electronic devices without relying on external networks or satellite signals. It is suitable for positioning needs in complex scenarios and can quickly find devices when they are lost or stolen.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342378A_ABST
    Figure CN119342378A_ABST
Patent Text Reader

Abstract

The invention discloses a positioning method of electronic equipment and earphones, the method is applied to the earphones, the earphones comprise a main earphone and a slave earphone, under the condition that the positioning function of the electronic equipment is started, the electronic equipment transmits Bluetooth signals, the main earphone and the slave earphone receive the Bluetooth signals transmitted by the electronic equipment respectively, and the Bluetooth signals are transmitted to the main earphone and the slave earphone. The slave earphone also receives the Bluetooth signal forwarded by the master earphone, and the method comprises the following steps: determining a first relative position of the electronic equipment relative to the master earphone according to the Bluetooth signal transmitted by the electronic equipment and received by the master earphone; determining a second relative position of the electronic equipment relative to the slave earphone according to a Bluetooth signal transmitted by the electronic equipment and received by the slave earphone; determining whether a first spatial position corresponding to the first relative position coincides with a second spatial position corresponding to the second relative position; and taking at least one of the first relative position and the second relative position as the actual position of the electronic equipment under the condition that the first spatial position and the second spatial position are overlapped.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of positioning of electronic devices, and more specifically, to a positioning method of electronic devices and a headset. Background Art

[0002] With the popularity of smartphones, people are increasingly relying on mobile phones for various daily activities, such as navigation, social networking, and payment. However, in certain specific scenarios, such as indoors and in underground garages, GPS positioning technology may not be able to provide accurate mobile phone positioning information, thereby affecting the use of positioning-related mobile phone functions, such as the use of navigation functions, which in turn leads to a decline in user experience. In addition, when a mobile phone is lost or stolen, users cannot quickly find the location of the phone through existing anti-loss methods. Summary of the invention

[0003] An object of an embodiment of the present invention is to provide a new technical solution for positioning electronic devices to solve the problem that the GPS positioning technology in the prior art has low positioning accuracy in specific scenarios and cannot quickly locate a mobile phone when it is lost or stolen.

[0004] According to a first aspect of the present invention, a positioning method for an electronic device is provided, which is applied to a headset, wherein the headset comprises a master headset and a slave headset. When a positioning function of the electronic device is turned on, the electronic device transmits a Bluetooth signal, the master headset and the slave headset respectively receive the Bluetooth signal transmitted by the electronic device, and the slave headset also receives the Bluetooth signal forwarded by the master headset. The method comprises:

[0005] Determine a first relative position of the electronic device relative to the main earphone according to the Bluetooth signal transmitted by the electronic device and received by the main earphone;

[0006] Determining a second relative position of the electronic device relative to the slave earphone according to the Bluetooth signal transmitted by the electronic device and received by the slave earphone;

[0007] determining whether a first spatial position corresponding to the first relative position and a second spatial position corresponding to the second relative position overlap;

[0008] In the case where the first spatial position and the second spatial position coincide with each other, at least one of the first relative position and the second relative position is used as the actual position of the electronic device.

[0009] Optionally, determining a first relative position of the electronic device with respect to the master earphone according to a Bluetooth signal transmitted by the electronic device and received by the master earphone comprises:

[0010] Determine a first distance radius between the electronic device and the master headset according to the signal strength of the Bluetooth signal received by the master headset;

[0011] Determining a first propagation direction of the Bluetooth signal between the master headset and the electronic device according to a time delay difference of the master headset receiving the Bluetooth signal;

[0012] A first relative position of the electronic device relative to the primary earphone is determined according to the first distance radius and the first propagation direction.

[0013] Optionally, determining a second relative position of the electronic device with respect to the slave earphone according to the Bluetooth signal transmitted by the electronic device and received by the slave earphone comprises:

[0014] Determining a second distance radius between the electronic device and the slave earphone according to the signal strength of the Bluetooth signal received by the slave earphone;

[0015] Determining a second propagation direction of the Bluetooth signal between the electronic device and the slave earphone according to a time delay difference of receiving the Bluetooth signal by the slave earphone;

[0016] A second relative position of the electronic device with respect to the slave earphone is determined according to the second distance radius and the second propagation direction.

[0017] Optionally, determining whether a first spatial position corresponding to the first relative position and a second spatial position corresponding to the second relative position overlap includes:

[0018] Determine a reference earphone distance between the master earphone and the slave earphone according to the Bluetooth signal sent by the master earphone and received by the slave earphone;

[0019] determining an estimated headphone distance between the master headphone and the slave headphone according to the first relative position and the second relative position;

[0020] When the reference earphone distance is equal to the estimated earphone distance, determining that the first spatial position and the second spatial position coincide with each other;

[0021] When the reference earphone distance is not equal to the estimated earphone distance, it is determined that the first spatial position and the second spatial position do not overlap.

[0022] Optionally, determining a reference earphone distance between the master earphone and the slave earphone according to the Bluetooth signal sent by the master earphone and received by the slave earphone includes:

[0023] A reference earphone distance is determined according to the signal strength of the Bluetooth signal sent by the master earphone and received by the slave earphone.

[0024] Optionally, after determining whether a first spatial position corresponding to the first relative position and a second spatial position corresponding to the second relative position coincide with each other, the method further includes:

[0025] In the case where the first spatial position and the second spatial position do not overlap, the parameter value in the estimated headphone distance is corrected according to the reference headphone distance so that the estimated headphone distance is equal to the reference headphone distance; wherein the parameter value of the estimated headphone distance includes the parameter values ​​corresponding to the first relative position and the second relative position;

[0026] When the corrected estimated earphone distance is equal to the reference earphone distance, determining a corrected first relative position and / or a corrected second relative position according to a parameter value of the corrected estimated earphone distance;

[0027] At least one of the corrected first relative position and the corrected second relative position is used as the actual position of the electronic device.

[0028] Optionally, the method further comprises:

[0029] Receiving a first trigger operation of the user on the headset;

[0030] Receive trigger voice input by the user;

[0031] In response to the first trigger operation and the trigger voice, a positioning function activation instruction is sent to the electronic device; wherein the positioning function activation instruction is used to trigger the electronic device to activate the positioning function.

[0032] Optionally, the method further comprises:

[0033] When the positioning function of the electronic device is turned on, receiving a second trigger operation of the user on the headset;

[0034] In response to the second trigger operation, a positioning instruction is sent to the electronic device; wherein the positioning instruction is used to trigger the electronic device to transmit a Bluetooth signal.

[0035] Optionally, after determining the actual position of the electronic device, the method further includes:

[0036] Outputting location guidance information according to the actual location of the electronic device.

[0037] According to a second aspect of the present invention, there is further provided a headset, comprising a memory and a processor, wherein the memory is used to store executable instructions; and the processor is used to operate according to the control of the instructions to execute the method as described in the first aspect of the present invention.

[0038] One of the beneficial effects of the present invention is that, when the positioning function is turned on, the electronic device transmits a Bluetooth signal, and then determines the first relative position and the second relative position according to the Bluetooth signal transmitted by the electronic device received by the master and slave earphones, and determines whether the first spatial position corresponding to the first relative position and the second spatial position corresponding to the second relative position overlap, that is, determines whether the positioning of the master earphone and the slave earphone meets the positioning accuracy requirements, and when the first spatial position and the second spatial position overlap, at least one of the first relative position and the second relative position is used as the actual position of the electronic device. This method can be used to perform secondary positioning of the electronic device based on the earphone, and the positioning accuracy is determined by whether the first spatial position and the second spatial position overlap, so that the secondary accurate positioning of the electronic device can be achieved without relying on an external network or satellite signal, and is suitable for the positioning needs of electronic devices in various complex scenarios such as indoors and underground garages. In addition, this positioning method can quickly find the electronic device by positioning the electronic device through the earphone in the scenario where the electronic device such as a mobile phone is lost or stolen. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0040] Figure 1 is a schematic diagram of the hardware structure of a positioning system for an electronic device according to an embodiment of the present invention;

[0041] Figure 2 is a schematic flow chart of a method for positioning an electronic device according to an embodiment of the present invention;

[0042] Figure 3 is a schematic flow chart of a method for locating an electronic device according to an example of the present invention;

[0043] Figure 4 2 is a schematic diagram of the structure of an earphone according to an embodiment of the present invention. DETAILED DESCRIPTION

[0044] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0045] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0046] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0047] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0048] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0049] <Hardware Configuration>

[0050] Figure 1 is a block diagram of a hardware configuration of a positioning system 100 for an electronic device according to an embodiment of the present invention.

[0051] like Figure 1 As shown, the positioning system 100 for an electronic device includes an electronic device 1000 , a master earphone 2000 , and a slave earphone 3000 .

[0052] The electronic device 1000 may be a mobile phone, a laptop computer, a PC, etc., which is not limited here.

[0053] When the positioning function is turned on, the electronic device 1000 can transmit a Bluetooth signal of a specific frequency.

[0054] In this embodiment, refer to Figure 1 As shown, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like.

[0055] The processor 1100 may be a mobile version processor. The memory 1200 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1300 may include, for example, a USB interface, a headphone interface, etc. The communication device 1400 may, for example, be capable of wired or wireless communication. The communication device 1400 may include a short-range communication device, for example, any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 1400 may also include a remote communication device, for example, any device for WLAN, GPRS, 2G / 3G / 4G / 5G remote communication. The display device 1500 may be, for example, a liquid crystal display, a touch display, etc., and the display device 1500 is used to display a real-time image captured by a camera device. The input device 1600 may include, for example, a touch screen, a keyboard, etc. The user may input / output voice information through a speaker 1700 and a microphone 1800.

[0056] In this embodiment, the memory 1200 of the electronic device 1000 is used to store instructions, and the instructions are used to control the processor 1100 to operate to at least perform the method performed by the electronic device according to any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0057] Despite Figure 1 Multiple devices of the electronic device 1000 are shown, but the present invention may only involve some of the devices, for example, the electronic device 1000 only involves the memory 1200, the processor 1100 and the display device 1500, or the electronic device 1000 only involves the memory 1200 and the processor 1100.

[0058] The master earphone 2000 is connected to the electronic device 1000 for communication, and can receive the Bluetooth signal transmitted by the electronic device 1000, and send the received Bluetooth signal to the slave earphone 3000. The master earphone 2000 can also control the electronic device 1000 to start the positioning function.

[0059] In some embodiments, the master headset 2000 may include a processor 2100 and a memory 2200 .

[0060] In this embodiment, refer to Figure 1 As shown, the master earphone 2000 may include a processor 2100, a memory 2200, a communication device 2300, a microphone 2400, and the like.

[0061] The processor 2100 may be a mobile version processor. The memory 2200 includes, for example, ROM (read-only memory), RAM (random access memory), non-volatile memory such as a hard disk, etc. The communication device 2300 is capable of, for example, wired or wireless communication. The communication device 2300 may include a short-range communication device, such as any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 2300 may also include a long-range communication device, such as any device for WLAN, GPRS, 2G / 3G / 4G / 5G long-range communication. The microphone 2400 is used to input / output voice information.

[0062] In this embodiment, the memory 2200 of the master headset 2000 is used to store instructions, and the instructions are used to control the processor 2100 to operate to at least execute the method performed by the master headset 2000 according to any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0063] Despite Figure 1 , multiple devices of the master headset 2000 are shown, but the present invention may only involve some of the devices, for example, the master headset 2000 only involves the memory 2200 and the processor 2100.

[0064] The slave earphone 3000 is connected to the electronic device 1000 for communication, and can receive the Bluetooth signal transmitted by the electronic device 1000 . The slave earphone 3000 is connected to the master earphone 2000 for communication, and can receive the Bluetooth signal forwarded by the master earphone 2000 .

[0065] In some embodiments, the slave headset 3000 may include a processor 3100 and a memory 3200 .

[0066] In this embodiment, refer to Figure 1 As shown, the slave earphone 3000 may include a processor 3100, a memory 3200, a communication device 3300, a microphone 3400, and the like.

[0067] The processor 3100 may be a mobile version processor. The memory 3200 may include, for example, ROM (read-only memory), RAM (random access memory), non-volatile memory such as a hard disk, etc. The communication device 3300 may, for example, be capable of wired or wireless communication. The communication device 3300 may include a short-range communication device, such as any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 3300 may also include a long-range communication device, such as any device for WLAN, GPRS, 2G / 3G / 4G / 5G long-range communication. The microphone 3400 inputs / outputs voice information.

[0068] In this embodiment, the memory 3200 of the slave headset 3000 is used to store instructions, and the instructions are used to control the processor 3100 to operate to at least execute the method performed by the slave headset 2000 according to any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0069] Despite Figure 1 , multiple devices of the slave earphone 3000 are shown; however, the present invention may only involve some of the devices, for example, the slave earphone 3000 only involves the memory 3200 and the processor 3100.

[0070] <Method Example>

[0071] Figure 2 It is a flow chart of a positioning method of an electronic device according to an embodiment of the present invention. The method is applied to headphones, and the headphones include a master headphone 2000 and a slave headphone 3000. When the positioning function of the electronic device 1000 is not turned on, the master headphone is connected to the electronic device for communication, and the slave headphone is connected to the master headphone for communication. When the positioning function of the electronic device 1000 is turned on, the electronic device is connected to the master headphone and the slave headphone for communication respectively, the electronic device 1000 transmits a Bluetooth signal, and the master headphone 2000 and the slave headphone 3000 receive the Bluetooth signal transmitted by the electronic device 1000 respectively. In addition, the master headphone 2000 can also send the received Bluetooth signal to the slave headphone 3000, that is, the slave headphone 3000 also receives the Bluetooth signal forwarded via the master headphone 2000.

[0072] according to Figure 2 As shown, the positioning method of the electronic device in this embodiment may include the following steps S2100 to S2400:

[0073] Step S2100: The master earphone determines a first relative position of the electronic device relative to the master earphone according to a Bluetooth signal transmitted by the electronic device and received by the master earphone.

[0074] In this embodiment, the main earphone can determine the distance between the main earphone and the electronic device according to the Bluetooth signal, and can also determine the propagation direction of the Bluetooth signal between the main earphone and the electronic device according to the Bluetooth signal.

[0075] There are various ways to determine the distance between the host headset and the electronic device based on the Bluetooth signal.

[0076] In one example, the first distance radius between the main headset and the electronic device can be determined based on the signal attenuation model and the RSSI (Received Signal Strength Indicator) value. Among them, the RSSI value is an indicator to measure the strength of the Bluetooth signal, and its value reflects the attenuation of the Bluetooth signal during the transmission process. The signal attenuation model reflects the relationship between the Bluetooth signal strength and the transmission distance. Therefore, by measuring the signal strength (RSSI value) of the Bluetooth signal, and then using the signal attenuation model, the RSSI value can be converted into a distance value, and the distance value is the first distance radius.

[0077] In another example, the distance may be determined by Channel Sounding (CS), which estimates the distance by measuring the phase difference between radio signals and / or the flight time of radio signals.

[0078] Those skilled in the art should understand that the method for determining the distance between the primary earphone and the electronic device is not specifically limited here.

[0079] Exemplarily, the method of determining the propagation direction of the Bluetooth signal between the main headset and the electronic device based on the Bluetooth signal can be through the angle of arrival (AoA) technology. In the AoA method, the main headset acts as a receiving device and receives signals from the electronic device through multiple antennas arranged in an array. Due to the distance between the antennas of the antenna array, there will be slight differences in the time it takes for the Bluetooth signal to arrive at each antenna, and this time difference leads to a difference in phase. By measuring these phase differences, the main headset can calculate the angle of arrival of the Bluetooth signal, thereby determining the orientation of the electronic device relative to the main headset.

[0080] In some embodiments, in step S2100, the master earphone determines the first relative position of the electronic device with respect to the master earphone according to the Bluetooth signal transmitted by the electronic device and received by the master earphone, including: steps S2101 to S2103.

[0081] Step S2101: Determine a first distance radius between the electronic device and the master headset according to the signal strength of the Bluetooth signal received by the master headset.

[0082] In this embodiment, the Bluetooth signal strength indication (RSSI, Received Signal Strength Indication) is based on the fact that when the Bluetooth signal propagates in the air, its strength will attenuate as the distance increases. This attenuation usually conforms to a certain law, which can be reflected by a model, such as a free space path loss model or a multipath fading model. On this basis, the main headset can estimate the first distance radius between the electronic device and the main headset by measuring the received Bluetooth signal strength.

[0083] It should be noted that the position of the electronic device estimated by RSSI technology can be located at any position on the circumference of the first distance radius from the main earphone. If the specific position of the electronic device needs to be determined, the direction of the electronic device relative to the main earphone also needs to be determined.

[0084] Step S2102: determining a first propagation direction of the Bluetooth signal between the master headset and the electronic device according to a time delay difference of the master headset receiving the Bluetooth signal.

[0085] In this embodiment, an antenna array is provided in the master earphone. When the master earphone receives a Bluetooth signal transmitted by an electronic device, there will be slight differences in the time it takes for the Bluetooth signal to reach each antenna. This time difference leads to a difference in phase. The phase difference and time difference can be collectively referred to as a delay difference. Therefore, the master earphone can calculate the arrival angle of the Bluetooth signal by measuring these phase differences or time differences. The arrival angle refers to the angle between the plane where the master earphone is located and the propagation direction of the Bluetooth signal, indicating the orientation of the electronic device relative to the master earphone, that is, the first propagation direction.

[0086] Step S2103: determining a first relative position of the electronic device relative to the primary earphone according to the first distance radius and the first propagation direction.

[0087] For example, the first distance radius between the electronic device and the primary earphone is L1, and the first propagation direction is α1, so the first relative position of the electronic device relative to the primary earphone can be determined.

[0088] Step S2200: The slave earphone determines a second relative position of the electronic device with respect to the slave earphone according to the Bluetooth signal transmitted by the electronic device and received by the slave earphone.

[0089] In this embodiment, the Bluetooth signal transmitted by the electronic device and received by the slave earphone is a Bluetooth signal directly sent by the electronic device to the slave earphone, rather than a Bluetooth signal forwarded via the master earphone.

[0090] The slave earphone can determine the distance between the slave earphone and the electronic device according to the Bluetooth signal, and can also determine the propagation direction of the Bluetooth signal between the slave earphone and the electronic device according to the Bluetooth signal.

[0091] In some embodiments, in step S2200, the slave earphone determines the second relative position of the electronic device with respect to the slave earphone according to the Bluetooth signal transmitted by the electronic device and received by the slave earphone, including steps S2201 to S2203.

[0092] Step S2201: Determine a second distance radius between the electronic device and the slave earphone according to the signal strength of the Bluetooth signal received by the slave earphone.

[0093] In this embodiment, the slave earphone receives the Bluetooth signal transmitted by the electronic device, and determines the second distance radius between the electronic device and the slave earphone by using the RSSI value. The method of determining the second distance radius by using the RSSI value is the same as the method of determining the first distance radius by using the RSSI value of the master earphone, which will not be repeated here.

[0094] Step S2202: determining a second propagation direction of the Bluetooth signal between the electronic device and the slave earphone according to the time delay difference of receiving the Bluetooth signal from the slave earphone.

[0095] In this embodiment, the slave earphone determines the arrival angle of the Bluetooth signal based on the delay difference (time difference or phase difference) of the Bluetooth signal transmitted by the electronic device and received by each antenna in the antenna array of the earphone. The arrival angle refers to the angle between the plane where the slave earphone is located and the propagation direction of the Bluetooth signal, indicating the orientation of the electronic device relative to the slave earphone, that is, the second propagation direction.

[0096] It should be noted that the method in which the slave earphone determines the second propagation direction through the AoA technology is the same as the method in which the master earphone determines the first propagation direction through the AoA technology, which will not be elaborated here.

[0097] Step S2203: Determine a second relative position of the electronic device with respect to the slave earphone according to the second distance radius and the second propagation direction.

[0098] For example, the second distance radius between the electronic device and the slave earphone is L2, and the second propagation direction is α2, so the first relative position of the electronic device relative to the master earphone can be determined.

[0099] Step S2300: Determine whether a first spatial position corresponding to the first relative position and a second spatial position corresponding to the second relative position overlap.

[0100] In this embodiment, the execution subject of step S2300 can be a slave headset or a master headset. When the execution subject of this step is a slave headset, after determining the first relative position of the electronic device relative to the master headset, the master headset can send the first relative position information to the slave headset for use by the slave headset when executing step S2300.

[0101] The first spatial position may be determined according to the spatial position of the main earphone and the first relative position of the electronic device relative to the main earphone.

[0102] The second spatial position may be determined according to the spatial position of the slave earphone and a second relative position of the electronic device relative to the slave earphone.

[0103] The spatial position of the master earphone and the spatial position of the slave earphone can be determined by a positioning device of the earphone.

[0104] The position coordinates of the first spatial position and the position coordinates of the second spatial position are equal, that is, it is considered that the first spatial position and the second spatial position coincide with each other.

[0105] In some embodiments, the headphone distance between the master earphone and the slave earphone can be estimated based on the first relative position and the second relative position, and then whether the first spatial position and the second spatial position coincide with each other can be determined based on whether the reference headphone distance between the master earphone and the slave earphone is equal to the estimated headphone distance.

[0106] Based on this, determining in step S2300 whether the first spatial position corresponding to the first relative position and the second spatial position corresponding to the second relative position overlap includes: steps S2301 to S2304.

[0107] Step S2301: Determine a reference earphone distance between the master earphone and the slave earphone according to the Bluetooth signal sent by the master earphone and received by the slave earphone.

[0108] In this embodiment, the slave earphone may determine a reference earphone distance between the master earphone and the slave earphone based on the signal strength or signal arrival time of the received Bluetooth signal sent by the master earphone, which is recorded as L3.

[0109] Those skilled in the art should understand that the method of determining the transmission distance based on the signal strength or the signal arrival time is well known in the art and will not be elaborated here.

[0110] In some embodiments, determining a reference earphone distance between the master earphone and the slave earphone according to the Bluetooth signal sent by the master earphone and received by the slave earphone comprises:

[0111] A reference earphone distance is determined according to the signal strength of the Bluetooth signal sent by the master earphone and received by the slave earphone.

[0112] In this embodiment, the method of determining the reference earphone distance based on the signal strength of the Bluetooth signal sent by the main earphone received from the earphone is the same as the method of determining the first distance radius in step S2201 and the method of determining the second distance radius in step S2301, which will not be repeated here.

[0113] Step S2302: Determine an estimated headphone distance between the master headphone and the slave headphone according to the first relative position and the second relative position.

[0114] In this embodiment, the first relative position of the electronic device relative to the master earphone may be a position at a distance of L1 from the master earphone and at an angle of α1 to the plane where the master earphone is located. The second relative position of the electronic device relative to the slave earphone may be a position at a distance of L2 from the slave earphone and at an angle of α2 to the plane where the slave earphone is located. Based on the above L1, α1, L2, and α2, the earphone distance between the master earphone and the slave earphone is estimated. The estimated earphone distance can be expressed as: L1*cosα1+L2*cosα2.

[0115] Step S2303: When the reference earphone distance is equal to the estimated earphone distance, determine that the first spatial position and the second spatial position overlap.

[0116] In this embodiment, the positioning is considered to be accurate if the first spatial position and the second spatial position coincide with each other.

[0117] Step S2304: When the reference earphone distance is not equal to the estimated earphone distance, determine that the first spatial position and the second spatial position do not overlap.

[0118] After executing step S2300, step S2400 is executed, in which, when the first spatial position and the second spatial position coincide with each other, at least one of the first relative position and the second relative position is used as the actual position of the electronic device.

[0119] For example, the first relative position of the electronic device relative to the main earphone is taken as the actual position of the electronic device.

[0120] In some embodiments, after executing step S2300, the method further includes: steps S3100 to S3300.

[0121] Step S3100: When the first spatial position and the second spatial position do not overlap, the parameter value in the estimated headphone spacing is corrected according to the reference headphone spacing so that the estimated headphone spacing is equal to the reference headphone spacing.

[0122] In this embodiment, according to the reference headphone distance L3, at least one parameter value of the parameter values ​​L1, α1, L2, α2 in the estimated headphone distance is adjusted to make the estimated headphone distance L1*cosα1+L2*cosα2 equal to the reference headphone distance L3.

[0123] In some examples, adjusting the parameter values ​​in the estimated headphone distance may be adjusting the distance values ​​L1, L2, or adjusting the angle values ​​α1, α2, or adjusting the distance values ​​L1, L2 and the angle values ​​α1, α2 simultaneously.

[0124] Among them, L1 and α1 are parameter values ​​corresponding to the first relative position, and L2 and α2 are parameter values ​​corresponding to the second relative position, that is, the parameter values ​​for estimating the earphone distance include the parameter values ​​corresponding to the first relative position and the second relative position.

[0125] The estimated earphone distance is the earphone distance between the master earphone and the slave earphone estimated according to the first relative position and the second relative position.

[0126] It should be noted that the reference earphone distance is determined by the earphone according to the Bluetooth signal sent by the main earphone received by the earphone, and the estimated earphone distance is determined based on the first relative position and the second relative position, see the above method embodiment for details.

[0127] Step S3200: When the corrected estimated earphone spacing is equal to the reference earphone spacing, determine the corrected first relative position and / or the corrected second relative position according to the parameter value of the corrected estimated earphone spacing.

[0128] In this embodiment, the corrected L1 and α1 are the corrected first relative position, and the corrected L2 and α2 are the corrected second relative position.

[0129] Step S3300: taking at least one of the corrected first relative position and the corrected second relative position as the actual position of the electronic device.

[0130] According to an embodiment of the present application, when the first spatial position and the second spatial position do not overlap, the parameter value in the estimated headphone spacing is corrected according to the reference headphone spacing to make the estimated headphone spacing equal to the reference headphone spacing. When the corrected estimated headphone spacing is equal to the reference headphone spacing, the corrected first relative position and / or the corrected second relative position is determined according to the parameter value of the corrected estimated headphone spacing, and at least one of the corrected first relative position and the corrected second relative position is used as the actual position of the electronic device, thereby improving the accuracy of positioning the electronic device based on the headphones.

[0131] In some embodiments, in order to avoid the user's mistaken operation triggering the activation of the positioning function, which would reduce the user experience, the embodiment of the present application provides a mechanism for triggering the activation of the positioning function by combining gesture triggering and voice triggering, that is, the method also includes: step S4100 to step S4300.

[0132] Step S4100: receiving a first trigger operation of the user on the headset.

[0133] In this embodiment, the first trigger operation may be a preset operation for triggering the activation of the positioning function of the electronic device, for example, long pressing the master and slave earphones simultaneously for 10 seconds.

[0134] Those skilled in the art should understand that the first trigger operation may also be other gesture operations, which is not limited here.

[0135] Step S4200, receiving a trigger voice input by a user.

[0136] In this embodiment, the triggering voice may be a preset voice for triggering the activation of the positioning function of the electronic device, for example, a voice of "activate the positioning function".

[0137] Those skilled in the art should understand that the trigger voice may also be other voices, which is not limited here.

[0138] The first trigger operation and the trigger voice can be set independently according to the user's usage habits, or set by the system default of the electronic device, and are not limited here.

[0139] Step S4300: In response to the first trigger operation and the trigger voice, a positioning function activation instruction is sent to the electronic device.

[0140] In this embodiment, after the headset receives the first trigger operation and the trigger voice at the same time, it sends a positioning function activation instruction to the electronic device. The positioning function activation instruction is used to trigger the electronic device to activate the positioning function. That is to say, when the first trigger operation or the trigger voice is received, the headset does not send the positioning function activation instruction to the electronic device. When the electronic device receives the positioning function activation instruction sent by the headset, it transmits a Bluetooth signal.

[0141] In some embodiments, in order to reduce power consumption of the electronic device, when the positioning function of the electronic device is turned on, the electronic device does not transmit a Bluetooth signal. After receiving a positioning instruction sent by the headset, the electronic device transmits a Bluetooth signal.

[0142] Based on this, the method further includes: step S5100 to step S5200.

[0143] Step S5100: When the positioning function of the electronic device is turned on, receiving a second trigger operation of the user on the headset.

[0144] In this embodiment, the second trigger operation may be a preset operation for triggering the headset to send a positioning instruction to the electronic device. For example, the second trigger operation may be an operation of long pressing the main headset 10S.

[0145] Step S5200: In response to the second trigger operation, a positioning instruction is sent to the electronic device.

[0146] In this embodiment, after receiving the second trigger operation, the headset sends a positioning instruction to the electronic device in response to the second trigger operation. The positioning instruction can be used to trigger the electronic device to transmit a Bluetooth signal once, or to trigger the electronic device to continuously transmit a Bluetooth signal, which is not limited here. The headset can locate the electronic device based on the Bluetooth signal transmitted by the electronic device.

[0147] In some embodiments, after determining the actual location of the electronic device, the method further includes:

[0148] Outputting location guidance information according to the actual location of the electronic device.

[0149] In some examples, the actual position of the electronic device may be a first relative position of the electronic device relative to the main earphone. In this case, the position guidance information may be guidance information determined based on the first relative position.

[0150] In other embodiments, the actual position of the electronic device may be a corrected second relative position of the electronic device relative to the headset. In this case, the position guidance information may be guidance information determined based on the corrected second relative position.

[0151] In some other examples, when the positioning function of the electronic device is turned on, once the headset sends a positioning instruction to the electronic device, the electronic device will continue to transmit Bluetooth signals, and the headset will also determine the real-time relative position of the electronic device based on the Bluetooth signal. The headset gives different prompt sounds based on the changes in the real-time relative position of the electronic device, such as when approaching or moving away from the electronic device, so as to guide the user.

[0152] The location guidance information may be a sound prompt.

[0153] Outputting location guidance information according to the actual location of the electronic device can help users quickly find the electronic device.

[0154] According to an embodiment of the present application, when the positioning function is turned on, the electronic device transmits a Bluetooth signal, and then determines the first relative position and the second relative position according to the Bluetooth signal transmitted by the electronic device received by the master and slave earphones, and determines whether the first spatial position corresponding to the first relative position and the second spatial position corresponding to the second relative position overlap, that is, determines whether the positioning of the master earphone and the slave earphone meets the positioning accuracy requirements, and when the first spatial position and the second spatial position overlap, at least one of the first relative position and the second relative position is used as the actual position of the electronic device. This method can be used to perform secondary positioning of the electronic device based on the earphone, and the positioning accuracy is determined by whether the first spatial position and the second spatial position overlap, so that the secondary accurate positioning of the electronic device can be achieved without relying on an external network or satellite signal, and is suitable for the positioning needs of electronic devices in various complex scenarios such as indoors and underground garages. In addition, this positioning method can quickly find the electronic device by positioning the electronic device through the earphone in the scenario where the electronic device such as a mobile phone is lost or stolen.

[0155] <Example>

[0156] Figure 3 FIG. 1 is a flow chart of a method for locating an electronic device according to an example of the present invention. Figure 3 As shown, the positioning method of the electronic device in this example includes steps S1 to S15. The method is applied to headphones, and the headphones include a master headphone and a slave headphone.

[0157] Step S1: The headset receives a first trigger operation of the user on the headset.

[0158] In this example, the first trigger operation is to long press the master and slave earphones for 10 seconds.

[0159] Step S2: The earphone receives a triggering voice input by the user.

[0160] Step S3: the headset sends a positioning function activation instruction to the electronic device in response to the first trigger operation and the trigger voice.

[0161] In this example, the positioning function activation instruction is used to trigger the electronic device to activate the positioning function.

[0162] Step S4: when the positioning function of the electronic device is turned on, the headset receives a second triggering operation of the user on the headset.

[0163] In this example, the second trigger operation may be, for example, a single-machine main headset.

[0164] Step S5: The headset sends a positioning instruction to the electronic device in response to the second trigger operation.

[0165] In this example, the positioning instruction is used to trigger the electronic device to transmit a Bluetooth signal.

[0166] Step S6: The master earphone determines a first relative position of the electronic device with respect to the master earphone according to the Bluetooth signal transmitted by the electronic device and received by the master earphone.

[0167] Step S7: the slave earphone determines a second relative position of the electronic device relative to the slave earphone according to the Bluetooth signal transmitted by the electronic device and received by the slave earphone.

[0168] It should be noted that the specific execution of step S6 and step S7 refers to the above method embodiment and will not be elaborated here.

[0169] Step S8, the slave earphone determines a reference earphone distance between the master earphone and the slave earphone according to the Bluetooth signal sent by the master earphone and received by the slave earphone.

[0170] Step S9: determining an estimated headphone distance between the master headphone and the slave headphone according to the first relative position and the second relative position.

[0171] Step S10, whether the reference earphone distance is equal to the estimated earphone distance; if so, execute step S11, if not, execute step S12.

[0172] Step S11: taking at least one of the first relative position and the second relative position as the actual position of the electronic device.

[0173] Step S12: According to the reference earphone spacing, the parameter value in the estimated earphone spacing is corrected to make the estimated earphone spacing equal to the reference earphone spacing.

[0174] In this example, the parameter value for estimating the earphone distance includes parameter values ​​corresponding to the first relative position and the second relative position.

[0175] Step S13, when the corrected estimated earphone distance is equal to the reference earphone distance, determine the corrected first relative position and / or the corrected second relative position according to the parameter value of the corrected estimated earphone distance.

[0176] Step S14: taking at least one of the corrected first relative position and the corrected second relative position as the actual position of the electronic device.

[0177] Step S15: outputting location guidance information according to the actual location of the electronic device.

[0178] According to an embodiment of the present application, when the positioning function is turned on, the electronic device transmits a Bluetooth signal, and then determines the first relative position and the second relative position according to the Bluetooth signal transmitted by the electronic device received by the master and slave earphones, and determines whether the first spatial position corresponding to the first relative position and the second spatial position corresponding to the second relative position overlap, that is, determines whether the positioning of the master earphone and the slave earphone meets the positioning accuracy requirements, and when the first spatial position and the second spatial position overlap, at least one of the first relative position and the second relative position is used as the actual position of the electronic device. This method can be used to perform secondary positioning of the electronic device based on the earphone, and the positioning accuracy is determined by whether the first spatial position and the second spatial position overlap, so that the secondary accurate positioning of the electronic device can be achieved without relying on an external network or satellite signal, and is suitable for the positioning needs of electronic devices in various complex scenarios such as indoors and underground garages. In addition, this positioning method can quickly find the electronic device by positioning the electronic device through the earphone in the scenario where the electronic device such as a mobile phone is lost or stolen.

[0179] <Device Example>

[0180] Figure 4 4 is a principle block diagram of an earphone 40 according to an embodiment of the present invention.

[0181] according to Figure 4 As shown, the earphone 40 of this embodiment may include a master earphone 41 and a slave earphone 42. The master earphone 41 includes a first memory 411 and a first processor 412. The slave earphone 42 includes a second memory 421 and a second processor 422.

[0182] The first memory 411 is used to store instructions, which are used to control the first processor 412 to operate to execute the method executed by the master headset in any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0183] The second memory 421 is used to store instructions, which are used to control the second processor 422 to operate to execute the method executed by the slave earphone in any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0184] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0185] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0186] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0187] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0188] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0189] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0190] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0191] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0192] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A method for positioning an electronic device, characterized in that: Applied to a headset, the headset comprises a master headset and a slave headset, when the positioning function of the electronic device is turned on, the electronic device transmits a Bluetooth signal, the master headset and the slave headset respectively receive the Bluetooth signal transmitted by the electronic device, and the slave headset also receives the Bluetooth signal forwarded by the master headset, the method comprising: Determine a first relative position of the electronic device relative to the main earphone according to the Bluetooth signal transmitted by the electronic device and received by the main earphone; Determining a second relative position of the electronic device relative to the slave earphone according to the Bluetooth signal transmitted by the electronic device and received by the slave earphone; determining whether a first spatial position corresponding to the first relative position and a second spatial position corresponding to the second relative position overlap; In the case where the first spatial position and the second spatial position coincide with each other, at least one of the first relative position and the second relative position is used as the actual position of the electronic device.

2. The method according to claim 1, characterized in that The determining, according to the Bluetooth signal transmitted by the electronic device and received by the master earphone, a first relative position of the electronic device relative to the master earphone comprises: Determine a first distance radius between the electronic device and the master headset according to the signal strength of the Bluetooth signal received by the master headset; Determining a first propagation direction of the Bluetooth signal between the master headset and the electronic device according to a time delay difference of the master headset receiving the Bluetooth signal; A first relative position of the electronic device relative to the primary earphone is determined according to the first distance radius and the first propagation direction.

3. The method according to claim 1 or 2, characterized in that: The determining, according to the Bluetooth signal transmitted by the electronic device and received by the slave earphone, a second relative position of the electronic device relative to the slave earphone comprises: Determining a second distance radius between the electronic device and the slave earphone according to the signal strength of the Bluetooth signal received by the slave earphone; Determining a second propagation direction of the Bluetooth signal between the electronic device and the slave earphone according to a time delay difference of receiving the Bluetooth signal by the slave earphone; A second relative position of the electronic device relative to the slave earphone is determined according to the second distance radius and the second propagation direction.

4. The method according to claim 1, characterized in that: The determining whether a first spatial position corresponding to the first relative position and a second spatial position corresponding to the second relative position overlap includes: Determine a reference earphone distance between the master earphone and the slave earphone according to the Bluetooth signal sent by the master earphone and received by the slave earphone; determining an estimated headphone distance between the master headphone and the slave headphone according to the first relative position and the second relative position; When the reference earphone distance is equal to the estimated earphone distance, determining that the first spatial position and the second spatial position coincide with each other; When the reference headphone distance is not equal to the estimated headphone distance, it is determined that the first spatial position and the second spatial position do not overlap.

5. The method according to claim 4, characterized in that The step of determining a reference earphone distance between the master earphone and the slave earphone according to the Bluetooth signal sent by the master earphone and received by the slave earphone comprises: A reference earphone distance is determined according to the signal strength of the Bluetooth signal sent by the master earphone and received by the slave earphone.

6. The method according to claim 1, characterized in that After determining whether a first spatial position corresponding to the first relative position and a second spatial position corresponding to the second relative position coincide with each other, the method further includes: In the case where the first spatial position and the second spatial position do not overlap, the parameter value in the estimated headphone distance is corrected according to the reference headphone distance so that the estimated headphone distance is equal to the reference headphone distance; wherein the parameter value of the estimated headphone distance includes the parameter values ​​corresponding to the first relative position and the second relative position; When the corrected estimated earphone distance is equal to the reference earphone distance, determining a corrected first relative position and / or a corrected second relative position according to a parameter value of the corrected estimated earphone distance; At least one of the corrected first relative position and the corrected second relative position is used as the actual position of the electronic device.

7. The method according to claim 1, characterized in that The method further comprises: Receiving a first trigger operation of the user on the headset; Receive trigger voice input by the user; In response to the first trigger operation and the trigger voice, a positioning function activation instruction is sent to the electronic device; wherein the positioning function activation instruction is used to trigger the electronic device to activate the positioning function.

8. The method according to claim 1, characterized in that The method further comprises: When the positioning function of the electronic device is turned on, receiving a second trigger operation of the user on the headset; In response to the second trigger operation, a positioning instruction is sent to the electronic device; wherein the positioning instruction is used to trigger the electronic device to transmit a Bluetooth signal.

9. The method according to claim 1, characterized in that: After determining the actual location of the electronic device, the method further includes: Outputting location guidance information according to the actual location of the electronic device.

10. A headset, comprising a memory and a processor, wherein the memory is used to store executable instructions; and the processor is used to operate under the control of the instructions to execute the method according to any one of claims 1 to 9.

Citation Information

Cited By

  • Earphone retrieving method and device, terminal equipment and computer readable storage medium

    CN119907097A