Positioning method, terminal equipment and computer readable medium

By recording positioning information when the Bluetooth device is disconnected from the terminal device, and using the triangulation method of the terminal device to accurately locate, the problem that Bluetooth devices are difficult to retrieve after being lost in remote locations is solved, improving the recovery success rate and reducing the Reliance on third-party devices.

CN119277307APending Publication Date: 2025-01-07HONOR DEVICE CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202410353783.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-25
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Due to the short communication distance of Bluetooth devices, it is difficult for terminal devices to receive location information when they are lost in remote locations, resulting in failed positioning and retrieval.

Method used

By recording positioning information when the Bluetooth device is disconnected from the terminal device and providing a disconnected position when the user performs a retrieval operation, the user can go to the location to retrieve the Bluetooth device, and the terminal device can pass through the triangle based on the received Bluetooth signal Precise positioning of measurement methods.

Benefits of technology

Even if the Bluetooth device is lost in a remote location, it can be successfully retrieved, which improves the recovery success rate and reduces dependence on third-party devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277307A_ABST
    Figure CN119277307A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, in particular to a positioning method, terminal equipment and a computer readable medium. When the Bluetooth device is disconnected with the terminal device connected with the Bluetooth device, the positioning information corresponding to the Bluetooth device is generated and stored. Furthermore, when a user issues an instruction of finding the Bluetooth device to the terminal device based on a finding operation performed on the terminal device, the terminal device can provide the latest stored positioning information when the Bluetooth device is disconnected to the user, and indicate the user to reach a disconnection position corresponding to the positioning information. When the user reaches the disconnection position, the terminal device can start to search the Bluetooth signal of the Bluetooth device, and locates the loss position of the Bluetooth device based on the searched Bluetooth signal. Furthermore, the terminal device can instruct the user to go to the lost position so as to retrieve the Bluetooth device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a positioning method, a terminal device and a computer-readable medium. Background Art

[0002] Currently, widely used Bluetooth devices, such as Bluetooth headsets, Bluetooth mice, and Bluetooth styluses, are small in size and lack positioning functions, so once lost, they are difficult to find.

[0003] Therefore, in a solution for locating a Bluetooth device, a Bluetooth message can be sent to surrounding terminal devices before the Bluetooth device is turned off or disconnected. The Bluetooth message includes the location information of the Bluetooth device and an identifier that uniquely marks the Bluetooth device. Then, the terminal device that receives the Bluetooth message can upload the location information and identifier to a cloud server, so that the user of the Bluetooth device can locate the last location of the Bluetooth device based on the latest location information uploaded on the cloud server.

[0004] However, due to the short communication distance of Bluetooth technology, if the location of a Bluetooth device when sending a Bluetooth message is remote, no terminal device may be able to receive the Bluetooth message. In this case, the location information of the Bluetooth device cannot be obtained by its user, resulting in failure to locate and retrieve the Bluetooth device. Summary of the invention

[0005] The present application provides a positioning method, a terminal device and a computer-readable medium, which can locate a second Bluetooth device that has established a Bluetooth connection with the first Bluetooth device based on a first Bluetooth device.

[0006] In a first aspect, the present application provides a positioning method applied to a first Bluetooth device, the method comprising: detecting that the Bluetooth connection with a second Bluetooth device is disconnected, storing first location information corresponding to the current first location of the first Bluetooth device; detecting a positioning instruction for the second Bluetooth device, and displaying the first location information.

[0007] Here, the first Bluetooth device may be a terminal device as described below. For example, mobile phone 100, terminal device 20, etc. The second Bluetooth device may be a Bluetooth device as described below, for example, Bluetooth headset 101, etc. The first Bluetooth device may locate the second Bluetooth device based on the positioning method provided in the present application. The first position may be a disconnection position as described below. The first position information may be positioning information as described below.

[0008] In an example manner, the detected positioning instruction for the second Bluetooth device may be an instruction sent by a third-party device to the first Bluetooth device, which is used to cause the first Bluetooth device to start positioning the second Bluetooth device. For example, a user may send an instruction to the first Bluetooth device to locate the second Bluetooth device based on a third-party device, and then the first Bluetooth device may determine the following second position based on the following possible implementation, and go to the second position to pick up the second Bluetooth device at the second position. For example, the first Bluetooth device may be a terminal device such as a drone with a pickup function, the third-party device may be an electronic device such as a mobile phone that the user is using, and the second Bluetooth device may be a Bluetooth device such as a Bluetooth headset that the user has lost. The user may send a positioning instruction to the drone via a mobile phone, and then the drone may determine the following second position based on the positioning method provided in this application, and go to the second position to pick up the Bluetooth headset that the user has lost. After the pickup is completed, the drone may return to the location specified by the user, such as the user's current location.

[0009] In another example, the detected positioning instruction for the second Bluetooth device may be a user operation performed by the user of the first Bluetooth device on the first Bluetooth device, for example, the following retrieval operation, and the operation of the user turning on the positioning Bluetooth device function in step 300 below. In this method, the user can directly use the first Bluetooth device and go to the second location based on the following second location determined by the first Bluetooth device to retrieve the second Bluetooth device. The positioning method provided by the present application is specifically described below using this example.

[0010] It can be understood that the disconnection position of the second Bluetooth device from the first Bluetooth device can be determined based on the first location information to achieve a rough positioning of the second Bluetooth device.

[0011] In a possible implementation of the first aspect above, the method further includes: receiving a Bluetooth signal from a second Bluetooth device; and determining a second position of the second Bluetooth device based on the received Bluetooth signal.

[0012] Here, when the first Bluetooth device receives the Bluetooth signal of the second Bluetooth device, the second position of the second Bluetooth device can be determined by triangulation based on multiple positions where the Bluetooth signal can be received and the signal strength of the Bluetooth signal received at each position. Here, the second position can be the lost position mentioned below, which is equivalent to the current position of the second Bluetooth device. In this way, the second Bluetooth device can be accurately located.

[0013] In a possible implementation of the first aspect above, the first location information includes: one or more of: positioning system information of the first location, wireless network list information corresponding to the first location, and photo information of the first location.

[0014] Here, the positioning system information may be the GNSS information mentioned below, and the wireless network list information may be the WLAN list information mentioned below.

[0015] In a possible implementation of the first aspect above, the first location information includes positioning system information corresponding to the first location, and the positioning system information corresponding to the first location includes latitude and longitude information of the first location, area information, and one or more of the mark points corresponding to the first location in the map screen.

[0016] Here, the longitude and latitude information may be the longitude information and latitude information included in the GPS information described below, or the longitude information and latitude information included in other GNSS information. The area information may be the address of the first location. The mark point corresponding to the first location in the map screen may be the positioning point icon corresponding to the disconnected location described below.

[0017] Based on this implementation, the first Bluetooth device can display the first location information of the first location after detecting the positioning instruction, so that the user can go to the first location (for example, the disconnected location) to find the second Bluetooth device. It can be understood that since the distance between the first location and the second Bluetooth device is relatively close, the user may find the second Bluetooth device after arriving at the first location. Therefore, it may not be necessary for the first Bluetooth device to receive the Bluetooth signal of the second Bluetooth device and determine the second location of the second Bluetooth device based on the received Bluetooth signal.

[0018] In a possible implementation of the first aspect above, the first location information includes wireless network list information corresponding to the first location, and the wireless network list information corresponding to the first location includes name information of one or more wireless networks in the wireless network list information, wherein the one or more wireless networks are wireless networks detected by the first Bluetooth device when the connection between the first Bluetooth device and the second Bluetooth device is disconnected, and the signal strength of the one or more wireless networks is greater than a preset signal strength threshold.

[0019] Here, the name information of the wireless network may be the WLAN name information mentioned below.

[0020] In a possible implementation of the first aspect above, the first location information includes photo information corresponding to the first location, and the photo information corresponding to the first location includes one or more environmental photos corresponding to the first location, wherein the one or more environmental photos are environmental photos collected and stored by the first Bluetooth device when the first Bluetooth device is disconnected from the second Bluetooth device.

[0021] Here, the environment photo collected and stored by the first Bluetooth device may be the environment photo of the location where the connection is disconnected below.

[0022] In a possible implementation of the first aspect, receiving a Bluetooth signal from a second Bluetooth device includes: corresponding to determining that the first Bluetooth device satisfies a first condition, receiving a Bluetooth signal from the second Bluetooth device.

[0023] The first Bluetooth device may start to receive the Bluetooth signal of the second Bluetooth device after the first condition is met. Here, the present application does not restrict the timing of receiving the Bluetooth signal of the second Bluetooth device. For example, in another example, the first Bluetooth device may also start to turn on the Bluetooth function after detecting the aforementioned positioning instruction, so that the first Bluetooth device can receive the Bluetooth signal of the second Bluetooth device.

[0024] In an example manner of satisfying the first condition, the first condition includes: detecting a first user operation of a user.

[0025] Here, the first user operation may be a user operation performed when the user believes that he has reached the disconnection position, for example, a click operation on the control 404a.

[0026] For example, when the displayed first location information includes photo information corresponding to the first location, the user can determine the first location based on one or more environmental photos. Furthermore, after arriving at the first location, the user can perform the aforementioned first user operation on the first Bluetooth device.

[0027] For another example, when the displayed first location information includes wireless network list information corresponding to the first location, the user can determine the first location based on the name information of one or more wireless networks. Further, after arriving at the first location, the user can perform the aforementioned first user operation on the first Bluetooth device.

[0028] For another example, when the displayed first location information includes positioning system information corresponding to the first location, the user can determine the first location based on the positioning system information. Furthermore, after arriving at the first location, the user can perform the aforementioned first user operation on the first Bluetooth device.

[0029] In another example manner of satisfying the first condition, the first condition includes: detecting that the first Bluetooth device is located within a first range corresponding to the first position.

[0030] Here, the first Bluetooth device can detect whether the user has reached the first position. As described in step 303 below, the first Bluetooth device can enable the positioning function and obtain the current positioning information of the first Bluetooth device in real time to determine whether the first Bluetooth device is located within the first range corresponding to the first position.

[0031] In a possible implementation of the first aspect above, the first position information includes positioning system information of the first position, and any position in the first range corresponding to the first position includes: any position that is no more than a first distance away from the first center point, wherein the first center point is determined based on the positioning system information; wherein the first distance is the farthest propagation distance of the Bluetooth signal of the second Bluetooth device.

[0032] Here, the first center point determined based on the positioning system information can be a disconnection location, or a location whose distance from the disconnection location is less than a preset distance threshold. In addition, since the first distance is the farthest propagation distance of the Bluetooth signal of the second Bluetooth device, the first range includes the coverage range of the Bluetooth signal of the second Bluetooth device. Therefore, when the first Bluetooth device determines that it is currently within the first range, it can start to turn on the Bluetooth function to receive the Bluetooth signal of the second Bluetooth device.

[0033] In a possible implementation of the first aspect above, the first location information includes WLAN list information of the first location, and any location in the first range corresponding to the first location includes: any distance not exceeding the first distance from the second center point, wherein the second center point is determined based on the name information of one or more wireless networks in the wireless network list information.

[0034] Here, the second center point determined based on the name information of the wireless network can be a disconnection location, or a location whose distance from the disconnection location is less than a preset distance threshold. Furthermore, since the first distance is the farthest propagation distance of the Bluetooth signal of the second Bluetooth device, the first range includes the coverage range of the Bluetooth signal of the second Bluetooth device. Therefore, when the first Bluetooth device determines that it is currently within the first range, it can start to turn on the Bluetooth function to receive the Bluetooth signal of the second Bluetooth device.

[0035] Furthermore, the method for determining the second center point based on the name information of the wireless network may be to identify a location included in the name information of the wireless network based on a text recognition algorithm, and use the location of the location as the second center point.

[0036] In a possible implementation of the first aspect above, the first position information includes photo information of the first position, and any position in the first range corresponding to the first position includes: any position that is no more than the first distance away from the third center point, wherein the third center point is determined based on one or more environmental photos in the photo information.

[0037] Here, the third center point determined based on the environmental photo can be the disconnection location, or a location whose distance from the disconnection location is less than a preset distance threshold. In addition, since the first distance is the farthest propagation distance of the Bluetooth signal of the second Bluetooth device, the first range includes the coverage range of the Bluetooth signal of the second Bluetooth device. Therefore, when the first Bluetooth device determines that it is currently within the first range, it can start to turn on the Bluetooth function to receive the Bluetooth signal of the second Bluetooth device.

[0038] Furthermore, the method for determining the second center point based on the environment photo may be to identify a location included in the environment photo based on a scene recognition algorithm, and use the location of the location as the third center point.

[0039] In a possible implementation of the first aspect above, the second position of the second Bluetooth device is determined based on the received Bluetooth signal, including: corresponding to receiving the first Bluetooth signal at the first detection point, storing the second position information of the first detection point and the signal strength of the first Bluetooth signal; corresponding to receiving the second Bluetooth signal at the second detection point, storing the third position information of the second detection point and the signal strength of the second Bluetooth signal; corresponding to receiving the third Bluetooth signal at the third detection point, storing the fourth position information of the third detection point and the signal strength of the third Bluetooth signal; and determining the fifth position information of the second position based on the second position information, the third position information, the fourth position information, the signal strength of the first Bluetooth signal, the signal strength of the second Bluetooth signal, and the signal strength of the third Bluetooth signal.

[0040] Here, the second position may be determined based on triangulation, wherein the fifth position information of the second position may be the position coordinates of the lost position, for example, may be GNSS information such as GPS information.

[0041] In a possible implementation of the first aspect above, the method further includes: displaying fifth position information.

[0042] Here, the first Bluetooth device can display the lost location to the user, so that the user can go to the lost location to retrieve the second Bluetooth device.

[0043] In a second aspect, the present application provides a terminal device, including: one or more processors; one or more memories; one or more programs stored in the one or more memories, when the one or more programs are executed by the one or more processors, the electronic device executes the positioning method of the aforementioned first aspect and various possible implementations of the first aspect. Here, the aforementioned terminal device includes a first Bluetooth device.

[0044] In a third aspect, the present application provides a computer-readable medium having instructions stored thereon, which, when executed on a computer, causes the computer to execute the positioning method of the aforementioned first aspect and various possible implementations of the first aspect.

[0045] In a fourth aspect, the present application provides a computer program product, characterized in that it includes a computer program / instruction, and when the computer program / instruction is executed by a processor, it performs the positioning method of the aforementioned first aspect and various possible implementations of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 The figure shows an application scenario schematic diagram of a positioning Bluetooth device solution provided by the present application;

[0047] Figure 2 The figure is a schematic diagram of a process for determining a disconnection position between a terminal device and a Bluetooth device provided in an embodiment of the present application;

[0048] Figure 3 The figure is a schematic diagram of a process of retrieving a Bluetooth device based on a disconnected location provided by an embodiment of the present application;

[0049] Figure 4a The figure shows a schematic diagram of an interface for running a positioning application provided by an embodiment of the present application;

[0050] Figure 4b Shown is another schematic diagram of an interface for running a positioning application provided in an embodiment of the present application;

[0051] Figure 4c The figure shows an operation diagram of determining a Bluetooth device that needs to be located provided by an embodiment of the present application;

[0052] Figure 4d It is a schematic diagram of another operation of determining a Bluetooth device that needs to be located provided by an embodiment of the present application;

[0053] Figure 4e FIG. 1 is a schematic diagram of another operation of determining a Bluetooth device that needs to be located provided in an embodiment of the present application;

[0054] Figure 4f Shown is a schematic diagram of an interface showing the last disconnection position provided by an embodiment of the present application;

[0055] Figure 4g Shown is a schematic diagram of an interface for determining that a user has reached a disconnection position provided by an embodiment of the present application;

[0056] Figure 4h The figure shows a schematic diagram of an interface for determining a first detection point provided in an embodiment of the present application;

[0057] Figure 4i The figure shows a schematic diagram of an interface for determining a second detection point provided in an embodiment of the present application;

[0058] Figure 4jShown is a schematic diagram of an interface provided by an embodiment of the present application to instruct a user to go to a location where a Bluetooth device is lost;

[0059] Figure 4k The figure shows a schematic diagram of an interface after a user reaches a lost location provided by an embodiment of the present application;

[0060] Figure 5a The figure shows a schematic diagram of the relationship between the signal strength and distance of a Bluetooth signal provided in an embodiment of the present application;

[0061] Figure 5b The figure shows a schematic diagram of the position relationship between a detection point and a Bluetooth device provided in an embodiment of the present application;

[0062] Figure 6 The figure is a schematic diagram of the structure of a terminal device 20 provided in an embodiment of the present application;

[0063] Figure 7 The figure shows a software structure block diagram of a terminal device 20 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0065] It can be understood that the terminal device in the embodiment of the present application can also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc., all devices with built-in Bluetooth technology that can receive Bluetooth signals. Therefore, the terminal device in the embodiment of the present application can also be referred to as a Bluetooth device.

[0066] It is understood that the Bluetooth device in the embodiment of the present application can be any device with built-in Bluetooth technology that can perform wireless communication based on Bluetooth technology. For example, it can be the aforementioned terminal device, wearable device, and electronic accessories that apply Bluetooth technology.

[0067] Exemplarily, the aforementioned wearable devices using Bluetooth technology may be wireless headphones (for example, TWS Bluetooth headphones, neck-hanging Bluetooth headphones, head-mounted Bluetooth headphones), smart watches, smart bracelets, smart glasses, smart anklets, smart rings, smart necklaces, augmented reality technology (AR) devices, virtual reality (VR) devices, etc. This application does not impose any special restrictions on the specific form of wearable devices using Bluetooth technology.

[0068] The aforementioned electronic accessories that apply Bluetooth technology may be a Bluetooth printer, a Bluetooth scanner, a Bluetooth speaker, a Bluetooth keyboard, a Bluetooth mouse, a Bluetooth tracker, a Bluetooth health tracking device, a Bluetooth game controller, a Bluetooth smart home controller, etc. This application does not impose any special restrictions on the specific form of the electronic accessories that apply Bluetooth technology.

[0069] Figure 1 A schematic diagram of an application scenario of a solution for locating a Bluetooth device is shown.

[0070] See also Figure 1 , the distances between the Bluetooth devices in area 10 are relatively short. Therefore, if a Bluetooth device in area 10 is lost, the aforementioned Bluetooth information sent by the Bluetooth device may be received by the surrounding Bluetooth devices.

[0071] For example, if the lost Bluetooth device is a Bluetooth headset 102, the Bluetooth information sent by the Bluetooth headset 102 may be received by a nearby smart watch 103. Then, the smart watch 103 may upload the Bluetooth information including the location information and the identifier of the Bluetooth headset 102 to a cloud server (not shown). Therefore, the user of the Bluetooth headset 102 can determine the last location of the Bluetooth headset 102 based on the identifier and location information stored on the cloud server. Then, the Bluetooth headset 102 may be successfully found at the last location.

[0072] However, if the lost Bluetooth device is located in a remote area, for example, the lost Bluetooth device is a Bluetooth headset 101, the Bluetooth headset 101 and its nearest smart watch 103 are 1000 meters apart, which exceeds the communication range of Bluetooth technology (generally within 10 meters). Therefore, the Bluetooth information sent by the Bluetooth headset 101 cannot be received by the smart watch 103 and other Bluetooth devices. Furthermore, the user of the Bluetooth headset 101 cannot obtain the last location of the Bluetooth headset 101 based on the cloud server, resulting in a failed recovery.

[0073] That is, in the solution for locating the Bluetooth device, whether the lost Bluetooth device can be successfully found depends on whether there are other Bluetooth devices near the lost Bluetooth device.

[0074] In addition, it can be understood that in order to implement the aforementioned solution for locating Bluetooth devices, all Bluetooth devices that may receive Bluetooth information need to establish a communication connection with the aforementioned cloud server to ensure that after receiving the Bluetooth information of the lost Bluetooth device, the Bluetooth information can be successfully uploaded to the cloud server. Therefore, in the aforementioned solution for locating Bluetooth devices, whether the lost Bluetooth device can be successfully retrieved also depends on whether the cloud service provider of the cloud server has a strong user base. It can be understood that if the user base of the cloud service provider is small, it may also cause the user of the lost Bluetooth device to be unable to obtain the last location of the Bluetooth device.

[0075] Therefore, in order to solve the above technical problems, the present application provides a positioning method, which generates and saves positioning information corresponding to the Bluetooth device when the Bluetooth device is disconnected from the terminal device to which it is connected. Furthermore, when the user issues an instruction to the terminal device to retrieve the Bluetooth device based on the retrieval operation implemented on the terminal device, the terminal device can provide the user with the latest saved positioning information of the Bluetooth device when it is disconnected, and instruct the user to reach the disconnection position corresponding to the positioning information. When the user reaches the disconnection position, the terminal device can start searching for the Bluetooth signal of the Bluetooth device, and locate the lost position of the Bluetooth device based on the searched Bluetooth signal. Furthermore, the terminal device can instruct the user to go to the lost position to retrieve the Bluetooth device.

[0076] Here, the aforementioned positioning information can be any one or any combination of global navigation satellite system (GNSS) information, wireless local area network list (WLAN) list information and photo information. This application does not make a restrictive description on the specific content of the positioning information generated when the Bluetooth device is disconnected. Any information that can assist in determining the approximate disconnection location of the Bluetooth device belongs to the positioning information described in this application and is within the scope of protection of this application.

[0077] For example, the aforementioned GNSS information may be the GNSS information of the terminal device when the Bluetooth device is disconnected from the terminal device. It is understood that the accurate location of the terminal device when the Bluetooth device is disconnected from the terminal device can be determined based on the GNSS information of the terminal device. Here, the specific content of the GNSS information will be described below. Figure 2 This is explained in detail in the description and will not be repeated here.

[0078] The aforementioned WLAN list information may be the name information of all WLANs whose signal strength is greater than a preset signal strength threshold value searched by the terminal device when the Bluetooth device is disconnected from the terminal device. It can be understood that if the Bluetooth device is lost in an area with complex terrain such as a shopping mall, office building, residential area, etc., the approximate location of the terminal device, such as the floor and area range, can be determined based on the name information of the WLAN with greater signal strength when the Bluetooth device is disconnected. For example, when the Bluetooth device is lost in a shopping mall and disconnected, the WLAN name information with the highest signal strength recorded by the terminal device is "Store A". Therefore, it can be determined that when the connection is disconnected, the terminal device is located on the floor where Store A is located or on an adjacent floor, and is within a range of locations close to Store A.

[0079] The aforementioned photo information may be one or more environmental photos taken by the terminal device when the Bluetooth device is disconnected from the terminal device. It is understandable that by displaying environmental photos to the user through the terminal device, the user may know the location of the terminal device when the Bluetooth device is disconnected from the terminal device.

[0080] Furthermore, the terminal device can determine the disconnected position of the Bluetooth device based on any one or more of the GNSS information, the WLAN list information, and the photo information. Here, this application does not restrict the specific combination of positioning information for determining the disconnected position. For example, the terminal device can jointly determine the disconnected position of the Bluetooth device based on the GNSS information, the WLAN list information, and the photo information.

[0081] In addition, this application does not restrict the specific scheme of locating the Bluetooth device based on the Bluetooth signal after the terminal device reaches the disconnected position. In some example embodiments, the terminal device can determine the distance between the terminal device and the Bluetooth device based on the received signal strength indication (RSSI) of the Bluetooth signal, and then determine the lost position of the Bluetooth device based on the distance.

[0082] Alternatively, in another example, after the terminal device reaches the disconnected position, the Bluetooth device can be located based on trilateration within the Bluetooth signal coverage of the Bluetooth device. Specifically, the terminal device can calibrate three detection points within the Bluetooth signal coverage of the Bluetooth device, and determine the distance between each detection point and the Bluetooth device based on the RSSI of the Bluetooth signal received at each detection point. And based on the position coordinates of each detection point and the distance between each detection point and the Bluetooth device, the position coordinates of the lost position of the Bluetooth device are determined by trilateration.

[0083] It can be understood that in the positioning method provided in the present application, the disconnection position of the terminal device when the Bluetooth device is disconnected from the terminal device can be determined based on the aforementioned positioning information. Since the communication range of Bluetooth technology is relatively small, the distance between the disconnection position and the lost position of the Bluetooth device is relatively short (generally within 10 meters). That is, determining the disconnection position is equivalent to achieving a rough positioning of the lost position of the Bluetooth device.

[0084] After the terminal device instructs the user to arrive at the disconnected location, the terminal device can search for the Bluetooth signal of the Bluetooth device, and then accurately locate the lost location of the Bluetooth device according to, for example, the aforementioned triangulation method.

[0085] Based on the above method, even if the Bluetooth device is lost in a remote location (for example, Figure 1 The Bluetooth device can be successfully retrieved even if the Bluetooth headset 101 is located in the position shown in the figure. Moreover, the implementation of the above method does not rely on third-party devices, and can be retrieved only based on the terminal device that has established a Bluetooth connection with the Bluetooth device when the Bluetooth device is lost. The success rate of retrieval is high, and the dependence on third-party devices is low.

[0086] Here, the aforementioned third-party device includes the aforementioned cloud server, and other devices that have not established a Bluetooth connection with the Bluetooth device when the Bluetooth device is lost.

[0087] The Bluetooth device positioning solution provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0088] It should also be stated that the steps in the methods and processes in the embodiments of the present application are numbered for ease of reference, rather than to limit the order of precedence. If there is an order between the steps, the text description shall prevail.

[0089] Figure 2 A schematic diagram of a process for determining a disconnection position between a terminal device and a Bluetooth device in a positioning method provided in an embodiment of the present application is shown.

[0090] For the sake of convenience, the following implementation Figure 2 The terminal device of each step of the process is the mobile phone 100. Taking the aforementioned Bluetooth headset 101 as an example, the process of determining the disconnection position in the positioning method provided in the embodiment of the present application is specifically described.

[0091] For the convenience of description, when introducing each step below, the mobile phone 100 is used as the execution subject, and the execution subject will not be described in detail below.

[0092] Specifically, in the positioning method provided in the embodiment of the present application, the implementation process of determining the disconnection position may include the following steps:

[0093] 200: The mobile phone 100 is disconnected from the Bluetooth device.

[0094] Exemplarily, the mobile phone 100 and the Bluetooth headset 101 may disconnect the Bluetooth connection. For example, the user of the mobile phone 100 may actively disconnect the Bluetooth connection with the Bluetooth headset 101. For example, turn off the Bluetooth function, manually disconnect the Bluetooth connection with the Bluetooth headset 101 in the Bluetooth interface, retract the Bluetooth headset 101 into the charging compartment, etc. The mobile phone 100 may also passively disconnect the Bluetooth connection with the Bluetooth headset 101. For example, the distance between the mobile phone 100 and the Bluetooth headset 101 exceeds the communication distance of the Bluetooth technology, the mobile phone 100 is turned off, the mobile phone 100 enters a power saving mode or other mode that may cause the Bluetooth connection to be disconnected, the Bluetooth headset 101 is turned off, etc.

[0095] Here, the present application does not restrict the specific scenario in which the mobile phone 100 is disconnected from the Bluetooth headset 101. As long as the mobile phone 100 is disconnected from the Bluetooth headset 101, the mobile phone 100 will locate the disconnection position at this time based on the following steps 201 to 207.

[0096] In a scenario where a mobile phone 100 is disconnected from a Bluetooth headset 101, the mobile phone 100 and the Bluetooth headset 101 originally established a Bluetooth connection. However, while the mobile phone 100 and the Bluetooth headset 101 were maintaining a Bluetooth connection, the user lost the Bluetooth headset 101 at a lost location. In this scenario, the user's mobile phone 100 will be disconnected from the Bluetooth headset 101 as it gradually moves away from the lost location of the Bluetooth headset 101. Here, since the communication distance of Bluetooth technology is relatively short, generally within 100 meters, the disconnection location between the mobile phone 100 and the Bluetooth headset 101 is generally close to the lost location of the Bluetooth headset 101.

[0097] Furthermore, in this scenario, when the mobile phone 100 determines based on step 200 that the Bluetooth connection with the Bluetooth headset 101 is disconnected, the disconnection location between the mobile phone 100 and the Bluetooth headset 101 is determined based on the following steps 201 to 207, which is equivalent to roughly locating the lost location of the Bluetooth headset 101.

[0098] 201: The mobile phone 100 determines whether the GNSS information of the disconnected location can be obtained.

[0099] If the judgment is yes, it indicates that the mobile phone 100 can obtain the GNSS information of the disconnected position, then jump to the following step 202; otherwise, if the judgment is no, it indicates that the mobile phone 100 cannot obtain the GNSS information of the disconnected position, then jump to the following step 203.

[0100] In an example, if the mobile phone 100 turns on the positioning function when it is disconnected from the Bluetooth headset 101, the mobile phone 100 can record the GNSS information when it is disconnected from the Bluetooth device. The positioning information of the disconnected position can include the GNSS information.

[0101] In another example, when the mobile phone 100 determines that the Bluetooth connection with the Bluetooth headset 101 is disconnected based on the aforementioned step 200, the GNSS positioning function can be turned on, so that the mobile phone 100 can obtain the GNSS information of the disconnected position, so that the positioning information includes the GNSS information. In this way, the accuracy of the disconnected position determined based on the positioning information can be improved. It can be understood that when the mobile phone 100 disconnects the Bluetooth connection with the Bluetooth headset 101, the position of the mobile phone 100 is the aforementioned disconnected position.

[0102] Here, GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS). Correspondingly, GNSS information may include any one or more of GPS information, GLONASS information, BDS information, QZSS information, and SBAS information. This application does not restrict the specific type of GNSS information obtained by mobile phone 100.

[0103] In an example manner, the mobile phone 100 may have a GPS positioning function, and then the mobile phone 100 may obtain GPS information when the connection with the Bluetooth headset 101 is disconnected based on the enabled GPS positioning function.

[0104] Here, the GPS information may include any one or more combinations of longitude information, latitude information, altitude information, timestamp, speed, and heading. This application does not make any restrictive description on the specific content of the GPS information. In an example manner, the GPS information may include longitude information, latitude information, and altitude information.

[0105] 202: The mobile phone 100 records the GNSS information of the disconnected location.

[0106] Exemplarily, if the mobile phone 100 determines that the GNSS information of the disconnected location can be obtained based on the aforementioned step 201, the GNSS information may be recorded and used as a part of the positioning information of the disconnected location.

[0107] 203: The mobile phone 100 determines whether the WLAN list information of the disconnected location can be obtained.

[0108] If the judgment is yes, it indicates that the mobile phone 100 can obtain the WLAN list information of the disconnected location, then jump to the following step 204; otherwise, if the judgment is no, it indicates that the mobile phone 100 cannot obtain the WLAN list information of the disconnected location, then jump to the following step 205.

[0109] In an example, if the mobile phone 100 turns on the WLAN access function when it is disconnected from the Bluetooth headset 101, the mobile phone 100 can record the WLAN list information when it is disconnected from the Bluetooth device. The WLAN list information can be the name information of all WLANs whose signal strength (which can be an RSSI value) is greater than a preset signal strength threshold when the mobile phone 100 is disconnected from the Bluetooth headset 101. The positioning information of the aforementioned disconnection position can include the WLAN list information.

[0110] Here, the preset signal strength threshold can be set based on the correspondence between the WLAN signal strength and the distance, so that when the WLAN signal strength is greater than the preset signal strength threshold, the distance between the mobile phone 100 and the wireless network device providing the WLAN is closer, for example, the distance can be less than the preset distance threshold. This application does not make a restrictive description of the specific setting method of the preset signal strength threshold.

[0111] In another example, when the mobile phone 100 determines that the Bluetooth connection with the Bluetooth headset 101 is disconnected based on the aforementioned step 200, the WLAN access function can be turned on, so that the mobile phone 100 can obtain the WLAN list information of the disconnected location, so that the positioning information includes the WLAN list information. In this way, the accuracy of the disconnected location determined based on the positioning information can be improved.

[0112] 204: Record the WLAN list information of the disconnected location.

[0113] Exemplarily, if it is determined based on the aforementioned step 203 that the mobile phone 100 can obtain the WLAN list information of the disconnected location, the WLAN list information may be recorded and used as a part of the positioning information of the disconnected location.

[0114] Next, the reason why the mobile phone 100 can locate the disconnected position based on the WLAN list information will be specifically described.

[0115] It can be understood that for the mobile phone 100 with the WLAN access function turned on, the greater the WLAN signal strength it searches for, the closer the mobile phone 100 is to the wireless network device providing the WLAN.

[0116] The aforementioned wireless network device may be a wireless router, a wireless access point (AP), a combined modem and router, a mobile hotspot, a bridge, a signal amplifier or an extender, etc., which can provide an accessible WLAN for the mobile phone 100. This application does not make a restrictive description on the wireless network device that provides WLAN.

[0117] Furthermore, it can be understood that if the WLAN access function is turned on when the mobile phone 100 is disconnected from the Bluetooth headset 101, the disconnection position can be located based on the searched WLAN name information. Exemplarily, the mobile phone 100 can obtain one or more WLAN name information with a signal strength greater than a preset signal strength threshold when disconnecting from the Bluetooth headset 101. Based on the foregoing content, it can be understood that the disconnection position is close to the wireless network device corresponding to the aforementioned WLAN name information, and further, the mobile phone 100 can determine the approximate range of the disconnection position based on the position of the wireless network device corresponding to the aforementioned WLAN name information.

[0118] Here, since the WLAN name information is usually related to the provider of the wireless network device, the mobile phone 100 can determine the approximate range of the disconnection location based on one or more WLAN name information related to the provider in the WLAN list information.

[0119] Taking the disconnection location at a shopping mall as an example, the WLAN list information of the disconnection location recorded by the mobile phone 100 may be shown in the following table 1:

[0120] Table 1

[0121] WLAN name information 1 Shop A WLAN name information 2 Shop B WLAN name information 3 Shop C WLAN name information 4 Shop D

[0122] The WLAN name information may be sorted from strong to weak according to the signal strength of each WLAN.

[0123] Based on the aforementioned table 1, the mobile phone 100 can determine that the disconnection location is close to the wireless network device of store A according to the WLAN name information 1 "Store A" of the WLAN with the strongest signal strength. For example, the disconnection location may be inside store A, or on the floor where store A is located or on an adjacent floor, within a location range close to store A.

[0124] In addition, if the WLAN name information does not include WLAN name information related to the provider, resulting in the mobile phone 100 being unable to determine the approximate range of the disconnection location based on the WLAN name information, the mobile phone 100 can provide the WLAN list information to the user, and the user may determine the approximate range of the disconnection location based on at least one WLAN name information.

[0125] Taking the disconnection location at a residential building as an example, the WLAN list information of the disconnection location recorded by the mobile phone 100 may be shown in the following Table 2:

[0126] Table 2

[0127] WLAN name information 1 Name A WLAN name information 2 Name B WLAN name information 3 Name C WLAN name information 4 Name Ding

[0128] Based on the aforementioned Table 2, the mobile phone 100 may not be able to identify the approximate range of the disconnection location based on the WLAN name information 1 to 4. Therefore, the mobile phone 100 may provide the WLAN name information 1 to 4 to the user, and the user may determine the approximate range of the disconnection location based on the WLAN name information 1 to 4. For example, the WLAN name information 1 "Name A" may be the name of a wireless network device in the user's residence, so the user can intuitively and quickly determine that the disconnection location is near his residence based on "Name A".

[0129] Based on the above, it can be understood that the WLAN list information can assist in determining the disconnection location. In particular, when the disconnection location is in an environment with many floors and complex regional distribution, such as a shopping mall, a residential building, or an office building, the WLAN list information helps the mobile phone 100 and / or the user to quickly locate the floor and / or area of ​​the disconnection location, and the positioning process is more intuitive and convenient.

[0130] 205: The mobile phone 100 takes a photo of the environment at the disconnected location.

[0131] Exemplarily, when the mobile phone 100 is disconnected from the Bluetooth headset 101, the mobile phone 100 can take pictures of the environment at the disconnected location based on the front camera and / or the rear camera. It can be understood that based on this method, the mobile phone 100 may collect environmental photos at the disconnected location, and the environmental photos can be used as photo information of the disconnected location. The positioning information of the aforementioned disconnected location may include the photo information. Here, the mobile phone 100 can collect one or more environmental photos according to a preset number of photos, and this application does not make a restrictive description on the number of environmental photos collected at one time.

[0132] For example, if the photo information collected by the mobile phone 100 includes representative features of store A, such as a signboard, etc., the mobile phone 100 and / or the user can quickly lock the disconnection location near store A based on the representative features.

[0133] Here, the application makes it clear that the execution order of the aforementioned steps 201 to 205 is only an example. This application does not restrict the specific order in which the mobile phone 100 obtains GNSS information, WLAN list information and photo information. In another example, the mobile phone 100 may first determine whether the WLAN list information can be obtained based on step 203, and then determine whether the GNSS information can be obtained based on step 201, and finally obtain the photo information based on step 205. Alternatively, in another example, the mobile phone 100 may also execute steps 201, 203 and 205 at the same time to simultaneously obtain at least one of the GNSS information, WLAN list information and photo information.

[0134] In addition, it can be understood that the above-mentioned schemes for obtaining GNSS information, WLAN list information and photo information are only examples, and this application does not restrict the specific content contained in the positioning information obtained by the mobile phone 100. For example, the mobile phone 100 can only execute steps 201 and 202 to use the obtained GNSS information as positioning information. Only steps 203 and 204 can be executed to use the obtained WLAN list information as positioning information. Only step 205 can be executed to use the obtained photo information as positioning information. Alternatively, the mobile phone 100 can execute any combination of the above three examples to use multiple information as positioning information.

[0135] 206: The mobile phone 100 determines positioning information of the disconnected location based on at least one of the GNSS information, the WLAN list information, and the photo information.

[0136] Exemplarily, based on the aforementioned steps 200 to 205, the positioning information of the disconnected position determined by the mobile phone 100 may include any one or more combinations of GNSS information, WLAN list information and photo information.

[0137] It can be understood that each time the mobile phone 100 is disconnected from the Bluetooth headset 101, it will generate the positioning information of the disconnection position. However, when the Bluetooth headset 101 is lost, in order to retrieve the Bluetooth headset 101, the user only needs the positioning information of the disconnection position of the last disconnection. Therefore, every time the mobile phone 100 determines the positioning information of the latest disconnection position (which can be called the "last disconnection position"), the positioning information of other previously determined disconnection positions (which can be called "historical disconnection positions") can be deleted, so that the mobile phone 100 always records the positioning information of the last disconnection position with the Bluetooth headset 101. Avoid interference of historical disconnection positions in determining the last disconnection position, and avoid unnecessary waste of resources caused by storing positioning information of historical disconnection positions.

[0138] Here, it can be understood that the more information included in the positioning information, the more accurate the mobile phone 100 is in locating the disconnected position.

[0139] Specifically, in an exemplary manner, the positioning information may include GNSS information and photo information. Taking the GNSS information recorded by the mobile phone 100 based on the aforementioned step 202 as GPS information as an example, the positioning information of the disconnected position recorded by the mobile phone 100 may be as shown in the following Table 3:

[0140] Table 3

[0141] Longitude information N40°44'55.2" Dimension information W73°59'11.0" Altitude information 10 meters Photo information 1 Environmental Photo 1 Photo information 2 Environmental Photo 2

[0142] Here, the GPS information may include longitude information, latitude information, and altitude information; the photo information may include environment photo 1 and environment photo 2.

[0143] Here, the degrees-minutes-seconds (DMS) format and content of the longitude information and latitude information in Table 3 are only examples, and this application does not limit the specific format of the longitude information and latitude information. The format can also be decimal degrees (DD) format or degrees and decimal minutes (DM) format, etc.

[0144] In a solution for locating the disconnection location, the mobile phone 100 can determine that the disconnection location with the Bluetooth headset 101 is located at store A on the second floor of the shopping mall based on the GPS longitude information, GPS latitude information and GPS altitude information.

[0145] Alternatively, in another scheme for locating the disconnected location, the mobile phone 100 can determine that the disconnected location with the Bluetooth headset 101 is located in the mall based on the GPS longitude information and the GPS latitude information, and combined with the sign of store A included in the environmental photo 1, quickly determine that the disconnected location is specifically located in store A on the second floor of the mall, without having to determine the specific floor based on GPS altitude information that may have errors.

[0146] Therefore, it can be understood that if the positioning information includes both GNSS information and photo information, it will effectively improve the accuracy, convenience and efficiency of determining the disconnected location.

[0147] In another example, the positioning information may include GNSS information, WLAN list information, and photo information. Taking the GNSS information recorded by the mobile phone 100 based on the aforementioned step 202 as GPS information as an example, the positioning information of the disconnected position recorded by the mobile phone 100 may be as shown in the following Table 4:

[0148] Form 4

[0149] Longitude information N40°44'55.2" Dimension information W73°59'11.0" Altitude information 10 meters WLAN name information 1 Shop A WLAN name information 2 Shop B Photo information 1 Environmental Photo 1 Photo information 2 Environmental Photo 2 Photo information 2 Environmental Photo 2

[0150] Here, the GPS information may include longitude information, latitude information and altitude information; the WLAN list information may include WLAN name information 1 and WLAN name information 2; and the photo information may include environment photo 1 and environment photo 2.

[0151] Furthermore, in a solution for locating the disconnection location, the mobile phone 100 can determine that the disconnection location with the Bluetooth headset 101 is located in the mall based on the GPS longitude information and the GPS latitude information, and quickly determine that the disconnection location is located in the store A on the second floor of the mall in combination with the WLAN name information 1. And in combination with the signboard of the store A included in the environmental photo 1, the accuracy of the disconnection location is verified. In this way, it is verified that the disconnection location is located in the store A on the second floor of the mall.

[0152] Therefore, it can be understood that if the positioning information includes GNSS information, WLAN list information and photo information at the same time, the accuracy of determining the disconnected location will be further improved.

[0153] Based on the above description of the location information for generating the disconnected location, the process of retrieving the Bluetooth device based on the disconnected location in the positioning method provided by the present application will be specifically described below based on the accompanying drawings.

[0154] Figure 3 A schematic diagram of a process for retrieving a Bluetooth device based on a disconnected position in a positioning method provided in an embodiment of the present application is shown.

[0155] Next, still taking the aforementioned mobile phone 100 and Bluetooth headset 101 as an example, the process of finding the Bluetooth device based on the disconnected position in the positioning method provided in the embodiment of the present application is specifically described. Among them, taking the positioning method based on the Bluetooth signal to locate the lost position as a triangulation method as an example, the process of the mobile phone 100 finding the Bluetooth headset 101 according to the disconnected position is described.

[0156] It should be understood that the aforementioned positioning method can also be multilateration, least squares method, or other methods that can locate unknown points based on the relationship between multiple known points (such as the first to third detection points mentioned below) and unknown points (such as the lost location of the Bluetooth headset 101 mentioned below).

[0157] For the convenience of description, when introducing each step below, the mobile phone 100 is used as the execution subject, and the execution subject will not be described in detail below.

[0158] Specifically, in the positioning method provided in the embodiment of the present application, the implementation process of retrieving the Bluetooth device based on the disconnected position may include the following steps:

[0159] 300: Mobile phone 100 turns on the Bluetooth device positioning function.

[0160] Here, when the user finds that the Bluetooth headset 101 is lost, or there are other scenarios where the Bluetooth headset 101 needs to be found, the mobile phone 100 can start the Bluetooth device positioning function based on running the positioning application.

[0161] Here, the aforementioned positioning application may be a system application, a third-party application, or other lightweight application that integrates the positioning method provided by this application. The lightweight application may be accessed by scanning a QR code, or may be accessed through other applications (e.g., WeChat). TM This application does not restrict the positioning application program that integrates the positioning method provided by this application. Any application environment that can provide users with the positioning method of this application is within the protection scope of this application.

[0162] Correspondingly, the aforementioned positioning Bluetooth device function can be implemented by a positioning application based on the positioning method provided in the embodiment of the present application, and can be a function of positioning the Bluetooth device.

[0163] In an example manner, the mobile phone 100 may run the positioning application based on a user clicking operation on an icon of the positioning application.

[0164] Specifically, Figure 4a A schematic diagram of an interface for running a positioning application is shown.

[0165] In one example approach, see Figure 4a When the user finds that the Bluetooth device 101 is lost or needs to find the Bluetooth device 101, the user can click the icon 400a corresponding to the positioning application in the desktop interface 400 to run the positioning application and display the selection interface 401 of the positioning application.

[0166] Here, the display interface of the icon 400a corresponding to the positioning application may be, in addition to the desktop interface 400, the lock screen interface, the drop-down bar interface, and the negative one screen interface of the mobile phone 100. Moreover, the display mode of the icon 400a in the display interface may be a fixed position display or a floating display, etc. This application does not make a restrictive description on the display interface type and display mode of the icon 400a.

[0167] In addition, in another example manner, the mobile phone 100 can run the positioning application based on the user's shortcut operation.

[0168] Specifically, when the user finds that the Bluetooth device 101 is lost or needs to find the Bluetooth device 101, the user can quickly run the positioning application based on the shortcut operation of the mobile phone 100 and display the selection interface 401 of the positioning application. Here, the shortcut operation for running the positioning application can be double-clicking the power button, long pressing the volume button, long pressing the screen with three fingers, etc. This application does not make a restrictive description of the shortcut operation for running the positioning application.

[0169] Continue to see Figure 4a The selection interface 401 of the positioning application can display controls corresponding to all Bluetooth devices that have established Bluetooth connections with the mobile phone 100 (ie, “historical Bluetooth devices”).

[0170] Exemplarily, historical Bluetooth devices can be displayed according to different types of Bluetooth devices. The types of Bluetooth devices may include "mouse, keyboard and pen", "audio device" and "other devices". Furthermore, the selection interface 401 may display controls with text contents of "Bluetooth mouse A", "Bluetooth keyboard B" and "Bluetooth stylus C" in the display area 401a of "mouse, keyboard and pen"; it may display controls 401c with text contents of "Bluetooth headset 101" in the display area 401b of "audio device"; it may display controls with text contents of "Bluetooth watch E" and "tablet F" in the display area 401d of the "other devices" type. It can be understood that the display content of the selection interface 301 and the classification method of Bluetooth device types are only examples, and this application does not make a restrictive description of the display method of historical Bluetooth devices.

[0171] In addition, the aforementioned method of displaying historical Bluetooth devices in the selection interface 301 is only an example, and this application does not make any restrictive description on the display interface after running the positioning application.

[0172] For example, in another example approach, Figure 4b Another schematic diagram of an interface for running a positioning application is shown.

[0173] See also Figure 4b After the user clicks the icon 400a of the positioning application, the positioning application may also display a search interface 402. The search interface 402 may include a search box 402a. Furthermore, the user may input the Bluetooth device to be located in the search box 402a.

[0174] Here, the present application does not make any restrictive description on the display content of the search interface 402. For example, the search interface 402 may also include a recommendation area 402b, in which one or more controls corresponding to historical Bluetooth devices may be displayed. Furthermore, the user may also quickly select the Bluetooth device to be located by clicking on the controls in the recommendation area 402b.

[0175] 301: The mobile phone 100 determines the Bluetooth device that needs to be located.

[0176] In an example manner, the mobile phone 100 may determine the Bluetooth device that the user needs to locate based on a click operation of the user on a control displayed in the selection interface 401 .

[0177] For example, Figure 4c A schematic diagram of an operation of determining a Bluetooth device that needs to be located is shown.

[0178] See also Figure 4c The user can click the control 401c corresponding to the Bluetooth headset 101 in the selection interface 401. Based on the user's click operation, the mobile phone 100 can determine that the Bluetooth device that the user needs to locate is the Bluetooth headset 101.

[0179] In another example, the mobile phone 100 may determine the Bluetooth device that the user needs to locate based on a click operation of the user on a control displayed in the recommendation area 402 c of the search interface 402 .

[0180] For example, Figure 4d Another operation schematic diagram of determining a Bluetooth device that needs to be located is shown.

[0181] See also Figure 4d The user can click the control 402c corresponding to the Bluetooth headset 101 in the recommendation area 402b of the search interface 402. Based on the user's click operation, the mobile phone 100 can determine that the Bluetooth device that the user needs to locate is the Bluetooth headset 101.

[0182] In yet another example, the mobile phone 100 may determine the Bluetooth device that the user needs to locate based on the Bluetooth device name entered by the user in the search box 402 a of the search interface 402 .

[0183] For example, Figure 4e Another operation schematic diagram of determining a Bluetooth device that needs to be located is shown.

[0184] See also Figure 4e , the user can enter "Bluetooth headset 101" in the search box 402a of the search interface 402, and click the confirmation control 402d. Then, the mobile phone 100 can determine that the Bluetooth device that the user needs to locate is the Bluetooth headset 101.

[0185] It can be understood that the aforementioned method of determining the Bluetooth device that needs to be located is only an example, and this application does not make any restrictive description on the specific method of determining the Bluetooth device to be located.

[0186] 302: The mobile phone 100 displays the disconnection location of the Bluetooth device.

[0187] Here, when the mobile phone 100 determines that the Bluetooth device that the user needs to locate is the Bluetooth headset 101 based on the aforementioned step 301, the positioning information corresponding to the last disconnection position of the Bluetooth headset 101 can be called, and the last disconnection position of the Bluetooth headset 101 can be displayed based on the positioning information.

[0188] Specifically, in one example embodiment, Figure 4f A display schematic diagram showing the last disconnection position is shown.

[0189] See also Figure 4f In response to the user clicking the control 401c corresponding to the Bluetooth headset 101 in the selection interface 401, the positioning application can display the map interface 403 and mark the positioning point corresponding to the aforementioned positioning information in the map screen 403.

[0190] Specifically, the map interface 403 displays a map screen 403a, which includes a positioning point icon 403b corresponding to the last disconnected position of the Bluetooth headset 101. In addition, the map interface 403 may display prompt content to prompt the user to go to the last disconnected position of the Bluetooth headset 101. For example, the map interface 403 may display prompt content such as "The Bluetooth headset 101 has been located for you" and "Please go to the positioning point".

[0191] Here, the present application does not make a restrictive description on the specific display content of the map interface 403. In an exemplary manner, the map interface 403 may also display a navigation route (not shown) from the user's current location to the last disconnected location to instruct the user to go to the last disconnected location.

[0192] In addition, the mobile phone 100 can also display the location information corresponding to the last disconnection location of the Bluetooth headset 101 to the user based on the map interface 403. For example, the WLAN list information can be displayed in the display area 403c of the map interface 403, and the photo information can be displayed in the display area 403d. Then, the user can quickly determine the last disconnection location of the Bluetooth headset 101 based on the viewed WLAN list information and / or photo information.

[0193] For example, the WLAN list information displayed in the display area 403c includes "Name A", and "Name A" may be the name of a wireless network device in the user's residence. Therefore, the user can intuitively and quickly determine that the disconnection location is near his residence based on "Name A". For another example, the photo information displayed in the display area 403d may be an environmental photo of the user's residence (not shown). Therefore, the user can intuitively and quickly determine that the disconnection location is near his residence based on the photo information.

[0194] It can be understood that the above-mentioned method of displaying the WLAN list information and the photo information based on the display area 403c and the display area 403d is only an example, and this application does not limit the display method of the WLAN list information and the photo information. In other example methods, the WLAN list information and the photo information can also be displayed based on the drawer menu (drawermenu), floating window, lower-level page, etc. of the map interface 403.

[0195] In addition, it is understood that the present application does not limit the manner in which the positioning application is triggered to display the map interface 403. For example, the positioning application may respond to the aforementioned Figure 4d In the example, the user clicks the control 402c of the search interface 402 to display the map interface 403. For another example, the positioning application may also respond to the aforementioned Figure 4e In the example, the user clicks the confirmation control 402d of the search interface 402, and the map interface 403 is displayed.

[0196] In addition, it can be understood that the above-mentioned method of displaying the last disconnection location of the Bluetooth headset 101 based on the map interface 403 is only an example. This application does not limit the specific method of displaying the last disconnection location. Figure 4c to Figure 4e By clicking any one of the above operations, the mobile phone 100 can jump to a third-party application (such as a navigation application) and send the last disconnected location of the Bluetooth headset 101 to the third-party application, so that the third-party application can display a map screen with a positioning point icon of the last disconnected location marked to the user. Similarly, the third-party application can also display a navigation route from the user's current location to the last disconnected location.

[0197] 303: The mobile phone 100 determines that the user has reached a disconnection location.

[0198] For example, the mobile phone 100 may determine that the user has reached the last disconnected location of the Bluetooth headset 101 based on the positioning application.

[0199] In one example approach, Figure 4g A schematic diagram of an interface for determining that a user has reached a disconnection position is shown.

[0200] See also Figure 4g, the mobile phone 100 can turn on the positioning function. Furthermore, the positioning application can obtain the current positioning information of the mobile phone 100 in real time. When the positioning application determines that the current positioning information of the mobile phone 100 is the same or similar to the positioning information of the last disconnected position (as an example that the first Bluetooth device is located within the first range corresponding to the first position), a pop-up window 404 can be displayed on the upper layer of the map interface 403, so that the positioning application can determine whether the user has reached the disconnected position based on the user's operation in the pop-up window 404. The aforementioned current positioning information is the same or similar to the positioning information of the last disconnected position, which can include, based on the GPS information in the positioning information, determining that the distance between the position corresponding to the current positioning information and the last disconnected position is less than a preset distance threshold.

[0201] For example, the pop-up window 404 may include a control 404a and a control 404b. If the user believes that he has reached the disconnection location, he may click the control 404a with the text “reached”. Then, the positioning application may determine that the user has reached the disconnection location based on the user's click operation on the control 404a, and continue to perform the following step 304.

[0202] On the contrary, if the user believes that he / she has not reached the disconnected location, he / she may click on the control 404b with the text “Not reached”. Then, the positioning application may determine that the user has not reached the disconnected location based on the user's click operation on the control 404b, and return to displaying the map interface 403 .

[0203] It is understood that the aforementioned method of determining whether the user has reached the disconnected location is only an example, and the present application does not restrict the method by which the mobile phone 100 determines whether the user has reached the disconnected location. In another example, in a scenario where the map interface 403 displays the aforementioned navigation route to the last disconnected location and the user is navigated, the positioning application can determine that the user has reached the last disconnected location at the end of the navigation. Alternatively, if the mobile phone 100 jumps to the aforementioned third-party application, it can also determine that the user has reached the last disconnected location when the third-party application ends the navigation to the user.

[0204] 304: The mobile phone 100 determines a first detection point capable of receiving a Bluetooth signal of a Bluetooth device.

[0205] Here, the mobile phone 100 and the Bluetooth headset 101 were once disconnected at the last disconnection position, which means that the last disconnection position is located at the edge of the Bluetooth signal coverage range of the Bluetooth headset 101. Therefore, the mobile phone 100 can search for the Bluetooth signal of the Bluetooth headset 101 at the last disconnection position.

[0206] Therefore, when the mobile phone 100 determines that the user has reached the last disconnection position of the Bluetooth headset 101 based on the aforementioned step 303, it can start searching for the Bluetooth signal of the Bluetooth headset 101, and record the position where the Bluetooth signal is searched as the first detection point. Based on the above description, it can be understood that the first detection point can be the last disconnection position, or it can be another position whose distance from the last disconnection position is less than a preset distance threshold.

[0207] For example, Figure 4h A schematic diagram of an interface for determining a first detection point is shown.

[0208] See also Figure 4h In response to the user clicking the control 404a, the positioning application can display a map screen 403e near the disconnected location on the map interface 403. For example, a map screen within a preset area with the disconnected location as the center can be displayed. In addition, a search interface 405 can be displayed on the upper layer of the map interface 403, and the Bluetooth signal of the Bluetooth headset 101 can be searched.

[0209] Here, this application does not limit the display content of the search interface 405. In an example, Figure 4h As shown, the search interface 405 may display a prompt "Searching for Bluetooth signals for you" and an icon 405c to inform the user that the Bluetooth signal is being searched. The search interface 405 may also display a control 405a with the content "Search again" and a control 405b with the content "Exit Search" so that the positioning application can restart the search for Bluetooth signals based on the user's click operation on the control 405a. Alternatively, the search for Bluetooth signals is stopped and the search interface 405 is closed based on the user's click operation on the control 405b.

[0210] After a period of time (for example, 1 second), the mobile phone 100 may search for the Bluetooth signal of the Bluetooth headset 101. At this time, the mobile phone 100 can display the signal strength of the Bluetooth signal that can be received at the current location based on the icon 405c (which can be an RSSI value). For example, the Bluetooth signal strength at the current location may be -90 decibel milliwatts (dBm). In addition, the search interface 405 can display the prompts "The Bluetooth signal of the Bluetooth headset 101 has been searched" and "Please confirm whether to mark the first detection point" to prompt the user that the Bluetooth signal search is successful and the current location of the mobile phone 100 can be marked as the first detection point.

[0211] Furthermore, in response to the user clicking the control 405d whose display content is "confirmation mark", the positioning application may mark the location of the mobile phone 100 as the first detection point. Furthermore, the mobile phone 100 may record the location of the first detection point and the signal strength of the Bluetooth signal received at the first detection point. Here, the location of the first detection point recorded by the mobile phone 100 may be the location coordinates of the first detection point, for example, the latitude and longitude coordinates in the GPS information of the first detection point.

[0212] It should be clear that if the user does not want to mark the location of the mobile phone 100 as the first detection point, for example, the visibility at this location may be poor, which is not conducive to finding the Bluetooth headset 101. The user can walk around until he walks to a location where he can search for a Bluetooth signal and wants to mark it as the first detection point, and clicks control 405d to mark the first detection point.

[0213] In addition, if the user does not need to continue searching for the Bluetooth headset 101, for example, the Bluetooth headset 101 may have been found because the distance between the first detection point and the Bluetooth headset 101 is close, the user can click the control 405b displaying the content "Exit Search" to stop searching for the Bluetooth signal and close the search interface 405.

[0214] Here, it can be understood that the above-mentioned method, process and interface display content of determining the first detection point are only examples. This application does not make a restrictive description on the specific implementation of determining the first detection point.

[0215] Based on the first detection point, the mobile phone 100 can determine the current location of the Bluetooth headset 101 according to the following steps 305 to 309. For the sake of narrative coherence, the reason why the mobile phone 100 can determine the lost location of the Bluetooth headset 101 based on the first detection point will be specifically described in the description of step 307 below, and will not be repeated here.

[0216] 305: The mobile phone 100 determines a second detection point capable of receiving a Bluetooth signal of the Bluetooth device based on the first detection point.

[0217] Exemplarily, after the user marks the first detection point based on the aforementioned step 304, the mobile phone 100 may instruct the user to start from the first detection point and walk around to determine a second detection point that can receive the Bluetooth signal of the Bluetooth device. In addition, the mobile phone 100 may record the position of the second detection point and the signal strength of the Bluetooth signal received at the second detection point. Here, the position of the second detection point recorded by the mobile phone 100 may be the position coordinates of the second detection point, for example, the latitude and longitude coordinates in the GPS information of the second detection point.

[0218] For example, Figure 4i A schematic diagram of an interface for determining a second detection point is shown.

[0219] See also Figure 4i In response to the user's click operation on the control 405d for marking the first detection point, a prompt may be displayed in the search interface 405 to prompt the user to walk around the first detection point and mark the second detection point. For example, the prompt may be "Please walk around and mark the second detection point".

[0220] In addition, it can be understood that the stronger the signal strength of the Bluetooth signal received by the mobile phone 100, the closer the current location of the mobile phone 100 is to the location of the Bluetooth headset 101. Therefore, the mobile phone 100 can display a prompt in the search interface 405 to prompt the user to determine the location where the signal strength of the received Bluetooth signal is greater than the first detection point as the second detection point. For example, the prompt can be "Tip: It is recommended that you go to a location with better signal strength and mark the location as the second detection point."

[0221] Furthermore, when the user is walking, he can refer to the signal strength value displayed in icon 405c and walk in the direction where the signal strength value becomes larger. For example, after a period of time (for example, 10 seconds), the user may walk to a position where the signal strength of the received Bluetooth signal is -60dBm, and the signal strength of this position is greater than the signal strength of the first detection point (-90dBm). Therefore, the user can click on control 405d to mark the current position of the mobile phone 100 as the second detection point. Then, the position of the second detection point and the signal strength of the Bluetooth signal received at the second detection point are recorded.

[0222] 306: The mobile phone 100 determines a third detection point capable of receiving a Bluetooth signal from the Bluetooth device based on the second detection point.

[0223] The process and interface operation of the mobile phone 100 determining the third detection point based on the second detection point are substantially the same as those described in the aforementioned step 305. For specific contents, please refer to the description of the aforementioned step 305 and will not be repeated here.

[0224] 307: The mobile phone 100 determines the lost location of the Bluetooth device according to the first detection point, the second detection point and the third detection point.

[0225] Here, the reason why the mobile phone 100 can identify the Bluetooth headset 101 based on the three detection points is first explained.

[0226] For example, Figure 5a A schematic diagram showing the relationship between the signal strength and distance of a Bluetooth signal.

[0227] See also Figure 5aThe farther away from the signal source, the weaker the signal strength of the received Bluetooth signal. For example, the signal strength of the Bluetooth signal that can be received at position A, which is 4 meters away from the signal source, is -60dBm, and the signal strength of the Bluetooth signal that can be received at position B, which is 7 meters away from the signal source, is -90dBm. Therefore, based on the signal strength of the Bluetooth signal received at different positions, the distance between the position and the signal source can be determined.

[0228] Furthermore, based on the above, the mobile phone 100 can preset the corresponding relationship between the signal strength and the distance of the Bluetooth signal. Since the first detection point, the second detection point and the third detection point are all located within the Bluetooth signal coverage range of the Bluetooth headset 101. Therefore, the mobile phone 100 can determine the distance between each detection point and the Bluetooth headset 101 based on the recorded signal strength of the first detection point, the second detection point and the third detection point, and the corresponding relationship between the signal strength and the distance.

[0229] For example, Figure 5b A schematic diagram showing the positional relationship between a detection point and a Bluetooth headset 101 is shown.

[0230] See also Figure 5b , the mobile phone 100 can determine that the distance between the first detection point and the lost position of the Bluetooth headset 101 is D1, the distance between the second detection point and the lost position of the Bluetooth headset 101 is D2, and the distance between the third detection point and the lost position of the Bluetooth headset 101 is D3. Furthermore, based on the recorded position coordinates of the first detection point, the second detection point, and the third detection point, the mobile phone 100 can calculate the position coordinates of the lost position of the Bluetooth headset 101 through triangulation, thereby determining the lost position of the Bluetooth headset 101.

[0231] 308: The mobile phone 100 instructs the user to arrive at the lost location of the Bluetooth device.

[0232] Here, after the mobile phone 100 determines the lost location of the Bluetooth headset based on the aforementioned step 307, it can instruct the user to reach the lost location.

[0233] For example, Figure 4j A schematic diagram of an interface for instructing a user to go to a location where the Bluetooth headset 101 is lost is shown.

[0234] See also Figure 4j In response to the user's click operation on the control 405d for marking the third detection point, the mobile phone 100 can display the map interface 403 and mark the positioning point corresponding to the lost location in the map screen 403.

[0235] Specifically, the map interface 403 displays a map screen 403e, and the map screen 403e may include the first detection point, the second detection point, the third detection point corresponding to the positioning point, and the positioning point icon 403f corresponding to the lost location of the Bluetooth headset 101. In addition, the map interface 403 may also display prompt content to prompt the user to go to the lost location of the Bluetooth headset 101. For example, the prompt content displayed in the map interface 403 may be "The lost location has been determined for you, please go to the positioning point."

[0236] Here, the present application does not make a restrictive description on the specific display content of the map interface 403. In an example manner, the map interface 403 can also display a navigation route (not shown) from the user's current location (which can be the third detection point) to the lost location to instruct the user to go to the lost location of the Bluetooth headset 101.

[0237] 309: The mobile phone 100 determines that the user has reached the lost location of the Bluetooth device.

[0238] Here, the way in which the mobile phone 100 determines that the user has reached the lost location of the Bluetooth device is substantially the same as the way in which the mobile phone 100 determines that the user has reached the disconnected location of the Bluetooth device in the aforementioned step 303. For details, please refer to the detailed description in the aforementioned step 303, which will not be repeated here.

[0239] 310: The mobile phone 100 determines whether the user has retrieved the Bluetooth device.

[0240] If the judgment is yes, it indicates that the user has found the Bluetooth device, then jump to the following step 311; otherwise,

[0241] If the judgment is no, indicating that the user has not found the Bluetooth device, then jump to the above step 304.

[0242] Here, the mobile phone 100 can determine whether the user retrieves the Bluetooth device based on the user operation.

[0243] For example, Figure 4k A schematic diagram of an interface after a user reaches a lost location is shown.

[0244] See also Figure 4k When the mobile phone 100 determines that the user has reached the lost location of the Bluetooth headset 101 based on the above step 309, a confirmation interface 406 can be displayed on the upper layer of the map interface 403. The confirmation interface 406 can display a prompt to allow the user to determine whether the lost location of the Bluetooth headset 101 needs to be relocated.

[0245] If the user clicks the control 406a with the content "needed" in the confirmation interface 406, it means that the user may not have found the Bluetooth headset 101 at the lost location. Then, the above steps 304 to 310 can be repeatedly performed to re-determine the lost location of the Bluetooth headset 101.

[0246] It can be understood that when the lost position is determined again, the first detection point can be the currently determined lost position, which is at a smaller distance from the Bluetooth headset 101. Therefore, the second detection point and the third detection point determined based on the first detection point may be at an even smaller distance from the Bluetooth headset 101. Therefore, the lost position determined again will be closer to the actual position of the Bluetooth headset 101. That is, the operation of the mobile phone 101 repeatedly determining the lost position can make the determined lost position gradually approach the actual position of the Bluetooth headset 101, greatly improving the possibility of finding the Bluetooth headset 101.

[0247] If the user clicks the control 406b with the content "not needed" in the confirmation interface 406, it means that the user may have found the Bluetooth headset 101 at the lost location. Then, the following step 311 may be executed.

[0248] 311: Mobile phone 100 turns off the Bluetooth device positioning function.

[0249] Here, in response to the user's aforementioned click operation on the control 406b, the mobile phone 100 can turn off the positioning Bluetooth device function. For example, the mobile phone 100 can turn off the positioning application. It can be understood that the aforementioned method of turning off the positioning Bluetooth device function is only an example, and this application does not make a restrictive description of its turning off method. For example, the mobile phone 100 can also turn off the positioning Bluetooth device function by turning off the background of the positioning application, returning to the desktop interface of the mobile phone 100, etc.

[0250] Figure 6 The schematic diagram of the structure of the terminal device 20 is shown. The terminal device 20 may include the aforementioned mobile phone 100 and any other terminal device capable of implementing the positioning method provided in the present application.

[0251] The terminal device 20 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0252] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device 20. In other embodiments of the present application, the terminal device 20 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0253] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0254] A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it may be directly called from the above-mentioned memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system. In some embodiments, the memory of the mobile phone 100 may be used to store the location information of the disconnection position of the aforementioned Bluetooth headset 101, the location information from the first detection point to the third detection point, and the signal strength, etc.

[0255] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0256] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 20.

[0257] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the terminal device 20. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 20.

[0258] The wireless communication function of the terminal device 20 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0259] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 20 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0260] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 20. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0261] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0262] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 20. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. In some embodiments, the mobile phone 100 can receive the Bluetooth signal of the Bluetooth headset 101 based on the wireless communication module 160.

[0263] In some embodiments, the antenna 1 of the terminal device 20 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the terminal device 20 can communicate with the network and other devices through wireless communication technology. The above wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The above GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS). In some embodiments, the mobile phone 100 may receive GNSS information of the disconnected position of the Bluetooth headset 101 based on the coupling of the antenna 1 and the mobile communication module 150 and the coupling of the antenna 2 and the wireless communication module 160.

[0264] The terminal device 20 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0265] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Mini-LED, Micro-LED, Micro-OLED, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the terminal device 20 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0266] The terminal device 20 can implement the shooting function through the ISP, camera 193, video codec, GPU, display screen 194 and application processor. In some embodiments, the mobile phone 100 can take photo information of the disconnected location through the ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0267] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0268] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device 20 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0269] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 20 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0270] Video codecs are used to compress or decompress digital videos. The terminal device 20 may support one or more video codecs. Thus, the terminal device 20 may play or record videos in a variety of coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0271] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal device 20 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 20 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0272] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 20 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 20 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 20 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. In some embodiments, the mobile phone 100 can implement the click operation in the aforementioned steps 300 to 311 based on the pressure sensor 180A.

[0273] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 20 in various directions (generally three axes). When the terminal device 20 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0274] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 20 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 20 is in a pocket to prevent accidental touch. In some embodiments, the mobile phone 100 can take a picture of the environment of the disconnected location based on the aforementioned step 205, on the premise that the ambient light sensor 180L determines that the mobile phone 100 is not in the pocket.

[0275] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 20, which is different from the position of the display screen 194.

[0276] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device 20 may receive key input and generate key signal input related to user settings and function control of the terminal device 20.

[0277] Figure 7 It is a software structure block diagram of the terminal device 20 according to an embodiment of the present invention.

[0278] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, Android TM The system is divided into four layers, from top to bottom: application layer, application framework layer, Android TM Runtime (Android TM runtime) and system libraries, as well as the kernel layer.

[0279] The application layer can include a series of application packages.

[0280] like Figure 7As shown, the application package may include applications such as camera, gallery, map, navigation, WLAN, Bluetooth, positioning application, etc.

[0281] In some example embodiments, the mobile phone 100 may take environmental photos of the disconnected location based on a camera, may obtain WLAN list information corresponding to the disconnected location based on WLAN, and may receive Bluetooth information of the Bluetooth headset 101 based on Bluetooth.

[0282] In some example embodiments, the navigation may be a navigation application as described above.

[0283] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0284] like Figure 7 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0285] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0286] Content providers are used to store and retrieve data and make it accessible to applications. This data can include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0287] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0288] The phone manager is used to provide communication functions for the terminal device 20, such as management of call status (including connection, disconnection, etc.).

[0289] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0290] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0291] Android TM Runtime includes core libraries and virtual machines. Android TM The runtime is responsible for scheduling and management of the Android system.

[0292] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0293] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0294] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as openGL ES), 2D graphics engine (such as SGL), etc.

[0295] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0296] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0297] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0298] A 2D graphics engine is a drawing engine for 2D drawings.

[0299] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0300] The embodiments of the present application also provide a computer program product for implementing the positioning methods provided in the above embodiments.

[0301] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program module or module code executed on a programmable system, and the programmable system includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.

[0302] A computer program module or module code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0303] Module code can be implemented with high-level modular language or object-oriented programming language to communicate with the processing system. When necessary, module code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0304] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, instructions may be distributed over a network or through other computer-readable media. Therefore, a machine-readable medium may include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including, but not limited to, a floppy disk, an optical disk, an optical disk, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic card or an optical card, a flash memory, or a tangible machine-readable memory for transmitting information (e.g., a carrier wave, an infrared signal, a digital signal, etc.) using the Internet in an electrical, optical, acoustic, or other form of propagation signal. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).

[0305] References to "one embodiment" or "an embodiment" in the specification mean that the specific features, structures, or characteristics described in conjunction with the embodiment are included in at least one exemplary implementation or technology disclosed according to the embodiment of the present application. The appearance of the phrase "in one embodiment" in various places in the specification does not necessarily all refer to the same embodiment.

[0306] The disclosure of the embodiment of the present application also relates to an operating device for executing the text. The device can be specially constructed for the required purpose or it can include a general-purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program can be stored in a computer-readable medium, such as, but not limited to any type of disk, including a floppy disk, an optical disk, a CD-ROM, a magneto-optical disk, a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic or optical card, an application-specific integrated circuit (ASIC) or any type of medium suitable for storing electronic instructions, and each can be coupled to a computer system bus. In addition, the computer mentioned in the specification may include a single processor or may be an architecture involving multiple processors for increased computing power.

[0307] In addition, the language used in this specification has been primarily selected for readability and instructional purposes and may not be selected to describe or limit the disclosed subject matter. Therefore, the present application embodiment disclosure is intended to illustrate rather than limit the scope of the concepts discussed herein.

Claims

1. A positioning method, applied to a first Bluetooth device, characterized in that: The method comprises: detecting that the Bluetooth connection with the second Bluetooth device is disconnected, and storing first location information corresponding to the current first location of the first Bluetooth device; A positioning instruction for the second Bluetooth device is detected, and the first location information is displayed.

2. The method according to claim 1, characterized in that The method further comprises: receiving a Bluetooth signal from the second Bluetooth device; A second location of the second Bluetooth device is determined based on the received Bluetooth signal.

3. The method according to claim 1, characterized in that The first location information includes: one or more of: positioning system information of the first location, wireless network list information corresponding to the first location, and photo information of the first location.

4. The method according to claim 1, characterized in that: The first location information includes positioning system information corresponding to the first location, and the positioning system information corresponding to the first location includes one or more of the latitude and longitude information of the first location, the area information, and the mark point corresponding to the first location in the map screen.

5. The method according to claim 1, characterized in that The first location information includes wireless network list information corresponding to the first location, and the wireless network list information corresponding to the first location includes name information of one or more wireless networks in the wireless network list information. The one or more wireless networks are wireless networks detected by the first Bluetooth device when the first Bluetooth device is disconnected from the second Bluetooth device, and the signal strength of the one or more wireless networks is greater than a preset signal strength threshold.

6. The method according to claim 1, characterized in that The first location information includes photo information corresponding to the first location, and the photo information corresponding to the first location includes one or more environment photos corresponding to the first location. The one or more environment photos are environment photos collected and stored by the first Bluetooth device when the first Bluetooth device is disconnected from the second Bluetooth device.

7. The method according to claim 3, characterized in that: The receiving the Bluetooth signal of the second Bluetooth device includes: Corresponding to determining that the first Bluetooth device satisfies the first condition, a Bluetooth signal of the second Bluetooth device is received.

8. The method according to claim 7, characterized in that The first condition includes: A first user operation of a user is detected.

9. The method according to claim 7, characterized in that: The first condition includes: It is detected that the first Bluetooth device is located within a first range corresponding to the first position.

10. The method according to claim 9, characterized in that The first location information includes positioning system information of the first location, and any location in the first range corresponding to the first location includes: Any position that is no more than the first distance from the first center point, Wherein, the first center point is determined based on the positioning system information; The first distance is the maximum propagation distance of the Bluetooth signal of the second Bluetooth device.

11. The method according to claim 9, characterized in that The first location information includes WLAN list information of the first location, and any location in the first range corresponding to the first location includes: Any distance from the second center point that does not exceed the first distance, The second center point is determined based on name information of one or more wireless networks in the wireless network list information.

12. The method according to claim 9, characterized in that The first position information includes photo information of the first position, and any position in the first range corresponding to the first position includes: Any position that is no more than the first distance from the third center point, The third center point is determined based on one or more environmental photos in the photo information.

13. The method according to claim 7, characterized in that The determining a second position of the second Bluetooth device based on the received Bluetooth signal comprises: Corresponding to receiving a first Bluetooth signal at a first detection point, storing second location information of the first detection point and a signal strength of the first Bluetooth signal; Corresponding to receiving a second Bluetooth signal at the second detection point, storing third location information of the second detection point and signal strength of the second Bluetooth signal; Corresponding to receiving a third Bluetooth signal at a third detection point, storing fourth position information of the third detection point and a signal strength of the third Bluetooth signal; Fifth location information of the second location is determined based on the second location information, the third location information, the fourth location information, the signal strength of the first Bluetooth signal, the signal strength of the second Bluetooth signal, and the signal strength of the third Bluetooth signal.

14. The method according to claim 13, characterized in that The method further comprises: The fifth position information is displayed.

15. A terminal device, characterized in that: include: one or more processors; One or more memories; the one or more memories store one or more programs, and when the one or more programs are executed by the one or more processors, the electronic device executes the positioning method according to any one of claims 1 to 14.

16. A computer readable medium, characterized in that The readable medium stores instructions, which, when executed on a computer, enable the computer to execute the positioning method according to any one of claims 1 to 14.

17. A computer program product, characterized in that The method comprises a computer program / instruction, which implements the positioning method according to any one of claims 1 to 14 when executed by a processor.

Citation Information

Patent Citations

  • Method and system for automatically recording article loss position

    CN103297918A

  • User location determination

    CN105517679A

  • Method for guiding users to parking lots and mobile terminal

    CN105657649A

  • Bicycle searching guiding system of shared bicycles

    CN107038887A

  • Bluetooth object searching method and electronic equipment

    CN110460981A