WO2021098442A1 - Positioning interaction method and apparatus - Google Patents

Positioning interaction method and apparatus Download PDF

Info

Publication number
WO2021098442A1
WO2021098442A1 PCT/CN2020/122984 CN2020122984W WO2021098442A1 WO 2021098442 A1 WO2021098442 A1 WO 2021098442A1 CN 2020122984 W CN2020122984 W CN 2020122984W WO 2021098442 A1 WO2021098442 A1 WO 2021098442A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
interface
positioning
displays
user
Prior art date
Application number
PCT/CN2020/122984
Other languages
French (fr)
Chinese (zh)
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 WO2021098442A1 publication Critical patent/WO2021098442A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/026Services making use of location information using location based information parameters using orientation information, e.g. compass
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • This application relates to the field of electronic technology, and in particular to a positioning interaction method and device.
  • terminal devices such as smart phones
  • GPS global positioning system
  • a user device such as a smart watch
  • the location function can be used to query the current location of the user device.
  • the user can only locate the approximate location of the user equipment (meter-level position accuracy) when searching for the device, and cannot obtain the specific location of the device. Therefore, GPS positioning cannot meet the needs of positioning in a small area.
  • the direction finding function is newly added to Bluetooth 5.1.
  • the direction finding function mainly uses two positioning technologies, which can support a variety of methods to determine the direction of the Bluetooth signal, one is the angle of arrival (AoA) direction finding algorithm, and the other It is the angle of departure (AoD) direction finding algorithm.
  • the angle error of the arrival angle and the departure angle measured by the currently implemented AOA direction finding algorithm and AOD direction finding algorithm is within 5 degrees, which can achieve centimeter-level position accuracy positioning.
  • the embodiments of the present application provide a positioning interaction method and device, which can realize positioning in a small area (such as centimeter-level position accuracy), and can help users find lost equipment more quickly and accurately.
  • an embodiment of the present application provides a positioning interaction method, including: a user opens a device management interface on a first electronic device, and the first electronic device displays the device management interface.
  • the user selects the electronic device that he wants to find on the device management interface, and the first electronic device determines the electronic device selected by the user on the device management interface as the second electronic device.
  • the first electronic device and the second electronic device establish a connection via Bluetooth, and display a function option interface.
  • the user selects the positioning function on the function option interface, and the first electronic device displays the positioning interface.
  • the device management interface may display at least one electronic device successfully paired with the first electronic device via Bluetooth. At least the positioning function of the second electronic device can be displayed on the function option interface.
  • the positioning interface can display a radar chart centered on the current position of the first electronic device.
  • the radar chart can display the position (including the direction, angle and distance) of the second electronic device relative to the first electronic device. You can also display distance scale lines and directions (east, west, south, north, or front, back, left, and right).
  • the embodiment of the present application proposes an interactive method for device positioning in a small area to help users find lost devices more quickly and accurately.
  • the method further includes: the user can carry the first electronic device for movement.
  • the first electronic device updates the position of the second electronic device relative to the first electronic device in the radar chart displayed on the positioning interface.
  • the positioning interface is updated in real time when the user carries the first electronic device while moving, so as to convey to the user the position change of the second electronic device relative to the first electronic device.
  • the method further includes: during the movement, the first electronic device may vibrate and/or emit according to the change in the distance between the first electronic device and the second electronic device ring.
  • the first electronic device vibrates at the first vibration frequency and/or emits the first ringtone ; If the distance between the first electronic device and the second electronic device during the movement is less than or equal to the preset second threshold, the first electronic device vibrates at the second vibration frequency and/or emits a second ringtone.
  • the first threshold is greater than the second threshold, and the first vibration frequency is less than the second vibration frequency. In the embodiments of the present application, when the distance is farther, the vibration frequency is lower; when the distance is closer, the vibration frequency is higher, so as to convey information about the distance to the user.
  • the above-mentioned radar chart also displays distance scale lines and directions, and the position of the second electronic device relative to the first electronic device includes the second electronic device and the first electronic device. The distance between the electronic devices and the direction angle of the second electronic device relative to the first electronic device.
  • the method further includes: the first electronic device sends a wireless signal to the second electronic device via Bluetooth, and may be based on the AoA direction finding algorithm Or the AoD direction finding algorithm measures the direction angle of the second electronic device relative to the first electronic device, and the distance between the second electronic device and the first electronic device can also be measured based on the signal strength ranging algorithm.
  • the first electronic device is a single antenna, the AoA direction finding algorithm is used to calculate the direction angle; if the first electronic device is multiple antennas, the AoD direction finding algorithm is used to calculate the direction angle.
  • the method further includes: the second electronic device transmits device parameters to the first electronic device via Bluetooth, and correspondingly, the first electronic device The device receives device parameters via Bluetooth.
  • the device parameter includes at least the positioning function of the second electronic device.
  • the method further includes: the first electronic device searches through Bluetooth and communicates with each of the at least one searched electronic device.
  • the electronic device performs Bluetooth pairing.
  • an embodiment of the present application provides an electronic device, which is used as a first electronic device, and the electronic device includes the method for implementing the first aspect and/or any one of the possible implementation manners of the first aspect.
  • the provided units and/or modules of the positioning interaction method can therefore also achieve the beneficial effects (or advantages) of the positioning interaction method provided in the first aspect.
  • an embodiment of the present application provides an electronic device used as a first electronic device, the electronic device including a touch screen, a memory, a transceiver, one or more processors, multiple application programs, and One or more programs; where the one or more programs are stored in the memory, and the transceiver is used to transmit or receive wireless signals; characterized in that the one or more processors are executing the one or more programs At this time, the electronic device is caused to execute the positioning interaction method provided in the above-mentioned first aspect.
  • an embodiment of the present application provides a positioning interaction system, including the first electronic device and the second electronic device provided in the second or third aspect.
  • the second electronic device transmits device parameters to the first electronic device via Bluetooth, and receives wireless signals sent by the first electronic device via Bluetooth.
  • the device parameters include at least a positioning function of the second electronic device.
  • an embodiment of the present application provides a computer-readable storage medium for storing computer program instructions used by a first electronic device, which includes a program for executing the program involved in the first aspect.
  • the embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the positioning interaction method described in the first aspect.
  • the implementation of the embodiments of the present application can realize positioning in a small area (such as centimeter-level position accuracy), which can help users find lost devices more quickly and accurately.
  • FIG. 1 is a system architecture diagram of a positioning interaction system provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a first electronic device provided by an embodiment of the present application.
  • FIG. 3 is a block diagram of the software structure of the first electronic device provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another structure of the first electronic device provided by an embodiment of the present application.
  • Figure 5a is a schematic diagram of AoA positioning provided by an embodiment of the present application.
  • Figure 5b is a schematic diagram of AoD positioning provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a positioning interaction method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of interaction provided by an embodiment of the present application.
  • FIG. 8 is another schematic diagram of interaction provided by an embodiment of the present application.
  • Fig. 9 is a schematic diagram of updating a positioning interface provided by an embodiment of the present application.
  • the positioning interaction system provided by the embodiment of the present application includes at least two electronic devices.
  • the electronic device in the embodiment of the present application may refer to an electronic device that supports Bluetooth 5.1.
  • FIG. 1 is a system architecture diagram of a positioning interaction system provided by an embodiment of the present application.
  • the positioning interaction system includes two electronic devices, a first electronic device 100 and a second electronic device 200 respectively.
  • both the first electronic device 100 and the second electronic device 200 may include a Bluetooth module, and the Bluetooth module may be integrated on the electronic device (that is, integrated), or may be pluggable on the electronic device.
  • the first electronic device 100 and the second electronic device 200 can be connected via Bluetooth, and can transmit data via Bluetooth, such as transferring songs or pictures via Bluetooth.
  • both the first electronic device 100 and the second electronic device 200 may be electronic devices supporting Bluetooth 5.1, such as a mobile phone, a wearable device such as a smart watch, a tablet computer, or a personal digital assistant (personal digital assistant, PDA).
  • the first electronic device 100 and the second electronic device 200 may be the same electronic device, for example, the first electronic device 100 and the second electronic device 200 are both mobile phones; the first electronic device 100 and the second electronic device 200 are also It can be different kinds of electronic devices, for example, the first electronic device 100 is a mobile phone, and the second electronic device 200 is a smart watch.
  • the positioning interaction method provided in the embodiments of the present application may be applied to the first electronic device of the positioning interaction system.
  • the first electronic device 100 may display a device management interface according to a user's operation, and the device management interface may display at least one electronic device successfully paired with the first electronic device via Bluetooth. It can be understood that the first electronic device 100 and each of the at least one electronic device have completed Bluetooth pairing and registered in the first electronic device 100.
  • the first electronic device 100 can determine the second electronic device 200 selected by the user from the at least one electronic device according to the user's selection operation on the device management interface.
  • the first electronic device 100 can communicate with the second electronic device via Bluetooth.
  • the device 200 establishes a connection.
  • the first electronic device 100 can display a function option interface of the second electronic device 200, and at least the positioning function of the second electronic device 200 is displayed on the function option interface.
  • the function option interface may display a positioning function, a heart rate measurement function, a sleep quality measurement function, and so on.
  • the second electronic device 200 is a mobile phone, a positioning function, a music playing function, a message prompt function, etc. may be displayed on the function option interface.
  • the first electronic device 100 When the first electronic device 100 receives the positioning function selected by the user on the function option interface, the first electronic device 100 displays a positioning interface, and the positioning interface displays a radar chart centered on the current position of the first electronic device 100 , The position of the second electronic device 200 relative to the first electronic device 100 can be displayed on the radar chart.
  • the position of the second electronic device 200 relative to the first electronic device 100 may include the distance between the second electronic device 200 and the first electronic device 100, and the position of the second electronic device 200 relative to the first electronic device 100.
  • the structure of the first electronic device 100 provided in the embodiment of the present application will be illustrated below as an example.
  • FIG. 2 is a schematic structural diagram of a first electronic device according to an embodiment of the present application.
  • the first electronic device shown in FIG. 2 may be a mobile phone, a tablet computer or a PAD.
  • the first 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 charging management module 140, and a power management module 141, Battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, Camera 193, display screen 194, subscriber identification module (SIM) card interface 195, etc.
  • 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 Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the first electronic device 100.
  • the first electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components, specifically Determined according to the actual application scenario, there is no restriction here.
  • the components shown in Figure 2 can be implemented in hardware, software, or a combination of software and hardware.
  • the foregoing processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (image signal processor, ISP), a controller, and a memory , Video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
  • AP application processor
  • GPU graphics processing unit
  • ISP image signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the first electronic device 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • 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, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter/receiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the first electronic device 100.
  • the first 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 configured to receive charging input from the charger and charge the power management module 141 of the first electronic device 100.
  • the charger can be a wireless charger or a wired charger.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the first electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • antenna 1 and antenna 2 can be used to transmit Bluetooth signals.
  • Each antenna in the first electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the first electronic device 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via 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 and at least part of the modules of the processor 110 may be provided in the same device.
  • 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. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and 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 first electronic device 100, including wireless local area networks (WLAN) such as Wi-Fi networks, Bluetooth (BT), global navigation satellite systems, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite systems
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • 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 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the first 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 first electronic device 100 can communicate with the network and other devices (such as The second electronic device 200, etc.) communicate.
  • Wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , And/or IR technology, etc.
  • the aforementioned GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi- Zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the first electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the first electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the display screen 194 may be used to display various interfaces output by the system of the first electronic device 100. For each interface output by the first electronic device 100, reference may be made to related descriptions in subsequent embodiments.
  • the first electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the first 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, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the first electronic device 100 by running instructions stored in the internal memory 121.
  • 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 by at least one function (such as a device management function, a sound playback function, etc.), and the like.
  • the data storage area can store data (such as device parameters, phone book, etc.) created during the use of the first electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • UFS universal flash storage
  • the first electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some feasible implementation manners, the pressure sensor 180A may be disposed on the display screen 194.
  • the gyro sensor 180B may be used to determine the movement posture of the first electronic device 100.
  • the air pressure sensor 180C is used to measure air pressure.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the distance sensor 180F is used to measure distance.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the temperature sensor 180J is used to detect temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the first electronic device 100, which is different from the position of the display screen 194.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button or a touch button.
  • the motor 191 can generate vibration prompts.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the first electronic device 100.
  • the first electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the first electronic device 100 and cannot be separated from the first electronic device 100.
  • the software system of the first electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the first electronic device 100 by way of example.
  • FIG. 3 is a block diagram of the software structure of the first electronic device according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, each with a clear role and division of labor. Communication between layers through software interface.
  • the Android system can be divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include Bluetooth, device management application (application with device management function), navigation, map, WLAN, short message, gallery, calendar, call and other applications (application, APP).
  • the application framework layer provides application programming interfaces and programming frameworks for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the above-mentioned data can include videos, images, audios, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the first electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialogue interface. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • FIG. 4 is a schematic diagram of another structure of the first electronic device according to an embodiment of the present application.
  • the first electronic device shown in FIG. 4 may be a smart watch.
  • the first electronic device 100 may include a processor 1001, a memory 1002, a transceiver 1003, a touch screen 1004, and a bus system 1005.
  • the aforementioned processor 1001, memory 1002, transceiver 1003, and touch screen 1004 are connected through a bus system 1005.
  • the aforementioned processor 1001 may include one or more processing units for controlling the operation of the first electronic device 100.
  • the processor 110 may include an application processor (application processor, AP), a modem processor, a controller, a DSP, and/or a baseband processor.
  • the different processing units may be independent devices or integrated in one or more processors.
  • the aforementioned memory 1002 is used to store instructions and data.
  • the memory 1002 is a cache memory.
  • the memory 1002 can store instructions or data that have just been used or recycled by the processor 1001. If the processor 1001 needs to use the instruction or data again, it can be directly called from the memory 1002. Repeated access is avoided, the waiting time of the processor 1001 is reduced, and the efficiency of the system is improved.
  • the above-mentioned transceiver 1003 is used to transmit or receive wireless signals (referred to as Bluetooth signals in this embodiment of the present application).
  • the transceiver 1003 may include one or more antennas (or antenna arrays) and wireless communication modules.
  • the wireless communication module can provide a wireless communication solution including WLAN, such as Wi-Fi network, Bluetooth, GNSS, FM, NFC, IR, etc., applied on the first electronic device 100.
  • the wireless communication module may be one or more devices integrating at least one communication processing module.
  • the wireless communication module receives electromagnetic waves via an antenna, modulates the frequency of the electromagnetic wave signals and filters them, and sends the processed signals to the processor 1001.
  • the wireless communication module can also receive the signal to be sent from the processor 1001, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna.
  • the above-mentioned touch screen 1004 is used to detect touch operations acting on or near it, such as a user's click, long press, and slide operations.
  • the various components of the first electronic device 100 are coupled together through a bus system 1005, where the bus system 1005 may include a power bus, a control bus, and a status signal bus in addition to a data bus.
  • the bus system 1005 may include a power bus, a control bus, and a status signal bus in addition to a data bus.
  • various buses are marked as the bus system 1005 in FIG. 4.
  • FIG. 4 is only schematically drawn.
  • the following is the measurement of the arrival angle AoA direction finding algorithm, the departure angle AoD direction finding algorithm, and the signal strength (received signal strength indicator, RSSI) involved in the positioning interaction method provided in the embodiment of this application.
  • RSSI received signal strength indicator
  • the AoA direction finding algorithm is mainly when the signal passes through the antenna array of the receiver, the antenna array of the receiver receives the transmission signal from different angles and directions. Because the transmission signal received by each antenna has a phase difference, the phase difference The incident angle of the transmission signal can be calculated.
  • Fig. 5a is a schematic diagram of AoA positioning provided by an embodiment of the present application.
  • the transmitter is a single antenna
  • the receiver is a multi-antenna.
  • the received electromagnetic wave is a plane wave
  • the angle of arrival is ⁇ .
  • antenna A 1 as the reference antenna
  • the received signal is received within a reference period of 8 ⁇ s.
  • the above description is an exemplary description to facilitate the understanding of the AoA direction finding algorithm.
  • multiple antennas can be equipped, and the antenna array can be arranged in a line, for example. , Ring, sphere, etc.
  • the corresponding calculation method of reaching angle is also more complicated.
  • the calculation method of the angle of arrival corresponding to the antenna arrays with different arrangements reference may be made to the existing calculation method, which is not repeated here.
  • the AoD direction finding algorithm is opposite to the AoA direction finding algorithm.
  • the transmitter uses multiple antennas to transmit signals, and the receiver uses the phase difference of the received transmission signal to calculate the angle of the transmission signal from the transmitter.
  • Fig. 5b is a schematic diagram of AoD positioning provided by an embodiment of the present application.
  • the transmitter is a multi-antenna
  • the receiver is a single antenna.
  • the phase difference of the transmitted signal is ⁇
  • the received electromagnetic wave is a plane wave
  • the wavelength is ⁇
  • the departure angle can be expressed as:
  • Wireless signal propagation models mainly include free space model and logarithmic path loss model. Take the free space model as an example. After a wireless signal propagates in free space for a certain distance, the signal power will attenuate. Suppose the distance between the transmitter and the receiver is d, the unit is meter, the transmitter power is P t , the received power at d from the transmitter is Pr(d), the transmitting antenna gain is G t , and the receiving antenna gain is G r , the system loss factor that has nothing to do with propagation is L, the wavelength of the wireless signal is ⁇ , and the unit is meter. Pr(d) can be expressed as:
  • Pr(d) P t G t G r L( ⁇ 2 /((4 ⁇ ) 2 d 2 )), (1-3)
  • the received power Pr(d) attenuates with the square of the distance d between the transmitter and the receiver. Therefore, by measuring the strength of the received signal (ie, the received power Pr(d)), and then using formula (1-3), the distance d between the transmitter and the receiver can be calculated.
  • the positioning interaction method of the embodiment of the present application may be applicable to the positioning scenario of one or more electronic devices.
  • the following only takes one electronic device to locate another electronic device as an example for description. It is understandable that one electronic device can also locate multiple other electronic devices at the same time.
  • FIG. 6 is a schematic flowchart of a positioning interaction method provided by an embodiment of the present application.
  • FIG. 6 shows the positioning interaction between the first electronic device 100 and the second electronic device 200 and the internal data processing process of the first electronic device 100.
  • the positioning interaction method provided by the embodiment of the present application includes but is not limited to the following steps:
  • the user opens the device management interface through one or more operations on the first electronic device 100.
  • the first electronic device displays a device management interface.
  • the first electronic device 100 receives the electronic device selected by the user on the device management interface and determines the electronic device selected by the user as the second electronic device 200.
  • the first electronic device 100 establishes a connection with the second electronic device 200 via Bluetooth.
  • the second electronic device 200 transmits device parameters to the first electronic device 100 via Bluetooth.
  • the first electronic device 100 receives device parameters.
  • S8 The first electronic device 100 receives the positioning instruction generated by the user clicking the positioning function control.
  • the first electronic device 100 sends a wireless signal to the second electronic device 200 through Bluetooth.
  • a device management APP may be installed on the first electronic device 100.
  • the device management APP can be used to locate electronic devices that support Bluetooth 5.1.
  • the device management APP may be pre-installed when the first electronic device 100 leaves the factory, or it may be downloaded and installed by the user.
  • the device management APP may be an APP developed by the manufacturer of the first electronic device 100 or an APP developed by a third-party manufacturer.
  • the first electronic device 100 is a mobile phone and the second electronic device 200 is a smart watch as an example.
  • the user taps the device management APP on the touch screen of the first electronic device 100 with a finger or a stylus pen.
  • the first electronic device starts the device management APP and starts Bluetooth to perform Bluetooth search and pairing.
  • the first electronic device 100 displays the device management interface 30 as shown in 7b of FIG. 7 on the device management APP. .
  • the icon 301 and/or name 302 of the smart watch and the icon 303 and/or name 304 of the tablet computer are displayed on the device management interface 30.
  • the first electronic device 100 displays the function option interface 40 as shown in 7c of FIG. 7 .
  • the positioning function control 401, the heart rate measurement function control 402, the sleep quality measurement function control 403, etc. of the smart watch 200 are displayed on the function option interface 40.
  • the first electronic device 100 displays the positioning interface 50 as shown in 7d of FIG. 7.
  • a radar chart 501 with the current position of the mobile phone 100 as the center O is displayed on the positioning interface 50, and the position of the smart watch 200 relative to the mobile phone 100 can be displayed on the radar chart 501.
  • the radar chart 501 can also display distance scale lines (in meters (m)) and directions (such as east, west, south, north, or front, back, left, and right).
  • Directional arrows 502 may also be displayed on the radar chart.
  • the user can find the smart watch 200 by viewing the position of the smart watch 200 on the positioning interface 50 relative to the mobile phone 100, so that the user can find the lost device more quickly and accurately.
  • the first electronic device 100 responds When the user clicks, only the device management APP is started and the device management interface is displayed.
  • Bluetooth pairing is only paired once and can be used directly later.
  • the first electronic device 100 if the first electronic device 100 is a smart watch and the second electronic device 200 is a mobile phone, the first electronic device 100 has a device management function.
  • FIG. 8 is another schematic diagram of interaction provided by an embodiment of the present application.
  • the first electronic device 100 is a smart watch and the second electronic device 200 is a mobile phone as an example.
  • the user slides one or more left and right on the touch screen of the first electronic device 100 to switch to the device management interface 60 as shown in 8b of FIG. 8.
  • the icon 601 and/or the name 602 of the mobile phone are displayed on the device management interface 60.
  • the first electronic device 100 displays a function option interface 70 as shown in 8c of FIG. 8.
  • the positioning function control 701 of the mobile phone 200 is displayed on the function option interface 70.
  • the first electronic device 100 displays the positioning interface 80 as shown in 8d of FIG. 8.
  • the positioning interface 80 displays a radar chart 801 with the current position of the smart watch 100 as the center O, and the radar chart 801 can display the position of the mobile phone 200 relative to the smart watch 100.
  • the radar chart 801 can also display distance scale lines and directions (such as east (E), west (W), south (S), north (N), or front, back, left, and right).
  • Directional arrows 802 can also be displayed on the radar chart.
  • the user can find the mobile phone 200 by viewing the position of the mobile phone 200 relative to the smart watch 100 on the positioning interface 80, so that the user can find the lost device more quickly and accurately.
  • the various interfaces in FIG. 7 or FIG. 8 are only exemplary descriptions. In practical applications, the various interfaces in FIG. 7 or FIG. 8 may further include more content, which will not be explained here.
  • the user can turn on Bluetooth on the first electronic device 100.
  • the first electronic device 100 searches for electronic devices available nearby through Bluetooth, and can perform Bluetooth pairing with each of the at least one electronic device found.
  • the first electronic device may generate a Bluetooth pairing code for the electronic device i of the at least one electronic device, and send the Bluetooth pairing code to the electronic device i to realize Bluetooth pairing.
  • the user can perform one or more operations on the first electronic device 100 to open the device management interface.
  • the first electronic device displays the device management interface in response to the user's operation.
  • the device management interface may display at least one electronic device successfully paired with the first electronic device 100 via Bluetooth.
  • the user can select (for example, click, long press, etc.) the electronic device to be searched on the device management interface.
  • the first electronic device 100 may determine the electronic device selected by the user as the second electronic device 200, and may establish a connection with the second electronic device 200 via Bluetooth.
  • data can be transmitted via Bluetooth.
  • the second electronic device 200 may transmit device parameters to the first electronic device 100 via Bluetooth.
  • the first electronic device 100 receives the device parameters via Bluetooth, and can store the device parameters.
  • the first electronic device 100 may display a function option interface based on the device parameters.
  • the device parameters may include the identification, name, power, and functional parameters (such as positioning function) of the second electronic device 200. At least the positioning function control of the second electronic device 200 can be displayed on the function option interface.
  • the user can click the positioning function control on the function option interface, that is, the user selects the positioning function on the function option interface.
  • the first electronic device 100 may receive the positioning instruction generated by the user clicking the positioning function control on the function option interface.
  • the first electronic device 100 may send a wireless signal to the second electronic device 200 via Bluetooth, and may calculate the direction angle of the second electronic device 200 relative to the first electronic device 100 based on the AoA direction finding algorithm or the AoD direction finding algorithm.
  • the first electronic device may also calculate the distance between the second electronic device 200 and the first electronic device 100 based on the signal strength ranging algorithm.
  • the first electronic device 100 displays a positioning interface in response to the user's click operation.
  • a radar chart centered on the current position of the first electronic device 100 can be displayed on the positioning interface, and the position of the second electronic device 200 relative to the first electronic device 100 can be displayed on the radar chart.
  • the radar chart can also display distance scale lines and directions, such as east-west, north-south (determining the east-west, north-south direction by a magnetometer), front, back, left, and right.
  • the position of the second electronic device 200 relative to the first electronic device 100 includes the distance between the second electronic device 200 and the first electronic device 100 and the direction angle of the second electronic device 200 relative to the first electronic device 100.
  • the AoA direction finding algorithm is used to calculate the direction angle of the second electronic device 200 relative to the first electronic device 100; if the first electronic device 100 is multiple antennas, then AoD direction finding is used
  • the algorithm calculates the direction angle of the second electronic device 200 relative to the first electronic device 100.
  • the second electronic device 200 receives the wireless signal sent by the first electronic device 100 via Bluetooth, it can measure the received power (or strength) of the received wireless signal, and return the received power to the first electronic device 100 (Or intensity). Based on the received power (or intensity), the first electronic device 100 can calculate the distance between the second electronic device 200 and the first electronic device 100 by using a signal strength ranging algorithm.
  • the positioning interaction method provided in the embodiment of the present application may further include:
  • the user carries the first electronic device 100 for movement.
  • the first electronic device 100 recalculates the position of the second electronic device 200 relative to the first electronic device 100. And update the position of the second electronic device 200 relative to the first electronic device 100 in the above-mentioned positioning interface.
  • FIG. 9 is a schematic diagram of updating a positioning interface according to an embodiment of the present application.
  • the first electronic device 100 is a mobile phone and the second electronic device 200 is a smart watch as an example.
  • the positioning interface 50 displayed in step S10 is as shown in 9a of FIG. 9.
  • the updated positioning interface 50 of the first electronic device is as shown in 9b of FIG. 9.
  • the first electronic device 100 vibrates and/or emits a ringtone according to the distance between the first electronic device 100 and the second electronic device 200.
  • the first electronic device 100 can vibrate at the first vibration frequency.
  • the first electronic device 100 may vibrate at the second vibration frequency.
  • the first threshold may be greater than the second threshold, and the first vibration frequency may be less than the second vibration frequency.
  • the first electronic device 100 may emit a first ringtone.
  • the first electronic device 100 may emit a second ringtone.
  • the first threshold value may be greater than the second threshold value
  • the sound effect of the first ringtone may be more soothing
  • the sound effect of the second ringtone may be more rapid.
  • the first electronic device 100 emits a low-frequency ticking sound. The distance between them is getting closer, and the ticking sound is getting faster and faster.
  • the first electronic device 100 can vibrate and ring at the same time.
  • the positioning interaction method provided in the embodiment of the present application may further include: the above-mentioned radar chart may also display that the reference electronic device is relative to the first electronic device 100
  • the reference electronic device may be an electronic device in a relatively fixed position, such as a refrigerator, an air conditioner, a TV, and other electronic devices that are not easy to move.
  • the first electronic device 100 can establish a Bluetooth connection with each of the at least one electronic device successfully paired with Bluetooth except for the second electronic device.
  • the following will take at least one electronic device including electronic device i, electronic device j, and second electronic device as an example for description.
  • the first electronic device 100 may send wireless signals to the electronic devices i and j via Bluetooth, respectively.
  • the first electronic device 100 may use the AoA direction finding algorithm or the AoD direction finding algorithm and the signal strength ranging algorithm to obtain the position (including the direction angle and the distance) of the electronic device i relative to the first electronic device 100.
  • the first electronic device 100 may use the AoA direction finding algorithm or the AoD direction finding algorithm and the signal strength ranging algorithm to obtain the position (including the direction angle and the distance) of the electronic device j relative to the first electronic device 100.
  • the first electronic device 100 calculates the position of the electronic device i with respect to the first electronic device 100 and the second electronic device 200 with respect to the difference between S i and the angular distance between the position of the direction of the first electronic device 100 difference ⁇ i.
  • the first electronic device 100 calculates the distance difference S j and the direction angle difference ⁇ j between the position of the electronic device j relative to the first electronic device 100 and the position of the second electronic device 200 relative to the first electronic device 100.
  • the first electronic device 100 determines the reference electronic device from the electronic devices i and j according to the distance difference S i , the distance difference S j , the direction angle difference ⁇ i and the direction angle difference ⁇ j.
  • the position of the reference electronic device relative to the first electronic device 100 and the position of the second electronic device 200 relative to the first electronic device 100 have the smallest directional angle difference and/or the smallest distance difference.
  • the first electronic device 100 displays the position of the reference electronic device relative to the first electronic device 100 on the radar chart of the positioning interface, so as to further facilitate the user to find the second electronic device.
  • the user first registers at least one electronic device that supports Bluetooth 5.1 to the first electronic device (that is, performs Bluetooth pairing).
  • the device management displayed on the first electronic device The inquired electronic device (ie, the second electronic device) is selected on the interface, and then the first electronic device displays the function option interface corresponding to the second electronic device.
  • the user selects the positioning function control on the function option interface, and the first electronic device displays the positioning interface.
  • the positioning interface displays a radar chart centered on the current position of the first electronic device, and the radar chart displays the position of the second electronic device relative to the first electronic device. It can realize the positioning in a small range (such as centimeter-level position accuracy), and find the lost equipment more quickly and accurately.
  • the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium, (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are a positioning interaction method and apparatus. The method comprises: a user opens a device management interface on a first electronic device, and the first electronic device displays the device management interface; the user selects, on the device management interface, an electronic device to be searched for, and the first electronic device determines the electronic device selected by the user on the device management interface as a second electronic device; the first electronic device and the second electronic device establish connection by means of Bluetooth, and a function option interface is displayed; and the user selects a positioning function on the function option interface, the first electronic device displays a positioning interface, a radar map using the current position of the first electronic device as the center can be displayed on the positioning interface, and a position of the second electronic device with respect to the first electronic device can be displayed on the radar map. By using the embodiments of the present application, positioning within a small range (for example, centimeter-level position precision) is achieved, and the user can be helped to find a lost device quickly and accurately.

Description

定位交互方法及装置Positioning interaction method and device
本申请要求于2019年11月22日提交中国专利局、申请号为201911154276.4、申请名称为“定位交互方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on November 22, 2019, the application number is 201911154276.4, and the application name is "positioning interaction method and device", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种定位交互方法及装置。This application relates to the field of electronic technology, and in particular to a positioning interaction method and device.
背景技术Background technique
目前,终端设备(比如智能手机)可以通过全球定位系统(global positioning system,GPS)信号进行位置定位,当用户设备(比如智能手表)丢失时,可以使用定位功能查询用户设备当前的位置。但是,因为GPS的定位精度有限,用户在查找设备时仅能够定位到用户设备的大致位置(米级位置精度),无法得到设备的具体位置。因此,GPS定位无法满足小范围内定位的需求。Currently, terminal devices (such as smart phones) can perform location positioning through global positioning system (GPS) signals. When a user device (such as a smart watch) is lost, the location function can be used to query the current location of the user device. However, due to the limited positioning accuracy of GPS, the user can only locate the approximate location of the user equipment (meter-level position accuracy) when searching for the device, and cannot obtain the specific location of the device. Therefore, GPS positioning cannot meet the needs of positioning in a small area.
为了满足定位服务市场不断增长的需求,2019年1月29日,蓝牙技术联盟(bluetooth special interest group,SIG)宣布蓝牙5.1正式公布。蓝牙5.1新增了寻向功能,寻向功能主要采用了两种定位技术,可以支持多种确定蓝牙信号方向的方法,一种是到达角(angle of arrival,AoA)测向算法,另一种是出发角(angle of departure,AoD)测向算法。目前实现的AOA测向算法和AOD测向算法测量得到的到达角、出发角的角度误差在5度角内,可以实现厘米级位置精度的定位。In order to meet the growing demand of the positioning service market, on January 29, 2019, the Bluetooth Special Interest Group (SIG) announced the official announcement of Bluetooth 5.1. The direction finding function is newly added to Bluetooth 5.1. The direction finding function mainly uses two positioning technologies, which can support a variety of methods to determine the direction of the Bluetooth signal, one is the angle of arrival (AoA) direction finding algorithm, and the other It is the angle of departure (AoD) direction finding algorithm. The angle error of the arrival angle and the departure angle measured by the currently implemented AOA direction finding algorithm and AOD direction finding algorithm is within 5 degrees, which can achieve centimeter-level position accuracy positioning.
发明内容Summary of the invention
本申请实施例提供一种定位交互方法及装置,可以实现小范围内(如厘米级位置精度)的定位,能够帮助用户更快速准确的找到丢失的设备。The embodiments of the present application provide a positioning interaction method and device, which can realize positioning in a small area (such as centimeter-level position accuracy), and can help users find lost equipment more quickly and accurately.
下面从不同的方面介绍本申请,应理解的是,下面的不同方面的实施方式和有益效果可以互相参考。The following describes the application from different aspects. It should be understood that the following embodiments and beneficial effects of different aspects can be referred to each other.
第一方面,本申请实施例提供一种定位交互方法,包括:用户在第一电子设备上打开设备管理界面,第一电子设备显示该设备管理界面。用户在该设备管理界面上选中想要查找的电子设备,第一电子设备将用户在该设备管理界面上选中的电子设备确定为第二电子设备。第一电子设备与第二电子设备通过蓝牙建立连接,并显示功能选项界面。用户在该功能选项界面上选中定位功能,第一电子设备显示定位界面。其中,该设备管理界面上可以显示与第一电子设备通过蓝牙配对成功的至少一个电子设备。该功能选项界面上至少可以显示第二电子设备的定位功能。该定位界面上可以显示以第一电子设备的当前位置为中心的雷达图,该雷达图上可以显示第二电子设备相对于第一电子设备的位置(包括方向角度和距离),该雷达图上还可以显示距离刻度线和方向(东西南北或前后左右)。In a first aspect, an embodiment of the present application provides a positioning interaction method, including: a user opens a device management interface on a first electronic device, and the first electronic device displays the device management interface. The user selects the electronic device that he wants to find on the device management interface, and the first electronic device determines the electronic device selected by the user on the device management interface as the second electronic device. The first electronic device and the second electronic device establish a connection via Bluetooth, and display a function option interface. The user selects the positioning function on the function option interface, and the first electronic device displays the positioning interface. Wherein, the device management interface may display at least one electronic device successfully paired with the first electronic device via Bluetooth. At least the positioning function of the second electronic device can be displayed on the function option interface. The positioning interface can display a radar chart centered on the current position of the first electronic device. The radar chart can display the position (including the direction, angle and distance) of the second electronic device relative to the first electronic device. You can also display distance scale lines and directions (east, west, south, north, or front, back, left, and right).
本申请实施例提出一种小范围内设备定位的交互方法,帮助用户更快速准确的找到丢失的设备。The embodiment of the present application proposes an interactive method for device positioning in a small area to help users find lost devices more quickly and accurately.
结合第一方面,在一种可能的实施方式中,第一电子设备显示定位界面之后,该方法 还包括:用户可以携带第一电子设备进行移动。当第一电子设备移动时,第一电子设备更新上述定位界面上显示的雷达图中第二电子设备相对于第一电子设备的位置。本申请实施例在用户携带第一电子设备移动时实时更新定位界面,以此向用户传递第二电子设备相对于第一电子设备的位置变化。With reference to the first aspect, in a possible implementation manner, after the first electronic device displays the positioning interface, the method further includes: the user can carry the first electronic device for movement. When the first electronic device moves, the first electronic device updates the position of the second electronic device relative to the first electronic device in the radar chart displayed on the positioning interface. In the embodiment of the present application, the positioning interface is updated in real time when the user carries the first electronic device while moving, so as to convey to the user the position change of the second electronic device relative to the first electronic device.
结合第一方面,在一种可能的实施方式中,该方法还包括:在移动过程中,第一电子设备可以根据第一电子设备与第二电子设备之间的距离变化进行震动和/或发出铃声。With reference to the first aspect, in a possible implementation manner, the method further includes: during the movement, the first electronic device may vibrate and/or emit according to the change in the distance between the first electronic device and the second electronic device ring.
具体地,如果第一电子设备在移动过程中与第二电子设备之间的距离小于或等于预设的第一阈值,则第一电子设备以第一震动频率进行震动和/或发出第一铃声;如果第一电子设备在移动过程中与第二电子设备之间的距离小于或等于预设的第二阈值,则第一电子设备以第二震动频率进行震动和/或发出第二铃声。其中,该第一阈值大于该第二阈值,该第一震动频率小于该第二震动频率。本申请实施例在距离越远时,震动频率越低;距离越近时,震动频率越高,以此向用户传递距离远近的信息。Specifically, if the distance between the first electronic device and the second electronic device during the movement is less than or equal to the preset first threshold, the first electronic device vibrates at the first vibration frequency and/or emits the first ringtone ; If the distance between the first electronic device and the second electronic device during the movement is less than or equal to the preset second threshold, the first electronic device vibrates at the second vibration frequency and/or emits a second ringtone. Wherein, the first threshold is greater than the second threshold, and the first vibration frequency is less than the second vibration frequency. In the embodiments of the present application, when the distance is farther, the vibration frequency is lower; when the distance is closer, the vibration frequency is higher, so as to convey information about the distance to the user.
结合第一方面,在一种可能的实施方式中,上述雷达图上还显示距离刻度线和方向,该第二电子设备相对于该第一电子设备的位置包括该第二电子设备与该第一电子设备之间的距离和该第二电子设备相对于该第一电子设备的方向角度。With reference to the first aspect, in a possible implementation manner, the above-mentioned radar chart also displays distance scale lines and directions, and the position of the second electronic device relative to the first electronic device includes the second electronic device and the first electronic device. The distance between the electronic devices and the direction angle of the second electronic device relative to the first electronic device.
结合第一方面,在一种可能的实施方式中,第一电子设备显示定位界面之前,该方法还包括:第一电子设备通过蓝牙向第二电子设备发送无线信号,并可以基于AoA测向算法或AoD测向算法测量第二电子设备相对于第一电子设备的方向角度,还可以基于信号强度测距算法测量第二电子设备与第一电子设备之间的距离。其中,如果第一电子设备为单天线,则采用AoA测向算法计算方向角度;如果第一电子设备为多天线,则采用AoD测向算法计算方向角度。With reference to the first aspect, in a possible implementation manner, before the first electronic device displays the positioning interface, the method further includes: the first electronic device sends a wireless signal to the second electronic device via Bluetooth, and may be based on the AoA direction finding algorithm Or the AoD direction finding algorithm measures the direction angle of the second electronic device relative to the first electronic device, and the distance between the second electronic device and the first electronic device can also be measured based on the signal strength ranging algorithm. Among them, if the first electronic device is a single antenna, the AoA direction finding algorithm is used to calculate the direction angle; if the first electronic device is multiple antennas, the AoD direction finding algorithm is used to calculate the direction angle.
结合第一方面,在一种可能的实施方式中,第一电子设备显示功能选项界面之前,该方法还包括:第二电子设备通过蓝牙向第一电子设备传输设备参数,相应的,第一电子设备通过蓝牙接收设备参数。该设备参数至少包括第二电子设备的定位功能。With reference to the first aspect, in a possible implementation manner, before the first electronic device displays the function option interface, the method further includes: the second electronic device transmits device parameters to the first electronic device via Bluetooth, and correspondingly, the first electronic device The device receives device parameters via Bluetooth. The device parameter includes at least the positioning function of the second electronic device.
结合第一方面,在一种可能的实施方式中,第一电子设备显示设备管理界面之前,该方法还包括:第一电子设备通过蓝牙进行搜索,并与搜索到的至少一个电子设备中的各个电子设备进行蓝牙配对。With reference to the first aspect, in a possible implementation manner, before the first electronic device displays the device management interface, the method further includes: the first electronic device searches through Bluetooth and communicates with each of the at least one searched electronic device. The electronic device performs Bluetooth pairing.
第二方面,本申请实施例提供一种电子设备,该电子设备用作第一电子设备,该电子设备包括用于执行上述第一方面和/或第一方面的任意一种可能的实现方式所提供的定位交互方法的单元和/或模块,因此也能实现第一方面提供的定位交互方法所具备的有益效果(或优点)。In a second aspect, an embodiment of the present application provides an electronic device, which is used as a first electronic device, and the electronic device includes the method for implementing the first aspect and/or any one of the possible implementation manners of the first aspect. The provided units and/or modules of the positioning interaction method can therefore also achieve the beneficial effects (or advantages) of the positioning interaction method provided in the first aspect.
第三方面,本申请实施例提供一种电子设备,该电子设备用作第一电子设备,该电子设备包括触控屏、存储器、收发器、一个或多个处理器、多个应用程序、以及一个或多个程序;其中,该一个或多个程序被存储在该存储器中,该收发器用于发射或接收无线信号;其特征在于,该一个或多个处理器在执行该一个或多个程序时,使得该电子设备执行上述第一方面提供的定位交互方法。In a third aspect, an embodiment of the present application provides an electronic device used as a first electronic device, the electronic device including a touch screen, a memory, a transceiver, one or more processors, multiple application programs, and One or more programs; where the one or more programs are stored in the memory, and the transceiver is used to transmit or receive wireless signals; characterized in that the one or more processors are executing the one or more programs At this time, the electronic device is caused to execute the positioning interaction method provided in the above-mentioned first aspect.
第四方面,本申请实施例提供一种定位交互系统,包括第二方面或第三方面提供的第一电子设备以及第二电子设备。该第二电子设备通过蓝牙向该第一电子设备传输设备参数, 并通过蓝牙接收该第一电子设备发送的无线信号,该设备参数至少包括该第二电子设备的定位功能。In a fourth aspect, an embodiment of the present application provides a positioning interaction system, including the first electronic device and the second electronic device provided in the second or third aspect. The second electronic device transmits device parameters to the first electronic device via Bluetooth, and receives wireless signals sent by the first electronic device via Bluetooth. The device parameters include at least a positioning function of the second electronic device.
第五方面,本申请实施例提供一种计算机可读存储介质,用于储存为第一电子设备所用的计算机程序指令,其包含用于执行上述第一方面所涉及的程序。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium for storing computer program instructions used by a first electronic device, which includes a program for executing the program involved in the first aspect.
第六方面,本申请实施例提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面描述的定位交互方法。In a sixth aspect, the embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the positioning interaction method described in the first aspect.
实施本申请实施例,可以实现小范围内(如厘米级位置精度)的定位,能够帮助用户更快速准确的找到丢失的设备。The implementation of the embodiments of the present application can realize positioning in a small area (such as centimeter-level position accuracy), which can help users find lost devices more quickly and accurately.
附图说明Description of the drawings
图1是是本申请实施例提供的定位交互系统的系统架构图;FIG. 1 is a system architecture diagram of a positioning interaction system provided by an embodiment of the present application;
图2是本申请实施例提供的第一电子设备的一种结构示意图;FIG. 2 is a schematic structural diagram of a first electronic device provided by an embodiment of the present application;
图3是本申请实施例提供的第一电子设备的软件结构框图;3 is a block diagram of the software structure of the first electronic device provided by an embodiment of the present application;
图4是本申请实施例提供的第一电子设备的另一种结构示意图;FIG. 4 is a schematic diagram of another structure of the first electronic device provided by an embodiment of the present application;
图5a是本申请实施例提供的AoA定位的示意图;Figure 5a is a schematic diagram of AoA positioning provided by an embodiment of the present application;
图5b是本申请实施例提供的AoD定位的示意图;Figure 5b is a schematic diagram of AoD positioning provided by an embodiment of the present application;
图6是本申请实施例提供的定位交互方法的流程示意图;FIG. 6 is a schematic flowchart of a positioning interaction method provided by an embodiment of the present application;
图7是本申请实施例提供的一交互示意图;FIG. 7 is a schematic diagram of interaction provided by an embodiment of the present application;
图8是本申请实施例提供的另一交互示意图;FIG. 8 is another schematic diagram of interaction provided by an embodiment of the present application;
图9是本申请实施例提供的定位界面更新示意图。Fig. 9 is a schematic diagram of updating a positioning interface provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
本申请实施例提供的定位交互系统至少包括两个电子设备。本申请实施例的电子设备可以指支持蓝牙5.1的电子设备。参见图1,图1是本申请实施例提供的定位交互系统的系统架构图。如图1所示,该定位交互系统包括2个电子设备,分别为第一电子设备100和第二电子设备200。其中,第一电子设备100和第二电子设备200均可以包括蓝牙模块,该蓝牙模块可以集成在电子设备上(即一体式),也可以是可插拔在电子设备上。第一电子设备100和第二电子设备200可以通过蓝牙连接,并可以通过蓝牙传输数据,比如通过蓝牙传输歌曲或图片等。可选的,第一电子设备100和第二电子设备200均可以为手机、可穿戴设备如智能手表、平板电脑或个人数字助理(personal digital assistant,PDA)等支持蓝牙5.1的电子设备。可选的,第一电子设备100和第二电子设备200可以为同一种电子设备,比如第一电子设备100和第二电子设备200均为手机;第一电子设备100和第二电子设备200也可以为不同种电子设备,比如第一电子设备100为手机、第二电子设备200为智能手表。The positioning interaction system provided by the embodiment of the present application includes at least two electronic devices. The electronic device in the embodiment of the present application may refer to an electronic device that supports Bluetooth 5.1. Refer to FIG. 1, which is a system architecture diagram of a positioning interaction system provided by an embodiment of the present application. As shown in FIG. 1, the positioning interaction system includes two electronic devices, a first electronic device 100 and a second electronic device 200 respectively. Wherein, both the first electronic device 100 and the second electronic device 200 may include a Bluetooth module, and the Bluetooth module may be integrated on the electronic device (that is, integrated), or may be pluggable on the electronic device. The first electronic device 100 and the second electronic device 200 can be connected via Bluetooth, and can transmit data via Bluetooth, such as transferring songs or pictures via Bluetooth. Optionally, both the first electronic device 100 and the second electronic device 200 may be electronic devices supporting Bluetooth 5.1, such as a mobile phone, a wearable device such as a smart watch, a tablet computer, or a personal digital assistant (personal digital assistant, PDA). Optionally, the first electronic device 100 and the second electronic device 200 may be the same electronic device, for example, the first electronic device 100 and the second electronic device 200 are both mobile phones; the first electronic device 100 and the second electronic device 200 are also It can be different kinds of electronic devices, for example, the first electronic device 100 is a mobile phone, and the second electronic device 200 is a smart watch.
在一些可行的实施方式中,本申请实施例提供的定位交互方法可以应用于该定位交互 系统的第一电子设备中。第一电子设备100根据用户的操作可以显示设备管理界面,该设备管理界面上可以显示与该第一电子设备通过蓝牙配对成功的至少一个电子设备。可以理解的是,第一电子设备100与该至少一个电子设备中的每个电子设备均完成了蓝牙配对并注册到第一电子设备100中。第一电子设备100可以根据该用户在该设备管理界面上的选中操作,从该至少一个电子设备中确定出该用户选中的第二电子设备200,第一电子设备100可以通过蓝牙与第二电子设备200建立连接。第一电子设备100可以显示该第二电子设备200的功能选项界面,该功能选项界面上至少显示该第二电子设备200的定位功能。可选的,假设第二电子设备200为智能手表,该功能选项界面上可以显示定位功能、测心率功能、测睡眠质量功能等等。假设第二电子设备200为手机,该功能选项界面上可以显示定位功能、音乐播放功能、消息提示功能等。当第一电子设备100接收到该用户在该功能选项界面上选中的定位功能时,第一电子设备100显示定位界面,该定位界面上显示以第一电子设备100的当前位置为中心的雷达图,该雷达图上可以显示第二电子设备200相对于第一电子设备100的位置。可选的,第二电子设备200相对于第一电子设备100的位置可以包括第二电子设备200与第一电子设备100之间的距离、以及第二电子设备200相对于第一电子设备100的方向角度。因此,用户可通过查看定位界面上的雷达图查找丢失的电子设备(第二电子设备),辅助用户更快速准确的找到丢失的设备。In some feasible implementation manners, the positioning interaction method provided in the embodiments of the present application may be applied to the first electronic device of the positioning interaction system. The first electronic device 100 may display a device management interface according to a user's operation, and the device management interface may display at least one electronic device successfully paired with the first electronic device via Bluetooth. It can be understood that the first electronic device 100 and each of the at least one electronic device have completed Bluetooth pairing and registered in the first electronic device 100. The first electronic device 100 can determine the second electronic device 200 selected by the user from the at least one electronic device according to the user's selection operation on the device management interface. The first electronic device 100 can communicate with the second electronic device via Bluetooth. The device 200 establishes a connection. The first electronic device 100 can display a function option interface of the second electronic device 200, and at least the positioning function of the second electronic device 200 is displayed on the function option interface. Optionally, assuming that the second electronic device 200 is a smart watch, the function option interface may display a positioning function, a heart rate measurement function, a sleep quality measurement function, and so on. Assuming that the second electronic device 200 is a mobile phone, a positioning function, a music playing function, a message prompt function, etc. may be displayed on the function option interface. When the first electronic device 100 receives the positioning function selected by the user on the function option interface, the first electronic device 100 displays a positioning interface, and the positioning interface displays a radar chart centered on the current position of the first electronic device 100 , The position of the second electronic device 200 relative to the first electronic device 100 can be displayed on the radar chart. Optionally, the position of the second electronic device 200 relative to the first electronic device 100 may include the distance between the second electronic device 200 and the first electronic device 100, and the position of the second electronic device 200 relative to the first electronic device 100. Direction angle. Therefore, the user can find the lost electronic device (second electronic device) by viewing the radar chart on the positioning interface, which assists the user in finding the lost device more quickly and accurately.
为便于理解,下面将对本申请实施例提供的第一电子设备100的结构进行示例说明。For ease of understanding, the structure of the first electronic device 100 provided in the embodiment of the present application will be illustrated below as an example.
参见图2,图2是本申请实施例提供的第一电子设备的一种结构示意图。图2所示的第一电子设备可以为手机、平板电脑或PAD。Refer to FIG. 2, which is a schematic structural diagram of a first electronic device according to an embodiment of the present application. The first electronic device shown in FIG. 2 may be a mobile phone, a tablet computer or a PAD.
如图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等。As shown in FIG. 2, the first 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 charging management module 140, and a power management module 141, Battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, Camera 193, display screen 194, subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对第一电子设备100的具体限定。在本申请另一些可行的实施方式中,第一电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置,具体可根据实际应用场景确定,在此不做限制。图2所示的部件可以以硬件,软件,或软件与硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the first electronic device 100. In other feasible implementation manners of the present application, the first electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components, specifically Determined according to the actual application scenario, there is no restriction here. The components shown in Figure 2 can be implemented in hardware, software, or a combination of software and hardware.
可选的,上述处理器110可以包括一个或多个处理单元。例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。Optionally, the foregoing processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (image signal processor, ISP), a controller, and a memory , Video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc. Among them, the different processing units may be independent devices or integrated in one or more processors.
其中,控制器可以是第一电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the first electronic device 100. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些可行的实施方式中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some feasible implementation manners, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些可行的实施方式中,处理器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)接口等。In some feasible implementation manners, 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, and a universal asynchronous transmitter/receiver (universal asynchronous) interface. 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 (USB) interface, etc.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对第一电子设备100的结构限定。在本申请另一些可行的实施方式中,第一电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the first electronic device 100. In some other feasible implementation manners of the present application, the first electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入,对第一电子设备100的电源管理模块141充电。其中,充电器可以是无线充电器,也可以是有线充电器。The charging management module 140 is configured to receive charging input from the charger and charge the power management module 141 of the first electronic device 100. Among them, the charger can be a wireless charger or a wired charger.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
第一电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the first electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。可选的,天线1和天线2可以用于发射蓝牙信号。第一电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些可行的实施方式中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Optionally, antenna 1 and antenna 2 can be used to transmit Bluetooth signals. Each antenna in the first electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In some other feasible implementations, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在第一电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些可行的实施方式中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些可行的实施方式中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the first electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1. In some feasible implementation manners, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some feasible implementation manners, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后, 被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些可行的实施方式中,调制解调处理器可以是独立的器件。在另一些可行的实施方式中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium 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. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some feasible implementation manners, the modem processor may be an independent device. In other feasible implementation manners, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在第一电子设备100上的包括无线局域网(wireless local area networks,WLAN)如Wi-Fi网络,蓝牙(blue tooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the first electronic device 100, including wireless local area networks (WLAN) such as Wi-Fi networks, Bluetooth (BT), global navigation satellite systems, GNSS), frequency modulation (FM), near field communication (NFC), 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 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
在一些可行的实施方式中,第一电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得第一电子设备100可以通过无线通信技术与网络以及其他设备(例如第二电子设备200等)通信。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或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)。In some feasible implementation manners, the antenna 1 of the first 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 first electronic device 100 can communicate with the network and other devices (such as The second electronic device 200, etc.) communicate. Wireless communication technologies can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , And/or IR technology, etc. The aforementioned GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi- Zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
第一电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The first electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏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的正整数。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some feasible implementation manners, the first electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
在一些可行的实施方式中,显示屏194可用于显示第一电子设备100的系统输出的各个界面。第一电子设备100输出的各个界面可参考后续实施例的相关描述。In some feasible implementation manners, the display screen 194 may be used to display various interfaces output by the system of the first electronic device 100. For each interface output by the first electronic device 100, reference may be made to related descriptions in subsequent embodiments.
第一电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The first electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展第一电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据 存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the first 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, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,该可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行第一电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如设备管理功能、声音播放功能等)等。存储数据区可存储第一电子设备100使用过程中所创建的数据(比如设备参数,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the first electronic device 100 by running instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, an application program required by at least one function (such as a device management function, a sound playback function, etc.), and the like. The data storage area can store data (such as device parameters, phone book, etc.) created during the use of the first electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
第一电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The first electronic device 100 may implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些可行的实施方式中,压力传感器180A可以设置于显示屏194。陀螺仪传感器180B可以用于确定第一电子设备100的运动姿态。气压传感器180C用于测量气压。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some feasible implementation manners, the pressure sensor 180A may be disposed on the display screen 194. The gyro sensor 180B may be used to determine the movement posture of the first electronic device 100. The air pressure sensor 180C is used to measure air pressure.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
距离传感器180F用于测量距离。The distance sensor 180F is used to measure distance.
环境光传感器180L用于感知环境光亮度。The ambient light sensor 180L is used to sense the brightness of the ambient light.
指纹传感器180H用于采集指纹。The fingerprint sensor 180H is used to collect fingerprints.
温度传感器180J用于检测温度。The temperature sensor 180J is used to detect temperature.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些可行的实施方式中,触摸传感器180K也可以设置于第一电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. The visual output related to the touch operation can be provided through the display screen 194. In other feasible implementation manners, the touch sensor 180K may also be disposed on the surface of the first electronic device 100, which is different from the position of the display screen 194.
按键190包括开机键,音量键等。按键190可以是机械按键,也可以是触摸式按键。The button 190 includes a power-on button, a volume button, and so on. The button 190 may be a mechanical button or a touch button.
马达191可以产生振动提示。The motor 191 can generate vibration prompts.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡 接口195拔出,实现和第一电子设备100的接触和分离。在一些可行的实施方式中,第一电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在第一电子设备100中,不能和第一电子设备100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the first electronic device 100. In some feasible implementation manners, the first electronic device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the first electronic device 100 and cannot be separated from the first electronic device 100.
第一电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明第一电子设备100的软件结构。The software system of the first electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the first electronic device 100 by way of example.
参见图3,图3是本申请实施例提供的第一电子设备的软件结构框图。Refer to FIG. 3, which is a block diagram of the software structure of the first electronic device according to an embodiment of the present application.
如图3所示,分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些可行的实施方式中,可将安卓系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。As shown in Figure 3, the layered architecture divides the software into several layers, each with a clear role and division of labor. Communication between layers through software interface. In some feasible implementation manners, the Android system can be divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图3所示,应用程序包可以包括蓝牙,设备管理应用(具备设备管理功能的应用),导航,地图,WLAN,短消息,图库,日历,通话等应用程序(application,APP)。As shown in FIG. 3, the application package may include Bluetooth, device management application (application with device management function), navigation, map, WLAN, short message, gallery, calendar, call and other applications (application, APP).
应用程序框架层为应用程序层的应用程序提供应用编程接口和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides application programming interfaces and programming frameworks for applications in the application layer. The application framework layer includes some predefined functions.
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 3, the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。The window manager is used to manage window programs. The window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。上述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。The content provider is used to store and retrieve data and make these data accessible to applications. The above-mentioned data can include videos, images, audios, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls that display text, controls that display pictures, and so on. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
电话管理器用于提供第一电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。The phone manager is used to provide the communication function of the first electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话界面形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, and so on. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialogue interface. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程 管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in a virtual machine. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。The system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
2D图形引擎是2D绘图的绘图引擎。The 2D graphics engine is a drawing engine for 2D drawing.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
参见图4,图4是本申请实施例提供的第一电子设备的另一种结构示意图。图4所示的第一电子设备可以为智能手表。Referring to FIG. 4, FIG. 4 is a schematic diagram of another structure of the first electronic device according to an embodiment of the present application. The first electronic device shown in FIG. 4 may be a smart watch.
如图4所示,第一电子设备100可以包括处理器1001、存储器1002、收发器1003、触控屏1004以及总线系统1005。其中,上述处理器1001、存储器1002、收发器1003以及触控屏1004通过总线系统1005连接。As shown in FIG. 4, the first electronic device 100 may include a processor 1001, a memory 1002, a transceiver 1003, a touch screen 1004, and a bus system 1005. The aforementioned processor 1001, memory 1002, transceiver 1003, and touch screen 1004 are connected through a bus system 1005.
上述处理器1001可以包括一个或多个处理单元,用于控制第一电子设备100的操作。例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,控制器,DSP和/或基带处理器。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The aforementioned processor 1001 may include one or more processing units for controlling the operation of the first electronic device 100. For example, the processor 110 may include an application processor (application processor, AP), a modem processor, a controller, a DSP, and/or a baseband processor. Among them, the different processing units may be independent devices or integrated in one or more processors.
上述存储器1002,用于存储指令和数据。在一些可行的实施方式中,存储器1002为高速缓冲存储器。该存储器1002可以保存处理器1001刚用过或循环使用的指令或数据。如果处理器1001需要再次使用该指令或数据,可从存储器1002中直接调用。避免了重复存取,减少了处理器1001的等待时间,因而提高了系统的效率。The aforementioned memory 1002 is used to store instructions and data. In some feasible implementations, the memory 1002 is a cache memory. The memory 1002 can store instructions or data that have just been used or recycled by the processor 1001. If the processor 1001 needs to use the instruction or data again, it can be directly called from the memory 1002. Repeated access is avoided, the waiting time of the processor 1001 is reduced, and the efficiency of the system is improved.
上述收发器1003用于发射或接收无线信号(在本申请实施例中指蓝牙信号)。该收发器1003可以包括一个或多个天线(或天线阵列)和无线通信模块。无线通信模块可以提供应用在第一电子设备100上的包括WLAN如Wi-Fi网络,蓝牙,GNSS,FM,NFC,IR等无线通信的解决方案。无线通信模块可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块经由天线接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器1001。无线通信模块还可以从处理器1001接收待发送的信号,对其进行调频,放大,经天线转为电磁波辐射出去。The above-mentioned transceiver 1003 is used to transmit or receive wireless signals (referred to as Bluetooth signals in this embodiment of the present application). The transceiver 1003 may include one or more antennas (or antenna arrays) and wireless communication modules. The wireless communication module can provide a wireless communication solution including WLAN, such as Wi-Fi network, Bluetooth, GNSS, FM, NFC, IR, etc., applied on the first electronic device 100. The wireless communication module may be one or more devices integrating at least one communication processing module. The wireless communication module receives electromagnetic waves via an antenna, modulates the frequency of the electromagnetic wave signals and filters them, and sends the processed signals to the processor 1001. The wireless communication module can also receive the signal to be sent from the processor 1001, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna.
上述触控屏1004,用于检测作用于其上或附近的触摸操作,比如用户的点击、长按、滑动等操作。The above-mentioned touch screen 1004 is used to detect touch operations acting on or near it, such as a user's click, long press, and slide operations.
具体的应用中,第一电子设备100的各个组件通过总线系统1005耦合在一起,其中总线系统1005除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图4中将各种总线都标为总线系统1005。为便于表示,图4中仅是示意性画出。In a specific application, the various components of the first electronic device 100 are coupled together through a bus system 1005, where the bus system 1005 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clear description, various buses are marked as the bus system 1005 in FIG. 4. For ease of presentation, FIG. 4 is only schematically drawn.
为便于理解本申请实施例的定位交互方法,下面对本申请实施例提供的定位交互方法中涉及的到达角AoA测向算法、出发角AoD测向算法以及信号强度(received signal strength indicator,RSSI)测距算法进行简单介绍。In order to facilitate the understanding of the positioning interaction method in the embodiment of this application, the following is the measurement of the arrival angle AoA direction finding algorithm, the departure angle AoD direction finding algorithm, and the signal strength (received signal strength indicator, RSSI) involved in the positioning interaction method provided in the embodiment of this application. A brief introduction to the distance algorithm.
一、到达角AoA测向算法1. AoA direction finding algorithm for angle of arrival
AoA测向算法主要为当信号穿过接收机的天线阵列时,接收机的天线阵列从不同的角度和方向接收该传输信号,由于每个天线接收到的传输信号存在相位差,通过该相位差可以推算出该传输信号的入射角。The AoA direction finding algorithm is mainly when the signal passes through the antenna array of the receiver, the antenna array of the receiver receives the transmission signal from different angles and directions. Because the transmission signal received by each antenna has a phase difference, the phase difference The incident angle of the transmission signal can be calculated.
参见图5a,图5a是本申请实施例提供的AoA定位的示意图。如图5a所示,发射机(transmitter)为单天线,接收机(receiver)为多天线。假设接收机有两个间距为d的天线A 0和A 1,接收到的电磁波为平面波,到达角为θ。以天线A 1为参考天线,在8μs的参考时间(reference period)内对接收信号
Figure PCTCN2020122984-appb-000001
进行锁频,产生一个与之相干的本振信号
Figure PCTCN2020122984-appb-000002
由于到达天线A 0的信号比到达A 1的信号晚Δt,所以天线A 0接收到的信号为
Figure PCTCN2020122984-appb-000003
用本振信号解调的
Figure PCTCN2020122984-appb-000004
则到达角可以表示为:
Referring to Fig. 5a, Fig. 5a is a schematic diagram of AoA positioning provided by an embodiment of the present application. As shown in Figure 5a, the transmitter (transmitter) is a single antenna, and the receiver (receiver) is a multi-antenna. Assuming that the receiver has two antennas A 0 and A 1 separated by d, the received electromagnetic wave is a plane wave, and the angle of arrival is θ. Taking antenna A 1 as the reference antenna, the received signal is received within a reference period of 8 μs.
Figure PCTCN2020122984-appb-000001
Perform frequency lock to generate a coherent local oscillator signal
Figure PCTCN2020122984-appb-000002
Since the signal arriving at antenna A 0 is Δt later than the signal arriving at A 1 , the signal received by antenna A 0 is
Figure PCTCN2020122984-appb-000003
Demodulated with local oscillator signal
Figure PCTCN2020122984-appb-000004
Then the angle of arrival can be expressed as:
Figure PCTCN2020122984-appb-000005
Figure PCTCN2020122984-appb-000005
可以理解的,以上描述是为了便于对AoA测向算法的理解而做的示例性描述,实际中为了提高到达角的估计精度,还可以配备多个天线,天线阵列的排列方式例如可以为一字形、环形、球形等,相应的达到角的计算方法也更为复杂。对于采用不同排列方式的天线阵列对应的到达角的计算方法可以参见现有的计算方法,此处不再赘述。It is understandable that the above description is an exemplary description to facilitate the understanding of the AoA direction finding algorithm. In practice, in order to improve the estimation accuracy of the angle of arrival, multiple antennas can be equipped, and the antenna array can be arranged in a line, for example. , Ring, sphere, etc., the corresponding calculation method of reaching angle is also more complicated. For the calculation method of the angle of arrival corresponding to the antenna arrays with different arrangements, reference may be made to the existing calculation method, which is not repeated here.
二、出发角AoD测向算法2. AoD direction finding algorithm for departure angle
AoD测向算法与AoA测向算法相反,主要通过发射机利用多个天线发射信号,接收机通过接收到的传输信号的相位差推算传输信号从发射机发出的角度。The AoD direction finding algorithm is opposite to the AoA direction finding algorithm. The transmitter uses multiple antennas to transmit signals, and the receiver uses the phase difference of the received transmission signal to calculate the angle of the transmission signal from the transmitter.
参见图5b,图5b是本申请实施例提供的AoD定位的示意图。如图5b所示,发射机(transmitter)为多天线,接收机(receiver)为单天线。假设发射机有两个间距为d的天线A 0’和A 1’,发射信号的相位差为ψ,接收到的电磁波为平面波,波长为λ,则出发角可以表示为: Refer to Fig. 5b, which is a schematic diagram of AoD positioning provided by an embodiment of the present application. As shown in Figure 5b, the transmitter (transmitter) is a multi-antenna, and the receiver (receiver) is a single antenna. Assuming that the transmitter has two antennas A 0 'and A 1 ' separated by d, the phase difference of the transmitted signal is ψ, the received electromagnetic wave is a plane wave, and the wavelength is λ, the departure angle can be expressed as:
θ=arcsin((ψλ)/2πd),(1-2)θ=arcsin((ψλ)/2πd), (1-2)
三、信号强度RSSI测距算法3. Signal strength RSSI ranging algorithm
无线信号传播模型主要有自由空间模型和对数路径损耗模型。以自由空间模型为例,无线信号在自由空间传播一段距离后,信号功率会衰减。假设发射机和接收机之间的距离为d、单位为米,发射机功率为P t,距发射机d处的接收功率为Pr(d),发射天线增益为G t,接收天线增益为G r,与传播无关的系统损耗因子为L,无线信号的波长为λ,单位为米。Pr(d)可以表示为: Wireless signal propagation models mainly include free space model and logarithmic path loss model. Take the free space model as an example. After a wireless signal propagates in free space for a certain distance, the signal power will attenuate. Suppose the distance between the transmitter and the receiver is d, the unit is meter, the transmitter power is P t , the received power at d from the transmitter is Pr(d), the transmitting antenna gain is G t , and the receiving antenna gain is G r , the system loss factor that has nothing to do with propagation is L, the wavelength of the wireless signal is λ, and the unit is meter. Pr(d) can be expressed as:
Pr(d)=P tG tG rL(λ 2/((4π) 2d 2)),(1-3) Pr(d)=P t G t G r L(λ 2 /((4π) 2 d 2 )), (1-3)
由公式(1-3)可知,在自由空间中,接收功率Pr(d)随发射机与接收机距离d的平方衰减。因此,通过测量接收信号的强度(即接收功率Pr(d)),再利用公式(1-3)就可以计算出发射机与接收机之间的距离d。According to formula (1-3), in free space, the received power Pr(d) attenuates with the square of the distance d between the transmitter and the receiver. Therefore, by measuring the strength of the received signal (ie, the received power Pr(d)), and then using formula (1-3), the distance d between the transmitter and the receiver can be calculated.
上述内容简要阐述了AoA测向算法、AoD测向算法以及RSSI测距算法,下面将结合附图6-附图9对本申请实施例提供的定位交互方法进行详细说明。The above content briefly describes the AoA direction finding algorithm, the AoD direction finding algorithm, and the RSSI ranging algorithm. The positioning interaction method provided by the embodiment of the present application will be described in detail below with reference to FIG. 6 to FIG. 9.
本申请实施例的定位交互方法可适用于一个或多个电子设备的定位场景中。为便于描述,下面仅以一个电子设备定位另一个电子设备为例进行说明。可理解的,一个电子设备还可以同时定位多个其他电子设备。The positioning interaction method of the embodiment of the present application may be applicable to the positioning scenario of one or more electronic devices. For ease of description, the following only takes one electronic device to locate another electronic device as an example for description. It is understandable that one electronic device can also locate multiple other electronic devices at the same time.
参见图6,图6是本申请实施例提供的定位交互方法的流程示意图。图6示出了第一电子设备100与第二电子设备200之间的定位交互以及第一电子设备100的内部数据处理过程。如图6所示,本申请实施例提供的定位交互方法包括但不限于如下步骤:Refer to FIG. 6, which is a schematic flowchart of a positioning interaction method provided by an embodiment of the present application. FIG. 6 shows the positioning interaction between the first electronic device 100 and the second electronic device 200 and the internal data processing process of the first electronic device 100. As shown in FIG. 6, the positioning interaction method provided by the embodiment of the present application includes but is not limited to the following steps:
S1,用户在第一电子设备100上通过一次或多次操作打开设备管理界面。S1, the user opens the device management interface through one or more operations on the first electronic device 100.
S2,第一电子设备显示设备管理界面。S2, the first electronic device displays a device management interface.
S3,第一电子设备100接收用户在设备管理界面上选中的电子设备并将用户选中的电子设备确定为第二电子设备200。S3: The first electronic device 100 receives the electronic device selected by the user on the device management interface and determines the electronic device selected by the user as the second electronic device 200.
S4,第一电子设备100通过蓝牙与第二电子设备200建立连接。S4, the first electronic device 100 establishes a connection with the second electronic device 200 via Bluetooth.
S5,第二电子设备200通过蓝牙向第一电子设备100传输设备参数。相应地,第一电子设备100接收设备参数。S5, the second electronic device 200 transmits device parameters to the first electronic device 100 via Bluetooth. Correspondingly, the first electronic device 100 receives device parameters.
S6,第一电子设备100响应于用户的选中操作,显示功能选项界面。S6: In response to the user's selection operation, the first electronic device 100 displays a function option interface.
S7,用户在功能选项界面上点击定位功能控件。S7, the user clicks the positioning function control on the function option interface.
S8,第一电子设备100接收用户点击定位功能控件所产生的定位指示。S8: The first electronic device 100 receives the positioning instruction generated by the user clicking the positioning function control.
S9,第一电子设备100通过蓝牙向第二电子设备200发送无线信号。S9: The first electronic device 100 sends a wireless signal to the second electronic device 200 through Bluetooth.
S10,第一电子设备响应于用户的点击操作,显示定位界面。S10: In response to the user's click operation, the first electronic device displays a positioning interface.
在一些可行的实施方式中,如果第一电子设备100为手机,第二电子设备200为智能手表,则第一电子设备100上可安装有设备管理APP。该设备管理APP可用于对支持蓝牙5.1的电子设备进行定位。该设备管理APP可以是第一电子设备100出厂时预装的,也可以是用户下载后安装的。该设备管理APP可以是第一电子设备100的厂商开发的APP,也可以是第三方厂商开发的APP。In some feasible implementation manners, if the first electronic device 100 is a mobile phone and the second electronic device 200 is a smart watch, a device management APP may be installed on the first electronic device 100. The device management APP can be used to locate electronic devices that support Bluetooth 5.1. The device management APP may be pre-installed when the first electronic device 100 leaves the factory, or it may be downloaded and installed by the user. The device management APP may be an APP developed by the manufacturer of the first electronic device 100 or an APP developed by a third-party manufacturer.
参见图7,图7是本申请实施例提供的一交互示意图。如图7所示,以第一电子设备100为手机、第二电子设备200为智能手表为例。如图7的7a所示,用户通过手指或触控笔在第一电子设备100的触摸屏上点击设备管理APP。第一电子设备响应于该用户的点击操作,启动该设备管理APP并启动蓝牙进行蓝牙搜索和配对。用户在将蓝牙搜索到的至少一个电子设备中的各个电子设备与第一电子设备100进行蓝牙配对之后,第一电子设备100在设备管理APP上显示如图7的7b所示的设备管理界面30。示例性的,该设备管理界面30上显示智能手表的图标301和/或名称302、以及平板电脑的图标303和/或名称304。用户通过手指或触控笔在该设备管理界面30上点击或选中智能手表的图标301,第一电子设备100响应于用户的点击或选中操作,显示如图7的7c所示的功能选项界面40。示例性的,该功能选项界面40上显示智能手表200的定位功能控件401、测心率功能控件402、测睡眠质量功能控件403等。用户通过手指或触控笔在该功能选项界面40上点击定位功能控件401,第一电子设备100响应于用户的点击操作,显示如图7的7d所示的定位界面50。示例性的,该定位界面50上显示以手机100的当前位置为中心O的雷达图501,该雷达图 501上可显示智能手表200相对于手机100的位置。该雷达图501上还可以显示距离刻度线(单位为米(m))和方向(如东西南北或前后左右)。该雷达图上还可以显示方向箭头502。用户可以通过查看定位界面50上智能手表200相对于手机100的位置找到智能手表200,从而使用户能够更快速准确的找到丢失的设备。Refer to FIG. 7, which is a schematic diagram of interaction provided by an embodiment of the present application. As shown in FIG. 7, the first electronic device 100 is a mobile phone and the second electronic device 200 is a smart watch as an example. As shown in 7a of FIG. 7, the user taps the device management APP on the touch screen of the first electronic device 100 with a finger or a stylus pen. In response to the user's click operation, the first electronic device starts the device management APP and starts Bluetooth to perform Bluetooth search and pairing. After the user performs Bluetooth pairing of each of the at least one electronic device searched by Bluetooth with the first electronic device 100, the first electronic device 100 displays the device management interface 30 as shown in 7b of FIG. 7 on the device management APP. . Exemplarily, the icon 301 and/or name 302 of the smart watch and the icon 303 and/or name 304 of the tablet computer are displayed on the device management interface 30. The user clicks or selects the icon 301 of the smart watch on the device management interface 30 with a finger or a stylus. In response to the user's click or selection operation, the first electronic device 100 displays the function option interface 40 as shown in 7c of FIG. 7 . Exemplarily, the positioning function control 401, the heart rate measurement function control 402, the sleep quality measurement function control 403, etc. of the smart watch 200 are displayed on the function option interface 40. The user clicks the positioning function control 401 on the function option interface 40 with a finger or a stylus. In response to the user's click operation, the first electronic device 100 displays the positioning interface 50 as shown in 7d of FIG. 7. Exemplarily, a radar chart 501 with the current position of the mobile phone 100 as the center O is displayed on the positioning interface 50, and the position of the smart watch 200 relative to the mobile phone 100 can be displayed on the radar chart 501. The radar chart 501 can also display distance scale lines (in meters (m)) and directions (such as east, west, south, north, or front, back, left, and right). Directional arrows 502 may also be displayed on the radar chart. The user can find the smart watch 200 by viewing the position of the smart watch 200 on the positioning interface 50 relative to the mobile phone 100, so that the user can find the lost device more quickly and accurately.
可选的,如果用户在第一电子设备100上点击设备管理APP之前,用户已经通过第一电子设备100上的设置图标或状态栏打开蓝牙进行蓝牙搜索和配对,则第一电子设备100响应于用户的点击操作时,仅启动设备管理APP并显示设备管理界面。可选的,如果某个电子设备与第一电子设备已经蓝牙配对成功过一次,则用户打开蓝牙后,这个电子设备不会再与第一电子设备进行蓝牙配对。因此,蓝牙配对只配对一次,后续可以直接使用。Optionally, if the user has turned on Bluetooth to perform Bluetooth search and pairing through the setting icon or status bar on the first electronic device 100 before the user clicks the device management APP on the first electronic device 100, the first electronic device 100 responds When the user clicks, only the device management APP is started and the device management interface is displayed. Optionally, if a certain electronic device and the first electronic device have been successfully paired with Bluetooth once, after the user turns on the Bluetooth, the electronic device will no longer perform Bluetooth pairing with the first electronic device. Therefore, Bluetooth pairing is only paired once and can be used directly later.
在一些可行的实施方式中,如果第一电子设备100为智能手表,第二电子设备200为手机,则第一电子设备100具有设备管理功能。In some feasible implementation manners, if the first electronic device 100 is a smart watch and the second electronic device 200 is a mobile phone, the first electronic device 100 has a device management function.
参见图8,图8是本申请实施例提供的另一交互示意图。如图8所示,以第一电子设备100为智能手表、第二电子设备200为手机为例。如图8的8a所示,用户在第一电子设备100的触摸屏上进行一次或多次左右滑动,以切换至如图8的8b所示的设备管理界面60。示例性的,该设备管理界面60上显示手机的图标601和/或名称602。用户通过手指或触控笔在该设备管理界面60上点击或选中手机的图标601,第一电子设备100响应于用户的点击或选中操作,显示如图8的8c所示的功能选项界面70。示例性的,该功能选项界面70上显示手机200的定位功能控件701。用户通过手指或触控笔在该功能选项界面70上点击定位功能控件701,第一电子设备100响应于用户的点击操作,显示如图8的8d所示的定位界面80。示例性的,该定位界面80上显示以智能手表100的当前位置为中心O的雷达图801,该雷达图801上可显示手机200相对于智能手表100的位置。该雷达图801上还可以显示距离刻度线和方向(如东(E)西(W)南(S)北(N)或前后左右)。该雷达图上还可以显示方向箭头802。用户可以通过查看定位界面80上手机200相对于智能手表100的位置找到手机200,从而使用户能够更快速准确的找到丢失的设备。Refer to FIG. 8, which is another schematic diagram of interaction provided by an embodiment of the present application. As shown in FIG. 8, the first electronic device 100 is a smart watch and the second electronic device 200 is a mobile phone as an example. As shown in 8a of FIG. 8, the user slides one or more left and right on the touch screen of the first electronic device 100 to switch to the device management interface 60 as shown in 8b of FIG. 8. Exemplarily, the icon 601 and/or the name 602 of the mobile phone are displayed on the device management interface 60. The user clicks or selects the icon 601 of the mobile phone on the device management interface 60 with a finger or a stylus. In response to the user's click or selection operation, the first electronic device 100 displays a function option interface 70 as shown in 8c of FIG. 8. Exemplarily, the positioning function control 701 of the mobile phone 200 is displayed on the function option interface 70. The user clicks the positioning function control 701 on the function option interface 70 with a finger or a stylus. In response to the user's click operation, the first electronic device 100 displays the positioning interface 80 as shown in 8d of FIG. 8. Exemplarily, the positioning interface 80 displays a radar chart 801 with the current position of the smart watch 100 as the center O, and the radar chart 801 can display the position of the mobile phone 200 relative to the smart watch 100. The radar chart 801 can also display distance scale lines and directions (such as east (E), west (W), south (S), north (N), or front, back, left, and right). Directional arrows 802 can also be displayed on the radar chart. The user can find the mobile phone 200 by viewing the position of the mobile phone 200 relative to the smart watch 100 on the positioning interface 80, so that the user can find the lost device more quickly and accurately.
其中,上述图7或图8中的各种界面仅是示例性的描述,在实际应用中,图7或图8中的各种界面还可包括更多内容,在此不进行展开说明。Among them, the various interfaces in FIG. 7 or FIG. 8 are only exemplary descriptions. In practical applications, the various interfaces in FIG. 7 or FIG. 8 may further include more content, which will not be explained here.
在一些可行的实施方式中,用户可以在第一电子设备100上打开蓝牙。第一电子设备100通过蓝牙搜索附近可用的电子设备,并可以与搜索到的至少一个电子设备中的各个电子设备进行蓝牙配对。可选的,以一次配对过程为例,第一电子设备可以针对该至少一个电子设备中的电子设备i生成一个蓝牙配对码,并向该电子设备i发送该蓝牙配对码,以实现蓝牙配对。用户可以在第一电子设备100上进行一次或多次操作,以打开设备管理界面。第一电子设备响应于用户的操作显示该设备管理界面。该设备管理界面上可以显示与第一电子设备100通过蓝牙配对成功的至少一个电子设备。In some feasible implementation manners, the user can turn on Bluetooth on the first electronic device 100. The first electronic device 100 searches for electronic devices available nearby through Bluetooth, and can perform Bluetooth pairing with each of the at least one electronic device found. Optionally, taking a pairing process as an example, the first electronic device may generate a Bluetooth pairing code for the electronic device i of the at least one electronic device, and send the Bluetooth pairing code to the electronic device i to realize Bluetooth pairing. The user can perform one or more operations on the first electronic device 100 to open the device management interface. The first electronic device displays the device management interface in response to the user's operation. The device management interface may display at least one electronic device successfully paired with the first electronic device 100 via Bluetooth.
用户可以在设备管理界面上选中(比如点击、长按等)需要查找的电子设备。第一电子设备100可以将用户选中的电子设备确定为第二电子设备200,并可以通过蓝牙与第二电子设备200建立连接。可选的,第一电子100和第二电子设备200通过蓝牙建立连接后,才能通过蓝牙传输数据。可选的,第一电子设备100通过蓝牙与第二电子设备200建立连接之后,第二电子设备200可以通过蓝牙向第一电子设备100传输设备参数。相应地,第 一电子设备100通过蓝牙接收该设备参数,并可以将该设备参数存储下来。第一电子设备100响应于用户的选中操作,可以基于该设备参数显示功能选项界面。该设备参数中可以包括第二电子设备200的标识、名称、电量以及功能参数(比如定位功能)等。该功能选项界面上可以至少显示第二电子设备200的定位功能控件。The user can select (for example, click, long press, etc.) the electronic device to be searched on the device management interface. The first electronic device 100 may determine the electronic device selected by the user as the second electronic device 200, and may establish a connection with the second electronic device 200 via Bluetooth. Optionally, after the first electronic device 100 and the second electronic device 200 establish a connection via Bluetooth, data can be transmitted via Bluetooth. Optionally, after the first electronic device 100 establishes a connection with the second electronic device 200 via Bluetooth, the second electronic device 200 may transmit device parameters to the first electronic device 100 via Bluetooth. Correspondingly, the first electronic device 100 receives the device parameters via Bluetooth, and can store the device parameters. In response to the user's selection operation, the first electronic device 100 may display a function option interface based on the device parameters. The device parameters may include the identification, name, power, and functional parameters (such as positioning function) of the second electronic device 200. At least the positioning function control of the second electronic device 200 can be displayed on the function option interface.
用户可以在功能选项界面上点击定位功能控件,即用户在功能选项界面上选中定位功能。第一电子设备100可以接收用户在功能选项界面上的点击定位功能控件所产生的定位指示。第一电子设备100可以通过蓝牙向第二电子设备200发送无线信号,并可以基于AoA测向算法或AoD测向算法计算第二电子设备200相对于第一电子设备100的方向角度。第一电子设备还可以基于信号强度测距算法计算第二电子设备200与第一电子设备100之间的距离。第一电子设备100响应于用户的点击操作,显示定位界面。该定位界面上可以显示以第一电子设备100的当前位置为中心的雷达图,该雷达图上可以显示第二电子设备200相对于第一电子设备100的位置。该雷达图上还可以显示距离刻度线和方向,比如东西南北(通过磁力计确定东西南北方向)、前后左右等。第二电子设备200相对于第一电子设备100的位置包括第二电子设备200与第一电子设备100之间的距离、以及第二电子设备200相对于第一电子设备100的方向角度。The user can click the positioning function control on the function option interface, that is, the user selects the positioning function on the function option interface. The first electronic device 100 may receive the positioning instruction generated by the user clicking the positioning function control on the function option interface. The first electronic device 100 may send a wireless signal to the second electronic device 200 via Bluetooth, and may calculate the direction angle of the second electronic device 200 relative to the first electronic device 100 based on the AoA direction finding algorithm or the AoD direction finding algorithm. The first electronic device may also calculate the distance between the second electronic device 200 and the first electronic device 100 based on the signal strength ranging algorithm. The first electronic device 100 displays a positioning interface in response to the user's click operation. A radar chart centered on the current position of the first electronic device 100 can be displayed on the positioning interface, and the position of the second electronic device 200 relative to the first electronic device 100 can be displayed on the radar chart. The radar chart can also display distance scale lines and directions, such as east-west, north-south (determining the east-west, north-south direction by a magnetometer), front, back, left, and right. The position of the second electronic device 200 relative to the first electronic device 100 includes the distance between the second electronic device 200 and the first electronic device 100 and the direction angle of the second electronic device 200 relative to the first electronic device 100.
其中,如果第一电子设备100为单天线,则采用AoA测向算法计算第二电子设备200相对于第一电子设备100的方向角度;如果第一电子设备100为多天线,则采用AoD测向算法计算第二电子设备200相对于第一电子设备100的方向角度。可选的,第二电子设备200通过蓝牙接收到第一电子设备100发送的无线信号之后,可以测量接收到的无线信号的接收功率(或强度),并向第一电子设备100返回该接收功率(或强度)。第一电子设备100基于该接收功率(或强度),采用信号强度测距算法可以计算出第二电子设备200与第一电子设备100之间的距离。Among them, if the first electronic device 100 is a single antenna, the AoA direction finding algorithm is used to calculate the direction angle of the second electronic device 200 relative to the first electronic device 100; if the first electronic device 100 is multiple antennas, then AoD direction finding is used The algorithm calculates the direction angle of the second electronic device 200 relative to the first electronic device 100. Optionally, after the second electronic device 200 receives the wireless signal sent by the first electronic device 100 via Bluetooth, it can measure the received power (or strength) of the received wireless signal, and return the received power to the first electronic device 100 (Or intensity). Based on the received power (or intensity), the first electronic device 100 can calculate the distance between the second electronic device 200 and the first electronic device 100 by using a signal strength ranging algorithm.
作为一个可选的实施例,本申请实施例提供的定位交互方法还可以包括:As an optional embodiment, the positioning interaction method provided in the embodiment of the present application may further include:
S11,当第一电子设备100移动时,第一电子设备100更新定位界面上显示的雷达图中第二电子设备200相对于第一电子设备100的位置。S11: When the first electronic device 100 moves, the first electronic device 100 updates the position of the second electronic device 200 relative to the first electronic device 100 in the radar chart displayed on the positioning interface.
在一些可行的实施方式中,用户携带第一电子设备100进行移动,当第一电子设备100在移动时,第一电子设备100重新计算第二电子设备200相对于第一电子设备100的位置,并更新上述定位界面中第二电子设备200相对于第一电子设备100的位置。In some feasible implementation manners, the user carries the first electronic device 100 for movement. When the first electronic device 100 is moving, the first electronic device 100 recalculates the position of the second electronic device 200 relative to the first electronic device 100. And update the position of the second electronic device 200 relative to the first electronic device 100 in the above-mentioned positioning interface.
参见图9,图9是本申请实施例提供的定位界面更新示意图。如图9所示,以第一电子设备100为手机、第二电子设备200为智能手表为例。步骤S10显示的定位界面50如图9的9a所示。当用户携带第一电子设备100移动时,第一电子设备更新后的定位界面50如图9的9b所示。Refer to FIG. 9, which is a schematic diagram of updating a positioning interface according to an embodiment of the present application. As shown in FIG. 9, the first electronic device 100 is a mobile phone and the second electronic device 200 is a smart watch as an example. The positioning interface 50 displayed in step S10 is as shown in 9a of FIG. 9. When the user carries the first electronic device 100 and moves, the updated positioning interface 50 of the first electronic device is as shown in 9b of FIG. 9.
S12,第一电子设备100根据第一电子设备100与第二电子设备200之间的距离进行震动和/或发出铃声。S12, the first electronic device 100 vibrates and/or emits a ringtone according to the distance between the first electronic device 100 and the second electronic device 200.
在一些可行的实施方式中,由于用户携带第一电子设备100进行移动,并且在移动过程中,第一电子设备100与第二电子设备200之间的距离发生变化。故,当第一电子设备100在移动过程中与第二电子设备200之间的距离小于或等于预设的第一阈值时,第一电 子设备100可以以第一震动频率进行震动。当第一电子设备100在移动过程中与第二电子设备200之间的距离小于或等于预设的第二阈值时,第一电子设备100可以以第二震动频率进行震动。其中,该第一阈值可以大于该第二阈值,该第一震动频率可以小于该第二震动频率。本申请实施例在距离越远时,震动频率越低;距离越近时,震动频率越高,以此向用户传递距离远近的信息。In some feasible implementation manners, since the user carries the first electronic device 100 for movement, and during the movement, the distance between the first electronic device 100 and the second electronic device 200 changes. Therefore, when the distance between the first electronic device 100 and the second electronic device 200 during the movement is less than or equal to the preset first threshold, the first electronic device 100 can vibrate at the first vibration frequency. When the distance between the first electronic device 100 and the second electronic device 200 during the movement is less than or equal to the preset second threshold, the first electronic device 100 may vibrate at the second vibration frequency. Wherein, the first threshold may be greater than the second threshold, and the first vibration frequency may be less than the second vibration frequency. In the embodiments of the present application, when the distance is farther, the vibration frequency is lower; when the distance is closer, the vibration frequency is higher, so as to convey information about the distance to the user.
可选的,当第一电子设备100在移动过程中与第二电子设备200之间的距离小于或等于预设的第一阈值时,第一电子设备100可以发出第一铃声。当第一电子设备100在移动过程中与第二电子设备200之间的距离小于或等于预设的第二阈值时,第一电子设备100可以发出第二铃声。其中,该第一阈值可以大于该第二阈值,该第一铃声的音效可以较舒缓,该第二铃声的音效可以较急促。例如,当用户携带的第一电子设备100与第二电子设备200之间的距离较远时,第一电子设备100发出低频率的滴答声,随着第一电子设备100与第二电子设备200之间的距离变近,滴答声越来越急促。Optionally, when the distance between the first electronic device 100 and the second electronic device 200 during the movement is less than or equal to a preset first threshold, the first electronic device 100 may emit a first ringtone. When the distance between the first electronic device 100 and the second electronic device 200 during the movement is less than or equal to the preset second threshold, the first electronic device 100 may emit a second ringtone. Wherein, the first threshold value may be greater than the second threshold value, the sound effect of the first ringtone may be more soothing, and the sound effect of the second ringtone may be more rapid. For example, when the distance between the first electronic device 100 and the second electronic device 200 carried by the user is far, the first electronic device 100 emits a low-frequency ticking sound. The distance between them is getting closer, and the ticking sound is getting faster and faster.
可选的,第一电子设备100与第二电子设备200之间的距离发生变化时,第一电子设备100可以同时震动和响铃。Optionally, when the distance between the first electronic device 100 and the second electronic device 200 changes, the first electronic device 100 can vibrate and ring at the same time.
作为另一个可选的实施例,为进一步方便用户查找到第二电子设备,本申请实施例提供的定位交互方法还可以包括:上述雷达图上还可以显示参考电子设备相对于第一电子设备100之间的位置,该参考电子设备可以为处于相对固定位置的电子设备,比如冰箱、空调、电视等不易移动的电子设备。第一电子设备100可以与蓝牙配对成功的至少一个电子设备中除第二电子设备外的各个电子设备建立蓝牙连接。为便于描述,下面将以至少一个电子设备中包括电子设备i、电子设备j以及第二电子设备为例进行说明。第一电子设备100可以通过蓝牙分别向电子设备i和j发送无线信号。第一电子设备100可以采用AoA测向算法或AoD测向算法以及信号强度测距算法获取电子设备i相对于第一电子设备100的位置(包括方向角度和距离)。第一电子设备100可以采用AoA测向算法或AoD测向算法以及信号强度测距算法获取电子设备j相对于第一电子设备100的位置(包括方向角度和距离)。第一电子设备100计算电子设备i相对于第一电子设备100的位置与第二电子设备200相对于第一电子设备100的位置之间的距离差S i和方向角度差θ i。第一电子设备100计算电子设备j相对于第一电子设备100的位置与第二电子设备200相对于第一电子设备100的位置之间的距离差S j和方向角度差θ j。第一电子设备100根据距离差S i、距离差S j、方向角度差θ i以及方向角度差θ j,从电子设备i和j中确定出参考电子设备。该参考电子设备相对于第一电子设备100的位置与第二电子设备200相对于第一电子设备100的位置之间的方向角度差最小和/或距离差最小。第一电子设备100在定位界面的雷达图上显示参考电子设备相对于第一电子设备100之间的位置,以进一步方便用户查找到第二电子设备。 As another optional embodiment, in order to further facilitate the user to find the second electronic device, the positioning interaction method provided in the embodiment of the present application may further include: the above-mentioned radar chart may also display that the reference electronic device is relative to the first electronic device 100 The reference electronic device may be an electronic device in a relatively fixed position, such as a refrigerator, an air conditioner, a TV, and other electronic devices that are not easy to move. The first electronic device 100 can establish a Bluetooth connection with each of the at least one electronic device successfully paired with Bluetooth except for the second electronic device. For ease of description, the following will take at least one electronic device including electronic device i, electronic device j, and second electronic device as an example for description. The first electronic device 100 may send wireless signals to the electronic devices i and j via Bluetooth, respectively. The first electronic device 100 may use the AoA direction finding algorithm or the AoD direction finding algorithm and the signal strength ranging algorithm to obtain the position (including the direction angle and the distance) of the electronic device i relative to the first electronic device 100. The first electronic device 100 may use the AoA direction finding algorithm or the AoD direction finding algorithm and the signal strength ranging algorithm to obtain the position (including the direction angle and the distance) of the electronic device j relative to the first electronic device 100. The first electronic device 100 calculates the position of the electronic device i with respect to the first electronic device 100 and the second electronic device 200 with respect to the difference between S i and the angular distance between the position of the direction of the first electronic device 100 difference θ i. The first electronic device 100 calculates the distance difference S j and the direction angle difference θ j between the position of the electronic device j relative to the first electronic device 100 and the position of the second electronic device 200 relative to the first electronic device 100. The first electronic device 100 determines the reference electronic device from the electronic devices i and j according to the distance difference S i , the distance difference S j , the direction angle difference θ i and the direction angle difference θ j. The position of the reference electronic device relative to the first electronic device 100 and the position of the second electronic device 200 relative to the first electronic device 100 have the smallest directional angle difference and/or the smallest distance difference. The first electronic device 100 displays the position of the reference electronic device relative to the first electronic device 100 on the radar chart of the positioning interface, so as to further facilitate the user to find the second electronic device.
在本申请实施例中,用户先将支持蓝牙5.1的至少一个电子设备注册到第一电子设备中(即进行蓝牙配对),当用户想要进行设备查询时,在第一电子设备显示的设备管理界面上选中查询的电子设备(即第二电子设备),然后第一电子设备显示第二电子设备对应的功能选项界面。用户在该功能选项界面上选中定位功能控件,第一电子设备显示定位界面。该定位界面显示以该第一电子设备的当前位置为中心的雷达图,该雷达图上显示该第二电 子设备相对于该第一电子设备的位置。可以实现小范围内(如厘米级位置精度)的定位,能够更快速准确的找到丢失的设备。In the embodiment of this application, the user first registers at least one electronic device that supports Bluetooth 5.1 to the first electronic device (that is, performs Bluetooth pairing). When the user wants to perform a device query, the device management displayed on the first electronic device The inquired electronic device (ie, the second electronic device) is selected on the interface, and then the first electronic device displays the function option interface corresponding to the second electronic device. The user selects the positioning function control on the function option interface, and the first electronic device displays the positioning interface. The positioning interface displays a radar chart centered on the current position of the first electronic device, and the radar chart displays the position of the second electronic device relative to the first electronic device. It can realize the positioning in a small range (such as centimeter-level position accuracy), and find the lost equipment more quickly and accurately.
本申请的各实施方式可以任意进行组合,以实现不同的技术效果。The various embodiments of the present application can be combined arbitrarily to achieve different technical effects.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk)等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in this application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium, (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).
总之,以上所述仅为本申请技术方案的实施例而已,并非用于限定本申请的保护范围。凡根据本申请的揭露,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In short, the above descriptions are only examples of the technical solutions of the present application, and are not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of this application shall be included in the protection scope of this application.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (12)

  1. 一种定位交互方法,其特征在于,包括:A positioning interaction method, characterized in that it comprises:
    第一电子设备显示设备管理界面,所述设备管理界面上显示与所述第一电子设备通过蓝牙配对成功的至少一个电子设备;The first electronic device displays a device management interface, and at least one electronic device successfully paired with the first electronic device via Bluetooth is displayed on the device management interface;
    所述第一电子设备根据用户在所述设备管理界面上的选中操作,从所述至少一个电子设备中确定出所述用户选中的第二电子设备,并通过蓝牙与所述第二电子设备建立连接;The first electronic device determines the second electronic device selected by the user from the at least one electronic device according to the user's selection operation on the device management interface, and establishes with the second electronic device via Bluetooth connection;
    所述第一电子设备显示功能选项界面,所述功能选项界面上至少显示所述第二电子设备的定位功能;The first electronic device displays a function option interface, and at least the positioning function of the second electronic device is displayed on the function option interface;
    当所述第一电子设备接收到所述用户在所述功能选项界面上选中的所述定位功能时,所述第一电子设备显示定位界面,所述定位界面上显示以所述第一电子设备的当前位置为中心的雷达图,所述雷达图上显示所述第二电子设备相对于所述第一电子设备的位置。When the first electronic device receives the positioning function selected by the user on the function option interface, the first electronic device displays a positioning interface, and the positioning interface displays the first electronic device The current position of is a centered radar chart, and the position of the second electronic device relative to the first electronic device is displayed on the radar chart.
  2. 根据权利要求1所述的方法,其特征在于,所述第一电子设备显示定位界面之后,所述方法还包括:The method according to claim 1, wherein after the first electronic device displays a positioning interface, the method further comprises:
    当所述第一电子设备移动时,所述第一电子设备更新所述定位界面上显示的雷达图中所述第二电子设备相对于所述第一电子设备的位置。When the first electronic device moves, the first electronic device updates the position of the second electronic device relative to the first electronic device in the radar chart displayed on the positioning interface.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    所述第一电子设备根据所述第一电子设备与所述第二电子设备之间的距离进行震动和/或发出铃声。The first electronic device vibrates and/or emits a ringtone according to the distance between the first electronic device and the second electronic device.
  4. 根据权利要求3所述的方法,其特征在于,所述第一电子设备根据所述第一电子设备与所述第二电子设备之间的距离进行震动或发出铃声,包括:The method according to claim 3, wherein the first electronic device vibrates or emits a ringtone according to the distance between the first electronic device and the second electronic device, comprising:
    若所述第一电子设备在移动过程中与所述第二电子设备之间的距离小于或等于预设的第一阈值,则所述第一电子设备以第一震动频率进行震动和/或发出第一铃声;If the distance between the first electronic device and the second electronic device during the movement is less than or equal to the preset first threshold, the first electronic device vibrates and/or emits at the first vibration frequency First bell
    若所述第一电子设备在移动过程中与所述第二电子设备之间的距离小于或等于预设的第二阈值,则所述第一电子设备以第二震动频率进行震动和/或发出第二铃声;If the distance between the first electronic device and the second electronic device during the movement is less than or equal to the preset second threshold, the first electronic device vibrates and/or emits at the second vibration frequency Second ringtone
    其中,所述第一阈值大于所述第二阈值,所述第一震动频率小于所述第二震动频率。Wherein, the first threshold is greater than the second threshold, and the first vibration frequency is less than the second vibration frequency.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述雷达图上还显示距离刻度线和方向,所述第二电子设备相对于所述第一电子设备的位置包括所述第二电子设备与所述第一电子设备之间的距离和所述第二电子设备相对于所述第一电子设备的方向角度。The method according to any one of claims 1-4, wherein the radar chart also displays a distance scale line and a direction, and the position of the second electronic device relative to the first electronic device includes the The distance between the second electronic device and the first electronic device and the direction angle of the second electronic device relative to the first electronic device.
  6. 根据权利要求5所述的方法,其特征在于,所述第一电子设备显示定位界面之前,所述方法还包括:The method according to claim 5, wherein before the first electronic device displays the positioning interface, the method further comprises:
    所述第一电子设备通过蓝牙向所述第二电子设备发送无线信号;Sending, by the first electronic device, a wireless signal to the second electronic device via Bluetooth;
    所述第一电子设备基于到达角测向算法或出发角测向算法测量所述第二电子设备相对 于所述第一电子设备的方向角度;Measuring, by the first electronic device, the direction angle of the second electronic device relative to the first electronic device based on an arrival angle direction finding algorithm or a departure angle direction finding algorithm;
    所述第一电子设备基于信号强度测距算法测量所述第二电子设备与所述第一电子设备之间的距离。The first electronic device measures the distance between the second electronic device and the first electronic device based on a signal strength ranging algorithm.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述第一电子设备显示功能选项界面之前,所述方法还包括:The method according to any one of claims 1 to 6, wherein before the first electronic device displays the function option interface, the method further comprises:
    所述第一电子设备接收所述第二电子设备通过蓝牙传输的设备参数,所述设备参数至少包括所述第二电子设备的定位功能。The first electronic device receives device parameters transmitted by the second electronic device via Bluetooth, and the device parameters include at least a positioning function of the second electronic device.
  8. 根据权利要求1所述的方法,其特征在于,所述第一电子设备显示设备管理界面之前,所述方法还包括:The method according to claim 1, wherein before the first electronic device displays a device management interface, the method further comprises:
    所述第一电子设备通过蓝牙进行搜索,并与搜索到的至少一个电子设备中的各个电子设备进行蓝牙配对。The first electronic device searches through Bluetooth, and performs Bluetooth pairing with each of the at least one searched electronic device.
  9. 一种电子设备,所述电子设备用作第一电子设备,包括触控屏、存储器、收发器、一个或多个处理器、多个应用程序、以及一个或多个程序;其中,所述一个或多个程序被存储在所述存储器中,所述收发器用于发射或接收无线信号;其特征在于,所述一个或多个处理器在执行所述一个或多个程序时,使得所述电子设备实现如权利要求1-8任一项所述的方法。An electronic device used as a first electronic device, including a touch screen, a memory, a transceiver, one or more processors, a plurality of application programs, and one or more programs; wherein, the one Or more programs are stored in the memory, and the transceiver is used to transmit or receive wireless signals; it is characterized in that, when the one or more processors execute the one or more programs, the electronic The device implements the method according to any one of claims 1-8.
  10. 一种定位交互系统,其特征在于,包括:如权利要求9所述的第一电子设备,以及第二电子设备;A positioning interaction system, characterized by comprising: the first electronic device according to claim 9 and the second electronic device;
    所述第二电子设备通过蓝牙向所述第一电子设备传输设备参数,并通过蓝牙接收所述第一电子设备发送的无线信号,所述设备参数至少包括所述第二电子设备的定位功能。The second electronic device transmits device parameters to the first electronic device via Bluetooth, and receives wireless signals sent by the first electronic device via Bluetooth, and the device parameters include at least a positioning function of the second electronic device.
  11. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时使所述计算机执行如权利要求1-8任一项所述的方法。A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes as claimed in claim 1. -8 The method described in any one of them.
  12. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-8任一项所述的方法。A computer program product, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the method according to any one of claims 1-8.
PCT/CN2020/122984 2019-11-22 2020-10-22 Positioning interaction method and apparatus WO2021098442A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911154276.4A CN111132101B (en) 2019-11-22 2019-11-22 Positioning interaction method and device
CN201911154276.4 2019-11-22

Publications (1)

Publication Number Publication Date
WO2021098442A1 true WO2021098442A1 (en) 2021-05-27

Family

ID=70496496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/122984 WO2021098442A1 (en) 2019-11-22 2020-10-22 Positioning interaction method and apparatus

Country Status (2)

Country Link
CN (1) CN111132101B (en)
WO (1) WO2021098442A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794981A (en) * 2021-08-10 2021-12-14 荣耀终端有限公司 Terminal positioning method, electronic device and storage medium
CN115942253A (en) * 2023-02-01 2023-04-07 荣耀终端有限公司 Prompting method and related device

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885558A (en) * 2020-06-24 2020-11-03 维沃移动通信有限公司 Electronic equipment positioning method and device
CN111954198B (en) * 2020-07-22 2024-02-02 深圳市微能信息科技有限公司 Intelligent equipment searching method and device and charging seat
CN114697857A (en) * 2020-12-31 2022-07-01 华为技术有限公司 Positioning method and related equipment
CN116156044A (en) * 2021-11-22 2023-05-23 华为技术有限公司 Equipment cooperation method and related device
CN118433829A (en) * 2023-01-31 2024-08-02 华为技术有限公司 Management method for searching network equipment and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016030571A1 (en) * 2014-08-29 2016-03-03 Nokia Technologies Oy Wirelessly determining an orientation of a device
CN105959917A (en) * 2016-05-30 2016-09-21 乐视控股(北京)有限公司 Positioning method, positioning device, television, intelligent equipment, and mobile terminal
CN108401225A (en) * 2018-02-24 2018-08-14 清研讯科(北京)科技有限公司 Data processing method, device, alarm method, warning device and warning device
US10330783B1 (en) * 2016-09-19 2019-06-25 Marvell International Ltd. Location service offload for bluetooth positioning
CN110335497A (en) * 2019-07-01 2019-10-15 佛山科学技术学院 Parking lot vehicle finding system, method and storage medium based on Bluetooth communication

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110050412A1 (en) * 2009-08-18 2011-03-03 Cynthia Wittman Voice activated finding device
US20120256726A1 (en) * 2011-04-07 2012-10-11 Nokia Corporation Method, apparatus, and computer program product for special dedicated inquiry and inquiry response process for dedicated device search
KR102349713B1 (en) * 2014-10-20 2022-01-12 삼성전자주식회사 Operation Method of communication channel and Electronic device supporting the same
CN104469673B (en) * 2014-11-04 2018-11-30 深圳市同洲电子股份有限公司 A kind of method of locating terminal and device
CN111246371B (en) * 2015-03-03 2022-05-10 华为技术有限公司 Method and device for acquiring device orientation
US20160370450A1 (en) * 2015-06-22 2016-12-22 Sony Mobile Communications Inc. Methods, devices, and computer program products for determining relative direction of remote rf signal source
CN106027776A (en) * 2016-05-11 2016-10-12 广西科技大学 Smart watch matched with mobile phone
CN106355718A (en) * 2016-09-14 2017-01-25 山东科技大学 Intelligent automobile electronic key system with antitheft and anti-lost functions
CN106781323A (en) * 2017-01-06 2017-05-31 深圳汉和正浦实业有限公司 A kind of two-way positioning anti-lose anti-theft system of bluetooth and method
CN107038887A (en) * 2017-04-13 2017-08-11 成都步共享科技有限公司 A kind of car of seeking of shared bicycle guides system
CN107182028A (en) * 2017-06-27 2017-09-19 上海传英信息技术有限公司 The localization method and positioner of a kind of article
CN107222836A (en) * 2017-06-28 2017-09-29 上海传英信息技术有限公司 A kind of distance detection system and detection method based on bluetooth
CN107798831A (en) * 2017-10-25 2018-03-13 陆永卓 A kind of searching articles positioning and identifying system based on the transmission of Bluetooth of mobile phone signal
CN109996220A (en) * 2017-12-28 2019-07-09 深圳Tcl新技术有限公司 The method, apparatus and storage medium of mobile terminal are found based on bluetooth
CN108260115A (en) * 2018-01-10 2018-07-06 广东欧珀移动通信有限公司 Bluetooth equipment position information processing method, device, terminal device and storage medium
CN110333478B (en) * 2018-03-30 2022-05-17 华为技术有限公司 Method for determining arrival angle and departure angle and communication device
CN109862504B (en) * 2018-12-29 2021-01-08 维沃移动通信有限公司 Display method and terminal equipment
CN110460981B (en) * 2019-06-28 2021-08-20 华为技术有限公司 Bluetooth object searching method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016030571A1 (en) * 2014-08-29 2016-03-03 Nokia Technologies Oy Wirelessly determining an orientation of a device
CN105959917A (en) * 2016-05-30 2016-09-21 乐视控股(北京)有限公司 Positioning method, positioning device, television, intelligent equipment, and mobile terminal
US10330783B1 (en) * 2016-09-19 2019-06-25 Marvell International Ltd. Location service offload for bluetooth positioning
CN108401225A (en) * 2018-02-24 2018-08-14 清研讯科(北京)科技有限公司 Data processing method, device, alarm method, warning device and warning device
CN110335497A (en) * 2019-07-01 2019-10-15 佛山科学技术学院 Parking lot vehicle finding system, method and storage medium based on Bluetooth communication

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794981A (en) * 2021-08-10 2021-12-14 荣耀终端有限公司 Terminal positioning method, electronic device and storage medium
CN115942253A (en) * 2023-02-01 2023-04-07 荣耀终端有限公司 Prompting method and related device
CN115942253B (en) * 2023-02-01 2023-08-04 荣耀终端有限公司 Prompting method and related device

Also Published As

Publication number Publication date
CN111132101A (en) 2020-05-08
CN111132101B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
WO2021098442A1 (en) Positioning interaction method and apparatus
US10921438B2 (en) Position determination method and device
US10768313B2 (en) Positioning method, electronic device, and storage medium
US10139494B2 (en) Electronic device and method for measuring position information of electronic device
CN112637758B (en) Equipment positioning method and related equipment thereof
US9467794B2 (en) Method and system for audio channel setup
CN115655310B (en) Data calibration method, electronic device and readable storage medium
US10582156B2 (en) Electronic device for performing video call and computer-readable recording medium
WO2022121445A1 (en) Widget adding method, apparatus, and computer-readable storage medium
WO2022022674A1 (en) Application icon layout method and related apparatus
WO2023179751A1 (en) Object searching method, system and electronic device
CN112612539A (en) Data model unloading method and device, electronic equipment and storage medium
CN111580892A (en) Method, device, terminal and storage medium for calling service component
JP7404389B2 (en) Movement trajectory recording method and related devices
CN112596810B (en) Loading prompt information display method and device, electronic equipment and storage medium
CN112597417B (en) Page updating method and device, electronic equipment and storage medium
WO2023024873A1 (en) Display method, electronic device, and system
WO2024159912A1 (en) Impedance calibration method, electronic device, medium and product
CN110851435A (en) Data storage method and device
WO2022206643A1 (en) Method for estimating angle of arrival of signal and electronic device
CN118301581B (en) Bluetooth device management method and electronic device
WO2022068729A1 (en) Wireless charging display method and electronic device
US20240334531A1 (en) Electronic device interaction method and apparatus
CN117692977A (en) Network residence method and related equipment
CN117527092A (en) Method for determining calibration data, electronic equipment and mobile equipment

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: 20889226

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: 20889226

Country of ref document: EP

Kind code of ref document: A1