[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2022027972A1 - 一种设备搜寻方法以及电子设备 - Google Patents

一种设备搜寻方法以及电子设备 Download PDF

Info

Publication number
WO2022027972A1
WO2022027972A1 PCT/CN2021/081517 CN2021081517W WO2022027972A1 WO 2022027972 A1 WO2022027972 A1 WO 2022027972A1 CN 2021081517 W CN2021081517 W CN 2021081517W WO 2022027972 A1 WO2022027972 A1 WO 2022027972A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
image
relative position
processor
electronic
Prior art date
Application number
PCT/CN2021/081517
Other languages
English (en)
French (fr)
Inventor
何彦杉
许强
周轩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022027972A1 publication Critical patent/WO2022027972A1/zh
Priority to US17/846,705 priority Critical patent/US11627437B2/en
Priority to US18/171,471 priority patent/US11889386B2/en
Priority to US18/545,383 priority patent/US20240155309A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4882Data services, e.g. news ticker for displaying messages, e.g. warnings, reminders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present application relates to the field of artificial intelligence, and in particular, to a device searching method and electronic device.
  • a user may lose or forget a certain device.
  • the device A that is, the lost or forgotten device
  • the device can be connected to the device through functions such as Bluetooth or WIFI of other devices.
  • the external device or cloud server connected to the device A issues an instruction to the forgotten device, so that the device A emits a prompt sound or vibrates, so that the user can find the device A.
  • device A must have vibration and sound functions, and must be turned on.
  • the present application provides a device searching method and electronic device, which are used to mark the position of the device to be searched in the image in combination with the location of the device to be searched and the captured image, so that the user can quickly search for the device in the actual application scenario, Improve user experience.
  • the present application provides a device searching method, including: the first device obtains the location information of the second device; the first device obtains the second device and the second device according to the location information of the second device and the second device The relative position of the first device; if it is determined according to the relative position that the second device is within the shooting range of the first device, the first device captures the first image; the first device determines the area where the second device is located in the first image; the first The device highlights the area in the first image where the second device is located.
  • the relative positions of the first device and the second device can be obtained. If the first device has a shooting function and the second device is within the shooting range of the first device, Then, the area where the second device is located can be marked in the captured image, so that the user can visually check the location of the second device, so that the user can quickly find the lost device and improve user experience.
  • the first device further displays all or part of the first image. Therefore, the user can quickly find the second device with reference to all or part of the displayed first image.
  • the above method may further include: the first device prompting based on the relative positions of the second device and the first device.
  • a prompt can also be given based on the relative position of the second device and the first device, so that the user can more accurately find the position of the second device in the actual application scenario based on the relative position.
  • the direction and/or distance of the second device relative to the first device can be directly prompted, so that the user can quickly find the lost second device according to the prompt, improving user experience .
  • the relative position includes a first distance between the first device and the second device and a first direction of the second device relative to the first device.
  • the aforementioned first device is based on the relationship between the second device and the first device.
  • Prompting the relative position of a device may include: the first device prompting at least one of a first distance and a first direction.
  • the first device can prompt the distance and direction of the second device relative to the first device, so that the user can intuitively find the second device according to the distance and direction of the second device relative to the first device, Improve user experience.
  • the above-mentioned first device prompts at least one of the first distance and the first direction, which may include: the first device displays the first distance and the first direction on the display interface. At least one; or, the first device plays voice prompt information, where the voice prompt information includes at least one of the first distance and the first direction.
  • prompts can be made on the display interface or by playing voice, which can be flexibly adapted to different scenarios, so that users can accurately find the second device according to the prompts, thereby improving user experience.
  • the above method may further include: the first device instructing to move the first device toward the second device until the second device is within the shooting range of the first device. within the shooting range.
  • the first device can be prompted to move, so that the second device is within the shooting range of the first device and is within the shooting range of the first device.
  • the area where the second device is located is marked in the image, so that the user can intuitively view the location of the second device, so that the user can quickly find the lost device and improve the user experience.
  • the above method may further include: if the first device detects that it moves, the first device according to its real-time location information, The relative positions of the first device and the second device are updated to indicate the updated relative positions.
  • the relative position with the second device can be updated in real time, and optionally a prompt can be given based on the updated relative position, so that the user can obtain the first device in time
  • the position of the second device changes during the moving process, so that the user can find the second device in time, thereby improving user experience.
  • the above-mentioned first device identifies where the second device is located in the first image.
  • the area of may include: the first device calculates, according to the relative position, the area where the blocked second device is located in the first image.
  • the area of the second device in the first image can be calculated based on the relative position, so that the user can find the second device in time and improve user experience.
  • the foregoing first device acquiring the location information of the second device may include: establishing a communication connection between the first device and the second device; and the first device receiving the location information sent by the second device.
  • the first device may establish a communication connection with the second device, so as to directly receive the location information sent by the second device.
  • acquiring the location information of the second device by the first device may include: establishing a communication connection between the first device and the third device; the first device receiving the location information of the second device sent by the third device, The location information is sent by the second device to the third device.
  • the first device can obtain the location information of the second device through a third-party device, and even if the first device does not establish a connection with the second device, it can obtain the location information of the second device, so that the subsequent device can obtain the location information of the second device.
  • the area where the second device is located is prompted in the image, so that the user can quickly find the second device and improve user experience.
  • the method before the first device determines the area where the second device is located in the first image, the method further includes: the first device acquires device attributes of the second device, where the device attributes include the type of the second device or Exterior.
  • the first device can acquire the device attributes of the second device, such as device type or appearance, so that the second device can be accurately identified in the first image, and then can be more accurately highlighted in the image
  • the area where the second device is located enables the user to quickly find the second device and improves user experience.
  • the present application provides an electronic device, comprising:
  • an acquisition module for acquiring the location information of the second device
  • a calculation module configured to obtain the relative position of the second device and the electronic device according to the position information of the electronic device itself and the position information of the second device;
  • a shooting module configured to shoot to obtain the first image if the second device is determined to be within the shooting range of the electronic device according to the relative position
  • a determining module used for the electronic device to determine the area where the second device is located in the first image
  • the prompt module is used to highlight the area where the second device is located in the first image.
  • the prompting module is further configured to prompt based on the relative positions of the second device and the electronic device.
  • the relative position includes a first distance between the electronic device and the second device and a first direction of the second device relative to the electronic device. At least one of the first directions is prompted.
  • the prompt module is specifically configured to: display at least one of the first distance and the first direction on the display interface; or play voice prompt information, where the voice prompt information includes the first distance and the first direction. speech in at least one of the first directions.
  • the prompting module is further configured to instruct to move the electronic device toward the second device if the second device is not within the shooting range of the electronic device until the second device is within the shooting range of the electronic device.
  • the computing module is further configured to update the relative position of the electronic device and the second device according to the real-time position information of the self, if the self-movement is detected, to obtain the updated relative position;
  • the prompting module is also used for indicating the updated relative position, that is, prompting the updated relative position.
  • the determining module is further configured to calculate the blocked image according to the relative position. The area where the second device is located in the first image.
  • the electronic device further includes: a transceiver module, configured to establish a communication connection with the second device, and receive location information sent by the second device.
  • the transceiver module is further configured to establish a communication connection with the third device, and receive the location information of the second device sent by the third device.
  • the transceiver module is further configured to acquire device attributes of the second device, where the device attributes of the second device include type or appearance.
  • the application provides an electronic device, comprising:
  • the processor is configured to obtain the position information of the second device, obtain the relative position of the second device and the electronic device according to the position information of the second device, and be used to determine if the second device is within the shooting range of the camera of the electronic device according to the relative position , instruct the camera to shoot to obtain the first image, and determine the area where the second device is located in the first image;
  • a display screen for highlighting an area in the first image where the second device is located.
  • the processor is further configured to instruct the prompt based on the relative position of the second device and the electronic device.
  • the relative position includes a first distance between the electronic device and the second device and a first direction of the second device relative to the electronic device
  • the processor is specifically configured to instruct at least one of the first distance and the first direction to be prompted.
  • the display screen is further configured to display at least one of the first distance and the first direction under the instruction of the processor; or, the electronic device further includes: a speaker, configured to The voice prompt information is played under the instruction, and the voice prompt information includes the voice of at least one of the first distance and the first direction.
  • the processor is further configured to, if the second device is not within the shooting range of the electronic device, instruct to move the electronic device toward the second device until the second device is within the shooting range of the electronic device;
  • the display screen is further configured to, under the instruction of the processor, display instruction information for moving the electronic device toward the second device until the second device is within the shooting range of the electronic device; or,
  • the electronic device further includes: a speaker for playing, under the instruction of the processor, instruction information for moving the electronic device toward the second device until the second device is within the shooting range of the electronic device.
  • the processor is further configured to update the relative position of the electronic device and the second device according to the real-time position information of the processor to obtain the updated relative position if it detects its own movement;
  • the speaker is also used to play the speech including the updated relative position.
  • the processor is further configured to calculate the blocked image according to the relative position. The area where the second device is located in the first image.
  • the electronic device further includes: a transceiver, configured to establish a communication connection with the second device, and receive location information sent by the second device.
  • the transceiver is further configured to establish a communication connection with the third device, and receive the location information of the second device sent by the third device.
  • the transceiver is further configured to acquire device attributes of the second device, where the device attributes of the second device include type or appearance.
  • the present application provides an electronic device, the electronic device includes a display screen, a memory, and one or more processors, wherein the memory stores a code of a graphical user interface of an application program, and the one or more processors are used to execute the code stored in the Code for a graphical user interface (GUI) in memory to display a graphical user interface on a display screen, the graphical user interface comprising:
  • the area where the second device is located in the first image is highlighted on the display screen.
  • the position information of the device obtains the relative position of the second device and the electronic device, and if it is determined according to the relative position that the second device is within the shooting range of the electronic device, it is obtained by shooting.
  • the GUI further includes: displaying the relative position in the display screen.
  • the relative position includes a first distance between the electronic device and the second device and a first direction of the second device relative to the electronic device
  • the GUI specifically includes: displaying the first distance and at least one of the first directions.
  • the GUI further includes: displaying prompt information instructing to move the electronic device toward the second device on the display screen, until the second device is in the electronic device within the shooting range.
  • the electronic device prompts based on the relative position of the second device and the electronic device
  • the one or more processors if one or more processors detect their own movement, the one or more processors according to their real-time position information, update the relative position of the electronic device and the second device, and obtain the updated relative position
  • the GUI further includes: displaying the updated relative position on the display screen.
  • an embodiment of the present application provides an electronic device, including: a processor and a memory, wherein the processor and the memory are interconnected through a line, and the processor invokes program codes in the memory to execute any one of the above-mentioned first aspects. processing-related functions in the device discovery method shown.
  • the electronic device may be a chip.
  • an embodiment of the present application provides an electronic device, which may also be referred to as a digital processing chip or a chip.
  • the chip includes a processing unit and a communication interface.
  • the processing unit obtains program instructions through the communication interface, and the program instructions are processed by the processing unit.
  • the processing unit is configured to execute the processing-related functions in the first aspect or any optional implementation manner of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium, including instructions, which, when executed on a computer, cause the computer to execute the method in the first aspect or any optional implementation manner of the first aspect.
  • an embodiment of the present application provides a computer program product including instructions, which, when run on a computer, causes the computer to execute the method in the first aspect or any optional implementation manner of the first aspect.
  • FIG. 1 is a schematic diagram of a network architecture provided by the present application.
  • FIG. 2 is a schematic structural diagram of an electronic device provided by the present application.
  • FIG. 3 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 4 is a schematic flowchart of a device searching method provided by the present application.
  • FIG. 5 is a schematic diagram of a shooting range provided by the present application.
  • FIG. 6 is a schematic flowchart of another device searching method provided by the present application.
  • FIG. 7 is a schematic diagram of the transmission of location information provided by the present application.
  • FIG. 9 is a schematic diagram of transmission of another location information provided by the present application.
  • Fig. 10 is a kind of GUI schematic diagram provided by this application.
  • FIG 11 is another GUI schematic diagram provided by this application.
  • Fig. 12 is another GUI schematic diagram provided by this application.
  • FIG. 13A is another GUI schematic diagram provided by the present application.
  • FIG. 13B is another GUI schematic diagram provided by this application.
  • FIG. 14 is a schematic diagram of a voice prompt provided by the present application.
  • FIG. 16A is another GUI schematic diagram provided by the present application.
  • FIG. 16B is another GUI schematic diagram provided by this application.
  • Figure 17 is another GUI schematic diagram provided by this application.
  • FIG. 18A is another GUI schematic diagram provided by the present application.
  • FIG. 18B is another GUI schematic diagram provided by the present application.
  • Figure 19 is another GUI schematic diagram provided by this application.
  • Figure 20 is another GUI schematic diagram provided by this application.
  • 21 is a schematic structural diagram of another electronic device provided by the present application.
  • 22 is a schematic structural diagram of another electronic device provided by the present application.
  • FIG. 23 is a schematic structural diagram of a chip provided by the present application.
  • the network architecture to which the device searching method provided by the present application is applied can be referred to as shown in FIG. 1 .
  • the network architecture includes a plurality of electronic devices (device 1 - device N as described in FIG. 1 ), and each electronic device can be connected to each other.
  • Electronic devices in this application may include, but are not limited to: smart mobile phones, TVs, tablet computers, wristbands, Head Mount Display (HMD), augmented reality (AR) devices, mixed reality (mixed reality) reality, MR) equipment, cellular phone (cellular phone), smart phone (smart phone), personal digital assistant (personal digital assistant, PDA), tablet computer, vehicle terminal, laptop computer (laptop computer), personal computer ( personal computer, PC), etc.
  • HMD Head Mount Display
  • AR augmented reality
  • MR mixed reality
  • cellular phone cellular phone
  • smart phone smart phone
  • PDA personal digital assistant
  • tablet computer vehicle terminal
  • laptop computer laptop computer
  • personal computer personal computer
  • the plurality of electronic devices can be connected through a wireless network or a wired network.
  • the wireless network includes but is not limited to: ultra wide band (UWB), fifth generation mobile communication technology (5th-Generation, 5G) system, long term evolution (long term evolution, LTE) system, global system for mobile communication (global system for mobile communication) system for mobile communication, GSM) or code division multiple access (code division multiple access, CDMA) networks, wideband code division multiple access (WCDMA) networks, wireless fidelity (wireless fidelity, WiFi), Bluetooth ( bluetooth), Zigbee (Zigbee), radio frequency identification technology (radio frequency identification, RFID), long range (Long Range, Lora) wireless communication, near field communication (near field communication, NFC) any one or more of The combination.
  • UWB ultra wide band
  • 5G fifth generation mobile communication technology
  • LTE long term evolution
  • LTE long term evolution
  • GSM global system for mobile communication
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • various electronic devices can transmit data to each other based on direct or established communication connections, such as transmitting their respective location information to all devices in the network architecture through direct or established communication connections or Designated electronic equipment, etc.
  • one of the electronic devices can be selected as the management device to manage the devices in the system architecture, such as joining verification, online status statistics, location statistics, bandwidth allocation or traffic statistics, etc. Operation, of course, you can also choose not to manage the device, each electronic device can directly or indirectly establish a connection, and directly or indirectly obtain the information of other devices in the system architecture through the established connection, such as location information, device attributes (such as device types) or device appearance).
  • FIG. 2 a specific structure is taken as an example to illustrate the structure of the electronic device provided in the present application.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM Subscriber identification module
  • 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, and ambient light.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may contain multiple sets of I2C buses.
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
  • the I2S interface can be used for audio communication.
  • the processor 110 may contain multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is typically used to connect the processor 110 with the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 .
  • the processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface may 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, and the like.
  • the GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 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.
  • the USB interface 130 here can also be replaced with other interfaces, such as Type-c or Lighting interfaces that can realize charging or data transmission, and the USB interface 130 is only used as an example for illustration.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module 141 is used for connecting 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 supplies power to the processor 110, the internal memory 121, 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 times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify 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 then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a separate device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), ultra wide band (ultra wide band, UWB), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include but is not limited to: the fifth generation mobile communication technology (5th-Generation, 5G) system, the global system for mobile communications (global system for mobile communications, GSM), the general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA) ), long term evolution (LTE), Bluetooth (bluetooth), global navigation satellite system (the global navigation satellite system, GNSS), wireless fidelity (wireless fidelity, WiFi), near field communication (near field communication, NFC), FM (also known as FM radio), Zigbee, radio frequency identification (radio frequency identification, RFID) and/or infrared (infrared,
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS), etc.
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the electronic device 100 may also include a wired communication module (not shown in FIG. 1 ), or the mobile communication module 150 or the wireless communication module 160 here may be replaced with a wired communication module (not shown in FIG. 1 ) out), the wired communication module can enable the electronic device to communicate with other devices through a wired network.
  • the wired network may include, but is not limited to, one or more of the following: optical transport network (OTN), synchronous digital hierarchy (SDH), passive optical network (PON), Ethernet network (Ethernet), or flexible Ethernet (flex Ethernet, FlexE).
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • 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 (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, 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 the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB camera, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • 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 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the angular velocity of electronic device 100 about three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 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 electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed 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 a touch operation 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 touch operations may be provided through display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal.
  • the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
  • the motion sensor 180N can be used to detect moving objects within the range captured by the camera, and collect the motion contours or motion trajectories of the moving objects.
  • the motion sensor 180N may be an infrared sensor, a laser sensor, a dynamic vision sensor (DVS), etc.
  • the DVS may specifically include DAVIS (Dynamic and Active-pixel Vision Sensor), ATIS (Asynchronous Time-based Image Sensor) ) or sensors such as CeleX sensors.
  • DAVIS Dynamic and Active-pixel Vision Sensor
  • ATIS Asynchronous Time-based Image Sensor
  • CeleX sensors such as CeleX sensors.
  • DVS draws on the properties of biological vision, where each pixel simulates a neuron that responds independently to relative changes in light intensity (hereafter referred to as "light intensity"). When the relative change in light intensity exceeds a threshold, the pixel outputs an event signal that includes the pixel's position, timestamp, and characteristic information about the light intensity.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the electronic device may include more or less components than those shown in FIG. 2 , which may be adjusted according to the actual application scenario, which is not limited in this application.
  • the electronic device 200 can be logically divided into a hardware layer 21 , an operating system 261 , and an application layer 31 .
  • the hardware layer 21 includes hardware resources such as an application processor 201 , a microcontroller unit 203 , a modem 207 , a Wi-Fi module 211 , a sensor 214 , and a positioning module 150 .
  • the application program layer 31 includes one or more application programs, such as application program 263.
  • the application program 263 can be any type of application program such as a social application program, an e-commerce application program, a browser, etc., or an object-seeking APP, which executes this application. Provides a device search method to search for devices lost by users.
  • the operating system 261, as a software middleware between the hardware layer 21 and the application layer 31, is a computer program that manages and controls hardware and software resources.
  • the operating system 261 includes a kernel 23 , a hardware abstraction layer (HAL) 25 , libraries and runtimes 27 , and a framework 29 .
  • the kernel 23 is used to provide underlying system components and services, such as: power management, memory management, thread management, hardware drivers, etc.; hardware drivers include Wi-Fi drivers, sensor drivers, positioning module drivers, and the like.
  • the hardware abstraction layer 25 encapsulates the kernel driver, provides an interface to the framework 29, and shields the low-level implementation details.
  • the hardware abstraction layer 25 runs in user space, and the kernel driver runs in kernel space.
  • Libraries and runtimes 27, also known as runtime libraries, provide the library files and execution environment that executable programs need at runtime.
  • the library and runtime 27 includes an Android runtime (Android Runtime, ART) 271, a library 273, and the like.
  • ART 271 is a virtual machine or virtual machine instance capable of converting an application's bytecode to machine code.
  • the library 273 is a program library that provides support for executable programs at runtime, including a browser engine (such as webkit), a script execution engine (such as a JavaScript engine), a graphics processing engine, and the like.
  • the framework 27 is used to provide various basic common components and services for applications in the application layer 31, such as window management, location management, and the like.
  • Framework 27 may include telephony manager 291, resource manager 293, location manager 295, and the like.
  • the functions of the various components of the operating system 261 described above can be realized by the application processor 201 executing the programs stored in the memory 205 .
  • the electronic device 200 may include fewer or more components than those shown in FIG. 3 , and the electronic device shown in FIG. 3 only includes more related implementations disclosed in the embodiments of the present application. components.
  • FIG. 4 a schematic flowchart of a device searching method provided by the present application is as follows.
  • the first device acquires location information of the second device.
  • the first device may know the location of the second device according to the location information of the second device. There are many ways for the first device to obtain the location information of the second device. Specifically, the first device can find the location information of the second device from the stored data, or it can be after establishing a connection with the second device. , the location information sent by the second device is received, or after the second device sends the location information to the third device, the third device forwards the location information to the first device and so on.
  • the user's home includes electronic devices such as bracelets, mobile phones, tablets, and smart large screens.
  • electronic devices such as bracelets, mobile phones, tablets, and smart large screens.
  • each electronic device can Or other electronic devices or electronic devices connected to it periodically send their own location information, for example, the wristband can transmit its own location coordinates to a tablet or mobile phone every 5 seconds, or every 5 seconds to a device in the same network. All electronic devices send their own location coordinates.
  • the user's wristband after the user's wristband sends location information to the tablet computer once in a certain corner of the home, it shuts down due to no remaining power. After that, the user enters the home with the mobile phone, and the mobile phone is connected to the home LAN. If the user needs to search the position of the bracelet through the mobile phone, the tablet computer in the same LAN can send the position of the bracelet to the mobile phone.
  • the first device acquires the relative position of the second device and the first device according to its own location information and the location information of the second device.
  • the relative position of the second device and the first device can be calculated, and the relative position can include the direction and distance of the second device relative to the first device, etc. .
  • the first device can read its own position and receive the position of the second device, then establish a coordinate system with the first device as the center, calculate the difference between the position of the first device itself and the position of the second device, and obtain The position of the second device in the coordinate system, so as to obtain the position vector of the second device in the coordinate system, the direction and distance of the second device relative to the first device can be calculated.
  • step 403 is an optional step.
  • the device attributes of the first device may be obtained, and the device attributes may include but are not limited to information such as the appearance, device type, or functions of the first device. Therefore, when determining the second device that needs to be searched, it can be read whether the first device has a shooting function.
  • step 404 it can be simply understood that it can be determined whether the first device has the aforementioned camera 193 , and if the first device has a camera, it can continue to determine whether the second device is within the shooting range of the first device, that is, step 404 is executed. If the first device does not have a camera, a prompt may be given based on the relative position of the second device and the first device, that is, indicating the position or direction of the second device relative to the first device, that is, step 408 is performed.
  • the second device When it is determined that the second device has a shooting function, it can be determined whether the second device is within the shooting range of the first device according to the relative positions of the second device and the first device. If the second device is within the shooting range of the first device, the first device can directly shoot the first image including the second device, that is, step 406 is executed. If the second device is not within the shooting range of the first device, and the first image includes the second device If the second device can move, it can be prompted to move toward the second device, so that the second device is within the shooting range of the first device.
  • the shooting range may be as shown in FIG. 5
  • the shooting range of the camera that is, the aforementioned preset range
  • the shooting range of the camera is related to the field of view ⁇ of the camera.
  • the larger the field of view of the camera the larger the shooting range, and the smaller the field of view, the smaller the shooting range.
  • the first device instructs to move the first device toward the second device.
  • the first device when the second device is not within the shooting range of the first device and the first device is movable, the first device may be instructed to move toward the second device, so that the second device is within the shooting range of the first device.
  • the first device is movable, which can be that the user can make the first device move, that is, the first device can move under the action of an external force provided by the user, or the first device is a device that is movable by itself, such as Mobile robots, cleaning robots and other equipment with moving parts, etc. If the first device is movable by itself, after determining that the second device is not within the shooting range of the first device, move toward the direction of the second device, so that the second device is within the shooting range of the first device.
  • the relative position of the second device and the first device can be updated in real time, and the content of the prompt information indicating the movement of the first device can be updated in real time.
  • the relative position of the real-time update can be updated in real time. The direction or distance displayed in the display interface to move toward the second device, etc.
  • the first device captures a first image.
  • the first device can start the camera to shoot to obtain the first image.
  • the first device can perform image recognition on the first device to determine which area of the first image the second device is in, or, if the second device is blocked, the first device can In combination with the relative positions of the second device and the second device, it is determined which area of the first image the second device is in.
  • the first device can obtain the device attributes of the second device, such as the device type of the second device. , appearance or size, etc., so that the first image can be identified according to the device attribute of the second device, and the area where the second device is located can be accurately identified.
  • the device attributes of the second device such as the device type of the second device. , appearance or size, etc.
  • the first device highlights the area where the second device is located in the first image on the display screen.
  • the display screen of the second device can be highlighted in the first image area in .
  • the first device may also display all or part of the first image on the display screen.
  • the area where the second device is located can be displayed in the form of a heat map, or the location of the second device can be marked in the first image through information such as a marker box, arrow, text, etc. Area.
  • the first device prompts the relative positions of the second device and the first device.
  • the position of the second device relative to the first device may be prompted in the form of prompt information. For example, if the second device does not have a shooting function, the relative position of the second device and the second device may be prompted. Or, for another example, if the first device has a shooting function, but the second device is not within the shooting range of the first device, and the first device cannot move, the relative position of the second device and the second device may also be prompted. For another example, if the second device is within the shooting range of the first device, on the basis of highlighting the area where the second device is located in the first image on the display screen, the relative position of the second device and the first device can be further determined. Prompts are provided so that the user can find the second device more accurately, thereby improving user experience.
  • the relative position may include a first distance of the second device relative to the first device, or a first direction of the second device relative to the first device, and the like.
  • step 408 may include: prompting the first distance and/or the first direction.
  • More specific prompting methods may include, but are not limited to: the first distance and/or the first direction may be directly displayed in the display interface, such as displaying the first distance and/or the first direction in the form of text or arrows; also Voice prompt information may be played, and the voice prompt information includes the voice corresponding to the first distance and/or the first direction.
  • text information such as "Your wristband is 5 meters to the right” may be displayed on the display interface, or the text may be directly converted into voice, so that the user can find the wristband according to the voice prompt.
  • the relative positions of the first device and the second device can be obtained. If the first device has a shooting function and the second device is within the shooting range of the first device, Then, the area where the second device is located can be marked in the captured image, so that the user can visually check the location of the second device, so that the user can quickly find the lost device and improve user experience. If the first device has a shooting function and the second device is not within the shooting range of the first device, you can prompt to move the first device so that the second device is within the shooting range of the first device and mark the location in the captured image.
  • the area where the second device is located allows the user to visually check the location of the second device, so that the user can quickly find the lost device and improve user experience.
  • the first device does not have the shooting function, the direction and/or distance of the second device relative to the first device can be directly prompted, so that the user can quickly find the lost second device according to the prompt, improving user experience.
  • the GUI can be applied to an electronic device.
  • the electronic device may comprise a display screen, a memory, one or more processors for executing one or more computer programs stored in the memory, as mentioned above in FIG. 4
  • the GUI is used to display the display interface of the aforementioned device searching method through the display screen.
  • the GUI may further include: displaying the relative position in the display screen.
  • the relative position includes a first distance between the electronic device and the second device and a first direction of the second device relative to the electronic device
  • the GUI specifically includes: displaying the first distance on the display screen and at least one of the first direction.
  • the GUI further includes: displaying on the display screen prompt information for moving the electronic device toward the second device, until the second device is within the shooting range of the electronic device. within the shooting range.
  • the GUI also includes: displaying the updated relative position in the display.
  • the application scenario of the device searching method and GUI provided by the present application may be as shown in FIG. 6 , which will be described in detail below.
  • Device A and device B are interconnected.
  • the device A may be understood as the aforementioned second device, and the device B may be understood as the aforementioned first device.
  • a communication connection can be established between device A and device B by means of UWB, Bluetooth, Zigbee, or NFC.
  • step 601 is an optional step.
  • Device A and device B transmit positioning to each other.
  • the device A and the device B can send positioning information to each other through the established communication connection, so as to notify each other of their respective locations.
  • device A can be a wristband
  • device B can be a mobile phone.
  • a UWB connection is established between the wristband and the mobile phone, and the wristband can transmit its own position to the mobile phone through the UWB connection.
  • the phone know the location of the bracelet.
  • the position of the bracelet can be displayed on the display interface of the mobile phone, so that the user can visually observe the position of the bracelet in the display interface of the mobile phone.
  • a connection may not be established between device A and device B, and device B may obtain location information of device A through other devices.
  • device A may be a wristband
  • device B may be a mobile phone.
  • a UWB connection is established between the bracelet and the smart screen, and the bracelet sends its location information to the smart screen through the UWB connection.
  • the smart screen and the mobile phone have established WiFi Connect, the smart screen will send the location information of the bracelet to the mobile phone, so that the mobile phone can know the location of the bracelet.
  • the bracelet establishes a connection with the smart screen in a corner of the user's home, and sends its own location information to the smart screen, and then the bracelet shuts down due to insufficient power.
  • the mobile phone can establish a connection with the smart big screen through WiFi, and the smart big screen can send the last location information sent by the bracelet to the mobile phone, so that the mobile phone is not connected with the bracelet.
  • the location information of the bracelet can also be obtained, and then the location of the bracelet can be prompted based on the location information, so that the user can find the bracelet without establishing a connection with the bracelet, improving the user experience.
  • the user proposes to search for device A on device B.
  • step 601 may be executed first, or step 603 may be executed first.
  • the present application only uses step 601 to be executed first as an example for illustration and is not intended to be limiting.
  • the user can operate on device B, thereby instructing device B to find device A.
  • a GUI is shown in Figure 10.
  • Devices connected to the same local area network such as mobile phones, bracelets, earphones, stylus, etc., can be displayed on the touch screen of device B.
  • the searched device can be displayed on the touch screen of device B. The searched device.
  • the device B may not have a display screen but a speaker and a microphone, etc., then the user can control the device B to find the device A by means of voice.
  • device B can be a smart Bluetooth speaker. After waking up the Bluetooth speaker, the user can send voice control commands to the Bluetooth speaker, such as "search for bracelet", "search for mobile phone” and other commands to control the Bluetooth speaker to start searching for device A.
  • Device B calculates the relative position of device A.
  • the relative position of the device A relative to the device B is calculated according to the obtained position information of the device A. Such as the direction, distance, height, etc. of device A relative to device B.
  • SLAM simultaneous localization and mapping
  • a coordinate system can be established with the device B as the center, and the difference between the position of the device A and the position of the device B is calculated, and the position of the device A is determined based on the difference.
  • the coordinate vector in this coordinate system so as to obtain the direction and distance of device A relative to device B.
  • steps 604-616 are performed by device B.
  • step 605. Determine whether the device B has a photographing function, if not, go to step 606, and if so, go to step 609.
  • the device B determines whether the device B has a camera function, that is, whether the device A has a camera, and if it has a camera, it can continue to determine whether the device A is within the field of view of the device B, that is, step 609 is executed, and if the device B does not have a camera, it can be The location of the device A is prompted by other means, such as performing step 606 .
  • step 605 is an optional step, and in some scenarios where the device B has a shooting function, the next step may be directly performed without performing the judgment step.
  • Step 604 may be executed first, or step 605 may be executed first, or steps 604 and 605 may be executed at the same time, which may be adjusted according to actual application scenarios. It is only used as an example to perform step 604 first for illustrative description, and is not intended to be limiting.
  • step 606. Determine whether the device B has a display function, if yes, go to step 607, if not, go to step 608.
  • the device B When the device B does not have the function of taking pictures, it can continue to determine whether the device B has the display function, that is, whether it has or is connected to the display screen. The relative position of B, that is, step 608 is executed. If the device B has a display function, the display mode or the voice prompt mode can be selected to prompt the relative position of the device A relative to the device B.
  • a position directional map may be displayed on the display screen of device B or a display screen connected to device B, where the position directional map is used to indicate the position of device A relative to device B, such as the distance between device A and device B And the orientation of device A relative to device B, etc.
  • a GUI can be used in the display interface of device B to indicate which direction device A is in device B in the form of arrows, and the distance between device A and device B in the form of text.
  • a GUI is shown in FIG. 12 , in the display interface of device B, the direction of device A in device B can be indicated in the form of arrows, and the user is prompted to move the distance in this direction through text.
  • device B can be a wristband.
  • a GUI is shown in FIG. 13A .
  • the direction of device A relative to the wristband can be indicated in the form of a dial, and the relationship between device A and the wristband can be displayed in the form of text.
  • the distance of the ring is 2.7 meters.
  • a GUI is shown in FIG. 13B .
  • Device B can be a large smart screen, and the screen can prompt "Your "Bracelet" is 3 meters to the right" to indicate to the user that it is 3 meters to the right of the smart phone. m looking for the bracelet.
  • the position and direction of device A relative to device B can be prompted by voice, or when the user selects voice prompt, device A can be prompted relative to device B by voice position and direction. Therefore, even in a scene where device B cannot be photographed or displayed, the location of device A can be prompted by voice, so that the user can quickly find device A through voice, improving user experience.
  • device B can be a Bluetooth speaker
  • the Bluetooth speaker can play voice, and indicate the distance or direction of the device to be searched relative to the Bluetooth speaker in the form of voice.
  • step 609 Determine whether the device A is in the field of view of the device B, if yes, execute step 610, and if not, execute step 613.
  • the device B when it is determined that the device B has the photographing function, it can be determined whether the device A is in the field of view (ie the shooting range) of the device B according to the relative positions of the device A and the device B. If so, the device B can shoot images. If A is not in the field of view of device B, the mobile device B can be prompted, so that device A is in the field of view of device B.
  • the field of view ie the shooting range
  • the mobile phone establishes a coordinate system with itself as the center, and the origin of the coordinate system is the geometric center of the mobile phone.
  • the Z axis of the coordinate system is perpendicular to the screen of the mobile phone and points to the back of the mobile phone, the Y axis of the coordinate system is parallel to the long side of the mobile phone, and the X axis of the coordinate system is parallel to the short side of the mobile phone.
  • the shooting system of device B is located at the negative value of the X-axis and the Y-axis, and the camera has a fixed field of view, such as a horizontal field of view of 120°, a vertical field of view of 90°, the optical axis of the camera and the coordinate system.
  • the Z axis is parallel; the horizontal direction of the camera is parallel to the X axis of the coordinate system and perpendicular to the Y axis; the vertical direction of the camera is parallel to the Y axis of the coordinate system and perpendicular to the X axis.
  • the coordinate system position of device A in device B is (X1, Y1, Z1). According to the position difference (X2, Y2, Z2) between the origin of the coordinate system of device B and the camera of device B, the camera coordinates of device A in device B are calculated.
  • the position in the system is (X3, Y3, Z3).
  • the horizontal angle of device A in the camera of device B is arctan(X3/Z3), and the vertical angle is arctan(Y3/Z3).
  • the device B can start the camera to capture an image.
  • This image includes the area where Device A is located.
  • the area of the device A in the image can be identified through image recognition.
  • the device A included in the image can be identified by algorithms such as canny edge detection, deep learning detection algorithm, support vector machines (SVM), etc., so as to obtain the area of device A in the image.
  • algorithms such as canny edge detection, deep learning detection algorithm, support vector machines (SVM), etc.
  • the area of the device A in the image may be determined according to the relative positions of the device A and the device B. That is, the relative position of device A and device B is directly converted into coordinates in the image. For example, in some scenarios, device A may be blocked by an object, so that device A cannot be identified in the captured image. In this case, the position of device A can be calibrated to the coordinates of the camera in combination with the position of device A relative to device B. Then, the position of device A in the coordinate system of the camera is projected to the position in the image, so as to determine the area of device A in the image.
  • the position of device A in the image may be determined by combining the relative positions of device A and device B and image recognition.
  • a part of the area including device A is intercepted from the image to perform image recognition, so as to determine that device A is photographed by device B. area in the image.
  • device B After knowing the distance and orientation of device A relative to device B, device B has a camera, and the position coordinates of device A need to be calibrated to the coordinate system of the camera. Then, the position of device A in the coordinate system of the camera is converted into the position of the coordinate system in the image.
  • conversion methods can include:
  • Z c represents the distance from the photographed object to the camera
  • u represents the abscissa of the photographed object in the image
  • v represents the ordinate of the photographed object in the image
  • d x, dy are the horizontal and vertical pixel dimensions of the camera
  • u 0 , v 0 is the horizontal and vertical center of the image
  • f is the focal length of the camera
  • R is a 3X3 matrix, representing the rotation matrix between the positioning system coordinate system and the camera coordinate system
  • T is a 3X1 matrix, representing the positioning system coordinate system and camera coordinates
  • the translation matrix between the systems, X w , Y w , Z w is the position of the device A.
  • the area can be highlighted to prompt the user the area of the device A in the image, so that the user can determine where the device A is located in the actual scene according to the highlighted area in the image the location so that the user can quickly find the device A.
  • a GUI is shown in Fig. 16A and Fig. 16B.
  • the area of device A in the image can be highlighted in the form of a heat map.
  • the occluded image, in which the area where device A is located is marked in the form of a prompt box.
  • Figure 16B shows the heat map of the occluded device A, and the location of the occluded device A is marked in the form of a heat map. Area.
  • the area of device A in the image can also be highlighted in the form of a prompt box, text, arrow, etc., so that the user can intuitively determine the location of device A in the actual scene through the highlighted area.
  • step 613 Determine whether the device B is movable, if not, go to step 614, and if so, go to step 615.
  • step 615 when it is determined that the device A is not in the field of view of the device B, it can continue to determine whether the device B is movable, and if it can be moved, it can instruct the mobile device B or the device B to move automatically, that is, step 615 is executed, if the device B is not movable , the position pointing map can be directly displayed, that is, step 614 is executed.
  • step 613 is an optional step, and the device B can directly know whether it is movable.
  • the device B can directly know whether it is movable.
  • the device B is a smart large screen, a fixed monitor, etc.
  • Device B is an automatically movable device.
  • device B can be directly prompted to move toward device A or automatically move toward device A, and when device B is immovable, the location orientation map can be directly displayed.
  • This step 614 is similar to the foregoing step 607 , for details, please refer to the relevant introduction in the foregoing step 607 , and details are not repeated here.
  • the moving direction and distance toward the device A may be displayed in the display screen, so that the user can move the device B toward the device A according to the content displayed in the display screen.
  • a GUI can prompt "5 meters to the right" in the display screen, so that device A is within the field of view of device B.
  • device B can move automatically.
  • device B can be automatically moved based on the direction and distance between device A and device B, so that device A can be included in device B. within the field of view.
  • Device B can be a cleaning robot with a display screen.
  • the user can instruct the cleaning robot to search for wireless headsets through voice, touch screen or buttons.
  • the direction and distance of the headset relative to the sweeping robot determines whether the wireless headset is in the field of view of the sweeping robot. If the wireless headset is not in the field of view of the sweeping robot and is on the right side of the sweeping robot, the sweeping robot can move to the right at this time. , so that the wireless headset is within the field of view of the cleaning robot, as shown in Figure 18B.
  • device B During the process of device B moving towards device A, if device B detects its own movement, it can update its own position in real time, calculate the position of device A relative to device B in real time, and possibly display the position on the display screen. relative position changes.
  • Device B can be a tablet.
  • the user can be prompted to move the tablet to the right by 3 meters.
  • the display screen of the tablet shows that the display moves to the right by 3 meters, so that the device to be searched is within the view of the tablet.
  • the relative position of the device A and the device B can be prompted in the device B, so that the user can quickly find the device A according to the relative position, thereby improving the user experience.
  • the area of device A in the image can be highlighted on the display interface of device B, so that the user can intuitively observe the actual location of device A through the highlighted content in the image. location, so as to quickly search for device A.
  • the device searching method provided by the present application is described in detail above, and the structure of the electronic device that executes the device searching method will be described in detail below with reference to the foregoing device searching method.
  • FIG. 21 a schematic structural diagram of an electronic device provided by the present application.
  • the electronic equipment includes:
  • an acquisition module 2101 configured to acquire the location information of the second device
  • a calculation module 2102 configured to obtain the relative position of the second device and the first device according to the position information of the electronic device itself and the position information of the second device;
  • the photographing module 2103 is used for photographing to obtain a first image if it is determined according to the relative position that the second device is within the photographing range of the first device;
  • a determination module 2104 used for the first device to determine the area where the second device is located in the first image
  • the prompting module 2105 is configured to highlight the area where the second device is located in the first image.
  • the prompting module 2105 is further configured to display all or part of the first image.
  • the prompting module 2105 is further configured to prompt based on the relative positions of the second device and the first device.
  • the relative position includes a first distance between the first device and the second device and a first direction of the second device relative to the first device.
  • the prompt module 2105 is specifically used for the first device to pair At least one of a first distance and a first direction is prompted.
  • the prompt module 2105 is specifically configured to: display at least one of the first distance and the first direction on the display interface; or play voice prompt information, where the voice prompt information includes the first distance and speech in at least one of the first directions.
  • the prompting module 2105 is further configured to prompt to move the first device toward the second device if the second device is not within the shooting range of the first device until the second device is within the shooting range of the first device Inside.
  • the computing module 2102 is further configured to update the relative position of the first device and the second device according to its own real-time position information, to obtain the updated relative position, if its own movement is detected;
  • the prompt module 2105 is used to indicate the updated relative position.
  • the determining module 2104 is further configured to calculate the blocked device according to the relative position The area where the second device is located in the first image.
  • the obtaining module 2101 is specifically configured to: establish a communication connection, and receive the location information sent by the second device.
  • the obtaining module 2101 is specifically configured to: establish a communication connection with the third device; and receive location information of the second device sent by the third device, where the location information is sent by the second device to the third device.
  • the acquiring module 2101 is specifically configured to acquire device attributes of the second device before determining the area where the second device is located in the first image, where the device attributes include the type or appearance of the second device.
  • FIG. 22 is a schematic structural diagram of another electronic device provided by the present application, as described below.
  • the electronic device may include a processor 2201 , a memory 2202 and a transceiver 2203 .
  • the processor 2201 and the memory 2202 are interconnected by wires.
  • the memory 2202 stores program instructions and data.
  • the memory 2202 stores program instructions and data corresponding to the steps in the foregoing Figures 4-20.
  • the processor 2201 is configured to execute the method steps performed by the first device or the electronic device shown in any of the foregoing embodiments in FIGS. 4-20 .
  • the transceiver 2203 is configured to perform the steps of receiving or sending data performed by the first device or the electronic device shown in any of the foregoing embodiments in FIGS. 4-20 .
  • the electronic device may further include a display screen 2204 for displaying the interface displayed by the first device or the electronic device in the foregoing FIGS. 4-20 .
  • the electronic device may further include a speaker 2205 for playing the voice played by the first device or the electronic device in the foregoing FIGS. 4-20 .
  • Embodiments of the present application further provide a computer-readable storage medium, where a program for generating a vehicle running speed is stored in the computer-readable storage medium, and when it runs on a computer, the computer executes the program shown in FIGS. 4-20 above. Steps in the method described in the example embodiment.
  • the aforementioned electronic device shown in FIG. 22 is a chip.
  • the embodiment of the present application also provides an electronic device, which may also be referred to as a digital processing chip or a chip.
  • the chip includes a processing unit and a communication interface.
  • the processing unit obtains program instructions through the communication interface, and the program instructions are executed by the processing unit.
  • the unit is configured to perform the method steps performed by the electronic device shown in any of the foregoing embodiments in FIGS. 4-20 .
  • the embodiments of the present application also provide a digital processing chip.
  • the digital processing chip integrates circuits and one or more interfaces for realizing the above-mentioned processor 2201 or the functions of the processor 2201 .
  • the digital processing chip can perform the method steps of any one or more of the foregoing embodiments.
  • the digital processing chip does not integrate the memory, it can be connected with the external memory through the communication interface.
  • the digital processing chip implements the actions performed by the electronic device in the above embodiments according to the program codes stored in the external memory.
  • Embodiments of the present application also provide a computer program product that, when driving on a computer, causes the computer to execute the steps performed by the electronic device in the methods described in the foregoing embodiments shown in FIGS. 4-20 .
  • the electronic device provided in this embodiment of the present application may be a chip, and the chip includes: a processing unit and a communication unit.
  • the processing unit may be, for example, a processor, and the communication unit may be, for example, an input/output interface, a pin, or a circuit.
  • the processing unit can execute the computer-executed instructions stored in the storage unit, so that the chip in the server executes the device searching method described in the embodiments shown in FIGS. 4-20.
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the wireless access device, such as only Read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), etc.
  • ROM Read-only memory
  • RAM random access memory
  • the aforementioned processing unit or processor may be a central processing unit (CPU), a network processor (neural-network processing unit, NPU), a graphics processing unit (graphics processing unit, GPU), a digital signal processing digital signal processor (DSP), application specific integrated circuit (ASIC) or field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or it may be any conventional processor or the like.
  • FIG. 23 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • the chip can be represented as a neural network processor NPU 230, and the NPU 230 is mounted as a co-processor to the main CPU ( Host CPU), the task is allocated by the Host CPU.
  • the core part of the NPU is the arithmetic circuit 2303, which is controlled by the controller 2304 to extract the matrix data in the memory and perform multiplication operations.
  • the arithmetic circuit 2303 includes multiple processing units (process engines, PEs). In some implementations, the arithmetic circuit 2303 is a two-dimensional systolic array. The arithmetic circuit 2303 may also be a one-dimensional systolic array or other electronic circuitry capable of performing mathematical operations such as multiplication and addition. In some implementations, the arithmetic circuit 2303 is a general-purpose matrix processor.
  • the arithmetic circuit fetches the data corresponding to the matrix B from the weight memory 2302 and buffers it on each PE in the arithmetic circuit.
  • the arithmetic circuit fetches the data of matrix A and matrix B from the input memory 2301 to perform matrix operation, and stores the partial result or final result of the matrix in the accumulator 2308 .
  • Unified memory 2306 is used to store input data and output data.
  • the weight data is directly passed through the storage unit access controller (direct memory access controller, DMAC) 2305, and the DMAC is transferred to the weight memory 2302.
  • Input data is also moved to unified memory 2306 via the DMAC.
  • DMAC direct memory access controller
  • a bus interface unit (BIU) 2310 is used for the interaction between the AXI bus and the DMAC and an instruction fetch buffer (instruction fetch buffer, IFB) 2309.
  • IFB instruction fetch buffer
  • the bus interface unit 2310 (bus interface unit, BIU) is used for the instruction fetch memory 2309 to obtain instructions from the external memory, and also for the storage unit access controller 2305 to obtain the original data of the input matrix A or the weight matrix B from the external memory.
  • the DMAC is mainly used to transfer the input data in the external memory DDR to the unified memory 2306 , the weight data to the weight memory 2302 , or the input data to the input memory 2301 .
  • the vector calculation unit 2307 includes a plurality of operation processing units, and further processes the output of the operation circuit if necessary, such as vector multiplication, vector addition, exponential operation, logarithmic operation, size comparison and so on. It is mainly used for non-convolutional/fully connected layer network computations in neural networks, such as batch normalization, pixel-level summation, and upsampling of feature planes.
  • the vector computation unit 2307 can store the processed output vectors to the unified memory 2306 .
  • the vector calculation unit 2307 may apply a linear function and/or a nonlinear function to the output of the operation circuit 2303, such as linear interpolation of the feature plane extracted by the convolutional layer, such as a vector of accumulated values, to generate activation values.
  • the vector computation unit 2307 generates normalized values, pixel-level summed values, or both.
  • the vector of processed outputs can be used as activation input to the arithmetic circuit 2303, eg, for use in subsequent layers in a neural network.
  • the instruction fetch memory (instruction fetch buffer) 2309 connected to the controller 2304 is used to store the instructions used by the controller 2304;
  • the unified memory 2306, the input memory 2301, the weight memory 2302 and the instruction fetch memory 2309 are all On-Chip memories. External memory is private to the NPU hardware architecture.
  • each layer in the recurrent neural network can be performed by the operation circuit 2303 or the vector calculation unit 2307 .
  • the processor mentioned in any one of the above may be a general-purpose central processing unit, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the programs of the above-mentioned methods in FIGS. 4-20 .
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be A physical unit, which can be located in one place or distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.
  • U disk U disk
  • mobile hard disk ROM
  • RAM random access memory
  • disk or CD etc.
  • a computer device which can be a personal computer, server, or network device, etc. to execute the methods described in the various embodiments of the present application.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • wire eg, coaxial cable, fiber optic, digital subscriber line (DSL)
  • wireless eg, infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state disks (SSDs)), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请涉及人工智能领域的一种设备搜寻方法以及电子设备,用于结合对待搜寻设备的定位以及拍摄到的图像,标记出待搜寻设备在图像中的位置,使用户可以快速在实际应用场景中搜寻到设备,提高用户体验。该方法包括:第一设备获取第二设备的位置信息;第一设备根据自身的位置信息和第二设备的位置信息获取第二设备与第一设备的相对位置;若根据相对位置确定第二设备在第一设备的拍摄范围内,第一设备拍摄第一图像;第一设备确定第一图像中第二设备所在的区域;第一设备突出显示第一图像中第二设备所在的区域。

Description

一种设备搜寻方法以及电子设备
本申请要求于2020年08月05日提交中国专利局、申请号为202010779683.0、申请名称为“一种设备搜寻方法以及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及人工智能领域,尤其涉及一种设备搜寻方法以及电子设备。
背景技术
通常,在一些场景中,可能会出现用户丢失或者遗忘某一个设备的场景。通常,设备A,即被丢失或者遗忘的设备处于开机状态,并且具有蓝牙或者WIFI等功能时,可以通过其他设备的蓝牙或者WIFI等功能连接设。在设备A被外部设备或者云服务器连接上后,连接该设备A的外部设备或者云服务器向被遗忘设备下达指令,使设备A发出提示音或者振动,使用户可以寻找到该设备A。然而,设备A必须具有震动、发声功能,必须处于开机状态。
发明内容
本申请提供一种设备搜寻方法以及电子设备,用于结合对待搜寻设备的定位以及拍摄到的图像,标记出待搜寻设备在图像中的位置,使用户可以快速在实际应用场景中搜寻到设备,提高用户体验。
有鉴于此,第一方面,本申请提供一种设备搜寻方法,包括:第一设备获取第二设备的位置信息;第一设备根据自身的位置信息和第二设备的位置信息获取第二设备与第一设备的相对位置;若根据相对位置确定第二设备在第一设备的拍摄范围内,第一设备拍摄得到第一图像;第一设备确定第一图像中第二设备所在的区域;第一设备突出显示第一图像中第二设备所在的区域。
因此,在本申请实施方式中,在搜寻设备的过程中,可以获取第一设备与第二设备的相对位置,若第一设备具有拍摄功能,且第二设备在第一设备的拍摄范围内,则可以在拍摄到的图像中标记处第二设备所在的区域,使用户可以直观地查看到该第二设备所在的位置,使用户可以快速找到丢失的设备,提高用户体验。
在一种可能的实施方式中,第一设备还显示全部或者部分第一图像。因此,用户可以参考显示的全部或者部分第一图像,快速找到第二设备。
在一种可能的实施方式中,上述方法还可以包括:第一设备基于第二设备与第一设备的相对位置进行提示。
因此,在本申请实施方式中,还可以基于第二设备与第一设备的相对位置进行提示,使用户可以基于该相对位置更准确地查找到第二设备在实际应用场景中的位置。或者,当第一设备不具备拍摄功能时,则可以直接对第二设备相对于第一设备的方向和/或距离进行提示,使用户可以根据该提示快速找到丢失的第二设备,提高用户体验。
在一种可能的实施方式中,相对位置包括第一设备与第二设备之间的第一距离和第二设备相对于第一设备的第一方向,前述的第一设备基于第二设备与第一设备的相对位置进 行提示,可以包括:第一设备对第一距离和第一方向中的至少一种进行提示。
本申请实施方式中,第一设备可以对第二设备相对于第一设备的距离和方向进行提示,使用户可以直观地根据第二设备相对于第一设备的距离和方向查找到第二设备,提高用户体验。
在一种可能的实施方式中,上述的第一设备对第一距离和第一方向中的至少一种进行提示,可以包括:第一设备在显示界面中显示第一距离和第一方向中的至少一种;或者,第一设备播放语音提示信息,语音提示信息包括了第一距离和第一方向中的至少一种的语音。
因此,在本申请实施方式中,可以在显示界面中提示,也可以通过播放语音的方式进行提示,可以灵活适应不同的场景,使用户可以根据提示准确地找到第二设备,提高用户体验。
在一种可能的实施方式中,若第二设备不在第一设备的拍摄范围内,则上述方法还可以包括:第一设备指示朝向第二设备移动第一设备,直到第二设备在第一设备的拍摄范围内。
本申请实施方式中,若第一设备具有拍摄功能,第二设备不在第一设备的拍摄范围内,则可以提示移动第一设备,使第二设备在第一设备的拍摄范围内并在拍摄到的图像中标记处第二设备所在的区域,使用户可以直观地查看到该第二设备所在的位置,使用户可以快速找到丢失的设备,提高用户体验。
在一种可能的实施方式中,在第一设备指示朝向第二设备移动第一设备之后,上述方法还可以包括:若第一设备检测到自身移动,则第一设备根据自身的实时位置信息,更新第一设备与第二设备的相对位置,指示更新后的相对位置。
本申请实施方式中,在第一设备移动的过程中,可以实时更新与第二设备的相对位置,可选地还可以基于该更新后的相对位置进行提示,使用户可以及时获取到第一设备移动过程中第二设备的位置变化,使用户可以及时查找到第二设备,提高用户体验。
在一种可能的实施方式中,若第二设备在第一设备的拍摄范围内,且在拍摄范围内第二设备被障碍物遮挡,则上述的第一设备识别第一图像中第二设备所在的区域,可以包括:第一设备根据相对位置,计算被遮挡后的第二设备在第一图像中所在的区域。
本申请实施方式中,即使第二设备被遮挡,也可以基于相对位置计算第二设备在第一图像中的区域,使用户可以及时找到第二设备,提高用户体验。
在一种可能的实施方式中,上述的第一设备获取第二设备的位置信息,可以包括:第一设备和第二设备建立通信连接;第一设备接收第二设备发送的位置信息。
本申请实施方式中,第一设备可以与第二设备建立通信连接,从而直接接收到第二设备发送的位置信息。
在一种可能的实施方式中,第一设备获取第二设备的位置信息,可以包括:第一设备和第三设备建立通信连接;第一设备接收第三设备发送的第二设备的位置信息,位置信息由第二设备发送至第三设备。
本申请实施方式中,第一设备可以通过第三方设备来获取第二设备的位置信息,即使 第一设备未与第二设备建立连接,也可以获取到第二设备的位置信息,进而使后续可以在图像中提示第二设备所在的区域,使用户可以快速找到第二设备,提高用户体验。
在一种可能的实施方式中,在第一设备确定第一图像中第二设备所在的区域之前,方法还包括:第一设备获取第二设备的设备属性,设备属性包括第二设备的类型或者外观。
本申请实施方式中,第一设备可以获取第二设备的设备属性,如设备类型或者外观等,从而使在第一图像中可以准确识别出第二设备,进而可以在图像中更精确地突出显示第二设备所在的区域,使用户可以快速找到第二设备,提高用户体验。
第二方面,本申请提供一种电子设备,包括:
获取模块,用于获取第二设备的位置信息;
计算模块,用于根据电子设备自身的位置信息和第二设备的位置信息获取第二设备与电子设备的相对位置;
拍摄模块,用于若根据相对位置确定第二设备在电子设备的拍摄范围内,则进行拍摄以得到第一图像;
确定模块,用于电子设备确定第一图像中第二设备所在的区域;
提示模块,用于突出显示第一图像中第二设备所在的区域。
在一种可能的实施方式中,提示模块,还用于基于第二设备与电子设备的相对位置进行提示。
在一种可能的实施方式中,相对位置包括电子设备与第二设备之间的第一距离和第二设备相对于电子设备的第一方向,提示模块,具体用于电子设备对第一距离和第一方向中的至少一种进行提示。
在一种可能的实施方式中,提示模块,具体用于:在显示界面中显示第一距离和第一方向中的至少一种;或者,播放语音提示信息,语音提示信息包括了第一距离和第一方向中的至少一种的语音。
在一种可能的实施方式中,提示模块,还用于若第二设备不在电子设备的拍摄范围内,指示朝向第二设备移动电子设备,直到第二设备在电子设备的拍摄范围内。
在一种可能的实施方式中,计算模块,还用于若检测到自身移动,则根据自身的实时位置信息,更新电子设备与第二设备的相对位置,得到更新后的相对位置;
提示模块,还用于指示更新后的相对位置,即对更新后的相对位置进行提示。
在一种可能的实施方式中,若第二设备在电子设备的拍摄范围内,且在拍摄范围内第二设备被障碍物遮挡,则确定模块,还用于根据相对位置,计算被遮挡后的第二设备在第一图像中所在的区域。
在一种可能的实施方式中,电子设备还包括:收发模块,用于和第二设备建立通信连接,并接收第二设备发送的位置信息。
在一种可能的实施方式中,收发模块,还用于与第三设备建立通信连接,并接收第三设备发送的第二设备的位置信息。
在一种可能的实施方式中,在确定模块确定第一图像中第二设备所在的区域之前,收发模块,还用于获取第二设备的设备属性,第二设备的设备属性包括第二设备的类型或者 外观。
第三方面,本申请提供一种电子设备,包括:
处理器,用于获取第二设备的位置信息,根据第二设备的位置信息获取第二设备与电子设备的相对位置,用于若根据相对位置确定第二设备在电子设备的摄像头的拍摄范围内,指示摄像头进行拍摄得到第一图像,确定第一图像中第二设备所在的区域;
显示屏,用于突出显示第一图像中第二设备所在的区域。
在一种可能的实施方式中,处理器,还用于指示基于第二设备与电子设备的相对位置进行提示。
在一种可能的实施方式中,相对位置包括电子设备与第二设备之间的第一距离和第二设备相对于电子设备的第一方向,
处理器,具体用于指示对第一距离和第一方向中的至少一种进行提示。
在一种可能的实施方式中,显示屏,还用于在处理器的指示下显示第一距离和第一方向中的至少一种;或者,电子设备还包括:扬声器,用于在处理器的指示下播放语音提示信息,语音提示信息包括了第一距离和第一方向中的至少一种的语音。
在一种可能的实施方式中,处理器,还用于若第二设备不在电子设备的拍摄范围内,指示朝向第二设备移动电子设备,直到第二设备在电子设备的拍摄范围内;
显示屏,还用于在处理器的指示下,显示朝向第二设备移动电子设备的指示信息,直到第二设备在电子设备的拍摄范围内;或者,
电子设备还包括:扬声器,用于在处理器的指示下,播放朝向第二设备移动电子设备的指示信息,直到第二设备在电子设备的拍摄范围内。
在一种可能的实施方式中,处理器,还用于若检测到自身移动,则根据自身的实时位置信息,更新电子设备与第二设备的相对位置,得到更新后的相对位置;
显示屏,还用于显示更新后的相对位置;或者,
扬声器,还用于播放包括更新后的相对位置的语音。
在一种可能的实施方式中,若第二设备在电子设备的拍摄范围内,且在拍摄范围内第二设备被障碍物遮挡,则处理器,还用于根据相对位置,计算被遮挡后的第二设备在第一图像中所在的区域。
在一种可能的实施方式中,电子设备还包括:收发器,用于和第二设备建立通信连接,并接收第二设备发送的位置信息。
在一种可能的实施方式中,收发器,还用于与第三设备建立通信连接,并接收第三设备发送的第二设备的位置信息。
在一种可能的实施方式中,在处理器确定第一图像中第二设备所在的区域之前,收发器,还用于获取第二设备的设备属性,第二设备的设备属性包括第二设备的类型或者外观。
第四方面,本申请提供一种电子设备,电子设备包括显示屏、存储器、一个或多个处理器,存储器中存储有应用程序的图形用户界面的代码,一个或多个处理器用于执行存储在存储器中的图形用户界面(GUI)的代码,以在显示屏中显示图形用户界面,图形用户界面包括:
在显示屏中显示待搜寻的第二设备的信息;
根据获取到的第一图像,在显示屏中突出显示第一图像中第二设备所在的区域,第一图像为响应于对第二设备的操作,获取第二设备的位置信息,并根据第二设备的位置信息获取第二设备与电子设备的相对位置,若根据相对位置确定第二设备在电子设备的拍摄范围内时,进行拍摄得到。
在一种可能的实施方式中,GUI还包括:在显示屏中显示相对位置。
在一种可能的实施方式中,相对位置包括电子设备与第二设备之间的第一距离和第二设备相对于电子设备的第一方向,GUI具体包括:在显示屏中显示第一距离和第一方向中的至少一种。
在一种可能的实施方式中,若第二设备不在电子设备的拍摄范围内,则GUI还包括:在显示屏中显示指示朝向第二设备移动电子设备的提示信息,直到第二设备在电子设备的拍摄范围内。
在一种可能的实施方式中,在电子设备基于第二设备与电子设备的相对位置进行提示之后,若一个或多个处理器检测到自身移动,则一个或多个处理器根据自身的实时位置信息,更新电子设备与第二设备的相对位置,得到更新后的相对位置,GUI还包括:在显示屏中显示更新后的相对位置。
第五方面,本申请实施例提供一种电子设备,包括:处理器和存储器,其中,处理器和存储器通过线路互联,处理器调用存储器中的程序代码用于执行上述第一方面任一项所示的设备搜寻方法中与处理相关的功能。可选地,该电子设备可以是芯片。
第六方面,本申请实施例提供了一种电子设备,该电子设备也可以称为数字处理芯片或者芯片,芯片包括处理单元和通信接口,处理单元通过通信接口获取程序指令,程序指令被处理单元执行,处理单元用于执行如上述第一方面或第一方面任一可选实施方式中与处理相关的功能。
第七方面,本申请实施例提供了一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面任一可选实施方式中的方法。
第八方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面任一可选实施方式中的方法。
附图说明
图1本申请提供的一种网络架构示意图;
图2本申请提供的一种电子设备的结构示意图;
图3本申请提供的另一种电子设备的结构示意图;
图4本申请提供的一种设备搜寻方法的流程示意图;
图5本申请提供的一种拍摄范围的示意图;
图6本申请提供的另一种设备搜寻方法的流程示意图;
图7本申请提供的一种位置信息的传输示意图;
图8本申请提供的另一种位置信息的传输示意图;
图9本申请提供的另一种位置信息的传输示意图;
图10本申请提供的一种GUI示意图;
图11本申请提供的另一种GUI示意图;
图12本申请提供的另一种GUI示意图;
图13A本申请提供的另一种GUI示意图;
图13B本申请提供的另一种GUI示意图;
图14本申请提供的一种语音提示方式示意图;
图15本申请提供的一种坐标系的示意图;
图16A本申请提供的另一种GUI示意图;
图16B本申请提供的另一种GUI示意图;
图17本申请提供的另一种GUI示意图;
图18A本申请提供的另一种GUI示意图;
图18B本申请提供的另一种GUI示意图;
图19本申请提供的另一种GUI示意图;
图20本申请提供的另一种GUI示意图;
图21本申请提供的另一种电子设备的结构示意图;
图22本申请提供的另一种电子设备的结构示意图;
图23本申请提供的一种芯片的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
首先,本申请提供的设备搜寻方法应用的网络架构可以参阅图1所示。其中,该网络架构包括多个电子设备(如图1中所述的设备1-设备N),且各个电子设备可以互相连接。
本申请中的电子设备可以包括但不限于:智能移动电话、电视、平板电脑、手环、头戴显示设备(Head Mount Display,HMD)、增强现实(augmented reality,AR)设备,混合现实(mixed reality,MR)设备、蜂窝电话(cellular phone)、智能电话(smart phone)、个人数字助理(personal digital assistant,PDA)、平板型电脑、车载终端、膝上型电脑(laptop computer)、个人电脑(personal computer,PC)等。当然,在以下实施例中,对该电子设备的具体形式不作任何限制。可以理解为,本申请以下实施方式中所提及的第一设备、第二设备或者第三设备等,可以是前述中的任意一种电子设备。
该多个电子设备可以通过无线网络或有线网络建立连接。该无线网络包括但不限于:超宽带(ultra wide band,UWB)、第五代移动通信技术(5th-Generation,5G)系统,长期演进(long term evolution,LTE)系统、全球移动通信系统(global system for mobile communication,GSM)或码分多址(code division multiple access,CDMA)网络、宽带 码分多址(wideband code division multiple access,WCDMA)网络、无线保真(wireless fidelity,WiFi)、蓝牙(bluetooth)、紫蜂协议(Zigbee)、射频识别技术(radio frequency identification,RFID)、远程(Long Range,Lora)无线通信、近距离无线通信(near field communication,NFC)中的任意一种或多种的组合。
在图1所示的网络架构中,各个电子设备之间可以基于直接或者建立的通信连接来互相传输数据,如将各自的位置信息通过直接或者建立的通信连接传输至网络架构中的所有设备或者指定的电子设备等。
应理解,在图1所示的网络架构中,可以选择其中一个电子设备作为管理设备,以对系统架构内的设备进行管理,如加入验证、在线状态统计、位置统计、带宽分配或者流量统计等操作,当然,也可以是不选择管理设备,各个电子设备可以直接或者间接建立连接,通过建立的连接直接或者间接获取到系统架构中的其他设备的信息,如位置信息、设备属性(如设备种类或者设备外观)。
示例性地,参阅图2,下面以一个具体的结构为例,对本申请提供的电子设备的结构进行示例性说明。
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M,运动传感器180N等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或 数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接 口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。应理解,此处的USB接口130也可以替换为其他的接口,如Type-c或者Lighting等可实现充电或者数据传输的接口,此处仅仅以USB接口130为例进行示例性说明。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以 是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),超宽带(ultra wide band,UWB),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括但不限于:第五代移动通信技术(5th-Generation,5G)系统,全球移动通讯系统(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),蓝牙(bluetooth),全球导航卫星系统(the global navigation satellite system,GNSS),无线保真(wireless fidelity,WiFi),近距离无线通信(near field communication,NFC),FM(也可以称为调频广播),紫蜂协议(Zigbee),射频识别技术(radio frequency identification,RFID)和/或红外(infrared,IR)技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)等。
在一些实施方式中,电子设备100也可以包括有线通信模块(图1中未示出),或者,此处的移动通信模块150或者无线通信模块160可以替换为有线通信模块(图1中未示出),该有线通信模块可以使电子设备通过有线网络与其他设备进行通信。该有线网络可以包括但不限于以下一项或者多项:光传送网(optical transport network,OTN)、同步数字体系(synchronous digital hierarchy,SDH)、无源光网络(passive optical network,PON)、以太网(Ethernet)、或灵活以太网(flex Ethernet,FlexE)等。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode, OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB摄像头,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通 过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音 频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
运动传感器180N,可以用于对摄像头拍摄的范围内的运动物体进行检测,采集运动物体的运动轮廓或者运动轨迹等。例如,该运动传感器180N可以是红外传感器、激光传感器、动态视觉传感器(dynamic vision sensor,DVS)等,该DVS具体可以包括DAVIS(Dynamic and Active-pixel Vision Sensor)、ATIS(Asynchronous Time-based Image Sensor)或者CeleX传感器等传感器。DVS借鉴了生物视觉的特性,每个像素模拟一个神经元,独立地对光照强度(以下简称“光强”)的相对变化做出响应。当光强的相对变化超过阈值时,像素会输出一个事件信号,包括像素的位置、时间戳以及光强的特征信息。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
需要说明的是,在一些实际应用场景中,电子设备可以包括比前述图2中更多或者更少的部件,具体可以根据实际应用场景调整,本申请对此不作限定。
前述对本申请提供的电子设备的硬件结构进行了示例性介绍,该电子设备可以搭载的系统可以包括
Figure PCTCN2021081517-appb-000001
鸿蒙或者其它操作系统等,本申请实施例对此不作任何限制。
以搭载
Figure PCTCN2021081517-appb-000002
操作系统的电子设备200为例,如图3所示,电子设备200从逻辑上可划分为硬件层21、操作系统261,以及应用程序层31。硬件层21包括应用程序处理器201、微控制器单元203、调制调解器207、Wi-Fi模块211、传感器214、定位模块150等硬件资源。应用程序层31包括一个或多个应用程序,比如应用程序263,应用程序263可 以为社交类应用程序、电子商务类应用程序、浏览器等任意类型的应用程序,或者寻物APP,执行本申请提供的设备搜寻方法,用于搜寻用户遗失的设备。操作系统261作为硬件层21和应用程序层31之间的软件中间件,是管理和控制硬件与软件资源的计算机程序。
在一个实施例中,操作系统261包括内核23,硬件抽象层(hardware abstraction layer,HAL)25、库和运行时(libraries and runtime)27以及框架(framework)29。其中,内核23用于提供底层系统组件和服务,例如:电源管理、内存管理、线程管理、硬件驱动程序等;硬件驱动程序包括Wi-Fi驱动、传感器驱动、定位模块驱动等。硬件抽象层25是对内核驱动程序的封装,向框架29提供接口,屏蔽低层的实现细节。硬件抽象层25运行在用户空间,而内核驱动程序运行在内核空间。
库和运行时27也叫做运行时库,它为可执行程序在运行时提供所需要的库文件和执行环境。库与运行时27包括安卓运行时(Android Runtime,ART)271以及库273等。ART 271是能够把应用程序的字节码转换为机器码的虚拟机或虚拟机实例。库273是为可执行程序在运行时提供支持的程序库,包括浏览器引擎(比如webkit)、脚本执行引擎(比如JavaScript引擎)、图形处理引擎等。
框架27用于为应用程序层31中的应用程序提供各种基础的公共组件和服务,比如窗口管理、位置管理等等。框架27可以包括电话管理器291,资源管理器293,位置管理器295等。
以上描述的操作系统261的各个组件的功能均可以由应用程序处理器201执行存储器205中存储的程序来实现。
所属领域的技术人员可以理解电子设备200可包括比图3所示的更少或更多的部件,图3所示的该电子设备仅包括与本申请实施例所公开的多个实现方式更加相关的部件。
下面基于前述图1-3提供的系统架构以及电子设备,对本申请提供的一种设备搜寻方法进行详细介绍。
首先,参阅图4,本申请提供的一种设备搜寻方法的流程示意图,如下所述。
401、第一设备获取第二设备的位置信息。
其中,第一设备可以根据第二设备的位置信息获知第二设备所在的位置。第一设备获取第二设备的位置信息的方式可以有多种,具体地,第一设备可以从存储的数据中查找到该第二设备的位置信息,也可以是在与第二设备建立连接之后,接收到第二设备发送的位置信息,或者在第二设备向第三设备发送位置信息之后,由第三设备将该位置信息转发至第一设备等。
例如,在一些场景中,用户家庭中包括了手环、手机、平板和智慧大屏等电子设备,当多个电子设备接入同一个网络或者互相建立连接之后,每个电子设备可以向同一个或者内的其他电子设备或者与其连接的电子设备周期性地发送自身的位置信息,如每隔5秒手环可以向平板或者手机传输自身的位置坐标,或者每隔5秒向处于同一网络内的所有电子设备发送自身的位置坐标。
具体例如,在一个可能的场景中,用户的手环在家中的某个角落向平板电脑发送一次位置信息之后即因无剩余电量而关机。在此之后,用户手持手机进入家中,手机接入家庭局域网,若用户需要通过该手机搜寻手环的位置,则处于同一局域网的平板电脑可以将手 环的位置发送至手机。
402、第一设备根据自身的位置信息以及第二设备的位置信息获取第二设备与第一设备的相对位置。
在第一设备获取到自身的位置信息以及第二设备的位置信息之后,可以计算第二设备与第一设备的相对位置,该相对位置可以包括第二设备相对于第一设备的方向和距离等。
例如,第一设备可以读取自身的位置,并接收到第二设备的位置,然后以第一设备为中心建立坐标系,计算第一设备自身的位置和第二设备的位置的差值,得到第二设备在该坐标系中的位置,从而得到第二设备在坐标系中的位置向量,即可计算得到第二设备相对于第一设备的方向和距离。
403、判断第一设备是否具有拍摄功能,若是,则执行步骤404,若否,则执行步骤408。
其中,步骤403为可选步骤。例如,在第一设备确定需要搜寻的第二设备时,可以获取第一设备的设备属性,该设备属性可以包括但不限于第一设备的外观、设备类型或者设备具备的功能等信息。因此,在确定需要搜寻的第二设备时,即可读取到第一设备是否具备拍摄功能。
为便于理解,可以简单理解为,可以判断第一设备是否具有前述的摄像头193,若第一设备具备摄像头,则可以继续判断第二设备是否在第一设备的拍摄范围内,即执行步骤404。若第一设备不具备摄像头,则可以基于第二设备与第一设备的相对位置进行提示,即指示第二设备相对于第一设备的位置或者方向等,即执行步骤408。
404、判断第二设备是否在第一设备的拍摄范围内。
在确定第二设备具有拍摄功能时,可以根据第二设备与第一设备的相对位置,判断该第二设备是否在第一设备的拍摄范围内。若第二设备在第一设备的拍摄范围内,则第一设备可以直接拍摄包括了第二设备的第一图像,即执行步骤406,若第二设备不在第一设备的拍摄范围内,且第二设备可以移动,则可以提示朝向第二设备移动,以使第二设备在第一设备的拍摄范围内。
例如,拍摄范围可以如图5所示,摄像头的拍摄范围即前述的预设范围,与摄像头的视场角α相关。通常,摄像头的视场角越大,拍摄范围也就越大,视场角越小,拍摄范围也越小。
405、第一设备指示朝向第二设备移动第一设备。
其中,当第二设备不在第一设备的拍摄范围内,且第一设备可移动时,则可以指示第一设备朝向第二设备移动,从而使第二设备处于第一设备的拍摄范围内。
本申请中所指的第一设备可移动,可以是用户可以使第一设备移动,即第一设备可以在用户提供的外力作用下移动,也可以是第一设备为自身可移动的设备,如可移动的机器人、扫地机器人等具有移动部件的设备等。若第一设备为自身可移动的设备,则在确定第二设备不在第一设备的拍摄范围内之后,朝第二设备的方向移动,从而使第二设备在第一设备的拍摄范围内。
并且,在第一设备移动的过程中,可以实时更新第二设备与第一设备的相对位置,并实时更新指示移动第一设备的提示信息的内容,如可以根据实时更新的相对位置,实时更 新显示界面中显示的朝向第二设备移动的方向或者距离等。
406、第一设备拍摄第一图像。
其中,若第二设备在第一设备的拍摄范围内,则第一设备可以启动摄像头进行拍摄,得到第一图像。
通常,若第二设备未被遮挡,则第一设备可以对第一设备进行图像识别,确定第二设备在第一图像中的哪个区域,或者,若第二设备被遮挡,则第一设备可以结合第二设备和第二设备的相对位置,确定第二设备在第一图像中的哪个区域。
可选地,若第一设备进行图像识别确定第二设备在第一图像中的哪个区域,则在进行图像识别之前,第一设备可以获取第二设备的设备属性,如第二设备的设备类型、外观或者大小等,从而可以根据该第二设备的设备属性,来对第一图像进行识别,准确识别出第二设备所在的区域。
407、第一设备在显示屏中突出显示第一图像中第二设备所在的区域。
其中,若第一设备具有显示屏或者与显示屏连接,在得到第一图像,并确定第二图像在第一图像中的区域之后,可以在显示屏中突出显示第二设备在该第一图像中的区域。
可选地,第一设备还可以在显示屏中显示全部或者部分第一图像。
具体地,可以直接在显示第一图像的基础上,通过热力图的形式表现出第二设备所在的区域,或者,通过标记框、箭头、文字等信息在第一图像中标记出第二设备所在的区域。
408、第一设备对第二设备与第一设备的相对位置进行提示。
其中,可以通过提示信息的形式来提示第二设备相对于第一设备的位置。例如,若第二设备不具备拍摄功能,则可以对第二设备与第二设备的相对位置进行提示。或者,又例如,若第一设备具备拍摄功能,但第二设备不在第一设备的拍摄范围内,且第一设备不可移动,则也可以对第二设备与第二设备的相对位置进行提示。又例如,若第二设备在第一设备的拍摄范围内,在显示屏中突出显示第一图像中第二设备所在的区域的基础上,还可以进一步对第二设备与第一设备的相对位置进行提示,以使用户可以更准确的找到第二设备,提高用户体验。
具体地,相对位置中可以包括第二设备相对于第一设备的第一距离,或者第二设备相对于第一设备的第一方向等。则步骤408可以包括:对该第一距离和/或第一方向进行提示。
更具体的提示方式可以包括但不限于:可以在显示界面中直接显示该第一距离和/或第一方向,如通过文字或者箭头等形式来显示该第一距离和/或第一方向;还可以播放语音提示信息,该语音提示信息包括了该第一距离和/或第一方向对应的语音。
例如,可以在显示界面中显示文字信息,如“您的手环在右方5米”,或者,可以直接将该文字转换为语音,以使用户可以根据语音提示寻找到手环。
因此,在本申请实施方式中,在搜寻设备的过程中,可以获取第一设备与第二设备的相对位置,若第一设备具有拍摄功能,且第二设备在第一设备的拍摄范围内,则可以在拍摄到的图像中标记处第二设备所在的区域,使用户可以直观地查看到该第二设备所在的位置,使用户可以快速找到丢失的设备,提高用户体验。若第一设备具有拍摄功能,第二设备不在第一设备的拍摄范围内,则可以提示移动第一设备,使第二设备在第一设备的拍摄 范围内,并在拍摄到的图像中标记处第二设备所在的区域,使用户可以直观地查看到该第二设备所在的位置,使用户可以快速找到丢失的设备,提高用户体验。当第一设备不具备拍摄功能时,则可以直接对第二设备相对于第一设备的方向和/或距离进行提示,使用户可以根据该提示快速找到丢失的第二设备,提高用户体验。
前述对本申请提供的设备搜寻的方法的流程进行详细介绍,下面结合本申请提供的图形用户界面(graphical user interface,GUI)以及更具体的应用场景,对本申请提供的设备搜寻的方法的流程进行更进一步地介绍。
首先,对本申请提供的一种GUI进行说明,该GUI可以应用于电子设备,该电子设备可以参阅前述图1-图3的相关描述。该电子设备可以包括显示屏、存储器、一个或多个处理器,所述一个或多个处理器用于执行存储在所述存储器中的一个或多个计算机程序,如前述图4中所提及的设备搜寻方法的步骤,该GUI用于通过显示屏对前述设备搜寻方法的显示界面进行显示。
下面对本申请提供的GUI进行详细介绍。
在显示屏中显示待搜寻的第二设备的信息,如第二设备的图标、名称等信息;
根据获取到的第一图像,在所述显示屏中突出显示所述第一图像中所述第二设备所在的区域,第一图像为响应于对第二设备的操作,获取第二设备的位置信息,并根据第二设备的位置信息获取第二设备与电子设备的相对位置,若根据相对位置确定第二设备在电子设备的拍摄范围内时,进行拍摄得到。在一种可能的实施方式中,该GUI还可以包括:在显示屏中显示相对位置。
在一种可能的实施方式中,相对位置包括电子设备与第二设备之间的第一距离和第二设备相对于电子设备的第一方向,该GUI具体包括:在显示屏中显示第一距离和第一方向中的至少一种。
在一种可能的实施方式中,若第二设备不在电子设备的拍摄范围内,则GUI还包括:在显示屏中显示朝向第二设备移动电子设备的提示信息,直到第二设备在电子设备的拍摄范围内。
在一种可能的实施方式中,若处理器检测到电子设备自身移动,则一个或多个处理器根据自身的实时位置信息,更新电子设备与第二设备的相对位置,得到更新后的相对位置,GUI还包括:在显示屏中显示更新后的相对位置。
示例性地,本申请提供的设备搜寻方法和GUI的应用场景可以如图6所示,下面进行详细介绍。
601、设备A和设备B互联。
其中,设备A可以理解为前述的第二设备,设备B可以理解为前述的第一设备。
具体地,设备A和设备B之间可以通过UWB、蓝牙、Zigbee或者NFC等方式建立通信连接。
应理解,在一些可能的场景中设备A和设备B也可以不建立连接,步骤601为可选步骤。
602、设备A和设备B互传定位。
其中,若设备A和设备B建立了通信连接,则设备A和设备B可以通过建立的通信连接,互相发送定位信息,以互相通知各自所在的位置。
例如,如图7所示,设备A可以是手环,设备B可以是手机,手环和手机之间建立了UWB连接,手环可以通过该UWB连接,将自身的位置传输至手机中,以使手机获知到到手环的位置。可选地,可以在手机的显示界面中显示手环的位置,以使用户可以在手机的显示界面中直观地观察到手环的位置。
此外,在一些场景中,设备A和设备B之间可能并未建立连接,则设备B可以通过其他设备来获取设备A的位置信息。例如,在一些场景中,设备A可以是手环,设备B可以是手机。如图8所示,手环和智慧大屏之间建立了UWB连接,手环通过该UWB连接将自身的位置信息发送给智慧大屏,如图9所示,智慧大屏与手机建立了WiFi连接,由智慧大屏将手环的位置信息发送至手机,以使手机获知手环的位置。具体例如,在一些场景中,手环在用户家中的某个角落与智慧大屏建立了连接,并将自身的位置信息发送至智慧大屏,随后手环因电量不足而关机。当用户手持手机回家时,该手机可以与智慧大屏通过WiFi建立连接,智慧大屏可以将手环最后一次发送的位置信息发送给手机,从而使手机在未与手环建立连接的情况下,也可以获取到手环的位置信息,后续可以基于该位置信息对手环的位置进行提示,使用户在未与手环建立连接的情况下也能找到手环,提高用户体验。
603、用户在设备B上提出寻找设备A。
其中,本申请对步骤603和步骤601的执行顺序不作限定,可以先执行步骤601,也可以先执行步骤603,本申请仅以先执行步骤601为例进行示例性说明,并不作为限定。
具体地,用户可以在设备B上进行操作,从而指示设备B寻找设备A。
例如,一种GUI如图10所示,可以在设备B的触摸屏中显示接入了同一局域网的设备,如手机、手环、耳机、手写笔等,用户可以在触摸屏上进行选择操作,选择需要搜寻的设备。
在一些可能的场景中,设备B中可能不具有显示屏而具有扬声器和麦克风等,则用户可以通过语音的方式控制设备B寻找设备A。例如,设备B可以是智能蓝牙音响,用户在唤醒该蓝牙音响之后,可以对蓝牙音响发出语音控制指令,如“搜寻手环”、“搜寻手机”等指令,来控制蓝牙音响开始搜寻设备A。
604、设备B计算设备A的相对位置。
在确定需要搜寻的设备A之后,根据获取到的设备A的位置信息,计算设备A相对于设备B的相对位置。如设备A相对于设备B的方向、距离、高度等。
例如,可以使用各类同步定位与建图(simultaneous localization and mapping,SLAM)算法计算设备A与设备B的相对位置。
为便于理解,计算该相对位置的方式可以简单理解为,可以以设备B为中心建立坐标系,并计算设备A的位置和设备B的位置之间的差值,基于该差值确定设备A在该坐标系中的坐标向量,从而得到设备A相对于设备B的方向和距离。
需要说明的是,以下步骤604-616由设备B来执行。
605、判断设备B是否具有拍照功能,若否,则执行步骤606,若是,则执行步骤609。
其中,判断设备B是否具有拍照功能,即判断设备A是否具有摄像头,若具备摄像头,则可以继续判断设备A是否在设备B的视野内,即执行步骤609,若设备B不具有摄像头,则可以通过其他方式对设备A的位置进行提示,如执行步骤606。
应理解,步骤605为可选步骤,在一些设备B具有拍摄功能的场景中,可以无需执行判断步骤,而直接进行下一步。
此外,本申请对步骤605和604的执行顺序不作限定,可以先执行步骤604,也可以先执行步骤605,还可以同时执行步骤604和步骤605等,具体可以根据实际应用场景进行调整,此处仅以先执行步骤604为例进行示例性说明,并不作为限定。
606、判断设备B是否具有显示功能,若是,则执行步骤607,若否,则执行步骤608。
当设备B不具备拍照功能时,可以继续判断设备B是否具备显示功能,即是否具有或者连接有显示屏,若设备B不具备显示功能,则可以通过语音提示的方式来提示设备A相对于设备B的相对位置,即执行步骤608。若设备B具备显示功能,则即可以选择显示的方式,也可以选择语音提示的方式来对设备A相对于设备B的相对位置进行提示。
607、显示位置指向图。
具体地,可以在设备B的显示屏或者与设备B连接的显示屏中显示位置指向图,该位置指向图用于指示设备A相对于设备B的位置,如设备A和设备B之间的距离以及设备A相对于设备B的方向等。
示例性地,一种GUI如图11所示,可以在设备B的显示界面中,通过箭头的形式指示设备A在设备B的哪个方向,并通过文字的形式指示设备A与设备B的距离。又例如,一种GUI如图12所示,可以在设备B的显示界面中,通过箭头的形式指示设备A在设备B的哪个方向,并通过文字提示用户朝该方向移动的距离。
还例如,设备B可以是手环,一种GUI如图13A所示,可以在手环中,通过表盘的形式,指示设备A相对于手环的方向,并通过文字的形式显示设备A与手环的距离为2.7米。又例如,一种GUI如图13B所示,设备B可以是智慧大屏,可以在屏幕中提示“您的“手环”在右方3米”,以向用户指示在智慧到的右方3米寻找手环。
608、语音提示。
当设备B不具备拍照功能时,也不具有显示屏时,可以通过语音提示设备A相对于设备B的位置和方向,或者,当用户选择语音提示时,可以通过语音提示设备A相对于设备B的位置和方向。因此,即使在设备B不能拍摄也不能显示的场景中,也可以通过语音来提示设备A的位置,使用户可以通过语音快速找到设备A,提高用户体验。
例如,如图14所示,设备B可以是蓝牙音响,该蓝牙音响可以播放语音,通过语音的形式指示需要搜寻的设备相对于蓝牙音响的距离或者方向等。
609、判断设备A是否在设备B的视野中,若是,则执行步骤610,若否,则执行步骤613。
具体地,在确定设备B具备拍照功能时,可以根据设备A与设备B的相对位置,判断设备A是否在设备B的视野(即拍摄范围)中,若是,则设备B可以拍摄图像,若设备A不在设备B的视野中,则可以提示移动设备B,从而使设备A在设备B的视野中。
例如,以设备B为手机为例,如图15所示,该手机以自身为中心建立有一个坐标系,坐标系原点为手机的几何中心。坐标系Z轴垂直手机屏幕指向手机背面,坐标系Y轴指向与手机的长边平行,坐标系X轴与手机的短边平行。设备B的拍摄系统,如后置摄像头,位于X轴和Y轴的负值的位置,且该摄像头有固定的视野,例如水平视野120°,垂直视野90°,摄像头的光轴与坐标系的Z轴平行;摄像头的水平方向与坐标系的X轴平行,与Y轴垂直;摄像头的垂直方向与坐标系的Y轴平行,与X轴垂直。
设备A在设备B的坐标系位置为(X1,Y1,Z1),根据设备B的坐标系原点与设备B摄像头的位置差(X2,Y2,Z2),计算出设备A在设备B的摄像头坐标系中位置为(X3,Y3,Z3)。X3=X1+X2,Y3=Y1+Y2,Z3=Z1+Z2。设备A在设备B的摄像头中的水平角度为arctan(X3/Z3),垂直角度为arctan(Y3/Z3)。如果设备A的水平角度大于水平视野/2,即|arctan(X3/Z3)|>(120°/2)或垂直角度大于垂直视野/2,即|arctan(Y3/Z3)|>(90°/2),则设备A在设备B视野外。
610、拍摄图像。
其中,在确定设备A在设备B的视野内时,设备B即可启动摄像头,拍摄图像。该图像中包括了设备A所在的区域。
611、识别设备A在图像中的位置。
在拍摄到包括了设备A所在的区域的图像之后,可以通过图像识别,识别出设备A在该图像中的区域。
在一种可能的实施方式中,可以通过canny边缘检测、深度学习检测算法、支持向量机(support vector machines,SVM)等算法识别图像中包括的设备A,从而得到设备A在图像中的区域。
在另一种可能的实施方式中,可以根据设备A与设备B的相对位置,确定设备A在图像中的区域。即直接将设备A与设备B的相对位置,转换为在图像中的坐标。例如,在一些场景中,设备A可能被物体遮挡,从而拍摄到的图像中无法识别出设备A,此时,可以结合设备A相对于设备B的位置,将设备A的位置标定至摄像头的坐标系中,然后将设备A在摄像头的坐标系中的位置,投影到图像中的位置,从而确定出设备A在图像中的区域。
在另一种可能的实施方式中,可以结合设备A与设备B的相对位置,以及图像识别,确定设备A在图像中的位置。
具体地,在通过设备A与设备B的相对位置,计算出设备A在图像中的位置后,从图像中截取包括了设备A的部分区域来进行图像识别,从而确定设备A在设备B拍摄到的图像中的区域。
例如,获知设备A相对于设备B的距离和朝向之后,设备B带有摄像头,需要将设备A的位置坐标标定至摄像头的坐标系中。然后,将设备A在摄像头的坐标系中的位置,转换为图像中的坐标系的位置。如转换方式可以包括:
Figure PCTCN2021081517-appb-000003
其中,Z c代表被拍摄物体到摄像头的距离,u代表图像中被拍摄物体的横坐标,v代表图像中被拍摄物体的纵坐标,d x,d y为相机横向、纵向像元尺寸,u 0,v 0为图像横纵中心,f为摄像头的焦距,R为一个3X3的矩阵,代表定位系统坐标系与摄像头坐标系之间的旋转矩阵,T为3X1的矩阵,代表定位系统坐标系与摄像头坐标系之间的平移矩阵,X w,Y w,Z w是设备A在的位置。
在获知设备A在图像中的位置之后,以此位置为中心截取部分图像,进行对设备A的识别,从而减少对图像的全局检测所需的计算。
612、突出显示设备A在图像中的位置。
在确定设备A在图像中所在的区域之后,可以突出显示该区域,以提示用户设备A在图像中的区域,从而使用户可以根据图像中突出显示的区域,确定设备A在实际场景中所处的位置,使用户可以快速找到设备A.
例如,一种GUI如图16A和图16B所示,在确定设备A在图像中的区域之后,可以通过热力图的形式突出显示设备A在图像中的区域,图16A中所示为设备A未被遮挡的图像,其中,通过提示框的形式标记处了设备A所在的区域,图16B中所示为设备A被遮挡的热力图,通过热力图的方式标记出了被遮挡后的设备A所在的区域。此外,还可以通过提示框、文字、箭头等形式对设备A在图像中的区域进行突出显示,使用户可以直观地通过突出显示的区域确定设备A在实际场景中所处的位置。
613、判断设备B是否可移动,若否,则执行步骤614,若是,则执行步骤615。
其中,在确定设备A不在设备B的视野中时,可以继续判断设备B是否可移动,若可以移动,则可以指示移动设备B或者设备B自动移动等,即执行步骤615,若设备B不可移动,则可以直接显示位置指向图,即执行步骤614。
其中,步骤613为可选步骤,设备B可以直接获知自身是否可移动,例如,若设备B为智慧大屏、固定安装的监控器等,则设备B为不可移动设备,若设备B为手机、平板等不固定安装的设备,或者是扫地机器人、货运机器人等具有移动部件的设备,则设备B为可自动移动设备。当设备B为可移动设备时,可以直接提示朝向设备A移动或者自动朝向设备A移动,当设备B是不可移动时,即可直接显示位置指向图。
614、显示位置指向图。
本步骤614与前述步骤607类似,具体参阅前述步骤607中的相关介绍,此处不再赘述。
615、指示朝向设备A移动的方向和距离。
在确定设备B可移动之后,可以在显示屏中显示朝向设备A移动的方向和距离,以使用户可以根据显示屏中显示的内容朝向设备A移动设备B。
例如,一种GUI如图17所示,可以在显示屏中提示“朝右5米”,以使设备A在设备B的视野范围内。
在一些可能的场景中,设备B可以自动移动,在确定设备A不在设备B的视野内时,可以基于设备A和设备B的方向和距离,自动移动设备B,使设备A可以包括于设备B的视野范围内。
例如,一种GUI如图18A,设备B可以是带显示屏的扫地机器人,用户可以通过语音、触摸屏或者按键等指示扫地机器人搜寻无线耳机,扫地机器人在获取到无线耳机的位置信息之后,计算无线耳机相对于扫地机器人的方向和距离,判断该无线耳机是否在扫地机器人的视野内,若该无线耳机不在扫地机器人的视野内,且在扫地机器人的右侧,则此时扫地机器人可以向右移动,以使该无线耳机在扫地机器人的视野范围内,如图18B所示。
616、实时更新相对位置。
在设备B朝向设备A移动的过程中,若设备B检测到自身移动,则可以实时更新自身的位置,并实时计算设备A相对于设备B的位置,可能地,还可以在显示屏中显示该相对位置的变化。
例如,一种GUI如图19和图20所示,设备B可以是平板,在图19中,可以提示用户手持平板朝右移动3米,在移动过程中,如向右移动了2米之后,如图20所示,在平板的显示屏中显示朝右移动3米,以使待搜索的设备在平板的视野内。
因此,在本申请实施方式中,可以在设备B中对设备A与设备B的相对位置进行提示,使用户可以根据该相对位置快速找到设备A,提高用户体验。设备B具备拍摄功能和显示功能的情况下,可以在设备B的显示界面中突出显示设备A在图像中的区域,使用户可以通过图像中突出显示的内容,直观地观察到设备A实际所处的位置,从而快速搜寻到设备A。
前述对本申请提供的设备搜寻方法进行了详细介绍,下面结合前述设备搜寻方法,对执行该设备搜寻方法的电子设备的结构进行详细介绍。
如图21所示,本申请提供的一种电子设备的结构示意图。
该电子设备包括:
获取模块2101,用于获取第二设备的位置信息;
计算模块2102,用于根据电子设备自身的位置信息和第二设备的位置信息获取第二设备与第一设备的相对位置;
拍摄模块2103,用于若根据相对位置确定第二设备在第一设备的拍摄范围内,进行拍摄得到第一图像;
确定模块2104,用于第一设备确定第一图像中第二设备所在的区域;
提示模块2105,用于突出显示第一图像中第二设备所在的区域。
在一种可能的实施方式中,提示模块2105还用于显示全部或者部分第一图像。
在一种可能的实施方式中,提示模块2105,还用于基于第二设备与第一设备的相对位置进行提示。
在一种可能的实施方式中,相对位置包括第一设备与第二设备之间的第一距离和第二设备相对于第一设备的第一方向,提示模块2105,具体用于第一设备对第一距离和第一方向中的至少一种进行提示。
在一种可能的实施方式中,提示模块2105,具体用于:在显示界面中显示第一距离和第一方向中的至少一种;或者,播放语音提示信息,语音提示信息包括了第一距离和第一方向中的至少一种的语音。
在一种可能的实施方式中,提示模块2105,还用于若第二设备不在第一设备的拍摄范围内,提示朝向第二设备移动第一设备,直到第二设备在第一设备的拍摄范围内。
在一种可能的实施方式中,计算模块2102,还用于若检测到自身移动,则根据自身的实时位置信息,更新第一设备与第二设备的相对位置,得到更新后的相对位置;
提示模块2105,用于指示更新后的相对位置。
在一种可能的实施方式中,若第二设备在第一设备的拍摄范围内,且在拍摄范围内第二设备被障碍物遮挡,则确定模块2104,还用于根据相对位置,计算被遮挡后的第二设备在第一图像中所在的区域。
获取模块2101,具体用于:建立通信连接,接收第二设备发送的位置信息。
在一种可能的实施方式中,获取模块2101,具体用于:和第三设备建立通信连接;接收第三设备发送的第二设备的位置信息,位置信息由第二设备发送至第三设备。
在一种可能的实施方式中,获取模块2101,具体用于在确定第一图像中第二设备所在的区域之前,获取第二设备的设备属性,设备属性包括第二设备的类型或者外观。
请参阅图22,本申请提供的另一种电子设备的结构示意图,如下所述。
该电子设备可以包括处理器2201、存储器2202和收发器2203。该处理器2201和存储器2202通过线路互联。其中,存储器2202中存储有程序指令和数据。
存储器2202中存储了前述图4-20中的步骤对应的程序指令以及数据。
处理器2201用于执行前述图4-20中任一实施例所示的第一设备或者电子设备执行的方法步骤。
收发器2203,用于执行前述图4-20中任一实施例所示的第一设备或者电子设备执行的接收或者发送数据的步骤。
可选地,该电子设备还可以包括显示屏2204,用于对前述图4-20中第一设备或者电子设备显示的界面进行显示。
可选地,该电子设备还可以包括扬声器2205,用于播放前述图4-20中第一设备或者电子设备播放的语音。
本申请实施例中还提供一种计算机可读存储介质,该计算机可读存储介质中存储有用于生成车辆行驶速度的程序,当其在计算机上运行时,使得计算机执行如前述图4-20所示实施例描述的方法中的步骤。
可选地,前述的图22中所示的电子设备为芯片。
本申请实施例还提供了一种电子设备,该电子设备也可以称为数字处理芯片或者芯片,芯片包括处理单元和通信接口,处理单元通过通信接口获取程序指令,程序指令被处理单元执行,处理单元用于执行前述图4-20中任一实施例所示的电子设备执行的方法步骤。
本申请实施例还提供一种数字处理芯片。该数字处理芯片中集成了用于实现上述处理器2201,或者处理器2201的功能的电路和一个或者多个接口。当该数字处理芯片中集成了存储器时,该数字处理芯片可以完成前述实施例中的任一个或多个实施例的方法步骤。当该数字处理芯片中未集成存储器时,可以通过通信接口与外置的存储器连接。该数字处理芯片根据外置的存储器中存储的程序代码来实现上述实施例中电子设备执行的动作。
本申请实施例中还提供一种包括计算机程序产品,当其在计算机上行驶时,使得计算机执行如前述图4-20所示实施例描述的方法中电子设备所执行的步骤。
本申请实施例提供的电子设备可以为芯片,芯片包括:处理单元和通信单元,所述处理单元例如可以是处理器,所述通信单元例如可以是输入/输出接口、管脚或电路等。该处理单元可执行存储单元存储的计算机执行指令,以使服务器内的芯片执行上述图4-20所示实施例描述的设备搜寻方法。可选地,所述存储单元为所述芯片内的存储单元,如寄存器、缓存等,所述存储单元还可以是所述无线接入设备端内的位于所述芯片外部的存储单元,如只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
具体地,前述的处理单元或者处理器可以是中央处理器(central processing unit,CPU)、网络处理器(neural-network processing unit,NPU)、图形处理器(graphics processing unit,GPU)、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)或现场可编程逻辑门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者也可以是任何常规的处理器等。
示例性地,请参阅图23,图23为本申请实施例提供的芯片的一种结构示意图,所述芯片可以表现为神经网络处理器NPU 230,NPU 230作为协处理器挂载到主CPU(Host CPU)上,由Host CPU分配任务。NPU的核心部分为运算电路2303,通过控制器2304控制运算电路2303提取存储器中的矩阵数据并进行乘法运算。
在一些实现中,运算电路2303内部包括多个处理单元(process engine,PE)。在一些实现中,运算电路2303是二维脉动阵列。运算电路2303还可以是一维脉动阵列或者能够执行例如乘法和加法这样的数学运算的其它电子线路。在一些实现中,运算电路2303是通用的矩阵处理器。
举例来说,假设有输入矩阵A,权重矩阵B,输出矩阵C。运算电路从权重存储器2302中取矩阵B相应的数据,并缓存在运算电路中每一个PE上。运算电路从输入存储器2301中取矩阵A数据与矩阵B进行矩阵运算,得到的矩阵的部分结果或最终结果,保存在累加器(accumulator)2308中。
统一存储器2306用于存放输入数据以及输出数据。权重数据直接通过存储单元访问控 制器(direct memory access controller,DMAC)2305,DMAC被搬运到权重存储器2302中。输入数据也通过DMAC被搬运到统一存储器2306中。
总线接口单元(bus interface unit,BIU)2310,用于AXI总线与DMAC和取指存储器(instruction fetch buffer,IFB)2309的交互。
总线接口单元2310(bus interface unit,BIU),用于取指存储器2309从外部存储器获取指令,还用于存储单元访问控制器2305从外部存储器获取输入矩阵A或者权重矩阵B的原数据。
DMAC主要用于将外部存储器DDR中的输入数据搬运到统一存储器2306或将权重数据搬运到权重存储器2302中或将输入数据数据搬运到输入存储器2301中。
向量计算单元2307包括多个运算处理单元,在需要的情况下,对运算电路的输出做进一步处理,如向量乘,向量加,指数运算,对数运算,大小比较等等。主要用于神经网络中非卷积/全连接层网络计算,如批归一化(batch normalization),像素级求和,对特征平面进行上采样等。
在一些实现中,向量计算单元2307能将经处理的输出的向量存储到统一存储器2306。例如,向量计算单元2307可以将线性函数和/或非线性函数应用到运算电路2303的输出,例如对卷积层提取的特征平面进行线性插值,再例如累加值的向量,用以生成激活值。在一些实现中,向量计算单元2307生成归一化的值、像素级求和的值,或二者均有。在一些实现中,处理过的输出的向量能够用作到运算电路2303的激活输入,例如用于在神经网络中的后续层中的使用。
控制器2304连接的取指存储器(instruction fetch buffer)2309,用于存储控制器2304使用的指令;
统一存储器2306,输入存储器2301,权重存储器2302以及取指存储器2309均为On-Chip存储器。外部存储器私有于该NPU硬件架构。
其中,循环神经网络中各层的运算可以由运算电路2303或向量计算单元2307执行。
其中,上述任一处提到的处理器,可以是一个通用中央处理器,微处理器,ASIC,或一个或多个用于控制上述图4-20的方法的程序执行的集成电路。
另外需说明的是,以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。另外,本申请提供的装置实施例附图中,模块之间的连接关系表示它们之间具有通信连接,具体可以实现为一条或多条通信总线或信号线。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件的方式来实现,当然也可以通过专用硬件包括专用集成电路、专用CPU、专用存储器、专用元器件等来实现。一般情况下,凡由计算机程序完成的功能都可以很容易地用相应的硬件来实现,而且,用来实现同一功能的具体硬件结构也可以是多种多样的,例如模拟电路、数字电路或专用电路等。但是,对本申请而言更多情况下软件程序实现是 更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘、U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
最后应说明的是:以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (22)

  1. 一种设备搜寻方法,其特征在于,包括:
    第一设备获取第二设备的位置信息;
    所述第一设备根据自身的位置信息和所述第二设备的位置信息获取所述第二设备与所述第一设备的相对位置;
    若所述第一设备根据所述相对位置确定所述第二设备在所述第一设备的拍摄范围内,所述第一设备进行拍摄,以得到第一图像;
    所述第一设备确定所述第一图像中所述第二设备所在的区域;
    所述第一设备突出显示所述第一图像中所述第二设备所在的区域。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一设备基于所述第二设备与所述第一设备的相对位置进行提示。
  3. 根据权利要求2所述的方法,其特征在于,所述相对位置包括所述第一设备与所述第二设备之间的第一距离和所述第二设备相对于所述第一设备的第一方向,
    所述第一设备基于所述第二设备与所述第一设备的相对位置进行提示,包括:
    所述第一设备对所述第一距离和所述第一方向中的至少一种进行提示。
  4. 根据权利要求3所述的方法,其特征在于,所述第一设备对所述第一距离和所述第一方向中的至少一种进行提示,包括:
    所述第一设备在显示界面中显示所述第一距离和所述第一方向中的至少一种;或者,
    所述第一设备播放语音提示信息,所述语音提示信息包括了所述第一距离和所述第一方向中的至少一种的语音。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,若所述第二设备不在所述第一设备的拍摄范围内,则所述方法还包括:
    所述第一设备指示朝向所述第二设备移动所述第一设备,直到所述第二设备在所述第一设备的拍摄范围内。
  6. 根据权利要求5所述的方法,其特征在于,在所述第一设备指示朝向所述第二设备移动所述第一设备之后,所述方法还包括:
    若所述第一设备检测到自身移动,则所述第一设备根据自身的实时位置信息,更新所述第一设备与所述第二设备的相对位置,并指示更新后的所述相对位置。
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,若所述第二设备在所述第一设备的拍摄范围内,且在所述拍摄范围内所述第二设备被障碍物遮挡,则所述第一设备确定所述第一图像中所述第二设备所在的区域,包括:
    所述第一设备根据所述相对位置,计算被遮挡后的所述第二设备在所述第一图像中所在的区域。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述第一设备获取第二设备的位置信息,包括:
    所述第一设备和所述第二设备建立通信连接;
    所述第一设备接收所述第二设备发送的所述位置信息。
  9. 一种电子设备,其特征在于,包括:
    收发器,用于获取第二设备的位置信息;
    处理器,还用于根据所述电子设备自身的位置信息和所述第二设备的位置信息获取所述第二设备与所述电子设备的相对位置;
    所述处理器,还用于若根据所述相对位置确定所述第二设备在所述电子设备的摄像头的拍摄范围内,指示所述摄像头进行拍摄,以得到第一图像;
    所述处理器,还用于确定所述第一图像中所述第二设备所在的区域;
    显示屏,用于突出显示所述第一图像中所述第二设备所在的区域。
  10. 根据权利要求9所述的电子设备,其特征在于,
    所述处理器,还用于指示基于所述第二设备与所述电子设备的相对位置进行提示。
  11. 根据权利要求10所述的电子设备,其特征在于,所述相对位置包括所述电子设备与所述第二设备之间的第一距离和所述第二设备相对于所述电子设备的第一方向,
    所述处理器,具体用于指示对所述第一距离和所述第一方向中的至少一种进行提示。
  12. 根据权利要求11所述的电子设备,其特征在于,
    所述显示屏,还用于在所述处理器的指示下显示所述第一距离和所述第一方向中的至少一种;或者,
    所述电子设备还包括:扬声器,用于在所述处理器的指示下播放语音提示信息,所述语音提示信息包括了所述第一距离和所述第一方向中的至少一种的语音。
  13. 根据权利要求9-12中任一项所述的电子设备,其特征在于,
    所述处理器,还用于若所述第二设备不在所述电子设备的拍摄范围内,指示朝向所述第二设备移动所述电子设备,直到所述第二设备在所述电子设备的拍摄范围内;
    所述显示屏,还用于在所述处理器的指示下,显示朝向所述第二设备移动所述电子设备的指示信息,直到所述第二设备在所述电子设备的拍摄范围内;或者,
    所述电子设备还包括:扬声器,用于在所述处理器的指示下,播放朝向所述第二设备移动所述电子设备的指示信息,直到所述第二设备在所述电子设备的拍摄范围内。
  14. 根据权利要求13所述的电子设备,其特征在于,
    所述处理器,还用于若检测到自身移动,则根据自身的实时位置信息,更新所述电子设备与所述第二设备的相对位置,得到更新后的所述相对位置;
    所述显示屏,还用于显示所述更新后的相对位置;或者,
    所述扬声器,还用于播放包括所述更新后的相对位置的语音。
  15. 根据权利要求9-14中任一项所述的电子设备,其特征在于,若所述第二设备在所述电子设备的拍摄范围内,且在所述拍摄范围内所述第二设备被障碍物遮挡,则所述处理器,还用于根据所述相对位置,计算被遮挡后的所述第二设备在所述第一图像中所在的区域。
  16. 根据权利要求9-15中任一项所述的电子设备,其特征在于,
    所述收发器,具体用于和所述第二设备建立通信连接,并接收所述第二设备发送的所述位置信息。
  17. 一种电子设备,所述电子设备包括显示屏、存储器、一个或多个处理器,所述存储器中存储有应用程序的图形用户界面的代码,所述一个或多个处理器用于执行存储在所述存储器中的所述图形用户界面(GUI)的代码,以在所述显示屏中显示所述图形用户界面,其特征在于,所述图形用户界面包括:
    在所述显示屏中显示待搜寻的第二设备的信息;
    根据获取到的第一图像,在所述显示屏中突出显示所述第一图像中所述第二设备所在的区域,所述第一图像为响应于对所述第二设备的操作,获取第二设备的位置信息,并根据所述第二设备的位置信息获取所述第二设备与所述电子设备的相对位置,若根据所述相对位置确定所述第二设备在所述电子设备的拍摄范围内时,进行拍摄得到。
  18. 根据权利要求17所述的电子设备,其特征在于,所述GUI还包括:
    在所述显示屏中显示所述相对位置。
  19. 根据权利要求18所述的电子设备,其特征在于,所述相对位置包括所述电子设备与所述第二设备之间的第一距离和所述第二设备相对于所述电子设备的第一方向,所述GUI具体包括:
    在所述显示屏中显示所述第一距离和所述第一方向中的至少一种。
  20. 根据权利要求17-19中任一项所述的电子设备,其特征在于,若所述第二设备不在所述电子设备的拍摄范围内,则所述GUI还包括:
    在所述显示屏中显示朝向所述第二设备移动所述电子设备的提示信息,直到所述第二设备在所述电子设备的拍摄范围内。
  21. 根据权利要求20所述的电子设备,其特征在于,
    若所述一个或多个处理器检测到自身移动,则所述一个或多个处理器根据自身的实时位置信息,更新所述电子设备与所述第二设备的相对位置,得到更新后的所述相对位置,
    所述GUI还包括:在所述显示屏中显示更新后的所述相对位置。
  22. 一种计算机可读存储介质,包括程序,当其被处理单元所执行时,执行如权利要求1至8中任一项所述的方法。
PCT/CN2021/081517 2020-08-05 2021-03-18 一种设备搜寻方法以及电子设备 WO2022027972A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US17/846,705 US11627437B2 (en) 2020-08-05 2022-06-22 Device searching method and electronic device
US18/171,471 US11889386B2 (en) 2020-08-05 2023-02-20 Device searching method and electronic device
US18/545,383 US20240155309A1 (en) 2020-08-05 2023-12-19 Device Searching Method and Electronic Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010779683.0A CN112087649B (zh) 2020-08-05 2020-08-05 一种设备搜寻方法以及电子设备
CN202010779683.0 2020-08-05

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/846,705 Continuation US11627437B2 (en) 2020-08-05 2022-06-22 Device searching method and electronic device

Publications (1)

Publication Number Publication Date
WO2022027972A1 true WO2022027972A1 (zh) 2022-02-10

Family

ID=73735280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081517 WO2022027972A1 (zh) 2020-08-05 2021-03-18 一种设备搜寻方法以及电子设备

Country Status (3)

Country Link
US (3) US11627437B2 (zh)
CN (2) CN112087649B (zh)
WO (1) WO2022027972A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087649B (zh) 2020-08-05 2022-04-15 华为技术有限公司 一种设备搜寻方法以及电子设备
CN115209027B (zh) * 2021-03-25 2024-09-06 华为技术有限公司 相机对焦的方法及电子设备
CN113098089A (zh) * 2021-03-31 2021-07-09 北京云迹科技有限公司 机器人协同的无线充电方法及系统、机器人
US20230345204A1 (en) * 2022-04-26 2023-10-26 Qualcomm Incorporated Scheduled positioning of target devices using mobile anchor devices

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106878949A (zh) * 2017-02-27 2017-06-20 努比亚技术有限公司 一种基于双摄像头的定位终端、系统及方法
CN108366338A (zh) * 2018-01-31 2018-08-03 联想(北京)有限公司 用于查找电子设备的方法和装置
CN109640276A (zh) * 2018-12-29 2019-04-16 出门问问信息科技有限公司 一种可穿戴设备的低电量处理方法及装置
US20190246238A1 (en) * 2014-04-11 2019-08-08 Flaregun Inc. Apparatus, systems and methods for visually connecting people
CN112087649A (zh) * 2020-08-05 2020-12-15 华为技术有限公司 一种设备搜寻方法以及电子设备

Family Cites Families (36)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3103691U (ja) 2004-03-01 2004-08-19 振福 張 携帯電話の制御装置
JP4330509B2 (ja) 2004-09-22 2009-09-16 シャープ株式会社 通信端末装置、物品管理システム及び物品管理方法
US20130278631A1 (en) * 2010-02-28 2013-10-24 Osterhout Group, Inc. 3d positioning of augmented reality information
GB2518548B (en) * 2012-06-22 2015-12-23 Univ Colorado Regents Imaging or measurement methods and systems
WO2014185172A1 (ja) * 2013-05-13 2014-11-20 富士フイルム株式会社 画像処理装置、撮像装置、画像処理方法、及びプログラム
CN104333845B (zh) * 2013-07-22 2019-11-22 腾讯科技(深圳)有限公司 目标查找方法、装置、设备及系统
WO2015038114A1 (en) * 2013-09-11 2015-03-19 Intel Corporation Mechanism for facilitating dynamic detection and communication of geo-locations for devices
US9532312B1 (en) * 2013-11-25 2016-12-27 Amazon Technologies, Inc. Locating user device using beacon signal
US9354778B2 (en) * 2013-12-06 2016-05-31 Digimarc Corporation Smartphone-based methods and systems
CN103840857A (zh) * 2014-03-12 2014-06-04 上海天奕达电子科技有限公司 一种快速搜寻蓝牙设备的方法及其设备
US9667880B2 (en) * 2014-08-22 2017-05-30 Qualcomm Incorporated Activating flash for capturing images with text
CN105451329B (zh) * 2014-09-25 2019-04-05 华为技术有限公司 一种定位方法及电子设备
US10132914B2 (en) * 2014-10-08 2018-11-20 Huawei Technologies Co., Ltd. Target device positioning method and mobile terminal
US10438409B2 (en) 2014-12-15 2019-10-08 Hand Held Products, Inc. Augmented reality asset locator
KR102314637B1 (ko) * 2015-03-23 2021-10-18 엘지전자 주식회사 로봇 청소기 및 이를 구비하는 로봇 청소 시스템
GB201506794D0 (en) * 2015-04-21 2015-06-03 Indoorz Ltd Mobile device positioning system and method
JP6572618B2 (ja) * 2015-05-08 2019-09-11 富士通株式会社 情報処理装置、情報処理プログラム、情報処理方法、端末装置、設定方法、設定プログラム
US10778748B2 (en) * 2015-06-05 2020-09-15 Apple Inc. Rapid reconfiguration of device location system
US20160381510A1 (en) * 2015-06-24 2016-12-29 Nearable Technology Corp. Method of locating a mobile device and a cloud computer system employing same
CN105100222B (zh) 2015-07-01 2018-06-08 小米科技有限责任公司 一种提供对象找回信息的方法和装置
KR20180089907A (ko) 2016-02-04 2018-08-09 애플 인크. 무선 레인징에 기초한 전자 디바이스들의 제어 및 정보의 디스플레이
CN105928504B (zh) * 2016-04-14 2018-03-20 北京小米移动软件有限公司 障碍物定位方法、装置及系统
CN106535116A (zh) * 2016-10-08 2017-03-22 广东小天才科技有限公司 一种移动终端的位置监控方法及装置
US10638124B2 (en) * 2017-04-10 2020-04-28 Intel Corporation Using dynamic vision sensors for motion detection in head mounted displays
CN108459595A (zh) * 2017-06-16 2018-08-28 炬大科技有限公司 一种移动电子设备以及该移动电子设备中的方法
KR102610820B1 (ko) * 2017-09-27 2023-12-06 삼성전자주식회사 뉴럴 네트워크 시스템 및 뉴럴 네트워크 시스템의 동작방법
CN107977625B (zh) * 2017-11-30 2020-05-12 速感科技(北京)有限公司 一种可寻物的智能可移动设备及智能寻物方法
CN108683996B (zh) * 2018-03-30 2020-11-27 泾县谷声信息科技有限公司 一种设备寻找方法、终端及计算机可读存储介质
CN110532839A (zh) * 2018-05-25 2019-12-03 中兴通讯股份有限公司 目标搜寻方法、装置及终端、计算机可读存储介质
CN109547921B (zh) * 2018-10-17 2022-05-24 平安普惠企业管理有限公司 一种用户定位方法、计算机可读存储介质及终端设备
CN109522811A (zh) * 2018-10-23 2019-03-26 中国人民解放军海军航空大学 一种物品搜寻系统及方法
CN110022525A (zh) * 2019-03-04 2019-07-16 广东小天才科技有限公司 一种关机控制方法、系统及智能终端
CN111148027B (zh) * 2019-03-27 2021-06-01 广东小天才科技有限公司 一种电子设备的查找方法及移动设备
CN113796099A (zh) 2019-04-17 2021-12-14 苹果公司 使用增强现实寻找目标设备
CN110930692B (zh) * 2019-10-24 2021-06-18 河北德冠隆电子科技有限公司 一种主动式车辆连续跟踪装置、系统及方法
CN111436020B (zh) * 2019-10-29 2022-07-22 珠海市杰理科技股份有限公司 蓝牙定位、寻找蓝牙设备的方法、蓝牙设备及定位系统

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190246238A1 (en) * 2014-04-11 2019-08-08 Flaregun Inc. Apparatus, systems and methods for visually connecting people
CN106878949A (zh) * 2017-02-27 2017-06-20 努比亚技术有限公司 一种基于双摄像头的定位终端、系统及方法
CN108366338A (zh) * 2018-01-31 2018-08-03 联想(北京)有限公司 用于查找电子设备的方法和装置
CN109640276A (zh) * 2018-12-29 2019-04-16 出门问问信息科技有限公司 一种可穿戴设备的低电量处理方法及装置
CN112087649A (zh) * 2020-08-05 2020-12-15 华为技术有限公司 一种设备搜寻方法以及电子设备

Also Published As

Publication number Publication date
US11627437B2 (en) 2023-04-11
CN112087649B (zh) 2022-04-15
CN114727220A (zh) 2022-07-08
US20230209311A1 (en) 2023-06-29
CN112087649A (zh) 2020-12-15
US11889386B2 (en) 2024-01-30
CN114727220B (zh) 2022-12-27
US20220329976A1 (en) 2022-10-13
US20240155309A1 (en) 2024-05-09

Similar Documents

Publication Publication Date Title
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
CN110495819B (zh) 机器人的控制方法、机器人、终端、服务器及控制系统
WO2022027972A1 (zh) 一种设备搜寻方法以及电子设备
WO2021052214A1 (zh) 一种手势交互方法、装置及终端设备
WO2022127787A1 (zh) 一种图像显示的方法及电子设备
WO2021073448A1 (zh) 画面渲染方法、装置、电子设备及存储介质
WO2022100685A1 (zh) 一种绘制命令处理方法及其相关设备
WO2021047567A1 (zh) 一种回调流的处理方法及设备
JP2022522453A (ja) 記録フレームレート制御方法及び関連装置
WO2021213031A1 (zh) 图像合成方法及相关装置
CN112637758B (zh) 一种设备定位方法及其相关设备
WO2022001258A1 (zh) 多屏显示方法、装置、终端设备及存储介质
WO2022007707A1 (zh) 家居设备控制方法、终端设备及计算机可读存储介质
WO2022170856A1 (zh) 建立连接的方法与电子设备
WO2021052407A1 (zh) 一种电子设备操控方法及电子设备
WO2021057626A1 (zh) 图像处理方法、装置、设备及计算机存储介质
WO2022105702A1 (zh) 保存图像的方法及电子设备
WO2021052408A1 (zh) 一种电子设备显示方法及电子设备
WO2022161386A1 (zh) 一种位姿确定方法以及相关设备
WO2022179495A1 (zh) 一种隐私风险反馈方法、装置及第一终端设备
WO2021052388A1 (zh) 一种视频通信方法及视频通信装置
WO2022033344A1 (zh) 视频防抖方法、终端设备和计算机可读存储介质
WO2022111593A1 (zh) 一种用户图形界面显示方法及其装置
WO2022078116A1 (zh) 笔刷效果图生成方法、图像编辑方法、设备和存储介质
WO2022135195A1 (zh) 显示虚拟现实界面的方法、装置、设备和可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21853760

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21853760

Country of ref document: EP

Kind code of ref document: A1