Positioning method and electronic equipment

By displaying a probability distribution map of Bluetooth devices on the positioning interface of electronic devices and responding to user movement updates, the location of Bluetooth devices is determined using Bluetooth ranging and prediction algorithms, solving the problem of finding small Bluetooth devices and achieving efficient positioning results.

CN121240199APending Publication Date: 2025-12-30HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410868481.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2025-12-30

AI Technical Summary

Technical Problem

How to effectively locate small Bluetooth devices, such as Bluetooth headsets or Bluetooth bracelets, especially when they are difficult to find if their location is forgotten or lost.

Method used

By displaying a probability distribution map of Bluetooth devices on the positioning interface of electronic devices, and using Bluetooth to connect to target devices, the probability distribution map is updated in response to the user's mobile electronic devices, making the location of Bluetooth devices gradually clear. The convergence of the probability distribution is determined by Bluetooth ranging and prediction algorithms.

Benefits of technology

It enables efficient location of Bluetooth devices without relying on external speaker or positioning functions, is applicable to most Bluetooth devices, and gradually clarifies the device's location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121240199A_ABST
    Figure CN121240199A_ABST
Patent Text Reader

Abstract

The invention provides a positioning method and electronic equipment, and relates to the technical field of calculators. The method is applied to the electronic equipment and comprises the steps that a first operation is responded, a positioning interface is displayed, position information of the electronic equipment and a first probability distribution diagram of target equipment are displayed in the positioning interface, the first probability distribution diagram indicates first probabilities of the target equipment existing at all position points of a first area, and the first probabilities are larger than zero; the electronic equipment is connected with target equipment through Bluetooth; in response to the operation of the mobile electronic equipment, displaying a second probability distribution diagram on the positioning interface, the second probability distribution diagram indicating a second probability of the target equipment existing at each position point of the second area, the second area being located in the first area, the second probability being greater than zero, and the probability distribution of the target equipment in the second probability distribution diagram, the probability distribution is more convergent than the probability distribution in the first probability distribution diagram. According to the technical scheme provided by the invention, the position of the Bluetooth product can be positioned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and more particularly to a positioning method and an electronic device. Background Technology

[0002] With the development of Bluetooth technology, some Bluetooth products that are equipped with Bluetooth technology and are small in size (such as Bluetooth headsets, Bluetooth bracelets, etc.) are becoming more and more common.

[0003] However, precisely because of its small size, it is more difficult to find when users forget where they stored it or when the Bluetooth product is lost. Therefore, how to locate the Bluetooth product is a technical problem that needs to be solved by those in the field. Summary of the Invention

[0004] In view of this, this application provides a positioning method and an electronic device for locating the position of a Bluetooth product.

[0005] To achieve the above objectives, in a first aspect, embodiments of this application provide a positioning method applied to an electronic device, comprising:

[0006] In response to the first operation, a positioning interface is displayed, which displays the location information of the electronic device and a first probability distribution map of the target device. The first probability distribution map indicates the first probability of the target device existing at each location point in the first region. The first probability is greater than zero. The electronic device connects to the target device via Bluetooth.

[0007] In response to the operation of the mobile electronic device, a second probability distribution map is displayed on the positioning interface. The second probability distribution map indicates the second probability of the target device existing at each location point in the second region. The second region is located within the first region, and the second probability is greater than zero. The probability distribution of the target device in the second probability distribution map is more convergent than the probability distribution in the first probability distribution map.

[0008] The positioning method provided in this application first displays a first probability distribution map of a Bluetooth device (i.e., a target device that has established a Bluetooth connection with the electronic device) on the positioning interface of the electronic device to indicate the possible location of the Bluetooth device. Then, in response to the user moving the electronic device, the probability distribution map of the Bluetooth device is updated on the positioning interface (i.e., a second probability distribution map is displayed). Since the probability distribution of the Bluetooth device in the updated probability distribution map is more convergent, as the user continues to move the electronic device, the probability distribution of the Bluetooth device in the positioning interface becomes clearer and clearer, and the location of the Bluetooth device becomes clearer and clearer, ultimately guiding the user to find the Bluetooth device.

[0009] In one possible implementation of the first aspect, the first region is a first annular region, wherein the first annular region is centered on the current position of the electronic device, the inner radius of the first annular region is the difference between the first distance and the target error value, and the outer radius of the first annular region is the sum of the first distance and the target error value, wherein the first distance is the distance between the electronic device and the target device as measured by the electronic device.

[0010] In one possible implementation of the first aspect, in the first region, the closer the distance between the electronic device and the location point is to the first distance, the greater the corresponding first probability.

[0011] In one possible implementation of the first aspect, in the first probability distribution map and the second probability distribution map, the location point with the higher probability is colored darker.

[0012] In one possible implementation of the first aspect, the second probability corresponding to each location point is the probability that the target device exists at the location point, determined by the first prediction algorithm based on the location information after the electronic device has moved; displaying the second probability distribution map on the positioning interface includes:

[0013] Determine the second distance between the electronic device and the target device;

[0014] For each location point in the first probability distribution map, based on the location information of the electronic device after it moves and the second distance, the third probability of the target device existing at the location point is determined using the first prediction algorithm;

[0015] Based on the first probability and the third probability corresponding to the location point, determine the second probability that the target device exists at the location point;

[0016] A second probability distribution map is generated based on the second probabilities corresponding to each location point in the first probability distribution map;

[0017] The location interface displays a second probability distribution map.

[0018] In one possible implementation of the first aspect, the second probability corresponding to each location point is the product of the first probability corresponding to the location point and the third probability corresponding to the location point.

[0019] Secondly, embodiments of this application provide a positioning device applied to an electronic device, including an input module and a display module;

[0020] The input module is used to receive the first operation, and the display module is used to respond to the first operation and display the positioning interface. The positioning interface displays the location information of the electronic device and the first probability distribution map of the target device. The first probability distribution map indicates the first probability of the target device existing at each location point in the first area. The first probability is greater than zero. The electronic device connects to the target device via Bluetooth.

[0021] The input module is also used to receive operations from the mobile electronic device, and the display module is also used to respond to the operations of the mobile electronic device by displaying a second probability distribution map on the positioning interface. The second probability distribution map indicates the second probability of the target device at each location point in the second region. The second region is located within the first region, and the second probability is greater than zero. The probability distribution of the target device in the second probability distribution map is more convergent than the probability distribution in the first probability distribution map.

[0022] In one possible implementation of the second aspect, the first region is a first annular region, wherein the first annular region is centered on the current position of the electronic device, the inner radius of the first annular region is the difference between the first distance and the target error value, and the outer radius of the first annular region is the sum of the first distance and the target error value, wherein the first distance is the distance between the electronic device and the target device as measured by the electronic device.

[0023] In one possible implementation of the second aspect, in the first region, the closer the distance between the electronic device and the location point is to the first distance, the greater the corresponding first probability.

[0024] In one possible implementation of the second aspect, in the first probability distribution map and the second probability distribution map, the location point with the higher probability is colored darker.

[0025] In one possible implementation of the second aspect, the second probability corresponding to each location point is the probability that the target device exists at the location point, determined by the first prediction algorithm based on the location information after the electronic device has moved; the display module is specifically used for:

[0026] Determine the second distance between the electronic device and the target device;

[0027] For each location point in the first probability distribution map, based on the location information of the electronic device after it moves and the second distance, the third probability of the target device existing at the location point is determined using the first prediction algorithm;

[0028] Based on the first probability and the third probability corresponding to the location point, determine the second probability that the target device exists at the location point;

[0029] A second probability distribution map is generated based on the second probabilities corresponding to each location point in the first probability distribution map;

[0030] The location interface displays a second probability distribution map.

[0031] In one possible implementation of the second aspect, the second probability corresponding to each location point is the product of the first probability corresponding to the location point and the third probability corresponding to the location point.

[0032] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to execute the method described in the first aspect or any embodiment of the first aspect when the computer program is invoked.

[0033] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described in the first aspect or any embodiment of the first aspect.

[0034] Fifthly, embodiments of this application provide a computer program product that, when run on an electronic device, causes the electronic device to perform the method described in the first aspect or any embodiment of the first aspect.

[0035] Sixthly, embodiments of this application provide a chip system including a processor coupled to a memory. The processor executes a computer program stored in the memory to implement the method described in the first aspect or any embodiment thereof. The chip system may be a single chip or a chip module composed of multiple chips.

[0036] It is understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description

[0037] Figure 1 A schematic diagram of a Bluetooth device finding interface provided in an embodiment of this application;

[0038] Figure 2 A flowchart illustrating a positioning method provided in an embodiment of this application;

[0039] Figure 3 This application provides a schematic flowchart illustrating a specific process for displaying a positioning interface.

[0040] Figure 4 This application provides a schematic diagram of the probability distribution of Bluetooth devices.

[0041] Figure 5 A schematic diagram of a positioning interface provided in an embodiment of this application;

[0042] Figure 6 A schematic diagram of another positioning interface provided in an embodiment of this application;

[0043] Figure 7 A schematic diagram illustrating the convergence process of a probability distribution of a Bluetooth device, provided as an embodiment of this application;

[0044] Figure 8This is a schematic diagram of the positioning device provided in the embodiments of this application;

[0045] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0046] The embodiments of this application are described below with reference to the accompanying drawings. The terminology used in the implementation section of this application is only for explaining specific embodiments and is not intended to limit the application. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0047] With the development of Bluetooth technology, smaller Bluetooth devices (such as Bluetooth headsets and Bluetooth bracelets) are becoming increasingly common. However, precisely because of their small size, they are difficult to find when users forget where they stored them or lose them.

[0048] For Bluetooth devices with external speaker functionality (such as Bluetooth watches), such as Figure 1 As shown, users can first connect their Bluetooth watch to their phone, and then ring the watch through the relevant interface on their phone (such as the Bluetooth device search interface) to help them find it. However, most Bluetooth devices do not have the function of playing sound externally, which greatly limits this method.

[0049] For Bluetooth devices with location capabilities (such as mobile phones), users can locate the device using its location function, such as the Global Positioning System (GPS), for easy identification. However, this method requires the Bluetooth device to have location capabilities and be able to share its location with other devices. It is not suitable for Bluetooth devices without location capabilities and has certain limitations.

[0050] Another possible method is for users to locate Bluetooth devices via AirTag; however, this method only works for Apple devices and not for other Bluetooth devices.

[0051] The aforementioned Bluetooth device location methods are all limited to specific Bluetooth devices and have significant limitations. Therefore, this application provides a location method that, after a user connects to the desired Bluetooth device using an electronic device, generates a probability distribution map of the Bluetooth device's location around the user on the electronic device's location interface. When the user moves (i.e., the electronic device moves), the probability distribution of the Bluetooth device at the electronic device's current location is superimposed with the probability distribution of the Bluetooth device at the electronic device's previous location, achieving probability convergence. This makes the probability distribution of the Bluetooth device on the location interface increasingly clear, thus clarifying the Bluetooth device's location and ultimately guiding the user to find it. This solution does not rely on external speaker functionality or location functionality, and it is not limited to specific devices, but can be applied to the location of most Bluetooth devices.

[0052] The positioning method provided in this application can be applied to electronic devices, including but not limited to personal computers (PCs), smartphones, netbooks, tablets, PDAs, smart screens, etc. For ease of explanation, this application will use a mobile phone as an example for illustrative purposes in the following embodiments.

[0053] Figure 2 This is a flowchart illustrating a positioning method provided in an embodiment of this application, as shown below. Figure 2 As shown, the positioning method provided in this application embodiment may include the following steps:

[0054] S110. In response to the first operation, a positioning interface is displayed, which displays the location information of the electronic device and a first probability distribution map of the target device.

[0055] Electronic devices can determine their own location information through GPS and other means. The first probability distribution map can be an area centered on the current location of the electronic device. The radius of this area can be the distance between the target device and the electronic device. The electronic device can determine the distance between itself and the target device through Bluetooth ranging and other means.

[0056] Figure 3 This is a schematic flowchart illustrating a specific process for displaying a positioning interface, as provided in an embodiment of this application. Figure 3 As shown, displaying the location interface may include the following steps:

[0057] S1101, in response to the first operation, determine the current location information of the electronic device and the distance information between the electronic device and the target device.

[0058] The first operation can be a touch operation (such as a button operation, a click operation, etc.), or a voice control operation, an air gesture operation, or a remote control operation, etc. The embodiments of this application do not make any special limitations on this.

[0059] The naming convention for the first operation in this application embodiment is merely an example and should not be construed as a limitation on the embodiments of this application. In some embodiments, the same operation may also be given other names, such as the second operation, the third operation, etc.

[0060] Specifically, electronic devices can determine their own location information through GPS or other means, and determine the distance information between themselves and the target device (i.e., the Bluetooth device that the user is looking for and which the electronic device is connected to via Bluetooth) through Bluetooth ranging or other means.

[0061] S1102. Determine the first probability distribution of the target device based on the location information and distance information.

[0062] In some embodiments, target devices may be distributed along the edge of a circle centered on the current location of the electronic device and with the distance between the electronic device and the target device as the radius. The probability of a target device existing at any point along the edge of this circle is greater than zero.

[0063] Considering that Bluetooth ranging has a certain error, if the measured distance between the electronic device and the target device is T, and the maximum error is k, then the actual distance range between the electronic device and the target device is [Tk, T+k].

[0064] like Figure 4 As shown, the probability of the target device existing within this actual distance interval follows a normal distribution. The probability is highest at point T and lowest at the boundaries (i.e., Tk and T+k).

[0065] Therefore, in some embodiments, the target error value can be the aforementioned maximum error k. That is, the target device may also be distributed within a ring formed by the current position of the electronic device as the center, Tk as the inner radius, and T+k as the outer radius. Within this ring, the closer the distance to the electronic device is to a position T, the greater the probability of the target device existing. The embodiments of this application will subsequently use the example of the target device being distributed within the aforementioned ring for illustrative purposes.

[0066] The electronic device can employ a first prediction algorithm to determine the probability of the target device existing at each location point within the ring. For example, the electronic device can determine the probability of the target device existing at each location point within the ring based on the distance between the electronic device and each location point within the ring. At each location point within the ring, the probability of the target device existing is greater than zero, and the closer the location point is to the electronic device at a distance T, the greater the probability of the target device existing.

[0067] In some embodiments, the target error value may be less than k, and the annular region may be a region formed by location points where the probability of the target device existing is greater than a certain value.

[0068] S1103. Display the positioning interface according to the first probability distribution of the target device.

[0069] The positioning interface can display the location information of electronic devices and the first probability distribution map of the target device. The first probability distribution map can indicate the first probability of the target device existing at each location point in the first region. The first probability can be greater than zero.

[0070] In some embodiments, the first region may be as follows: Figure 5 The diagram shows the edge of a circle centered at the current position of the electronic device (position A) and with the distance between the electronic device and the target device as its radius. The probability of the target device existing at each point along the edge of this circle is equal and greater than zero.

[0071] In other embodiments, the first region may also be as follows: Figure 6 The diagram shows a circular region centered on the current position of the electronic device. If the measured distance between the electronic device and the target device is T, and the maximum error is k, then the inner radius of the circular region can be Tk, and the outer radius can be T+k.

[0072] like Figure 6 As shown, the higher the probability of a location, the darker its corresponding color can be. This application will subsequently use a circular region as an example to illustrate the embodiments.

[0073] In some embodiments, different colors can be used to represent different first probabilities. For example, the position point with a first probability greater than or equal to a first set value can be red; the position point with a first probability greater than or equal to a second set value and less than the first set value can be blue; and the position point with a first probability less than the second set value can be green.

[0074] The positioning interface shown in this application embodiment is only an example and is not intended to limit this application. In some embodiments, the positioning interface displayed by the electronic device may include more or fewer interface elements than shown in the figure to achieve more or fewer functions; the position of each interface element can be adjusted as needed; each function can also be implemented using other interface elements, or it can also be implemented in other user interfaces. This embodiment does not make any special limitations on this.

[0075] Similarly, the naming of various functions, interfaces and interface elements in the embodiments of this application is only an example and is not intended to limit this application. Other names may be used in other embodiments.

[0076] S120. In response to the operation of the mobile electronic device, a second probability distribution map is displayed on the positioning interface, wherein the probability distribution of the target device in the second probability distribution map is more convergent than the probability distribution in the first probability distribution map.

[0077] The electronic device can determine the second probability distribution map based on the annular region corresponding to the moved electronic device and the first probability distribution map.

[0078] Specifically, after the user moves (that is, after the electronic device moves), the second distance T2 between the electronic device and the target device can be determined first.

[0079] Then, based on the position information and second distance after the electronic device moves, the first prediction algorithm is used to determine the third probability of the target device at each position point in the new circular region (the center of the new circular region is the current position of the electronic device, the inner ring radius is T2-k, and the outer ring radius is T2+k).

[0080] Then, based on the first probability and the third probability corresponding to each location point in the first region (i.e., the original annular region), the second probability of the target device existing at each location point in the first region can be determined. Specifically, for any location point in the first region, if the location point is not in the new annular region, the third probability corresponding to that location point is zero or less than a set value.

[0081] The second probability corresponding to each location point in the first region can be the average or product of the first and third probabilities corresponding to that location point. The embodiments of this application will subsequently illustrate this by taking the example that the second probability corresponding to each location point is the product of the first and third probabilities corresponding to that location point.

[0082] Next, a second probability distribution map can be generated based on the second probabilities corresponding to each location point in the first probability distribution map (i.e., the first region), and displayed on the positioning interface. The second probability distribution map indicates the second probability of the target device at each location point in the second region. The second region can be located within the first region, and the second probability can be greater than zero. For example, the second region can be the overlapping area of ​​the original annular region (i.e., the first region) and the new annular region.

[0083] In some embodiments, the second probability of each location point may be determined only in the region where the original annular region and the new annular region overlap.

[0084] As the electronic device moves, the first region and the new annular region will not completely overlap. Therefore, the area of ​​the overlapping region (i.e., the second region) is smaller than that of the first region. As a result, the probability distribution of the target device in the second probability distribution map (i.e., the second region) is more convergent than that in the first probability distribution map (i.e., the first region). Thus, as the user moves, the probability distribution of the Bluetooth device in the positioning interface becomes clearer and clearer, and the location of the Bluetooth device becomes more and more obvious, ultimately guiding the user to find the Bluetooth device.

[0085] For example, such as Figure 7 As shown in (a) to (e), when the electronic device moves from position A to position B, the probability distribution of the target device (i.e., the second region) converges to the upper region, becoming symmetrical on both sides, guiding the user to move to the left or right front. When the electronic device moves from position B to position C, the probability distribution of the target device further converges, concentrating in the lower left and upper right regions, with a relatively darker color in the upper right region (i.e., the probability of the target device being present in the upper right region is higher), guiding the user to move to the right front. When the electronic device moves from position C to position D, the probability distribution of the target device further converges, concentrating in the upper right region, guiding the user to move to the right front. When the electronic device moves from position D to position E, the probability distribution of the target device further converges in the upper right region, and the area of ​​the upper right region decreases, guiding the user to move to the right front. When the electronic device moves from position E to position F, the probability distribution of the target device continues to converge in the upper right region, and the area of ​​the upper right region further decreases, guiding the user to move to the right front.

[0086] The positioning method provided in this application first displays a first probability distribution map of the Bluetooth device (i.e., the target device that has established a Bluetooth connection with the electronic device) on the positioning interface of the electronic device to indicate the possible location of the Bluetooth device. Then, in response to the user moving the electronic device, the probability distribution map of the Bluetooth device is updated on the positioning interface (i.e., a second probability distribution map is displayed). Since the probability distribution of the Bluetooth device in the updated probability distribution map is more convergent, as the user continues to move the electronic device, the probability distribution of the Bluetooth device in the positioning interface becomes clearer and clearer, and the location of the Bluetooth device becomes more and more obvious, ultimately guiding the user to find the Bluetooth device. This solution does not rely on external speaker functionality or positioning functionality, and it is not limited to specific devices; it can be applied to the positioning of most Bluetooth devices.

[0087] Those skilled in the art will understand that the above embodiments are exemplary and not intended to limit this application. Where possible, the execution order of one or more of the above steps can be adjusted, or they can be selectively combined to obtain one or more other embodiments. Those skilled in the art can arbitrarily select and combine the above steps as needed, and all those that do not depart from the essence of this application fall within the protection scope of this application.

[0088] Based on the same concept, as an implementation of the above method, this application provides a positioning device. This device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspondingly implement all the contents of the aforementioned method embodiment.

[0089] Figure 8 This is a schematic diagram of the positioning device provided in the embodiments of this application, as shown below. Figure 8 As shown, the positioning device provided in this embodiment may include an input module 110 and a display module 120.

[0090] Input module 110 is used to receive the first operation, and display module 120 is used to respond to the first operation to display a positioning interface. The positioning interface displays the location information of the electronic device and the first probability distribution map of the target device. The first probability distribution map indicates the first probability of the target device existing at each location point in the first area. The first probability is greater than zero. The electronic device connects to the target device via Bluetooth.

[0091] The input module 110 is also used to receive operations from the mobile electronic device, and the display module 120 is also used to respond to the operations of the mobile electronic device by displaying a second probability distribution map on the positioning interface. The second probability distribution map indicates the second probability of the target device at each location point in the second region. The second region is located within the first region, and the second probability is greater than zero. The probability distribution of the target device in the second probability distribution map is more convergent than the probability distribution in the first probability distribution map.

[0092] In one possible implementation of the second aspect, the first region is a first annular region, wherein the first annular region is centered on the current position of the electronic device, the inner radius of the first annular region is the difference between the first distance and the target error value, and the outer radius of the first annular region is the sum of the first distance and the target error value, wherein the first distance is the distance between the electronic device and the target device as measured by the electronic device.

[0093] In one possible implementation of the second aspect, in the first region, the closer the distance between the electronic device and the location point is to the first distance, the greater the corresponding first probability.

[0094] In one possible implementation of the second aspect, in the first probability distribution map and the second probability distribution map, the location point with the higher probability is colored darker.

[0095] In one possible implementation of the second aspect, the second probability corresponding to each location point is the probability that the target device exists at the location point, determined by the first prediction algorithm based on the location information after the electronic device has moved; the display module 120 is specifically used for:

[0096] Determine the second distance between the electronic device and the target device;

[0097] For each location point in the first probability distribution map, based on the location information of the electronic device after it moves and the second distance, the third probability of the target device existing at the location point is determined using the first prediction algorithm;

[0098] Based on the first probability and the third probability corresponding to the location point, determine the second probability that the target device exists at the location point;

[0099] A second probability distribution map is generated based on the second probabilities corresponding to each location point in the first probability distribution map;

[0100] The location interface displays a second probability distribution map.

[0101] In one possible implementation of the second aspect, the second probability corresponding to each location point is the product of the first probability corresponding to the location point and the third probability corresponding to the location point.

[0102] The positioning device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.

[0103] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0104] Based on the same concept, this application also provides an electronic device, please refer to... Figure 9 , Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0105] The electronic device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, a headphone jack 270D, a sensor module 280, buttons 290, a motor 291, an indicator 292, a camera 293, a display screen 294, and a subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a solid pressure sensor 280A, a gyroscope sensor 280B, a barometric pressure sensor 280C, a magnetic sensor 280D, an accelerometer sensor 280E, a distance sensor 280F, a proximity sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

[0106] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0107] Processor 210 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). These different processing units may be independent devices or integrated into one or more processors.

[0108] The controller can serve as the nerve center and command center of an electronic device. Based on the instruction opcode and timing signals, the controller generates operation control signals to control the fetching and execution of instructions.

[0109] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0110] In some embodiments, the processor 210 may include one or more interfaces. Interfaces 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.

[0111] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). The I2S interface can be used for audio communication. The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. The UART interface is a universal serial data bus used for asynchronous communication; this bus can be a bidirectional communication bus, converting the data to be transmitted between serial and parallel communication. The MIPI interface can be used to connect the processor 210 to peripheral devices such as the display 294 and camera 293; MIPI interfaces include camera serial interface (CSI) and display serial interface (DSI). The GPIO interface can be configured via software; it can be configured as a control signal or a data signal. The USB interface 230 is a USB standard compliant interface, specifically a Mini USB interface, MicroUSB interface, or USB Type-C interface. The USB interface 230 can be used to connect a charger to charge electronic devices, or to transfer data between electronic devices and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0112] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a limitation on the structure of the electronic device. In other embodiments of this application, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0113] The charging management module 240 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 receives charging input from the wired charger via a USB interface 230. In some wireless charging embodiments, the charging management module 240 receives wireless charging input via the wireless charging coil of the electronic device. While charging the battery 242, the charging management module 240 can also supply power to the electronic device via the power management module 241.

[0114] The power management module 241 connects the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, providing power to the processor 210, internal memory 221, external memory, display screen 294, camera 293, and wireless communication module 260. The power management module 241 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 241 may also be located within the processor 210. In other embodiments, the power management module 241 and the charging management module 240 may be housed in the same device.

[0115] The wireless communication function of electronic devices can be realized through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor and baseband processor, etc.

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

[0117] The mobile communication module 250 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G in electronic devices. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 may be housed in processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 and at least some modules of the processor 210 may be housed in the same device.

[0118] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 270A, receiver 270B, etc.) or displays images or videos through the display screen 294. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 210 and may be housed in the same device as the mobile communication module 250 or other functional modules.

[0119] The wireless communication module 260 can provide solutions for wireless communication applications in electronic devices, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 210. The wireless communication module 260 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0120] In some embodiments, antenna 1 of the electronic device is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, enabling the electronic device to communicate with networks and other devices via wireless communication technology. The 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-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies. The GNSS may include Global Positioning System (GPS), Global Navigation Satellite System (GNSS), BeiDou Navigation Satellite System (BDS), Quasi-Zenith Satellite System (QZSS), and / or Satellite Based Augmentation Systems (SBAS).

[0121] Electronic devices implement display functions through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connecting the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. The processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information.

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

[0123] Electronic devices can achieve shooting functions through ISP, camera 293, video codec, GPU, display 294 and application processor.

[0124] The ISP is used to process data fed back from camera 293. Camera 293 is used to capture still images or video. The digital signal processor is used to process digital signals; in addition to processing digital image signals, it can also process other digital signals. The video codec is used to compress or decompress digital video.

[0125] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0126] Internal memory 221 can be used to store computer executable program code, which includes instructions. Processor 210 executes various functional applications and data processing of the electronic device by running the instructions stored in internal memory 221. Internal memory 221 may include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a function (such as sound playback, image playback, etc.). The data storage area may store data created during the use of the electronic device (such as audio data, phonebook, etc.). Furthermore, internal memory 221 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0127] The external storage interface 220 can be used to connect external storage devices, such as Micro SD cards, to expand the storage capacity of electronic devices. The external storage card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external storage card.

[0128] Electronic devices can implement audio functions through audio modules 270, speakers 270A, receivers 270B, microphones 270C, headphone jacks 270D, and application processors. Examples include music playback and recording.

[0129] Audio module 270 is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. Audio module 270 can also be used for encoding and decoding audio signals. In some embodiments, audio module 270 can be located in processor 210, or some functional modules of audio module 270 can be located in processor 210. Speaker 270A, also called a "loudspeaker," is used to convert audio electrical signals into sound signals. Receiver 270B, also called a "handpiece," is used to convert audio electrical signals into sound signals. Microphone 270C, also called a "microphone" or "microphone," is used to convert sound signals into electrical signals. Headphone jack 270D is used to connect wired headphones. Headphone jack 270D can be a USB interface 230, or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.

[0130] Buttons 290 include a power button, volume buttons, etc. Buttons 290 can be mechanical buttons or touch buttons. The electronic device can receive button inputs and generate key signal inputs related to user settings and function control. Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback. Indicator 292 can be an indicator light, used to indicate charging status, battery level changes, messages, missed calls, notifications, etc. SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to achieve contact and separation with the electronic device. The electronic device can support one or N SIM card interfaces, where N is a positive integer greater than 1. SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.

[0131] The electronic device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so they will not be described again here.

[0132] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the methods described in the above-described method embodiments.

[0133] This application also provides a computer program product that, when run on an electronic device, causes the electronic device to implement the method described in the above-described method embodiments.

[0134] This application also provides a chip system including a processor coupled to a memory. The processor executes a computer program stored in the memory to implement the method described in the above-described method embodiments. The chip system may be a single chip or a chip module composed of multiple chips.

[0135] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, or magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0136] Those skilled in the art will understand that implementing all or part of the processes in the above embodiments can be accomplished by a computer program instructing related hardware. This program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in the above method embodiments. The aforementioned storage medium can include various media capable of storing program code, such as ROM or random access memory (RAM), magnetic disks, or optical disks.

[0137] The naming or numbering of steps in this application does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effect can be achieved.

[0138] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0139] In the embodiments provided in this application, it should be understood that the disclosed apparatus / devices and methods can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0140] It should be understood that in the description of this application and the appended claims, the terms "comprising," "including," "having," and any variations thereof are intended to cover a non-exclusive inclusion and mean "including but not limited to," unless otherwise specifically emphasized. For example, a process, method, system, product, or apparatus that includes a series of steps or modules is not necessarily limited to those steps or modules that are explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to such process, method, product, or apparatus.

[0141] In the description of this application, unless otherwise stated, " / " indicates that the objects before and after are in an "or" relationship. For example, A / B can mean A or B. "And / or" in this application is used to describe the relationship between the related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural.

[0142] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.

[0143] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0144] Furthermore, in the description of this application and the appended claims, the terms "first," "second," etc., are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein; features defined as "first" or "second" may explicitly or implicitly include at least one of those features.

[0145] In the embodiments described in this application specification, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "exemplarily" or "for example" in the embodiments of this application specification should not be construed as being more preferred or advantageous than other embodiments or design options. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0146] References to "one embodiment" or "some embodiments" in this specification mean that one or more embodiments of this specification include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in still other embodiments" appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized.

[0147] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A positioning method applied to an electronic device, characterized in that, The method comprises: in response to a first operation, displaying a positioning interface, wherein position information of the electronic device and a first probability distribution diagram of a target device are displayed in the positioning interface, the first probability distribution diagram indicating a first probability of the target device existing at each position point in a first region, the first probability being greater than zero, and the electronic device being connected to the target device through Bluetooth; in response to an operation of moving the electronic device, displaying a second probability distribution diagram in the positioning interface, the second probability distribution diagram indicating a second probability of the target device existing at each position point in a second region, the second region being located in the first region, the second probability being greater than zero, and the probability distribution of the target device in the second probability distribution diagram being more convergent than the probability distribution in the first probability distribution diagram.

2. The method of claim 1, wherein, The first region is a first circular ring region, wherein a center of the first circular ring region is the current position of the electronic device, an inner ring radius of the first circular ring region is a difference between a first distance and a target error value, and an outer ring radius of the first circular ring region is a sum of the first distance and the target error value, the first distance being a distance between the electronic device and the target device measured by the electronic device.

3. The method of claim 2, wherein, In the first region, the closer the distance between the position point and the electronic device is to the first distance, the greater the corresponding first probability is.

4. The method according to any one of claims 1 to 3, characterized in that, In the first probability distribution diagram and the second probability distribution diagram, the greater the probability of a position point is, the darker the color of the position point is.

5. The method according to any one of claims 1 to 4, characterized in that, The second probability of each position point is a probability of the target device existing at the position point determined by using a first prediction algorithm according to position information after the electronic device is moved. The displaying of the second probability distribution diagram in the positioning interface comprises: determining a second distance between the electronic device and the target device; for each position point in the first probability distribution diagram, determining a third probability of the target device existing at the position point by using the first prediction algorithm according to the position information after the electronic device is moved and the second distance; determining a second probability of the target device existing at the position point according to the first probability and the third probability of the position point; generating the second probability distribution diagram according to the second probability of each position point in the first probability distribution diagram; and displaying the second probability distribution diagram in the positioning interface.

6. The method of claim 5, wherein, The second probability of each position point is a product of the first probability of the position point and the third probability of the position point.

7. An electronic device, comprising: The method comprises: a memory and a processor, the memory being used to store a computer program, and the processor being used to execute the computer program to perform the method according to any one of claims 1-6.

8. A computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method according to any one of claims 1-6.

9. A computer program product, characterised in that, When the computer program product is running on the electronic device, the electronic device is caused to perform the method according to any one of claims 1-6.

10. A chip system, characterized by The chip system comprises a processor coupled with a memory, and the processor executes a computer program stored in the memory to implement the method according to any one of claims 1-6.