Method, device and system for determining device location

Intelligent devices use antenna structures with different transmission distances to measure reception intensity parameters to achieve precise positioning of electronic devices close to the device, solve problems that may cause attention when using security equipment, and improve safety.

CN114945133BActive Publication Date: 2024-10-11HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202110182054.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-08
Publication Date
2024-10-11
Estimated Expiration
2041-02-08

AI Technical Summary

Technical Problem

Existing security equipment can easily attract the attention of strangers when in use, leading to possible damage, and it is difficult to accurately locate electronic devices close to the equipment.

Method used

Intelligent devices use antenna structures with different transmission distances to measure the reception intensity parameters of electronic devices, determine their location information, and achieve precise positioning of electronic devices close to the device.

Benefits of technology

It effectively avoids the risk of strangers damaging the device, and enables precise positioning and monitoring of electronic devices close to the smart device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114945133B_ABST
    Figure CN114945133B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method, apparatus and system for determining the location of a device, and relate to the field of terminal technology. The solution is applied to a smart device with an antenna structure, and is characterized in that the wireless signal transmission distance of the antenna structure includes a first transmission distance and a second transmission distance, and the first transmission distance is smaller than the second transmission distance. The method comprises: receiving information of a first electronic device from a first electronic device; determining a first reception strength parameter of the first electronic device measured when the antenna structure operates at the first transmission distance when the first electronic device is positioned according to the information of the first electronic device; determining a second reception strength parameter of the first electronic device measured when the antenna structure operates at the second transmission distance when the first reception strength parameter indicates that the first electronic device is located within the first transmission distance; and determining the location information of the first electronic device according to the first reception strength parameter and the second reception strength parameter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of terminal technology, and in particular, to a method, apparatus, and system for determining a location of a device. Background Art

[0002] Users can purchase specific security equipment (such as home cameras, door magnetic sensors, infrared access control, or video intercoms) and place them at home so that when the user is away from home, they can use the above security equipment to check whether there are strangers entering the home.

[0003] However, using security equipment for monitoring can easily attract the attention of strangers. For example, when a user uses a camera or infrared access control, when a stranger enters the area where the security equipment is deployed, if the stranger finds the security equipment, the stranger may destroy the security equipment in advance. Summary of the invention

[0004] The present application provides a method, apparatus and system for determining the location of a device, which are used to accurately locate electronic devices close to the smart device by using smart devices with different transmission distances.

[0005] In order to achieve the above objectives, this application provides the following technical solutions:

[0006] In a first aspect, the present application provides a method for determining the location of a device, which is applied to a smart device (such as a smart speaker, a smart TV) having an antenna structure, wherein the wireless signal transmission distance of the antenna structure includes a first transmission distance and a second transmission distance, and the first transmission distance is less than the second transmission distance, and the method includes: the smart device receives information of a first electronic device from a first electronic device (such as a mobile phone). For example, the information of the first electronic device may be an identifier of the first electronic device. When the smart device determines to locate the first electronic device based on the information of the first electronic device, the smart device determines a first reception strength parameter of the first electronic device measured when the antenna structure operates at the first transmission distance. When the first reception strength parameter indicates that the first electronic device is located within the first transmission distance, the smart device determines a second reception strength parameter of the first electronic device measured when the antenna structure operates at the second transmission distance. The smart device determines the location information of the first electronic device based on the first reception strength parameter and the second reception strength parameter.

[0007] The first aspect of the present application provides a method for determining the location of a device, in which when the smart device receives information about the first electronic device, it indicates that there are devices close to the smart device around the smart device. Afterwards, when the smart device determines to locate the first electronic device based on the information of the first electronic device, the first receiving strength parameter of the first electronic device is measured using the antenna structure. Since the greater the distance between the first electronic device and the smart device, the smaller the measured first receiving strength parameter, and the smaller the distance between the first electronic device and the smart device, the larger the measured first receiving strength parameter, the smart device can determine whether the first electronic device is located within the first transmission distance based on the first receiving strength parameter. When the first electronic device is located within the first transmission distance, it indicates that the first electronic device is within the monitoring range of the smart device. Therefore, the subsequent smart device can calculate the location information of the first electronic device based on the second receiving strength parameter measured when the antenna structure works at the second transmission distance and the first receiving strength parameter, thereby realizing accurate positioning of the electronic device close to the smart device.

[0008] In an implementation of the first aspect, the location information of the first electronic device includes the location of the first electronic device relative to the smart device (for example, the first electronic device is located in the northwest direction of the smart device), and the smart device determines the location information of the first electronic device based on the first receiving strength parameter and the second receiving strength parameter, including: the smart device determines the distance between the first electronic device and the smart device based on the first receiving strength parameter. The smart device determines the azimuth information between the first electronic device and the smart device based on the second receiving strength parameter. The smart device determines the location of the first electronic device relative to the smart device based on the distance and azimuth information. The distance and azimuth between the first electronic device and the smart device are obtained from the receiving strength parameters measured when the antenna structure operates at different transmission distances, so that the location of the first electronic device relative to the smart device can be accurately obtained.

[0009] In an implementation of the first aspect, before the smart device receives information from the first electronic device of the first electronic device, the method provided in the embodiment of the present application further includes: the smart device broadcasts a discovery message, and the discovery message is used to request the device that receives the discovery message to report the device information to the smart device. For example, the smart device can broadcast the discovery message periodically according to a preset period, or the smart device can broadcast the discovery message periodically according to a preset period within a specified time period, or the smart device can broadcast the discovery message under the triggering of other devices, and the embodiment of the present application does not limit this.

[0010] In an implementation of the first aspect, the smart device has a whitelist list, which records information of one or more devices. The smart device determines the situation of locating the first electronic device based on the information of the first electronic device, specifically including: the situation where the information of the first electronic device does not belong to the whitelist list.

[0011] In an implementation of the first aspect, when the information of the first electronic device does not belong to the whitelist, the method provided in the first aspect of the present application may also include: the smart device sends the information of the first electronic device to the second electronic device (such as Xiao Ming's mobile phone). The smart device receives a first operation instruction from the second electronic device. In response to the first operation instruction, the smart device determines to locate the first electronic device. In this scheme, the smart device first determines that the first electronic device does not belong to the whitelist based on the information of the first electronic device, and then the smart device provides the information of the first electronic device to the second electronic device, so that it can be determined based on the user's trigger that the first electronic device close to the smart device needs to be located.

[0012] In an implementation of the first aspect, when the information of the first electronic device belongs to the whitelist, the method provided in the first aspect of the present application may further include: the smart device does not perform an operation of locating the first electronic device. Or the smart device provides instruction information not to locate the first electronic device to other smart devices in the area where the smart device is located. The other smart devices may be devices that are connected to the same wireless access device as the smart device. For example, the other smart devices may be smart TVs.

[0013] In an implementation of the first aspect, the smart device accesses the network through a wireless access device, and the method provided in the embodiment of the present application also includes: the smart device obtains a whitelist from the wireless access device. For example, the smart device may request the wireless access device (such as a wireless router) to provide the smart device with a whitelist. Or the smart device may actively provide the whitelist to the smart device. In addition, when the whitelist is updated, the smart device may also obtain an updated whitelist from the wireless access device. For example, when the whitelist is updated, the wireless access device actively provides the updated whitelist to the smart device.

[0014] In an implementation of the first aspect, the method provided in the first aspect of the present application also includes: the smart device sends information of the first electronic device to the second electronic device. The smart device receives a second operation instruction from the second electronic device. In response to the second operation instruction, the smart device determines to locate the first electronic device. In this scheme, after the smart device receives the information of the first electronic device, it sends the information of the first electronic device to the second electronic device, and then determines whether to locate the first electronic device based on the operation instruction from the second electronic device. For example, if the user of the second electronic device (Xiao Ming) determines that the first electronic device is an unknown device, the first operation instruction indicating positioning can be triggered. For example, if the user of the second electronic device determines that the first electronic device is a legitimate device (for example, a device of Xiao Ming's family or friends), an operation instruction not to locate can be triggered.

[0015] In an implementation of the first aspect, the method provided in the first aspect of the present application further includes: when the first reception strength parameter indicates that the first electronic device is located within the first transmission distance, starting a positioning software module of the smart device, the positioning software module is used to calculate the location information of the first electronic device. In other words, the positioning software module of the smart device is normally in a closed state, and only when the first electronic device is located within the first transmission distance, the smart device starts the positioning software module of the smart device. Of course, if the positioning software module of the smart device is in an open state by default, the smart device may not execute the step of starting the positioning software module of the smart device.

[0016] In one implementation of the first aspect, when the positioning software module of the smart device is in an on state, if the smart device determines that the first electronic device is located outside the first transmission distance according to the first reception strength parameter, the smart device turns off the positioning software module of the smart device. For example, when a stranger's mobile phone approaches the smart device first, and the smart device detects that the first reception strength parameter of the mobile phone indicates that the mobile phone is located within the first transmission distance, if the mobile phone subsequently moves away from the smart device, the smart device can still detect the first reception strength parameter of the mobile phone, but the first reception strength parameter of the mobile phone indicates that the mobile phone is located outside the first transmission distance, then the smart device can turn off the positioning software module of the smart device. For another example, when the smart device cannot detect the first reception strength parameter of the mobile phone, or the first reception strength parameter of the mobile phone is not detected within a continuous time period, or the time when the smart device determines that the mobile phone is located outside the first transmission distance exceeds a specified time, then the smart device can turn off the positioning software module of the smart device.

[0017] In an implementation of the first aspect, the method provided in the first aspect of the present application further includes: the smart device receives a third operation instruction. In response to the third operation instruction, the smart device sets the wireless signal transmission distance of the antenna structure. For example, the smart device can set the first transmission distance to 3 meters and the second transmission distance to 5 meters.

[0018] In an implementation of the first aspect, the antenna structure includes an independently arranged first antenna (such as a short-range antenna) and a second antenna (a long-range antenna), the wireless signal transmission distance of the first antenna is a first transmission distance, and the wireless signal transmission distance of the second antenna is a second transmission distance, and the smart device determines a first reception strength parameter of a first electronic device measured when the antenna structure operates at the first transmission distance, including: the smart device uses the short-range antenna to measure the first reception strength parameter of the first electronic device. The smart device determines a second reception strength parameter of the first electronic device measured when the antenna structure operates at the second transmission distance, including: the smart device uses the long-range antenna to measure the second reception strength parameter of the first electronic device.

[0019] In an implementation of the first aspect, the antenna structure is a single antenna, and the wireless signal transmission distance of the single antenna is a first transmission distance and a second transmission distance. The smart device determines the reception strength parameter of the first electronic device measured when the antenna structure operates at the first transmission distance, including: the smart device controls the antenna structure to operate at the first transmission distance, so as to use the antenna structure to measure the first reception strength parameter of the first electronic device. When the first reception strength parameter indicates that the first electronic device is located within the first transmission distance, the second reception strength parameter of the first electronic device measured when the antenna structure operates at the second transmission distance is determined, including: when the first reception strength parameter indicates that the first electronic device is located within the first transmission distance, the smart device controls the wireless signal transmission distance of the antenna structure to switch from the first transmission distance to the second transmission distance, so as to use the antenna structure to measure the second reception strength parameter of the first electronic device.

[0020] In an implementation of the first aspect, the smart device has a camera, and the method provided in the first aspect of the present application further includes: the smart device adjusts the shooting angle of the camera according to the position information of the first electronic device, so that the shooting angle of the camera is toward the position where the first electronic device is located. In this way, the image of the user of the first electronic device can be accurately captured by using the camera of the smart device.

[0021] In an implementation of the first aspect, the method provided in the first aspect of the present application further includes: the smart device sends a prompt message to the second electronic device, the prompt message includes the location information and / or warning information of the first electronic device, and the warning information is used to prompt that there is an unknown device or a suspicious person approaching the smart device. This makes it easy for Xiao Ming to use his second electronic device to promptly discover the presence of an unknown device or a suspicious person in the area where the smart device is located and the location of the unknown device or the suspicious person.

[0022] In a second aspect, an embodiment of the present application provides a method for determining a location of a device, the method being applied to an electronic device, the method comprising: when approaching a smart device, reporting an identification of the electronic device to the smart device.

[0023] In an implementation of the second aspect, when approaching a smart device, reporting the identification of the electronic device to the smart device specifically includes: when approaching the smart device, if the electronic device receives a discovery message from the smart device, the electronic device reports the identification of the electronic device to the smart device.

[0024] In other words, taking the electronic device as a mobile phone as an example, the mobile phone can also measure the distance between it and the smart device. When the mobile phone determines that it is close to the smart device, it can actively report the identification of the electronic device to the smart device, or report the identification of the electronic device to the smart device based on the discovery message of the smart device, so that the smart device can determine the location of the mobile phone.

[0025] In a third aspect, the present application provides a system for determining the location of a device, the system comprising one or more smart devices, and a first electronic device, the smart device having an antenna structure, the wireless signal transmission distance of the antenna structure comprising a first transmission distance and a second transmission distance, the first transmission distance being less than the second transmission distance, wherein the first electronic device is configured to execute the method described in the second aspect and various implementations, and the smart device is configured to execute the method described in the first aspect and various implementations. The smart device is configured to execute the method described in the first aspect and various implementations.

[0026] In a fourth aspect, the present application provides a device for determining the location of a device, which is included in an intelligent device and has the function of implementing the behavior of the intelligent device in the first aspect and possible implementation methods. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a receiving module or unit, a determining module or unit, a measuring module or unit, etc.

[0027] In a fifth aspect, the present application provides a device for determining the location of a device, which is included in an electronic device, and has the function of implementing the behavior of the electronic device in the above-mentioned second aspect and possible implementation methods. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above-mentioned functions. For example, a sending module or unit, a determining module or unit, a measuring module or unit, etc.

[0028] In a sixth aspect, the present application provides a smart device, which has an antenna structure, wherein the wireless signal transmission distance of the antenna structure includes a first transmission distance and a second transmission distance, and the first transmission distance is smaller than the second transmission distance. The smart device includes: one or more processors and a memory; the memory is coupled to the one or more processors, and the memory is used to store computer program code, wherein the computer program code includes computer instructions. When the one or more processors execute the computer instructions, the smart device executes the method for determining the device location described in the first aspect or various implementations of the first aspect.

[0029] In a seventh aspect, the present application provides an electronic device, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the method for determining the device location described in the second aspect or various implementations of the second aspect.

[0030] In an eighth aspect, the present application provides a computer-readable storage medium, comprising computer instructions. When the computer instructions are executed on a smart device, the smart device executes the method for determining the location of the device described in the first aspect or various implementations of the first aspect.

[0031] In a ninth aspect, the present application provides a computer storage medium, a computer-readable storage medium or a non-volatile computer-readable storage medium storing computer instructions. When the computer instructions are executed on a smart device, the electronic device executes the method for determining the location of the device described in the second aspect or various implementations of the second aspect.

[0032] The tenth aspect of the present application provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the method for determining the location of a device described in the first aspect or various implementations of the first aspect.

[0033] The eleventh aspect of the present application provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the method for determining the location of a device described in the second aspect or various implementations of the second aspect.

[0034] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present application;

[0036] Figure 2 A schematic diagram of the layout of various smart devices in a home provided by an embodiment of the present application;

[0037] Figure 3A A schematic diagram of the structure of a mobile phone provided in an embodiment of the present application;

[0038] Figure 3B A schematic diagram of the structure of a smart device provided in an embodiment of the present application;

[0039] Figure 4 A schematic diagram of a user's mobile phone interface provided in an embodiment of the present application;

[0040] Figure 5 A schematic diagram of the layout of smart devices in a user's home provided in an embodiment of the present application;

[0041] Fig. 6A A flowchart of a method for determining a device location provided in an embodiment of the present application;

[0042] Figure 6B A flowchart of another method for determining a device location provided in an embodiment of the present application;

[0043] Figure 6C A flowchart of another method for determining a device location provided in an embodiment of the present application;

[0044] Figure 7 A schematic diagram of another user's mobile phone interface provided in an embodiment of the present application;

[0045] Figure 8 A schematic diagram of the signal strength of a mobile phone 2 measured by various smart devices provided in an embodiment of the present application;

[0046] Fig. 9 Another schematic diagram of the signal strength of the mobile phone 2 measured by each smart device provided in an embodiment of the present application;

[0047] Fig.10 A schematic diagram of the transmission distances of a long-range antenna and a short-range antenna of a smart speaker provided in an embodiment of the present application;

[0048] Fig.11 A schematic diagram of the transmission distances of a long-range antenna and a short-range antenna of another smart speaker provided in an embodiment of the present application. DETAILED DESCRIPTION

[0049] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish the same items or similar items with basically the same functions and effects. For example, the first room and the second room are only used to distinguish different rooms, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.

[0050] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0051] In the present application, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers 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, c can be single or multiple.

[0052] A method for determining a device location provided by an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0053] Figure 1 1 is a schematic diagram of a system for implementing a solution provided in an embodiment of the present application. The method for determining the location of a device provided in an embodiment of the present application can be applied to the system 100, such as Figure 1 As shown, the system 100 may include one or more smart devices 10 and an electronic device 20, which is not limited in the embodiment of the present application.

[0054] For example, the smart device 10 may be: a smart doorbell, a smart speaker, a smart TV, a robot vacuum cleaner, a storytelling machine, a smart robot, a smart rice cooker, a smart desk lamp, an electric curtain, a smart power bank, a personal computer (PC), a game console, a tablet computer, a smart air conditioner, a smart fitness device, a smart medical device, etc. The electronic device 20 in the embodiment of the present application may be a mobile phone, a personal digital assistant (PDA), a smart watch, a wearable device, an augmented reality (AR) device, a virtual reality (VR) device, a brain-computer interface device, etc. The embodiment of the present application does not impose any special restrictions on the specific form of the electronic device 20.

[0055] One or more smart devices 10 can be deployed in different locations in a specified area. The coverage of different smart devices 10 may or may not overlap, and the embodiments of the present application do not limit this. The coverage of the smart device 10 can be understood as the second transmission distance of the wireless signal of the antenna structure possessed by the smart device. In addition to the coverage range, the smart device 10 may also have a monitoring range, and the monitoring range may be the first transmission distance of the wireless signal of the antenna structure possessed by the smart device. Taking the example of a smart device 10 including independently arranged short-range antennas and long-range antennas, the coverage range is the range corresponding to the maximum transmission distance of the long-range antenna, and the monitoring range is the range corresponding to the short-range antenna.

[0056] In some embodiments of the present application, the smart device 10 may also have one or more of a camera and an audio collection component, so that the smart device 10 can use the camera to collect images or videos of the user corresponding to the located device, or use the audio collection component to collect audio data of the user corresponding to the located device.

[0057] Optional, such as Figure 1 As shown, the system may also include a wireless access device, such as a router. The router may be used to provide a white list to one or more smart devices 10. The white list may record information of one or more devices, and the information of the one or more devices is used to indicate that there is no need to locate the one or more devices. The information of the one or more devices may be information of devices that access the wireless network through the router.

[0058] For example, taking the designated area as the home area, Figure 2 As shown, the one or more smart devices 10 include one or more of the following devices: a smart device located in the first room 110, a smart device located in the second room 120, a smart device located in the third room 130, and a smart device located in the fourth room 140. For example, the smart device located in the first room 110 may include one or more of the following: a smart TV 111, a smart speaker 113, a smart temperature adjustment device (e.g., a smart air conditioner, a smart fan, a smart air purifier), a sweeping robot, a smart lamp, etc. Among them, the smart temperature adjustment device (e.g., a smart air conditioner, a smart fan, a smart air purifier), a sweeping robot, a smart lamp, etc. Figure 2 The smart devices in the second room 120 include one or more of the following: a smart TV 121, a smart desk lamp 124, and a smart speaker 123. The smart devices in the third room 130 include one or more of the following: a smart TV 131, a smart desk lamp 134, and a smart temperature control device. The smart devices in the fourth room 140 include one or more of the following: a smart speaker 143, a smart projection device 141, and a smart temperature control device.

[0059] like Figure 2 As shown, Figure 1 The router shown may be a wireless router 145 deployed in the fourth room 140 .

[0060] The smart device 10 can discover the electronic device 20 close to the smart device 10 through wireless technology. In addition, one or more target antennas used in conjunction with wireless technology can be set on the smart device 10. The smart device 10 can receive the signal sent by the electronic device 20 based on one or more target antennas, so as to more accurately calculate the receiving strength parameter according to the signals received by the multiple target antennas. For example, the received signal strength indication (RSSI) or the reference signal receiving power (RSRP), etc., so as to determine the distance between the smart device 10 and the electronic device 20 according to the receiving strength parameter, and achieve proximity discovery. In the following embodiments of the present application, the receiving strength parameter RSSI is used as an example for explanation.

[0061] Please refer to Figure 3A , Figure 3A Taking the electronic device 20 as a mobile phone as an example, Figure 3A The structure diagram of a mobile phone provided by an embodiment of the present application is shown. The mobile phone 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 position conduction sensor 180M, etc.

[0062] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the mobile phone. In other embodiments of the present application, the mobile phone may include more or fewer components than shown in the figure, or combine certain components, or split certain 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.

[0063] 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 memory, 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.

[0064] The controller can be the nerve center and command center of the mobile phone. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.

[0065] The processor 110 may also be provided with a memory 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 cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0066] 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.

[0067] 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 to sample, quantize and encode analog signals. The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 with the wireless communication module 160. 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 processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the mobile phone. The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc.

[0068] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the mobile phone, and can also be used to transfer data between the mobile phone and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0069] It is understandable that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration and does not constitute a structural limitation on the mobile phone. In other embodiments of the present application, the mobile phone may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0070] The charging management module 140 is used to receive charging input from the charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0071] The wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.

[0072] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the 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.

[0073] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied on mobile phones. 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.

[0074] The modulation and demodulation processor may include a modulator and a demodulator, wherein the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal, and the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.

[0075] The wireless communication module 160 can provide wireless communication solutions including wireless local area network (WLAN) (such as wireless fidelity (WiFi) network), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR) and the like applied on the mobile phone. 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 frequency of 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 of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0076] For example, in the embodiment of the present application, the electronic device 20 can send information of the electronic device 20 to the smart device 10 through the wireless communication module 160 .

[0077] In some embodiments, the antenna 1 of the mobile phone is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through 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 code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The 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).

[0078] The mobile phone implements display functions 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.

[0079] 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), Miniled, MicroLED, Micro-OLED, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the mobile phone may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0080] The mobile phone can realize the shooting function through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0081] 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.

[0082] 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 mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0083] Digital signal processors are used to process digital signals. In addition to processing digital image signals, they can also process other digital signals. Video codecs are used to compress or decompress digital videos. Mobile phones can support one or more video codecs. In this way, mobile phones can play or record videos in multiple coding formats, such as moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0084] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos can be stored in the external memory card.

[0085] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the internal memory 121. 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 electronic device (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.

[0086] The mobile phone can realize audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor.

[0087] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The mobile phone can listen to music or listen to hands-free calls through the speaker 170A. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. When the mobile phone answers a call or voice message, the voice can be answered by placing the receiver 170B close to the human ear. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by placing the human mouth close to the microphone 170C to input the sound signal into the microphone 170C. The mobile phone can be provided with at least one microphone 170C. In other embodiments, the mobile phone can be provided with two microphones 170C, which can not only collect sound signals, but also realize the noise reduction function. In other embodiments, the mobile phone may be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0088] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0089] The pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal. The gyroscope sensor 180B can be used to determine the motion posture of the electronic device. The air pressure sensor 180C is used to measure the air pressure. In some embodiments, the electronic device calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device in all directions (generally three axes). The distance sensor 180F is used to measure the distance. The mobile phone can measure the distance through infrared or laser. The proximity light sensor 180G can include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode can be an infrared light emitting diode. The ambient light sensor 180L is used to sense the brightness of the ambient light. The mobile phone can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The temperature sensor 180J is used to detect the temperature. In some embodiments, the mobile phone uses the temperature detected by the temperature sensor 180J to execute the temperature processing strategy.

[0090] The fingerprint sensor 180H is used to collect fingerprints. The mobile phone can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. The touch sensor 180K is also called a "touch panel". 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 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.

[0091] In the embodiment of the present application, the position sensor 180M can obtain the position information of the mobile phone and convert it into a usable output signal. For example, for a mobile phone, the position sensor 180M can be a global positioning system (GPS) sensor, which can determine the latitude and longitude coordinates of the mobile phone, etc., and the embodiment of the present application is not limited to this.

[0092] The key 190 includes a power button, a volume button, etc. The key 190 can be a mechanical key or a touch key. The mobile phone can receive key input and generate key signal input related to the user settings and function control of the mobile phone.

[0093] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0094] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0095] The SIM card interface 195 is used to connect a SIM card.

[0096] In some embodiments of the present application, the hardware structure of the smart device 10 can refer to Figure 3B The smart device 10 includes a processor 210, an internal memory 221, an external memory interface 220, a USB interface 230, a charging management module 240, a battery management module 241, a battery 242, a sensor module 260, a wireless communication module 250, an antenna 1 and an antenna 2. The functions of the various components of the smart device 10 can be referred to as Figure 3AThe functions of the relevant components of the mobile phone shown are not repeated here. It is worth noting that when the smart device 10 is a device without a display screen, then the hardware structure of the smart device 10 may not include a display screen. When the smart device 10 is a device with a display screen, for example, the smart device 10 is a smart TV or a smart speaker with a display screen, then the hardware structure of the smart device 10 may include a display screen. The hardware structure of the smart device 10 may also include a camera or an audio acquisition component. Optionally, antenna 1 and antenna 2 may be physically the same antenna or different wires.

[0097] It should be noted that the smart device 10 may include Figure 3B More or fewer components are shown, or some components are combined, or some components are separated, or different component arrangements are arranged. The components shown can be implemented in hardware, software, or a combination of software and hardware.

[0098] It should be understood that mobile phones and smart devices may include all of the hardware structures introduced above, or include part of the above hardware structures, or have more other hardware structures not listed above, and the embodiments of the present application are not limited to this.

[0099] It should also be understood that mobile phones and portable devices, as electronic devices, can adopt software systems such as layered architecture, Harmony OS architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture.

[0100] The method provided in the embodiment of the present application can be applied to the following scenarios: Figure 4 The interface shown in Figure (A) is the interface of Xiao Ming's mobile phone 1. Xiao Ming clicks on the application (application, App) running on mobile phone 1, such as the Smart Life App, to trigger mobile phone 1 to enter Figure 4 In the interface shown in Figure (B), Figure 4 In the interface shown in Figure (B), users can see Figure 2 The status of each smart device in the home scene shown and the status of the router. The user can trigger control 411 to exit the current interface. The user can trigger control 413 to add smart devices deployed in the home area under the current smart scene. The user can trigger control 412 corresponding to each smart device to choose whether to set the smart device as a monitoring point. For example, the user can choose to trigger control 412 corresponding to smart devices other than the smart TV in the second room to be in the on state, and trigger control 412 corresponding to the smart TV in the second room to be in the off state. When the control corresponding to a smart device is in the off state, it means that the smart device can not be used as a monitoring point, that is, it does not execute the control in the embodiment of the present application. Figure 6A to Figure 6CIf a control corresponding to a smart device is in the on state, it means that the smart device will subsequently serve as a monitoring point to execute the method in the embodiment of the present application. Figure 6A to Figure 6C The method shown.

[0101] User in Figure 4 After selecting the monitoring point in the interface shown in Figure (B), after the user leaves home, the user can use one or more smart devices serving as monitoring points to locate the devices that enter the user's home.

[0102] In addition to setting which smart devices can be used as monitoring points and which smart devices can not be used as monitoring points, users can also trigger the mobile phone to set the coverage of each monitoring point, so that all smart devices used as monitoring points can cover the user's home area as much as possible. Figure 5 As shown, the user can trigger the mobile phone to set the coverage of the smart TV 111 to A meters. Set the coverage of the smart speaker 113 to B meters, and the coverage of the smart desk lamp 124 to C meters. The coverage of the smart speaker 123 is D meters. For example, A is 4 meters, B is 3 meters, C is 2 meters, and D is 3 meters, so that the entire indoor space is fully covered as much as possible.

[0103] Optionally, the coverage range of each smart device may be the same or different, and this embodiment of the application does not limit this. Optionally, due to factors such as irregular signal attenuation and obstacle obstruction, the coverage range of the smart device may not be the same as Figure 5 The regular circle shown, the number of meters of the above coverage range can be an approximate, average or estimated value and does not necessarily have to be an accurate value. The embodiment of the present application does not limit the specific shape of the coverage range.

[0104] For family spaces that need special attention, high / ultra-high precision can be set. In the embodiment of the present application, Xiao Ming can trigger mobile phone 1 to set the coverage of smart devices arranged in the space to centimeter-level distance. In other words, the smart device can support cm-level distance setting at a minimum. For example, for the second room 120 that needs special attention, Xiao Ming can trigger mobile phone 1 to set the coverage of smart speaker 123 to 50cm. Optionally, antenna 1 of smart speaker 123 can be used to achieve cm-level positioning. For non-key areas of concern, a WLAN long antenna (i.e., antenna 2 of the smart device) and WLAN power adjustment can be used to achieve a larger coverage perception area, such as setting the coverage to 3 meters, 5 meters, 10 meters, etc.

[0105] The following will combine with a specific embodiment to describe in detail a method for determining the location of a device provided in an embodiment of the present application, taking the smart device 10 as a smart speaker 113 deployed in Xiao Ming's home area and the electronic device 20 as a mobile phone 2 of user X near Xiao Ming's home area as an example.

[0106] In some embodiments of the present application, after the smart speaker 113 is powered on, it accesses the wireless network through the wireless router 145 deployed in Xiao Ming's home area. Fig. 6A , the smart speaker 113 or the smart TV 111 sends a discovery message. The discovery message is used to request the device that receives the discovery message to feed back information to the sender (such as the smart speaker 113). For example, when mobile phone 2 is within the coverage or monitoring range of the smart speaker 113, mobile phone 2 can receive the discovery message sent by the smart speaker 113. In response to the above discovery message, mobile phone 2 can send the identification of mobile phone 2 to the smart speaker 113, and the above identification is the information fed back to the smart speaker 113 by mobile phone 2.

[0107] When the smart speaker 113 and the smart TV 111 are selected as monitoring points, the smart speaker 113 and the smart TV 111 can send discovery messages to find out whether there are other devices around. When the smart speaker 113 and the smart TV 111 are not selected as monitoring points, the smart speaker 113 and the smart TV 111 will not send discovery messages. Optionally, whether the smart device is selected as a monitoring point can be set by the user through the user graphical interface, or it can be configured by the smart device manufacturer before the device leaves the factory. Optionally, whether the smart device is selected as a monitoring point can be implemented by software and / or hardware configuration, and can be implemented by switching a user graphical interface button or a physical button of the smart device.

[0108] As an example, the above discovery message is sent by the smart speaker 113 or the smart TV 111 in the form of a broadcast. In the embodiment of the present application, the smart speaker 113 or the smart TV 111 can broadcast the discovery message periodically according to a preset period. For example, the preset period may be once every 5 seconds, once every 10 seconds, once every 50 milliseconds or once every 100 milliseconds, which is not limited in the embodiment of the present application. The period for sending discovery messages by the smart speaker 113 and the smart TV 111 may be the same or different, which is not limited in the embodiment of the present application. Optionally, Xiao Ming can set the preset period for the smart device to send discovery messages through the mobile phone 1 or through the smart device. Optionally, the preset period can be preset by the smart device manufacturer before leaving the factory.

[0109] As an example, the discovery message may also carry the identifier of the smart device 10, and the identifier of the smart device 10 is used to identify the smart device 10. In this way, the device receiving the discovery message can determine which smart device the discovery message is sent from. For example, the discovery message sent by the smart speaker 113 carries the identifier of the smart speaker 113. The identifier of the smart speaker 113 may be the media access control (MAC) address, name or IP address of the smart speaker 113, or other information that can identify the smart speaker 113, which is not limited in the embodiments of the present application.

[0110] When mobile phone 2 is close to smart speaker 113 (i.e., within the coverage or monitoring range of smart speaker 113), it will receive a discovery message from smart speaker 113. Similarly, other devices (e.g., smart TV 111) within the coverage or monitoring range of smart speaker 113 will also receive a discovery message from smart speaker 113.

[0111] Normally, after receiving the discovery message, the smart TV 111 also needs to send the identification of the smart TV 111 to the smart speaker 113, so the smart speaker 113 will also receive the identification of the smart TV 111 fed back by the smart TV 111. However, the smart speaker 113 does not actually need to locate the smart TV 111, that is, the smart speaker 113 may not actually receive the identification of the smart TV 111 fed back by the smart TV 111. Therefore, after receiving the discovery message sent by the smart speaker 113, the smart TV 111 may first determine whether to respond to the discovery message.

[0112] Optionally, the smart TV 111 may determine whether to respond to the discovery message by using a whitelist. For example, if the smart TV 111 finds that the device (smart speaker 113) or the device identifier (identifier of the smart speaker 113) corresponding to the discovery request belongs to the whitelist, the smart TV 111 may not respond to the discovery message, that is, it is not necessary to send the identifier of the smart TV 111 to the smart speaker 113.

[0113] For mobile phone 2, in one possible case, mobile phone 2 may not store a whitelist, or mobile phone 2 cannot obtain a whitelist. The above-mentioned situation where mobile phone 2 does not store or cannot obtain a whitelist may include but is not limited to the situation where mobile phone 2 is an unknown device, mobile phone 2 is not a trusted device, mobile phone 2 has not been connected to the wireless router 145 before, mobile phone 2 is not a device that frequently appears in the coverage range or monitoring range for a long period of time before, or mobile phone 2 is not a device included in the smart home cloud list. At this time, when mobile phone 2 receives the discovery message, it needs to send the identification of mobile phone 2 to the smart speaker 113.

[0114] In another possible case, a whitelist is stored in mobile phone 2, or mobile phone 2 can obtain a whitelist. The above-mentioned situation where a whitelist is stored in mobile phone 2 or a whitelist can be obtained may include but is not limited to the situation that mobile phone 2 is a known device, mobile phone 2 is a trusted device, mobile phone 2 has been connected to wireless router 145 before, mobile phone 2 is a device that frequently appears in the coverage range or monitoring range for a long period of time before, or mobile phone 2 is a device included in the smart home cloud list. At this time, when mobile phone 2 receives the discovery message, it is determined that the device (smart speaker 113) or the identifier of the device (identifier of smart speaker 113) corresponding to the discovery request belongs to the whitelist, then mobile phone 2 may not feedback the identifier of mobile phone 2, that is, mobile phone 2 does not send the identifier of mobile phone 2 to smart speaker 113. Under normal circumstances, if mobile phone 2 determines that the identifier of smart speaker 113 belongs to the whitelist, it means that mobile phone 2 and smart speaker 113 access the wireless network through the same wireless router 145, and it can be inferred that mobile phone 2 may not be an unknown device.

[0115] In order to reduce the power consumption of the smart device 10, in some embodiments of the present application, the smart speaker 113 or the smart TV 111 may periodically send discovery messages according to their respective cycles within a specified time period.

[0116] For example, Xiao Ming can use the above-mentioned smart life app to set a specified time period on the smart life app. For example, taking the specified time period as Xiao Ming's away time period (for example, 8:00-20:00) as an example, during the away time period, the smart speaker 113 or the smart TV 111 periodically broadcasts the discovery message at their respective corresponding periods. In the time period other than 8:00-20:00, the smart speaker 113 or the smart TV 111 usually does not broadcast the discovery message.

[0117] In some embodiments of the present application, Xiao Ming can use the above-mentioned smart life App to turn on the away mode. When the away mode is turned on, the smart speaker 113 or the smart TV 111 periodically broadcasts the discovery message at a corresponding period during the away time period. In other words, if the away mode is not turned on, the smart speaker 113 or the smart TV 111 usually does not broadcast the discovery message.

[0118] In some embodiments of the present application, the smart device and / or wireless network access device in Xiao Ming's home can automatically determine whether the homeowner is away from home. For example, when the wireless network access device finds that no mobile terminal device has accessed the network through the wireless network access device, it determines that the homeowner is away from home; when a mobile terminal device has accessed the network through the wireless network access device, it determines that the homeowner is at home.

[0119] In one scenario of an embodiment of the present application, when a smart doorbell is deployed on the entrance door of a user's home, in an embodiment of the present application, a user can trigger a mobile phone to set the smart doorbell deployed on the entrance door of the user's home to send a discovery message in a periodic manner during the user's absence from home. When the smart doorbell detects a device that needs to be located, the smart doorbell triggers other smart devices (e.g., smart TV 111, smart TV 121, smart speaker 113, smart speaker 123, smart table lamp 124, etc.) to send a discovery message. This is because the user usually enters the home area from the entrance door, so the smart doorbell deployed on the entrance door of the user's home is usually the first device to detect whether someone enters a certain area, so the smart doorbell deployed on the entrance door of the user's home can be used as a device to trigger other devices to send a discovery message. After other smart devices receive the trigger message sent by the smart doorbell deployed on the entrance door of the user's home, the other smart devices can periodically send discovery messages at a set period. In other words, the smart speaker 113 can periodically send discovery messages according to a preset period under the triggering of other devices. Alternatively, if a smart doorbell is not deployed on the front door of the user's home, one or more smart devices 10 send discovery messages according to a preset period within a specified time period.

[0120] In some embodiments of the present application, when user X brings mobile phone 2 close to smart speaker 113, mobile phone 2 can be sensed. For example, mobile phone 2 receives a discovery message sent by smart speaker 113, then Fig. 6A As shown, in response to the discovery message, the mobile phone 2 sends the information of the mobile phone 2 to the smart speaker 113, so that the smart speaker 113 can sense the presence of the mobile phone 2 around it.

[0121] The information of the mobile phone 2 is used to identify the mobile phone 2, for example, the information of the mobile phone 2 can be the identification of the mobile phone 2, for example, the identification of the mobile phone 2 can be one or more of an Internet protocol address (internet protocol, IP), a subscription permanent identifier (subscription permanent identifier, SUPI), a permanent equipment identifier (permanent equipment identifier, PEI), a generic public subscription identifier (generic public subscription identifier, GPSI), an international mobile subscriber identifier (international mobile subscriber identifier, IMSI), an international mobile equipment identity (international mobile equipment identity, IMEI), an IP quintuple (5-tuple) and a mobile station international integrated service digital network number (mobile station international integrated service digital network number, MSISDN), a MAC address, etc. In the embodiments of the present application, any part involving identification information can refer to the description here, and will not be repeated later.

[0122] For example, the mobile phone 2 can be configured to broadcast the identification of the mobile phone 2 according to a preset period, so that even if the mobile phone 2 does not receive the discovery message sent by the smart speaker 113 or the smart TV 111, the smart device within the broadcast range of the mobile phone 2 can receive the identification of the mobile phone 2. In this case, the process of sending the discovery message by the smart speaker 113 can be omitted.

[0123] In some embodiments of the present application, the mobile phone 2 may be configured to send the identification of the mobile phone 2 to the smart device A when receiving a discovery message sent by a smart device A. For example, if the mobile phone 2 receives a discovery message sent by the smart TV 111, the mobile phone 2 sends the identification of the mobile phone 2 to the smart TV 111. If the mobile phone 2 receives a discovery message sent by the smart speaker 113, the mobile phone 2 sends the identification of the mobile phone 2 to the smart speaker 113. It is worth noting that the identification of the smart device A may also be carried in the discovery message, so that the mobile phone 2 can determine that the discovery message comes from the smart device A after receiving the discovery message.

[0124] In some embodiments of the present application, since there may be multiple smart devices 10 in one area, for example, there is a smart TV 111 in addition to the smart speaker 113 in the living room, then after the mobile phone 2 receives the discovery message from the smart speaker 113, it can broadcast the identification of the mobile phone 2 in response to the discovery message, so that not only the smart speaker 113 can receive the identification of the mobile phone 2, but the smart TV 111 can also receive the identification of the mobile phone 2.

[0125] In some embodiments of the present application, since there may be multiple smart devices 10 in one area, for example, there is a smart TV 111 in addition to a smart speaker 113 in the living room, then after the smart speaker 113 obtains the identification of the mobile phone 2, the smart speaker 113 can broadcast the obtained identification of the mobile phone 2, so that other devices (such as the smart TV 113) can receive the identification of the mobile phone 2, which can save the process of the smart TV 113 sending a discovery message to obtain the identification of the mobile phone 2. In other words, in addition to receiving the identification of the mobile phone 2 sent by the mobile phone 2, the smart device 10 can also receive the identification of the mobile phone 2 through other smart devices.

[0126] In some embodiments of the present application, taking the smart device 10 as a smart speaker 113 as an example, when the smart speaker 113 obtains the identifier of the mobile phone 2, if the smart speaker 113 determines to locate the mobile phone 2, then the smart speaker 113 can broadcast the obtained identifier of the mobile phone 2. If the smart speaker 113 determines not to locate the mobile phone 2, then the smart speaker 113 may not broadcast the identifier of the mobile phone 2, and send a message to other smart devices (such as smart TV 111, smart TV 121, smart speaker 113, smart speaker 123, smart desk lamp 124, etc.) not to locate the mobile phone 2. For example, the smart speaker 113 has a white list, and if the smart speaker 113 determines that the identifier of the mobile phone 2 does not belong to the white list, the smart speaker 113 determines to locate the mobile phone 2. If the smart speaker 113 determines that the identifier of the mobile phone 2 belongs to the white list, the smart speaker 113 determines not to locate the mobile phone 2. Of course, the manner in which the smart speaker 113 determines whether to locate the mobile phone 2 or not can also be referred to the description in the following embodiment, which will not be repeated here.

[0127] In some embodiments of the present application, when the smart speaker 113 obtains the information of the mobile phone 2, such as Fig. 6A As shown, the smart speaker 113 determines whether to locate the mobile phone 2 based on the information of the mobile phone 2.

[0128] For example, in one scenario of the present application, the smart speaker 113 has a whitelist, which records information of one or more devices. If the smart speaker 113 determines that the information of the mobile phone 2 does not belong to the whitelist, the smart speaker 113 determines to locate the mobile phone 2.

[0129] As an example, the whitelist can be obtained by the smart speaker 113 from the wireless router 145 to which the smart speaker 113 is connected. The smart speaker 113 accesses the wireless network through the wireless router 145. For example, if Xiao Ming or Xiao Ming's family members use mobile phones and other devices to access the Internet through a wireless network, Xiao Ming or Xiao Ming's family members respectively connect their mobile phones to the wireless network through the wireless router 145. When the mobile phone successfully accesses the network through the wireless router 145, the wireless router 145 can record the identification of the mobile phone, such as the MAC address and other information, so the wireless router 145 can add the information of one or more devices that successfully access the wireless router 145 to the whitelist.

[0130] For example, when the smart speaker 113 receives information from the mobile phone 2, it can obtain a whitelist from the wireless router 145. In the embodiment of the present application, the smart speaker 113 can store the whitelist after obtaining the whitelist, so that when the information of other devices is received later, the process of obtaining the whitelist from the wireless router 145 is omitted. Alternatively, in the embodiment of the present application, the smart speaker 113 may not store the whitelist after obtaining the whitelist, so as to reduce the memory usage of the smart speaker 113. Alternatively, the smart speaker 113 may periodically request the whitelist from the wireless router 145. Alternatively, the smart speaker 113 may request the whitelist from the wireless router 145 in response to the user's operation, and the user's operation may be triggered by the user through the smart speaker 113, the wireless router 145, the mobile terminal device or other devices.

[0131] Since the whitelist may be updated in the actual process, the wireless router 145 can send the updated whitelist to the smart speaker 113 in time after determining that the whitelist is updated. For example, the whitelist records the information of mobile phone A and mobile phone B. Xiao Ming has bought a new device X, and device X is connected to the wireless network through the wireless router 145. At this time, the wireless router 145 can also add the information of device X to the whitelist, so the updated whitelist includes the information of mobile phone A, mobile phone B and device X.

[0132] For example, in another scenario of the present application, take the above-mentioned smart speaker 113 deployed in Xiao Ming's home as an example. If Xiao Ming or Xiao Ming's family is at home, if Xiao Ming's friend (for example, Xiao Hua) comes to visit, at this time, since the information of Xiao Hua's mobile phone 3 is not recorded in the white list, the above solution is adopted, and the smart speaker 113 will determine to locate Xiao Hua's mobile phone 3. However, since Xiao Ming or Xiao Ming's family are at home, it will cause unnecessary trouble to locate the mobile phone 3 using the smart speaker 113 at this time. Based on this, the method provided in the embodiment of the present application is used in the case where the smart speaker 113 determines that the information of the mobile phone 3 is not recorded in the white list. Figure 7 As shown in Figure (A), the smart speaker 113 can send a prompt message to Xiao Ming's mobile phone 1. The prompt message is used to prompt whether to locate the mobile phone 3. After the mobile phone 1 receives the prompt message, Figure 7 As shown in Figure (B), mobile phone 1 displays a prompt box 700. The prompt box 700 is used to prompt whether to locate the mobile phone 3. If mobile phone 1 detects an operation triggered by the user to indicate that the mobile phone 3 is to be located (for example, control 701 is triggered), mobile phone 1 sends a response message 1 (first operation instruction) to the smart speaker 113 in the living room. The response message 1 is used to indicate that the mobile phone 3 is to be located, and the smart speaker 113 in the living room can determine to locate the mobile phone 3 according to the response message 1. If mobile phone 1 detects an operation triggered by the user to indicate that the mobile phone 3 is not to be located (for example, control 702 is triggered), mobile phone 1 sends a response message 2 to the smart speaker 113. The response message 2 is used to indicate that the mobile phone 3 is not to be located, and the smart speaker 113 can determine not to locate the mobile phone 3 according to the response message 2.

[0133] It should be noted that Figure 7 Taking the prompt information on the mobile phone 1 as a prompt box as an example, in actual process, the prompt information on the mobile phone 1 can also adopt other forms such as prompt box + vibration mode or prompt box + voice mode, and the embodiment of the present application does not limit this.

[0134] Assume that mobile phone 1 receives the prompt information, but if Xiao Ming does not check the information on mobile phone 1 in time, then in the embodiment of the present application, if mobile phone 1 determines that control 701 is not detected to be triggered within a specified time period (for example, 5 seconds or 3 seconds), mobile phone 1 will execute the step of sending response message 1 to the smart speaker 113 by default.

[0135] In the application scenarios of some embodiments provided in the present application, after receiving the information of mobile phone 2, the smart speaker 113 may not perform the process of determining whether the information of mobile phone 2 is in the whitelist, but may perform the above process of sending the prompt information to Xiao Ming's mobile phone 1. In this way, when the smart speaker 113 receives the second operation instruction sent by mobile phone 1, it can determine to locate mobile phone 3. The specific process of the smart speaker 113 determining whether to locate mobile phone 2 can be referred to Figure 7 The description of the above will not be repeated here.

[0136] In the application scenarios of some embodiments provided in the present application, the smart speaker 113 determines that the received identification of the mobile phone 2 does not belong to the whitelist within the set time period of leaving home, and then determines to locate the mobile phone 2.

[0137] In the application scenarios of some embodiments provided in the present application, the smart speaker 113 does not locate the device when the homeowner is at home; the smart speaker 113 locates the device when the homeowner is not at home (for example, in away mode or the smart device determines that the homeowner is not at home). Optionally, whether the homeowner is at home can be determined based on the homeowner's preset away / at time period, or can be determined based on whether the homeowner's mobile terminal device accesses the network through the wireless access device in the house.

[0138] In some embodiments of the present application, when the smart speaker 113 determines to locate the mobile phone 2, as shown in FIG. Fig. 6A As shown, the smart speaker 113 determines that the antenna structure of the smart speaker 113 operates at a first transmission distance and measures the first RSSI of the mobile phone 2.

[0139] Optionally, the proximity detection between the mobile phone and the smart device can be achieved through RSSI ranging. The distance r between the mobile phone and the smart device 10 is inversely proportional to the RSSI. The larger the RSSI, the smaller the distance between the mobile phone and the smart device 10. The smaller the RSSI, the larger the distance between the mobile phone and the smart device 10.

[0140] The first RSSI is the signal strength of the mobile phone 2 measured by the smart speaker 113 using the antenna structure when the wireless signal transmission distance of the antenna structure is the first transmission distance. The first RSSI is used to determine the distance between the signal receiving point (e.g., the smart speaker 113) and the signal measurement point (mobile phone 2).

[0141] As an example, the receiving strength parameter in the embodiment of the present application may be RSSI. The unit of signal strength may be dB. For example, the first RSSI may be -55 dB.

[0142] In some embodiments, the smart speaker 113 sends a wireless signal to the mobile phone 2 through the antenna 1. After the mobile phone 2 receives the wireless signal, it sends a feedback message to the smart speaker 113 in response to the wireless signal, so that the smart speaker 113 can receive the feedback message from the mobile phone 2 through the antenna 1. Afterwards, the smart speaker 113 calculates the first RSSI of the mobile phone 2 based on the received feedback message from the mobile phone 2. Of course, in some embodiments of the present application, the mobile phone 2 can send a wireless signal at any time, so that the smart device 113 can determine the first RSSI of the mobile phone 2 based on the wireless signal received from the mobile phone 2.

[0143] It is worth noting that the smart speaker 113 in the embodiment of the present application has an antenna structure. The wireless signal transmission distance of the antenna structure may include a first transmission distance and a second transmission distance. The first transmission distance is smaller than the second transmission distance.

[0144] Taking the antenna structure including independently deployed antenna 1 and antenna 2 as an example, the smart speaker 113 controls antenna 1 to send a wireless signal 1 for measuring the first RSSI to mobile phone 2. Mobile phone 2 sends a feedback message 1 to the smart speaker 113 in response to the wireless signal 1, so that the smart speaker 113 can measure the first RSSI of mobile phone 2. Figure 6B Optionally, the smart speaker 113 can determine whether the mobile phone 2 is within the first transmission distance according to the first RSSI. Subsequently, if the smart speaker 113 needs to use antenna 2 to measure the second RSSI, the smart speaker 113 uses antenna 2 to send wireless signal 2, and the mobile phone 2 sends feedback message 2 to the smart speaker 113 in response to the wireless signal 2, so that the smart speaker 113 can measure the second RSSI of the mobile phone 2, as shown in FIG. Figure 6B Optionally, antenna 1 may be a short-range antenna, and antenna 2 may be a long-range antenna.

[0145] If the antenna structure is a single antenna structure, in other words, the smart speaker 113 includes a long-short-range composite antenna, which can transmit wireless signals at a first transmission distance and at a second transmission distance. In this case, the smart speaker 113 first controls the long-short-range composite antenna to transmit wireless signals 1 at the first transmission distance, and then calculates the first RSSI of the mobile phone 2 based on the received feedback message 1 fed back by the mobile phone 2 in response to the wireless signal 1. When it is determined that the first RSSI indicates that the mobile phone 2 is within the first transmission distance, it means that the mobile phone 2 is within the monitoring range of the smart speaker 113. The smart speaker 113 controls the long-short-range composite antenna of the smart speaker 113 to switch from the first transmission distance to the second transmission distance to transmit the wireless signal 2, so as to receive the feedback message 2 fed back by the mobile phone 2 based on the wireless signal 2. Then the smart speaker 113 calculates the second RSSI of the mobile phone 2 based on the feedback message 2, such as Figure 6C shown.

[0146] In some embodiments of the present application, when the smart speaker 113 includes a long-short-range composite antenna, if the smart speaker 113 determines that the measured first RSSI of the mobile phone 2 indicates that the mobile phone 2 is not within the first transmission distance, the smart speaker 113 continues to operate at the first transmission distance to measure the first RSSI of the mobile phone 2, or the smart speaker 113 periodically switches the long-short-range composite antenna to operate at different transmission distances according to a preset period n.

[0147] In some embodiments of the present application, when the antenna structure operates at a first transmission distance, the smart speaker 113 uses the antenna structure to periodically send a wireless signal 1, and then the smart speaker 113 calculates a first RSSI based on the feedback message 1 periodically scanned (or received). For example, the period may be T1. In other words, the smart speaker 113 calculates the first RSSI in a cycle of T1 based on the scanned feedback message 1. Among them, within each period T1, the smart speaker 113 calculates the first RSSI based on the scanned feedback message 1. The specific method for calculating the first RSSI can be referred to the prior art and will not be described in detail here.

[0148] Among them, the first RSSI is RSSI1 as an example. In each period T1, the smart speaker 113 can calculate an RSSI1 according to the feedback message 1 scanned by the antenna 1 or the long-short-distance composite antenna working at the first transmission distance. The smart speaker 113 can average the RSSI1 corresponding to all T1s within the preset duration 2 to obtain the RSSI1 corresponding to the antenna 1 or the long-short-distance composite antenna working at the first transmission distance within the preset duration 2. Alternatively, the smart speaker 113 can maximize the RSSI1 corresponding to all T1s within the preset duration 2 to obtain the RSSI1 corresponding to the antenna 1 or the long-short-distance composite antenna working at the first transmission distance within the preset duration 2. Alternatively, the smart speaker 113 can perform other fusion calculations on the RSSI1 corresponding to all T1s within the preset duration 2 to obtain the RSSI1 corresponding to the antenna 1 or the single antenna working at the first transmission distance within the preset duration 2. Similarly, the smart speaker 113 can obtain the RSSI2 corresponding to the antenna 2 or the long-short-distance composite antenna working at the second transmission distance within the preset duration 3.

[0149] When the smart speaker 113 measures the first RSSI, Fig. 6A As shown, the smart speaker 113 determines whether the mobile phone 2 is within the first transmission distance based on the first RSSI of the mobile phone 2.

[0150] The smart speaker 113 has a preset receiving strength parameter 1, which corresponds to the preset distance 1. The smart speaker 113 can determine whether the mobile phone 2 is within the first transmission distance according to the magnitude relationship between the first RSSI and the preset receiving strength parameter 1. The preset distance 1 can be the first transmission distance. In other words, the preset receiving strength parameter 1 is the critical preset receiving strength parameter when the smart speaker 113 works at the first transmission distance.

[0151] For example, taking the first RSSI as RSSI1, if in the current period T1, the RSSI1 calculated by the smart speaker 113 is less than the preset receiving strength parameter 1, it can indicate that the distance between the mobile phone 2 and the smart speaker 113 is greater than the preset distance 1, and the mobile phone is far away from the smart speaker 113, then the smart speaker 113 continues to calculate the RSSI1 corresponding to the mobile phone 2 in the next period T1.

[0152] If within the current period T1, the RSSI1 calculated by the smart speaker 113 is greater than or equal to the preset threshold 1, the mobile phone can determine that the distance between the mobile phone 2 and the smart speaker 113 is less than or equal to the preset distance 1, and the mobile phone 2 is closer to the smart speaker 113, that is, the mobile phone 2 is within the first transmission distance of the smart speaker 113.

[0153] It should be noted that the smart TV 111 and the smart speaker 113 may both be selected by the user as monitoring points, and the smart TV 111 and the smart speaker 113 are located in different locations, such as Figure 8As shown in Figure (A), the coverage range of smart TV 111 is 3 meters, and the coverage range of smart speaker 113 is 2 meters. If mobile phone 2 is closer to smart speaker 113 than smart TV 111 and smart speaker 113, both smart speaker 113 and smart TV 111 can use their respective antenna structures to measure the first RSSI of mobile phone 2. Suppose the first RSSI of mobile phone 2 measured by smart speaker 113 is -55dB. And the first RSSI of mobile phone 2 measured by smart TV 111 is -85dB. Smart speaker 113 determines that mobile phone 2 is within the first transmission distance of smart speaker 113 based on the first RSSI of -55dB. Smart TV 111 determines that mobile phone 2 is not within the first transmission distance of smart TV 111 based on the first RSSI of -85dB. When mobile phone 2 is not within the first transmitting distance of smart TV 111, smart TV 111 does not start the positioning software module of smart TV 111, but continues to execute the process of measuring the first receiving strength parameter of mobile phone 2. This is because mobile phone 2 may be in a mobile state and its position is constantly changing. Therefore, when smart TV 111 sends a wireless signal to mobile phone 2, the strength of the feedback message sent by mobile phone 2 to smart TV 111 at different locations is usually different. In this way, smart TV 111 can determine the first RSSI of mobile phone 2 at different locations based on the feedback messages fed back by mobile phone 2 at different locations.

[0154] like Figure 8 As shown in Figure (B), if mobile phone 2 is located between smart TV 111 and smart speaker 113, then both smart speaker 113 and smart TV 111 can use their respective antenna structures to measure the first RSSI of mobile phone 2. Suppose the first RSSI of mobile phone 2 measured by smart speaker 113 is -55dB. And the first RSSI of mobile phone 2 measured by smart TV 111 is -65dB. Smart speaker 113 determines that mobile phone 2 is within the first transmission distance of smart speaker 113 based on the first RSSI of -55dB. Smart TV 111 determines that mobile phone 2 is also within the first transmission distance of smart TV 111 based on the first RSSI of -65dB. Then both smart TV 111 and smart speaker 113 can start their respective positioning software modules to prepare to calculate the position of mobile phone 2.

[0155] In some embodiments of the present application, when the smart speaker 113 determines that the mobile phone 2 is close to the smart speaker 113 (that is, the mobile phone 2 is within the first transmission distance of the smart speaker 113) according to the first RSSI of the mobile phone 2, as shown in FIG. Fig. 6A As shown, the method provided in the embodiment of the present application also includes: the smart speaker 113 determines the second RSSI of the mobile phone 2 measured by the antenna 2 of the smart speaker 113. Or, Figure 6BAs shown, the smart speaker 113 switches the long-short-range composite antenna of the smart speaker 113 from the first transmission distance to the second transmission distance to measure the second RSSI of the mobile phone 2.

[0156] Case 1), the antenna structure includes independently deployed antenna 1 (also called: short-range antenna) and antenna 2 (also called: long-range antenna), the wireless signal transmission distance of antenna 1 is the first transmission distance, and the wireless signal transmission distance of antenna 2 is the second transmission distance. Antenna 1 and antenna 2 can be Bluetooth antennas or WLAN antennas.

[0157] In situation 1), the smart speaker 113 can control antenna 1 and antenna 2 to be in working state at the same time. Antenna 1 measures the first RSSI of mobile phone 2. Antenna 2 measures the second RSSI of mobile phone 2. Antenna 1 and antenna 2 report the first RSSI and the second RSSI measured in the current period to the positioning software module of the smart speaker 113 respectively. In addition, when each antenna reports the measured RSSI, it can also report the time point corresponding to the RSSI. Since mobile phone 2 may be in a moving state relative to the smart speaker 113, during the movement of mobile phone 2, the first RSSI of mobile phone 2 measured by antenna 1 at different positions is also constantly changing. For example, if mobile phone 2 moves in a direction away from the smart speaker 113, such as Fig. 9 As shown in Figure (A), when mobile phone 2 moves from point A1 to point B1, the first RSSI of mobile phone 2 measured by smart speaker 113 will gradually decrease (for example, the first RSSI of mobile phone 2 changes from -35dB to -45dB and then to -65dB). Fig. 9As shown in Figure (B), when mobile phone 2 moves from point A2 to point B2, the first RSSI of mobile phone 2 measured by smart speaker 113 will gradually increase (for example, the first RSSI of mobile phone 2 changes from -65dB to -55dB and then to -45dB). In either case, antenna 1 can report the first RSSI of mobile phone 2 measured in real time to the positioning software module. When the processor in the smart speaker 113 or the smart home cloud determines that mobile phone 2 is within the coverage of antenna 1 based on the first RSSI of mobile phone 2 measured by antenna 1, the processor in the smart speaker 113 or the smart home cloud sends a start instruction to the positioning software module of the smart speaker 113, which is used to trigger the positioning software module to calculate the position of mobile phone 2 relative to the smart speaker 113 based on the signal strength of mobile phone 2. Afterwards, the positioning software module of the smart speaker 113 calculates the position of mobile phone 2 relative to the smart speaker 113 based on the RSSI of mobile phone 2 reported by antenna 1 and antenna 2 in the recent period of time. For example, the positioning software module of the smart speaker 113 can calculate the position of the mobile phone 2 relative to the smart speaker 113 based on the most recently reported RSSI, or the smart speaker 113 can calculate the position of the mobile phone 2 relative to the smart speaker 113 based on the average value of the RSSI reported in the recent period of time.

[0158] It is worth noting that, when the positioning software module is started, the positioning software module can call the algorithm stored in the smart speaker 113 to calculate the position of the mobile phone 2 relative to the smart speaker 113 according to the RSSI of the mobile phone 2 reported by antenna 1 and antenna 2 in the recent period. Alternatively, the smart speaker 113 can send the first RSSI of the mobile phone 2 reported by antenna 1 in the recent period and the second RSSI of the mobile phone 2 reported by antenna 2 in the recent period to the smart home cloud, so that the smart home cloud can calculate the position of the mobile phone 2 relative to the smart speaker 113 according to the first RSSI of the mobile phone 2 and the second RSSI of the mobile phone 2. After calculating the position of the mobile phone 2 relative to the smart speaker 113, the smart home cloud can feedback the position of the mobile phone 2 relative to the smart speaker 113 to the smart speaker 113.

[0159] As another example, the antenna 1 in the embodiment of the present application is always in working state, and whether to start the antenna 2 to measure the second RSSI of the mobile phone 2 is determined by the first RSSI. For example, the smart speaker 113 uses the antenna 1 to measure the first RSSI of the mobile phone 2, but when the smart speaker 113 determines that the mobile phone 2 is within the first transmission distance of the antenna 1 based on the first RSSI, the smart speaker 113 triggers the antenna 2 to start sending the wireless signal 2 to measure the second RSSI of the mobile phone 2 using the antenna 2. Antenna 2 sends the measured second RSSI of the mobile phone 2 to the positioning software module of the smart speaker 113. The positioning software module of the smart speaker 113 subsequently calculates the position of the mobile phone 2 relative to the smart speaker 113 based on the first RSSI and the second RSSI of the mobile phone 2 reported by the antenna 1 and the antenna 2 respectively in the recent period.

[0160] In some embodiments of the present application, taking the smart device 10 as a smart speaker 113 as an example, the smart speaker 113 has a positioning software module, and the positioning software module is used to calculate the location information of the device to be positioned (such as mobile phone 2). When the smart speaker 113 determines that the mobile phone 2 is within the first transmission distance according to the first RSSI, the smart speaker 113 starts the positioning software module. When the smart speaker 113 determines that the mobile phone 2 is not within the first transmission distance according to the first RSSI, the smart speaker 113 does not start the positioning software module.

[0161] Of course, the positioning software module in the smart speaker 113 may also be in an on state by default, for example, when the smart speaker 113 leaves the factory, the positioning software module in the smart speaker 113 is set to be on by the manufacturer. This saves the process of the smart speaker 113 starting the positioning software module when the smart speaker 113 determines that the mobile phone 2 is within the first transmission distance according to the first RSSI.

[0162] In some embodiments of the present application, when the positioning software module is turned on, the smart speaker 113 can also turn off the positioning software module. For example, the smart speaker 113 can turn off the positioning software module in the following ways: the smart speaker 113 detects that the mobile phone 2 is outside the first transmission distance, or the smart speaker 113 does not detect the first RSSI of the mobile phone 2 within a preset time period, or the smart speaker 113 detects that the mobile phone 2 is outside the first transmission distance for more than a preset time, or the smart speaker 113 detects a user-triggered instruction to turn off the positioning software module.

[0163] Case 2): The antenna structure includes a long-short-range composite antenna, which can work at both the first transmission distance and the second transmission distance. In other words, the antenna structure adopts a single antenna structure.

[0164] In case 2), the smart speaker 113 first controls the long-short distance composite antenna of the smart speaker 113 to be in the first transmission distance, and then the smart speaker 113 measures the RSSI1 of the mobile phone 2 in real time when the long-short distance composite antenna is in the first transmission distance. The long-short distance composite antenna in the first transmission distance reports RSSI1 to the positioning software module. Afterwards, when the smart speaker 113 determines that the mobile phone 2 is within the first transmission distance, it sends a start instruction to the positioning software module, and the start instruction is used to trigger the positioning software module to calculate the position of the mobile phone 2 relative to the smart speaker 113 according to the signal strength of the mobile phone 2. If the smart speaker 113 determines that the mobile phone 2 is within the first transmission distance of the smart speaker 113 based on the measured RSSI1 of the mobile phone 2, then the smart speaker 113 can switch the wireless signal transmission distance of its long-short distance composite antenna from the first transmission distance to the second transmission distance, and measure the RSSI2 of the mobile phone 2 when the single antenna works at the second transmission distance. Then, the long-short distance composite antenna reports the RSSI2 of the mobile phone 2 measured when working at the second transmission distance to the positioning software module.

[0165] In some embodiments of the present application, in case 2, when the smart speaker 113 controls the long-short-range composite antenna to switch from the first transmission distance to the second transmission distance, after the smart speaker 113 measures the second RSSI using the long-short-range composite antenna, the smart speaker 113 controls the single antenna to work again at the first transmission distance. Or after the smart speaker 113 measures the second reception strength parameter using the single antenna, after a preset period T2 (such as 2 seconds, or 3 seconds), the smart speaker 113 controls the single antenna to work again at the first transmission distance. Or the smart speaker 113 controls the single antenna to work alternately at the first transmission distance and the second transmission distance, which is not limited in the embodiments of the present application.

[0166] like Fig.10 As shown in the figure, taking antenna 1 as a short-range antenna and antenna 2 as a long-range antenna as an example, the signal sent by the short-range antenna is a circle formed by dotted lines. The signal strength sent by the long-range antenna is a circle formed by solid lines. Fig.10 It can be seen that there are multiple intersection points between the transmission distances of antenna 1 and antenna 2.

[0167] like Fig.11 As shown in (A) of FIG. 1 , taking the smart device 10 as a smart speaker 113 as an example, the smart speaker 113 determines that there are two intersection points between antenna 1 and antenna 2, such as point A and point B, based on the range corresponding to the first receiving strength parameter of antenna 1 and the range corresponding to the second receiving strength parameter of antenna 2. Then, the smart speaker 113 can exclude the back wall placement point, such as point B, based on the placement position of the smart speaker 113. Only point A remains. For example, Fig.11As shown in (B), the smart speaker 113 determines that the smart speaker 113 is set against a wall, point A and point B are located on both sides of the wall, point A is located in the user's home area, and point B is not located in the user's home area, then the smart speaker 113 excludes point B and retains point A.

[0168] When the smart speaker 113 obtains the first RSSI and the second RSSI of the mobile phone 2 at different transmission distances, Fig. 6A As shown, the smart speaker 113 determines the location information of the mobile phone 2 according to the first RSSI and the second RSSI. The location information described in the embodiment of the present application may include one or more information such as distance information, angle information, direction information, etc.

[0169] As some embodiments of the present application, the smart speaker 113 can determine the location information of the mobile phone 2 according to the first RSSI and the second RSSI by: Figure 6B or Figure 6C The solution shown is implemented as follows: Taking the location information of mobile phone 2 including the location of mobile phone 2 relative to smart speaker 113 as an example, for example, mobile phone 2 is located at 45° northwest of smart speaker 113, then smart speaker 113 determines the location information of mobile phone 2 according to the first RSSI and the second RSSI, including: the positioning software module of smart speaker 113 determines the distance between mobile phone and smart speaker 113 according to the first RSSI. The positioning software module of smart speaker 113 determines the offset angle between mobile phone 2 and smart speaker 113 according to the second RSSI. The positioning software module of smart speaker 113 determines the location of mobile phone 2 relative to smart speaker 113 according to the distance between mobile phone 2 and smart speaker 113 and the above-mentioned offset angle. If the first RSSI and the second RSSI are greater than (-55db, -63db), -55db is the signal critical value measured at 25cm of the short-range antenna, and -63db is the signal critical value measured at 32cm of the long-range antenna. For example, the positioning software module of the smart speaker 113 can determine the offset angle between the mobile phone 2 and the smart speaker 113 according to the second RSSI in the following manner: the positioning software module of the smart speaker 113 determines the offset angle between the mobile phone 2 and the smart speaker 113 in combination with the first RSSI and the second RSSI. It can be explained that the smart speaker 113 can not only calculate the distance between the mobile phone 2 and the smart speaker 113 using the first RSSI, but also calculate the distance between the mobile phone 2 and the smart speaker 113 according to the second RSSI, and then calculate the offset angle between the mobile phone 2 and the smart speaker 113 according to the distance between the mobile phone 2 and the smart speaker 113 calculated using the first RSSI and the distance between the mobile phone 2 and the smart speaker 113 obtained by the second RSSI.

[0170] In some embodiments of the present application, since multiple smart devices may be deployed in one area, for example, Figure 2 As shown, a smart TV 111 and a smart speaker 113 are deployed in the living room, and the mobile phone 2 is located within the first transmission distance of the smart TV 111 and the smart speaker 113 at the same time. Then, the smart speaker 113 can use the antenna structure of the smart speaker 113 to measure the first RSSI and the second RSSI of the mobile phone 2, and calculate the position of the mobile phone 2 relative to the smart speaker 113 based on the first RSSI and the second RSSI. Similarly, the smart TV 111 can use the antenna structure of the smart TV 111 to measure the first RSSI and the second RSSI of the mobile phone 2, and calculate the position of the mobile phone 2 relative to the smart TV 111 based on the first RSSI and the second RSSI of the mobile phone 2 measured by the smart TV 111.

[0171] In some embodiments of the present application, the smart device 10 is still taken as a smart speaker 113. After the smart speaker 113 determines the location information of the mobile phone 2, the smart speaker 113 can send the location information of the mobile phone 2 to the smart monitoring device in the living room. After receiving the location information of the mobile phone 2, the smart monitoring device in the living room can adjust the camera of the smart monitoring device in the living room according to the location information of the mobile phone 2, so that the camera of the smart monitoring device in the living room is facing the location of the mobile phone 2. In this way, linkage between multiple smart devices can be achieved. The purpose of the smart speaker 113 sending the location information of the mobile phone 2 to the smart monitoring device in the living room is that the mobile phone 2 may be located within the coverage range of the antenna 1 of the smart speaker 113 at the current moment, but it is not located within the coverage range of the antenna 1 of the smart monitoring device in the living room. Therefore, the smart monitoring device in the living room will not be able to calculate the location information of the mobile phone 2 by itself. If the smart monitoring device in the living room is configured to periodically adjust the direction of its camera, or the camera of the smart monitoring device in the living room is configured to be fixedly facing a certain position, then at a certain moment, there may be a situation where the camera of the smart monitoring device in the living room is not facing the location of the mobile phone 2. Therefore, the smart monitoring device in the living room obtains the location information of the mobile phone 2 from the smart speaker 113, and then adjusts the direction of its camera according to the location information of the mobile phone 2, so as to accurately collect the video or image of the user corresponding to the mobile phone 2. Optionally, the smart monitoring device can be a camera in an electronic device such as a pan-tilt camera, an infrared camera, or a large-screen device, or a sensor device such as a laser radar, a millimeter-wave radar, or an ultra-wide band (UWB) positioning device.

[0172] For example, the smart speaker 113 can send the location information of the mobile phone 2 in the form of a broadcast, or specifically send the location information of the mobile phone 2 to the smart monitoring device in the living room, or send the location information of the mobile phone 2 to the wireless router 145 and the wireless router 145 further sends the location information of the mobile phone 2 to other devices. The embodiments of the present application are not limited to this.

[0173] In some embodiments of the present application, taking the smart device 10 as a smart TV 111 as an example, assuming that the smart TV 111 has a camera, after the smart TV 111 determines the location of the mobile phone 2, the smart TV 111 can control the camera to point toward the mobile phone 2 according to the location information of the mobile phone 2. After the camera points toward the mobile phone 2, the smart TV 111 can control the camera to collect the video or image of the user corresponding to the mobile phone 2. The smart TV 111 can store the collected video or image in the smart TV 111, or upload it to the cloud server connected to the smart TV 111, or send it to other devices, which is not limited in the embodiments of the present application.

[0174] It should be noted that, since the mobile phone 2 may be in a mobile state, the relative position between the mobile phone 2 and the smart TV 111 is different at different times, so the smart TV 111 needs to adjust the angle of the camera in time according to the relative position between the mobile phone 2 and the smart TV 111 at different times, so that the camera is facing the mobile phone 2. Assuming that the mobile phone 2 is located at 45° northwest of the smart TV 111 at time 1, and the mobile phone 2 is located at 65° northwest of the smart TV 111 at time 2, the smart TV 111 adjusts the camera to 45° northwest at time 1, and adjusts the camera to 65° northwest at time 2. Optionally, after obtaining the location information of the mobile phone 2 at time 1, the smart TV 111 can also control the camera through a target tracking algorithm, so that the camera tracks the user corresponding to the mobile phone 2 in real time, so that after the user corresponding to the mobile phone 2 is away from the smart TV 111 (for example, no longer located within the first transmission distance or the second transmission distance of the smart TV 111), the smart TV 111 can still control the camera to collect video or image information of the user corresponding to the mobile phone 2.

[0175] In some embodiments of the present application, the smart device 10 is still taken as a smart speaker 113. After the smart speaker 113 calculates the position of the mobile phone 2 relative to the smart speaker 113, the smart speaker 113 can send the position of the mobile phone 2 relative to the smart speaker 113 and / or alarm information to Xiao Ming's mobile phone 1 through a designated App (e.g., Smart Life App). The alarm information is used to prompt that there is an unknown device close to the smart device. Optionally, the unknown device may be a device carried by a suspicious person or stranger (e.g., a burglar) who enters Xiao Ming's home, so that the alarm information is used to prompt the owner of the house that a suspicious person or stranger has entered the home. Optionally, the smart speaker 113 can send the position and / or alarm information of the mobile phone 2 relative to the smart speaker 113 to the smart home cloud, and then the smart home cloud sends the position and / or alarm information of the mobile phone 2 relative to the smart speaker 113 to Xiao Ming's mobile phone 1. Optionally, Xiao Ming's mobile phone 1 can receive the position and / or alarm information of the mobile phone 2 relative to the smart speaker 113 through a designated App (e.g., Smart Life App). Optionally, when Xiao Ming's mobile phone 1 receives the position and / or alarm information of mobile phone 2 relative to the smart speaker 113, Xiao Ming's mobile phone 1 may not be located in Xiao Ming's home.

[0176] In some embodiments of the present application, the smart device can determine the location information between the electronic device and the smart device based on the first receiving strength parameter, and / or can determine the location information between the electronic device and the smart device based on the second receiving strength parameter; the above location information may include but is not limited to one or more of the distance, orientation, angle and other information between the electronic device and the smart device.

[0177] In some embodiments of the present application, the smart device may determine whether the mobile terminal device is located within the second transmission distance based on the second RSSI, and then measure the first RSSI of the mobile terminal device using the antenna structure of the smart device.

[0178] In some embodiments of the present application, the smart device can use hardware devices to determine the location information of the mobile terminal device. The above-mentioned sensors include but are not limited to ultra wideband (UWB) antennas, infrared sensors, ultrasonic sensors, millimeter wave radars, lidars, thermal imaging devices, etc.

[0179] It should be clear that the method provided in the embodiments of the present application does not limit the order of implementation of the various steps. Those skilled in the art can adjust the order of implementation of the various steps according to specific needs, or combine the steps in the various embodiments provided in the present application to form an applicable implementation method, without exceeding the scope covered by the embodiments of the present application.

[0180] The embodiment of the present application also provides a computer storage medium, which may include computer instructions. When the computer instructions are executed on a smart device (such as the smart speaker 113 and the smart TV 111), the smart device executes the following Figure 6A to Figure 6C The various steps performed by the smart speaker 113 and the smart TV 111 in the corresponding embodiments or other embodiments of the present application.

[0181] The present application also provides a computer storage medium, which may include (i.e., store) computer instructions. When the computer instructions are executed on an electronic device (such as the mobile phone 2 mentioned above), the smart device executes the following Figure 6A to Figure 6C The steps in the corresponding embodiments or other embodiments of the present application are performed by the mobile phone 2. The above-mentioned computer storage medium may also be a computer-readable storage medium or a non-volatile computer-readable storage medium.

[0182] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the following Figure 6A to Figure 6C The various steps performed by the smart speaker 113 and the smart TV 111 in the corresponding embodiments or other embodiments of the present application.

[0183] The present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the following Figure 6A to Figure 6C Each step executed by mobile phone 2 in the corresponding embodiment or other embodiments of the present application.

[0184] The present application also provides a device that can realize the above Figure 6A to Figure 6C The functions of the behaviors of the smart devices (such as the smart speakers 113 and smart TVs 111) in the corresponding embodiments or other embodiments of the present application. The functions can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions, for example, a receiving unit or module, a measuring unit or module, a determining unit or module, a sending unit or module, etc.

[0185] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0186] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0187] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0188] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0189] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0190] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for determining a device location, applied to a smart device having an antenna structure, characterized in that: The wireless signal transmission distance of the antenna structure includes a first transmission distance and a second transmission distance, the first transmission distance is smaller than the second transmission distance, and the method includes: receiving information of the first electronic device from a first electronic device; In a case where the first electronic device is determined to be located according to the information of the first electronic device, determining a first receiving strength parameter of the first electronic device measured when the antenna structure operates at the first transmission distance; In a case where the first reception strength parameter indicates that the first electronic device is located within the first transmission distance, determining a second reception strength parameter of the first electronic device measured when the antenna structure operates at the second transmission distance; The location information of the first electronic device is determined according to the first reception strength parameter and the second reception strength parameter.

2. The method according to claim 1, characterized in that The location information of the first electronic device includes a location of the first electronic device relative to the smart device, and determining the location information of the first electronic device according to the first reception strength parameter and the second reception strength parameter includes: Determine the distance between the first electronic device and the smart device according to the first reception strength parameter; Determine the position information between the first electronic device and the smart device according to the second reception strength parameter; The position of the first electronic device relative to the smart device is determined according to the distance and the orientation information.

3. The method according to claim 1, characterized in that Before receiving the information of the first electronic device from the first electronic device, the method further includes: A discovery message is broadcasted, where the discovery message is used to request a device that has received the discovery message to report information about the device to the smart device.

4. The method according to any one of claims 1 to 3, characterized in that: The smart device has a white list, and the white list records information of one or more devices. The determining, according to the information of the first electronic device, of the situation of locating the first electronic device specifically includes: The information of the first electronic device does not belong to the white list.

5. The method according to claim 4, characterized in that In a case where the information of the first electronic device does not belong to the whitelist, the method further includes: Sending the information of the first electronic device to a second electronic device; receiving a first operation instruction from the second electronic device; In response to the first operating instruction, it is determined to locate the first electronic device.

6. The method according to claim 4, characterized in that The smart device accesses the network via a wireless access device, and the method further comprises: The white list is obtained from the wireless access device.

7. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Sending the information of the first electronic device to a second electronic device; receiving a second operation instruction from the second electronic device; In response to the second operating instruction, it is determined to locate the first electronic device.

8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the first reception strength parameter indicates that the first electronic device is located within the first transmission distance, a positioning software module of the smart device is started, and the positioning software module is used to calculate the location information of the first electronic device.

9. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving a third operation instruction; In response to the third operation instruction, a wireless signal transmission distance of the antenna structure is set.

10. The method according to any one of claims 1 to 3, characterized in that: The antenna structure includes a first antenna and a second antenna that are independently arranged, the wireless signal transmission distance of the first antenna is the first transmission distance, and the wireless signal transmission distance of the second antenna is the second transmission distance, The determining a first receiving strength parameter of the first electronic device measured when the antenna structure operates at the first transmission distance includes: Measuring a first reception strength parameter of the first electronic device using the first antenna; The determining a second reception strength parameter of the first electronic device measured when the antenna structure operates at the second transmission distance includes: A second reception strength parameter of the first electronic device is measured using the second antenna.

11. The method according to any one of claims 1 to 3, characterized in that: The antenna structure adopts a single antenna structure. The determining a first receiving strength parameter of the first electronic device measured when the antenna structure operates at the first transmission distance includes: Controlling the antenna structure to operate at the first transmission distance, so as to measure a first receiving strength parameter of the first electronic device using the antenna structure; The step of determining, when the first reception strength parameter indicates that the first electronic device is located within the first transmission distance, a second reception strength parameter of the first electronic device measured when the antenna structure operates at the second transmission distance includes: When the first reception strength parameter indicates that the first electronic device is within the first transmission distance, the wireless signal transmission distance of the antenna structure is controlled to switch from the first transmission distance to the second transmission distance, so as to measure the second reception strength parameter of the first electronic device using the antenna structure.

12. The method according to any one of claims 1 to 3, characterized in that: The smart device has a camera, and the method further includes: The shooting angle of the camera is adjusted according to the position information of the first electronic device, so that the shooting angle of the camera faces the position where the first electronic device is located.

13. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: A prompt message is sent to a second electronic device, where the prompt message includes location information and / or warning information of the first electronic device, where the warning information is used to prompt that an unknown device or a suspicious person is approaching the smart device.

14. A system for determining a location of a device, characterized in that: The system includes one or more smart devices and a first electronic device, wherein the smart device has an antenna structure, and the wireless signal transmission distance of the antenna structure includes a first transmission distance and a second transmission distance, wherein the first transmission distance is smaller than the second transmission distance, wherein: The first electronic device is configured to: send information of the first electronic device to the smart device; The smart device is configured to: receiving information of the first electronic device reported by the first electronic device; In a case where the first electronic device is determined to be located according to the information of the first electronic device, determining a first receiving strength parameter of the first electronic device measured when the antenna structure operates at the first transmission distance; In a case where the first receiving strength parameter indicates that the first electronic device is within the first transmitting distance, determining a second receiving strength parameter of the first electronic device measured when the antenna structure operates at the second transmitting distance; The location information of the first electronic device is determined according to the first reception strength parameter and the second reception strength parameter.

15. The system according to claim 14, characterized in that The location information of the first electronic device includes a location of the first electronic device relative to the smart device, and the smart device is configured to: determine the location information of the first electronic device according to the first reception strength parameter and the second reception strength parameter, including: Determine the distance between the first electronic device and the smart device according to the first reception strength parameter; Determine the position information between the first electronic device and the smart device according to the second reception strength parameter; The position of the first electronic device relative to the smart device is determined according to the distance and the orientation information.

16. The system according to claim 14, characterized in that The smart device is also configured to: Before receiving the information of the first electronic device from the first electronic device, a discovery message is broadcasted, where the discovery message is used to request the device that has received the discovery message to report the information of the device to the smart device.

17. The system according to any one of claims 14 to 16, characterized in that: The smart device has a white list, and the white list records information of one or more devices. The smart device is configured to determine to locate the first electronic device if the information of the first electronic device does not belong to the white list.

18. The system according to claim 17, characterized in that The smart device is also configured to: When the information of the first electronic device does not belong to the white list, sending the information of the first electronic device to the second electronic device; receiving a first operation instruction from the second electronic device; In response to the first operating instruction, it is determined to locate the first electronic device.

19. The system according to claim 17, characterized in that The smart device accesses the network via a wireless access device, and the smart device is further configured as follows: The white list is obtained from the wireless access device.

20. The system according to any one of claims 14 to 16, characterized in that: The system further includes a second electronic device, The smart device is further configured to: send information of the first electronic device to the second electronic device; The second electronic device is configured to: receive information from the first electronic device, and send a first operation instruction to the second electronic device; The smart device is further configured to: receive a second operation instruction from the second electronic device; In response to the second operating instruction, it is determined to locate the first electronic device.

21. The system according to any one of claims 14 to 16, characterized in that: The smart device is further configured to: activate a positioning function of the smart device when the first reception strength parameter indicates that the first electronic device is located within the first transmission distance.

22. The system according to any one of claims 14 to 16, characterized in that: The smart device is also configured to: receiving a third operation instruction; In response to the third operation instruction, a wireless signal transmission distance of the antenna structure is set.

23. The system according to any one of claims 14 to 16, characterized in that: The antenna structure includes a first antenna and a second antenna that are independently arranged, the wireless signal transmission distance of the first antenna is the first transmission distance, and the wireless signal transmission distance of the second antenna is the second transmission distance, The smart device is configured to measure a first reception strength parameter of the first electronic device using the first antenna, and to measure a second reception strength parameter of the first electronic device using the second antenna.

24. The system according to any one of claims 14 to 16, characterized in that: The antenna structure is a single antenna, and the wireless signal transmission distance of the single antenna is the first transmission distance and the second transmission distance. The smart device is configured to: Controlling the antenna structure to operate at the first transmission distance, so as to measure a first receiving strength parameter of the first electronic device using the antenna structure; When the first reception strength parameter indicates that the first electronic device is within the first transmission distance, the wireless signal transmission distance of the antenna structure is controlled to switch from the first transmission distance to the second transmission distance, so as to measure the second reception strength parameter of the first electronic device using the antenna structure.

25. The system according to any one of claims 14 to 16, characterized in that: The smart device has a camera, and is further configured as follows: The shooting angle of the camera is adjusted according to the position information of the first electronic device, so that the shooting angle of the camera faces the position where the first electronic device is located.

26. The system according to any one of claims 14 to 16, characterized in that: The smart device is also configured to: A prompt message is sent to a second electronic device, where the prompt message includes location information and / or warning information of the first electronic device, where the warning information is used to prompt that an unknown device or a suspicious person is approaching the smart device.

27. A smart device, characterized in that: The smart device has an antenna structure, the wireless signal transmission distance of the antenna structure includes a first transmission distance and a second transmission distance, the first transmission distance is smaller than the second transmission distance, and the smart device includes: one or more processors and a memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the smart device executes the method for determining the device location as described in any one of claims 1 to 13.

28. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed on a smart device, the smart device is enabled to execute the method for determining a device location according to any one of claims 1 to 13.

29. A computer program product, characterized in that When the computer program product is executed on a computer, the computer is enabled to execute the method for determining the location of a device according to any one of claims 1 to 13.

Citation Information

Cited By

  • Method, apparatus and system for determining device position

    EP4258701B1

  • Method, apparatus and system for determining device position

    WO2022166461A1