Method and electronic device for displaying location of first device on second device
Through the UWB tag detection and coordinate conversion methods, the problem that smart electronic devices cannot accurately locate UWB tags is solved, and the accurate position display on devices without UWB tags is realized, reducing cost and power consumption.
Patent Information
- Application Number
- CN202380073691.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-10-18
- Filing Date
- 2023-07-26
- Publication Date
- 2025-05-27
AI Technical Summary
In the prior art, smart electronic devices such as smart watches cannot accurately determine the location of the UWB tag. If the UWB chip is not built into or does not exist in the locator node, it will lead to reduced positioning accuracy and increased cost and power consumption.
By detecting the position of the first device relative to the electronic device using an ultra-wideband (UWB) tag, coordinate conversion is performed, from the first coordinate system to the global coordinate system, and then to the user coordinate system, and finally displaying the position of the first device on the second device.
The precise display of the position of the first device with the UWB tag on a second device without the UWB tag is achieved, avoiding the increase in cost and power consumption of the UWB chip.
Smart Images

Figure CN120051704A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device, and more particularly, to a method and electronic device for displaying a location of a first device on a second device. Background Art
[0002] Ultra-wideband (UWB) is a short-range radio technology that can be used for indoor positioning of electronic devices. Bluetooth Low Energy and Wi-Fi use signal strength measurements (e.g., received signal strength indicator RSSI) to determine the location of electronic devices. In contrast, UWB uses the time of flight method (time of flight, ToF) to determine the location of electronic devices. The time of flight method is a technique that measures the time it takes for a signal to propagate from one point to another. In the case of UWB, the signal is the UWB radio wave. The UWB tag is an electronic device attached to the object that needs to be tracked. To find the UWB tag, two-way ranging (TWR) is used for the time of flight of the UWB RF signal between two electronic devices. TWR is combined with the phase difference of arrival (PDoA) that provides an angle of arrival measurement to locate the position of the UWB tag. TWR measures the light travel time between an object (UWB tag) and several receivers (UWB locator nodes). For accurate positioning of an object, at least three receivers are required (i.e., trilateration). In addition, there must be a direct line of sight between the receiver and the transmitter.
[0003] In the prior art, smart electronic devices (e.g., smart watches) can only support UWB-based features / applications using built-in UWB chips. Since UWB positioning accuracy depends on the distance and angle estimation between the UWB tag / object and the locator UWB node based on the arrival time (TOA) of the UWB pulse. Therefore, if the UWB chip is not built into or does not exist in the locator node (e.g., smart watch), the distance and angle cannot be accurately determined. For example, if the UWB chip is not present in the UWB node (e.g., smart watch), the location of the UWB tag may not be accurately determined. For example, if the UWB chip is present in the UWB node (e.g., smart watch), it will result in increased cost and power consumption at the UWB node. Summary of the invention
[0004] Solution to the problem
[0005] In an embodiment, the present disclosure discloses a method for displaying the position of a first device on a second device. The method includes: an electronic device uses an ultra-wideband (UWB) tag to detect the position coordinates of the first device relative to the electronic device, wherein the position coordinates of the first device correspond to the position coordinates of the first device in a first coordinate system. The method includes: the electronic device converts the position coordinates of the first device in the first coordinate system into the position coordinates of the first device in a global coordinate system. The method includes: the electronic device converts the position coordinates of the first device in the global coordinate system into the position coordinates of the first device in a user coordinate system. The method includes: the electronic device sends the converted position coordinates of the first device in the user coordinate system to the second device to display the position of the first device on the second device.
[0006] In an embodiment, a method for displaying the position of a first device on a second device is disclosed. The method includes: receiving, by the second device, the position coordinates of the first device relative to the position of the electronic device, wherein the position coordinates of the first device correspond to the position coordinates of the first device in a user coordinate system. The method includes: converting the received position coordinates of the first device into the position coordinates of the first device in a second coordinate system to obtain the position of the first device, and controlling the display screen to display the obtained position of the first device.
[0007] In an embodiment, an electronic device for displaying the position of a first device on a second device is disclosed. The electronic device includes: a detection unit configured to use a UWB tag to detect the position coordinates of the first device relative to the electronic device, wherein the position coordinates of the first device correspond to the position coordinates of the first device in the first coordinate system. The electronic device includes: a conversion unit configured to convert the position coordinates of the first device in the first coordinate system into the position coordinates of the first device in the global coordinate system, and convert the position coordinates of the first device in the global coordinate system into the position coordinates of the first device in the user coordinate system. The electronic device includes: a transceiver configured to send the converted position coordinates of the first device in the user coordinate system to the second device to display the position of the first device on the second device.
[0008] In an embodiment, a second device for displaying a position of a first device on a second device is disclosed. The second device includes: a transceiver configured to receive position coordinates of a first device relative to a position of an electronic device, wherein the position coordinates of the first device correspond to the position coordinates of the first device in a user coordinate system. The second device includes: a conversion unit configured to convert the received position coordinates of the first device in the user coordinate system into the position coordinates of the first device in the second coordinate system to obtain the position of the first device. The second device includes: a control unit configured to control a display screen of the second device to display the obtained position of the first device.
[0009] In an embodiment, an electronic device for displaying the position of a first device on a second device is disclosed. The electronic device includes: a detection unit configured to use a UWB tag to detect the position coordinates of the first device relative to the electronic device, wherein the position coordinates of the first device correspond to the position coordinates of the first device in the first coordinate system. The electronic device includes: at least one processor configured to convert the position coordinates of the first device in the first coordinate system into the position coordinates of the first device in the global coordinate system, and convert the position coordinates of the first device in the global coordinate system into the position coordinates of the first device in the user coordinate system. The electronic device includes: a transceiver configured to send the converted position coordinates of the first device in the user coordinate system to the second device to display the position of the first device on the second device.
[0010] In an embodiment, a computer-readable medium includes instructions that, when executed, cause at least one processor to display the location of a first device on a second device. The computer-readable medium also includes instructions that, when executed, cause at least one processor to perform the following operations: an electronic device uses an ultra-wideband (UWB) tag to detect the location coordinates of a first device relative to the electronic device, wherein the location coordinates of the first device correspond to the location coordinates of the first device in a first coordinate system. The method includes: the electronic device converts the location coordinates of the first device in the first coordinate system into the location coordinates of the first device in a global coordinate system. The method includes: the electronic device converts the location coordinates of the first device in the global coordinate system into the location coordinates of the first device in a user coordinate system. The method includes: the electronic device sends the converted location coordinates of the first device in the user coordinate system to the second device to display the location of the first device on the second device.
[0011] In order to further illustrate the advantages and features of the present disclosure, the present disclosure will be described in more detail with reference to the embodiments of the present disclosure shown in the accompanying drawings. It should be understood that these drawings only depict typical embodiments of the present disclosure and should not be considered to limit its scope. The present disclosure will be described and explained with additional features and details and the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] These and other features, aspects and advantages of the present disclosure will become more readily understood when the following detailed description is read with reference to the accompanying drawings, in which like symbols represent like parts throughout the drawings, wherein:
[0013] Figure 1 The determination of the position of the tag is shown.
[0014] Figure 2 A flow chart depicting a method for displaying a location of a first device on a second device according to an embodiment of the present disclosure is shown.
[0015] Figure 3 A block diagram of an electronic device for displaying a location of a first device on a second device according to an embodiment of the present disclosure is shown.
[0016] Figure 4 An environment for displaying a location of a first device on a second device according to an embodiment of the present disclosure is shown.
[0017] Figure 5 The determination of the position coordinates of the first device in the first coordinate system according to an embodiment of the present disclosure is shown.
[0018] Figure 6 The figure shows the conversion of the position coordinates of the first device in the first coordinate system to the global coordinate system according to an embodiment of the present disclosure.
[0019] Figure 7 The figure shows the conversion of the position coordinates of the first device in the global coordinate system to the user coordinate system according to an embodiment of the present disclosure.
[0020] Figure 8 A flow chart depicting a method for displaying a location of a first device on a second device according to an embodiment of the present disclosure is shown.
[0021] Fig. 9 A block diagram of a second device for displaying a location of a first device on the second device according to an embodiment of the present disclosure is shown.
[0022] Fig.10 The figure shows the conversion of the position coordinates of the first device in the user coordinate system to the intermediate coordinate system according to an embodiment of the present disclosure.
[0023] Fig.11 The figure shows the conversion of the position coordinates of the first device in the intermediate coordinate system to the second coordinate system according to an embodiment of the present disclosure.
[0024] In addition, those skilled in the art will recognize that elements in the drawings are shown for the sake of brevity and may not necessarily be drawn to scale. For example, a flow chart shows a method with the most prominent steps involved to help improve understanding of various aspects of the present disclosure. In addition, with respect to the construction of an electronic device, one or more components of the electronic device may have been represented in the drawings by conventional symbols, and the drawings may show only those specific details relevant to understanding the embodiments of the present invention so as not to obscure the drawings with details that would be clear to a person of ordinary skill in the art based on the description herein. DETAILED DESCRIPTION
[0025] For the purpose of promoting understanding of the principles of the present disclosure, reference will now be made to the embodiments shown in the drawings and specific language will be used to describe the embodiments. However, it will be understood that the scope of the present disclosure is not limited thereto, and changes and further modifications in the illustrated system, and further applications of the principles of the present disclosure illustrated herein are what would normally occur to a person skilled in the art to which the present disclosure belongs.
[0026] Those skilled in the art will understand that the foregoing general description and the following detailed description are illustrative of the present disclosure and are not intended to be limiting thereof.
[0027] References throughout this specification to "on one hand," "on the other hand," or similar language indicate that a particular feature, structure, or characteristic described in connection with an embodiment is included in at least one embodiment of the present disclosure. Thus, appearances of the phrases "in an embodiment," "in another embodiment," and similar language throughout this specification may (but do not necessarily) all refer to the same embodiment.
[0028] The terms "comprises", "comprising", or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process or method that includes a list of steps includes not only those steps but may also include other steps not expressly listed or inherent to such process or method. Similarly, one or more electronic devices or subsystems or elements or structures or components preceded by "comprises..." does not, without further constraints, exclude the presence of other devices or other subsystems or other elements or other structures or other components or additional devices or additional subsystems or additional elements or additional structures or additional components.
[0029] In the present disclosure, the terms "send", "receive", "communicate" and their derivatives cover both direct and indirect communications. The terms "include" and "comprises" and their derivatives mean inclusion without limitation. The term "or" is inclusive, meaning "and / or". The phrase "associated with..." and its derivatives mean including, included within, interconnected with, containing, contained within, connected to or connected with, coupled to or coupled with, communicable with, cooperating with, intertwined, juxtaposed, proximate, bound to or bound with, having, having the attribute of, having a relationship with or related to, etc.
[0030] In addition, the various functions described below can be implemented or supported by one or more computer programs, each of which is formed by a computer-readable program code and implemented in a computer-readable medium. The terms "application" and "program" refer to one or more computer programs, software components, instruction sets, processes, functions, objects, classes, instances, related data, or parts thereof suitable for implementation in appropriate computer-readable program codes. The phrase "computer-readable program code" includes any type of computer code, including source code, object code, and executable code. The phrase "computer-readable medium" includes any type of medium that can be accessed by a computer, such as a read-only memory (ROM), a random access memory (RAM), a hard drive, a compact disk (CD), a digital video disk (DVD), or any other type of memory. Computer-readable media do not include wired, wireless, optical, or other communication links that transmit instantaneous electrical signals or other signals. Computer-readable media include media in which data can be permanently stored and media in which data can be stored and subsequently rewritten, such as rewritable optical disks or erasable storage devices.
[0031] As used herein, terms and phrases such as "having", "may have", "include", or "may include" a certain feature (such as a number, function, operation, or component such as a part) indicate the presence of the feature and do not exclude the presence of other features. In addition, the phrases "A or B", "at least one of A and / or B", or "one or more of A and / or B" used herein may include all possible combinations of A and B. For example, "A or B", "at least one of A and B", and "at least one of A or B" may indicate all of the following: (1) including at least one A, (2) including at least one B, or (3) including at least one A and at least one B. In addition, the terms "first" and "second" used herein may modify various components regardless of their importance and do not limit these components. These terms are only used to distinguish components from each other. For example, a first user device and a second user device may indicate user devices that are different from each other, regardless of the order or importance of the devices. Without departing from the scope of the present disclosure, a first component may be represented as a second component, and vice versa.
[0032] It will be understood that when an element (e.g., a first element) is referred to as being "coupled" / "coupled to" another element (e.g., a second element) (operationally or communicatively), or "connected" / "connected to" another element, the element may be directly coupled or connected to / directly coupled or connected to the other element, or coupled or connected to / "coupled or connected to the other element via a third element. Conversely, it will be understood that when an element (e.g., a first element) is referred to as being "directly coupled" / "directly coupled to" another element (e.g., a second element), or "directly connected to" / "directly connected to" another element, no other elements (e.g., a third element) are interposed between the element and the other element.
[0033] Depending on the scenario, the phrase "configured (or set) to" used in this document may be used interchangeably with the phrases "suitable for", "capable of", "designed to", "suitable for", "manufactured to", or "capable of..." The phrase "configured (or set) to" does not essentially mean "specially designed in hardware to". On the contrary, the phrase "configured to" may mean that a device can perform an operation together with another device or component. For example, the phrase "a processor configured (or set) to perform A, B, and C" may represent a general-purpose processor (e.g., a CPU or application processor) that can perform these operations by executing one or more software programs stored in a storage device, or a special-purpose processor (e.g., an embedded processor) for performing these operations.
[0034] The terms and phrases used herein are only used to describe some embodiments of the present disclosure, rather than to limit the scope of other embodiments of the present disclosure. It will be understood that the singular forms "one", "an" and "the" include plural references unless the context clearly states otherwise. All terms and phrases (including technical and scientific terms and phrases) used herein have the same meanings as those generally understood by those of ordinary skill in the art to which the embodiments of the present disclosure belong. It will also be understood that terms and phrases (e.g., terms and phrases defined in commonly used dictionaries) should be interpreted as having meanings consistent with their meanings in the context of the relevant technology, and unless clearly defined herein, should not be interpreted as idealized or overly formalized meanings. In an embodiment, the terms and phrases defined herein may be interpreted as excluding embodiments of the present disclosure.
[0035] According to an embodiment of the present disclosure, examples of "electronic devices" may include at least one of the following: a smart phone, a tablet personal computer (PC), a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop computer, a netbook computer, a workstation, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device (e.g., smart glasses, a head mounted device (HMD), electronic clothing, an electronic bracelet, an electronic necklace, an electronic accessory, an electronic tattoo, a smart mirror, or a smart watch). Other examples of electronic devices include smart home appliances. Examples of smart home appliances may include at least one of: a television, a digital video disc (DVD) player, an audio player, a refrigerator, an air conditioner, a cleaner, an oven, a microwave, a washing machine, a dryer, an air purifier, a set-top box, a home automation control panel, a security control panel, a TV box (e.g., SAMSUNG HOMESYNC, APPLETV, or GOOGLE TV), a smart speaker, or a speaker with an integrated digital assistant (e.g., SAMSUNG GALAXY HOME, APPLE HOMEPOD, or AMAZONECHO), a game console (e.g., XBOX, PLAYSTATION, or NINTENDO), an electronic dictionary, an electronic key, a camera, or an electronic photo frame. Other examples of electronic devices include at least one of the following: various medical devices (e.g., multifunctional portable medical measuring devices (such as blood sugar measuring devices, heart rate measuring devices, or body temperature measuring devices), magnetic resonance angiography (MRA) devices, magnetic resonance imaging (MRI) devices, computed tomography (CT) devices, imaging devices, or ultrasound devices), navigation devices, global positioning system (GPS) receivers, event data recorders (EDRs), flight data recorders (FDRs), automotive infotainment devices, marine electronic devices (e.g., marine navigation devices or gyrocompasses), avionics equipment, security devices, vehicle head units, industrial or home robots, automated teller machines (ATMs), point-of-sale (POS) devices, or Internet of Things (IoT) devices (e.g., light bulbs, various sensors, electric or gas meters, sprinklers, fire alarms, thermostats, street lights, toasters, fitness equipment, hot water tanks, heaters, or kettles). Other examples of electronic devices include at least one of the following: a part of furniture or a building / structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (e.g., devices for measuring water, electricity, gas, or electromagnetic waves). Note that according to various embodiments of the present disclosure, the electronic device may be one or a combination of the devices listed above. According to an embodiment of the present disclosure, the electronic device may be a flexible electronic device. The electronic device disclosed herein is not limited to the devices listed above, and may include new electronic devices according to the development of technology.
[0036] In the following description, an electronic device is described with reference to the accompanying drawings according to various embodiments of the present disclosure. The term "user" used herein may refer to a person using an electronic device or another device (eg, an artificial intelligence electronic device).
[0037] Definitions for certain other words and phrases may be provided throughout this patent document. Those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.
[0038] The technology of the present disclosure is described for a first device, a second device, and a third device. The first device, the second device, and the third device may include, but are not limited to, any electronic device such as a mobile device, a smart watch, a smart TV, a laptop, and the like. The first device includes an ultra-wideband (UWB) tag (or a first UWB tag), and the electronic device includes a UWB tag (or a second UWB tag). The electronic device may be referred to as a third device. The second device does not include any UWB tags. According to an embodiment of the present disclosure, the location of the first device is determined by the electronic device using a UWB tag and is displayed on a second device without any UWB tags. For example, the first device may be a UWB tag, the second device may be a smart watch, and the electronic device may be a mobile device (e.g., a mobile phone or a smart phone). In the case where the second device may be part of a smart watch, the second device may be connected to the smart watch. In the case where the electronic device is part of a mobile device, the electronic device may be connected to the mobile device.
[0039] The present disclosure relates to a method and an electronic device for displaying a location of a first device including a UWB tag on a second device not including any UWB tag.
[0040] The present disclosure relates to a method and electronic device for displaying the location of a first device including a UWB tag on a display screen of a second device. Therefore, the present disclosure can determine the accurate location of the first device including a UWB tag, and accordingly, the accurate location can be displayed on the interface of a second device (e.g., a smart watch) without any UWB tags. In addition, by displaying the location of the tracked UWB tag in a node (e.g., a second device or a smart watch) without a UWB tag, the present disclosure can avoid the increase in cost and power consumption due to the presence of the UWB tag. In the present disclosure, the UWB tag may be referred to as a UWB chip.
[0041] Figure 1 An example of determining the location of an ultra-wideband (UWB) tag 103 is shown. Figure 1As shown, the mobile device 101 has a built-in UWB chip and is configured to determine the location of a transponder (i.e., UWB tag 103). Both the UWB tag 103 and the UWB chip use UWB technology. The UWB tag 103 is an electronic device that can store and send data. The UWB tag 103 is detected by a UWB receiver. The UWB tag 103 can be used to track the location of an object or for access control. The UWB chip is a device that can receive and process data. The UWB chip can be detected by a UWB receiver and a UWB transceiver. The UWB chip can be used to sense its surroundings or manipulate objects.
[0042] To find the UWB tag 103, two-way ranging (TWR) is used when determining the time of flight (ToF) of the UWB RF signal between the mobile device 101 and the UWB tag 103. TWR is a technique that measures the time (or ToF) it takes for a UWB RF signal to propagate from one point (e.g., the mobile device 101) to another point (e.g., the UWB tag 103) and calculates the distance between the two points (the mobile device 101 and the UWB tag 103).
[0043] ToF can be determined according to Equation 1 below:
[0044]
[0045] Where ToF is the time of flight, T Loop is the time difference between a signal initiated (or transmitted) from mobile device 101 and a response received from mobile device 101 (or the initiator end), and T Reply is a transponder ( Figure 1 The time it takes for the UWB tag 103) to send a reply to the signal.
[0046] However, in Figure 1 In this case, the UWB chip should exist in the UWB tag 103 and the mobile device 101 as a UWB node. If the UWB chip does not exist in the UWB tag 103, the position of the UWB tag 103 may not be accurately determined.
[0047] Figure 2 A flow chart depicting a method for displaying a location of a first device on a second device according to an embodiment of the present disclosure is shown. Figure 3 A block diagram of an electronic device for displaying a location of a first device on a second device according to an embodiment of the present disclosure is shown. Figure 4 An environment for displaying the location of a first device on a second device according to an embodiment of the present disclosure is shown. Figure 2-Figure 4 Description.
[0048] refer to Figure 3 , the electronic device 300 may include, but is not limited to, a processor 302, a memory 304, a unit 306, and a data unit 308. The unit 306 and the memory 304 may be coupled to the processor 302.
[0049] Processor 302 may be a single processing unit or multiple processing units, all of which may include multiple computing units. Processor 302 may be implemented as at least one processor, one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any electronic device that manipulates signals based on operating instructions. Among other capabilities, processor 302 is configured to retrieve and execute computer-readable instructions and data stored in memory 304.
[0050] The processor 302 may control all functions of the electronic device 300. The processor 302 may perform the method 200 by executing instructions stored in the memory 304. The processor 302 may control the unit 306 by using the instructions stored in the memory 304 and / or the data stored in the data unit 308. The processor 302 may control the unit 306 by using the instructions stored in the memory 304 and / or the data stored in the data unit 308 to perform the method 200.
[0051] For example, the processor 302 may be configured to convert the position coordinates of the first device in the first coordinate system into the position coordinates of the first device in the global coordinate system, and convert the position coordinates of the first device in the global coordinate system into the position coordinates of the first device in the user coordinate system.
[0052] The memory 304 may include any non-transitory computer-readable medium known in the art, including, for example, volatile memory (e.g., static random access memory (SRAM) and dynamic random access memory (DRAM)), and / or non-volatile memory (e.g., read-only memory (ROM), erasable programmable ROM, flash memory, hard disk, optical disk, and magnetic tape). The memory 304 may store instructions for executing the method 200. The instructions stored in the memory 304 may be read or written by the processor 302.
[0053] Among other things, unit 306 includes routines, programs, objects, components, data structures, etc. that perform specific tasks or implement data types. Unit 306 can also be implemented as a signal processor, a state machine, a logic circuit, and / or any other electronic device or component that manipulates signals based on operational instructions.
[0054] Unit 306 may be implemented in hardware, instructions executed by a processing unit, or a combination thereof. The processing unit may include a computer, a processor (e.g., processor 302), a state machine, a logic array, or any other suitable IoT device capable of processing instructions. The processing unit may be a general-purpose processor that executes instructions to cause the general-purpose processor to perform the required tasks, or the processing unit may be dedicated to performing the required functions. In an embodiment of the present disclosure, unit 306 may be machine-readable instructions (software) that, when executed by a processor / processing unit, perform any of the described functions.
[0055] In an embodiment, the unit 306 may include a detection unit 310, a conversion unit 312, a transceiver 314, a position sensor 316, and an accelerometer 318. In an embodiment, the detection unit 310 may include a UWB tag 310a. In an embodiment, the conversion unit 312 may include a global coordinate transformation engine 320 and a linear transformation engine 322. In an embodiment, the transceiver 314 may include a low-power Bluetooth (BLE) chip 314a.
[0056] The various units 310, 312, 314, 316, 318, 320, and 322 may communicate with each other. In an embodiment, the various units 310, 312, 314, 316, 318, 320, and 322 may be part of the processor 302. In an embodiment, the processor 302 may be configured to perform the functions of the units 310, 312, 314, 316, 318, 320, and 322. Among other things, the data unit 308 may be used as a repository for storing data processed, received, and generated by one or more of the units 306. Among other things, the data unit 308 may be used as a repository for storing data processed, received, and generated by the unit 306 controlled by the processor 302. The unit 305 may be referred to as a component that may perform the functions of the electronic device 300. For example, the function may include a function corresponding to the function of the detection unit 310, or a function corresponding to the function of the accelerometer 318.
[0057] The electronic device 300 may be referred to as a third device or system. The electronic device 300 may be a part of a third device. The electronic device 300 may correspond to a third device or system. In an embodiment, the electronic device 300 may be Figure 1 A mobile device 101 is shown.
[0058] refer to Figure 2 ,like Figure 2 As shown, at step 201 , the method 200 may include: the electronic device 300 uses an ultra-wideband (UWB) tag 310 a to detect the position coordinates of the first device 401 relative to the position of the electronic device 300 .
[0059] like Figure 4 As shown, environment 400 may include a first device 401, which may be a smart tag (or UWB tag) whose location is to be displayed on a second device 403, and second device 403 may be a smart watch. For example, the location of first device 401 may be displayed on display screen 914 of second device 403. Environment 400 may also include electronic device 300, which may be a mobile phone. Therefore, electronic device 300 may be part of a mobile phone, or may correspond to a mobile phone. In an embodiment, electronic device 300 may be connected to a mobile phone. A mobile phone may be referred to as a mobile device.
[0060] The detection unit 310 may use the UWB tag 301a to detect the position coordinates (x1, y1, z1) of the first device 401. The position coordinates (x1, y1, z1) of the first device 410 may correspond to the position of the first device 401 in the first coordinate system. In an embodiment, the first coordinate system may define the position of the first device 401 relative to the UWB sensor plane of the electronic device 300, such as Figure 5 shown.
[0061] Figure 5 The determination of the position coordinates (x1, y1, z1) of the first device 401 in the first coordinate system according to an embodiment of the present disclosure is shown. The electronic device 300 (i.e., a mobile phone) performs ranging (using the UWB tag 310a) on the first device 401 (or anchor point) to obtain the yaw angle (α) and the pitch angle (β). The yaw angle (α) is the angle of rotation around the z-axis. The pitch angle (β) is the angle of rotation around the y-axis. The distance "d" between the electronic device 300 and the first device 401 is determined using the yaw angle (α) and the pitch angle (β). Therefore, the electronic device 300 can determine the position coordinates (x1, y1, z1) of the first device 401 (or the position coordinates of the first device 401 in the first coordinate system) based on the yaw angle (α), the pitch angle (β), and the distance "d" between the electronic device 300 and the first device (UWB chip or UWB sensor) 401 using the following equation 2 (or matrix):
[0062]
[0063] In Equation 2, the Matrix in Equation 2 coordinates in Current Orientation (matrix 当前取向上的坐标 ) can be defined as the coordinates (or position coordinates) of the position sensor 316 relative to the electronic device 300 in the current orientation, and x1, y1, z1 are the coordinates (or position coordinates) of the first device 401. The coordinate system has an origin at the electronic device 300 and is aligned with the UWB sensor plane of the electronic device 300.
[0064] Return to reference Figure 2 , at step 203, the method 200 may include: the electronic device 300 converts the position coordinates of the first device 401 (or the position coordinates of the first device 401 in the first coordinate system) into the position coordinates (x2, y2, z2) in the global coordinate system. In an embodiment, the conversion unit 312 may convert the position coordinates (x1, y1, z1) of the first device 401 in the first coordinate system into the position coordinates (x2, y2, z2) of the first device 401 in the global coordinate system, such as Figure 6 shown.
[0065] Figure 6 It is shown that the position coordinates (x1, y1, z1) of the first device 401 in the first coordinate system are converted into position coordinates (x2, y2, z2) in the global coordinate system using the position sensor 316 according to an embodiment of the present disclosure.
[0066] like Figure 6 As shown, the position coordinates (x1, y1, z1) in the first coordinate system are converted into position coordinates (x2, y2, z2) in the global coordinate system with the electronic device 300 as the origin. The electronic device 300 is regarded as the origin of the local tangent plane. In an embodiment, the global coordinate transformation engine 320 may transform the position coordinates (x1, y1, z1) in the first coordinate system into position coordinates (x2, y2, z2) in the global coordinate system. In an embodiment, the global coordinate transformation engine 320 may transform the position coordinates (x1, y1, z1) in the first coordinate system into position coordinates (x2, y2, z2) in the global coordinate system using a rotation matrix obtained via the position sensor 316. In an embodiment, the global coordinate transformation engine 320 may transform the position coordinates (x1, y1, z1) in the first coordinate system into position coordinates (x2, y2, z2) in the global coordinate system using the following equation 3:
[0067]
[0068]
[0069] In Equation 3, Matrix coordinates in current orientation From Equation 2, we know that Matrix coordinates after Sensor correction (matrix 传感器校正后的坐标 ) can be referred to as the coordinates of the first device 401 relative to the coordinate system of the position sensor 316. The position sensor 316 can define its own x, y, and z axes, based on which the position sensor 316 calculates the direction with respect to the north direction. coordinates after Sensor correctionRefers to the general transformation method of coordinate conversion from the global coordinate system to the position sensor 316 reference system (or user coordinate system) after multiplication with the rotation matrix from the position sensor (or magnetic sensor) 316. Global Coordinates or Local tagent Plane (matrix 全局坐标或局部切平面 ) may be referred to as coordinates of an object (user 407), where the origin is at the electronic device 300 (ie, the mobile device), but the coordinate system has an x-axis aligned with the east direction, a y-axis aligned with the north direction, and a z-axis pointing upward (away from the ground). rotation Matrix (R 旋转矩阵 ) is the rotation matrix that transforms the global coordinates into the sensor plane coordinate system. Therefore, Matrix can be obtained from the following equation (4): Global coordinates (matrix 全局坐标 ):
[0070] …(4)
[0071] In Equation 4, R -1 rotation matrix (R -1 旋转矩阵 ) is the inverse rotation matrix that transforms the global coordinates into the sensor plane coordinate system, R -1 sensor rotaion matrix (R -1 传感器旋转矩阵 ) is the inverse rotation needed to transform the matrix to the current view / screen, since the position sensor 316 may not be aligned with the screen orientation (such as for a foldable or other phone). In this disclosure, this matrix is considered to be the identity matrix, since mobile devices according to embodiments have screens and sensors (UWB and magnetic) oriented in the same direction.
[0072] Since the sensor rotation matrix is the identity matrix, its inverse matrix is also the identity matrix, so
[0073]
[0074] Therefore, the global coordinate transformation engine 320 may use Equation 3 to obtain the position coordinates (x2, y2, z2) in the global coordinate system. The global coordinate system may define the position coordinates by regarding the electronic device 300 as the origin of the position coordinates of the first device 401. The position sensor 316 may be used to obtain the rotation matrix R in Equation 3. magnetic rotaion matrix (R 磁性旋转矩阵 ) can be any known sensor (e.g., a magnetic sensor).
[0075] Return to reference Figure 2At step 205, the method 200 may include: the electronic device 300 converts the position coordinates (x2, y2, z2) in the global coordinate system into the position coordinates in the user coordinate system. In an embodiment, the user coordinate system may define the position coordinates by regarding the user of the electronic device 300 as the origin of the position coordinates of the first device 401. In an embodiment, the conversion unit 312 may convert the position coordinates (x2, y2, z2) of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system, such as Figure 7 shown.
[0076] Figure 7 4 shows the conversion of the position coordinates (x2, y2, z2) of the first device 401 in the global coordinate system to the position coordinates (x3, y3, z3) of the first device 401 in the user coordinate system according to an embodiment of the present disclosure. Figure 7 As shown, the position coordinates (x2, y2, z2) in the global coordinate system are converted into the position coordinates (x3, y3, z3) in the user coordinate system with the user 407 of the electronic device 300 as the origin. In an embodiment, the linear transformation engine 322 can convert the position coordinates (x2, y2, z2) in the global coordinate system into the position coordinates (x3, y3, z3) in the user coordinate system (x3, y3, z3). In an embodiment, the linear transformation engine 322 can use the position sensor 316 to determine the height and gait motion of the user 407. In an embodiment, the linear transformation engine 322 can use the accelerometer 318 to determine the gait motion of the user 407, and can obtain information related to the height of the user 407 from the user 407. For example, the information related to the height of the user 407 can be input by the user 407. For example, the information related to the height of the user 407 can be estimated based on the image including the user 407 stored in the electronic device 300. For example, the information related to the height of the user 407 can be detected from the user information stored in the electronic device 300. The linear transformation engine 322 may then determine the position and orientation of the electronic device 300 based on information related to the height and gait motion of the user 407. The linear transformation engine 322 may then convert the position coordinates (x2, y2, z2) of the first device 401 in the global coordinate system into the position coordinates (x3, y3, z3) of the first device 401 in the user coordinate system based on information related to the height and gait motion of the user 407. In an embodiment, the linear transformation engine 322 may perform a linear transformation on the position coordinates (x2, y2, z2) of the first device 401 in the global coordinate system to obtain the position coordinates (x3, y3, z3) of the first device 401 in the user coordinate system, where the origin is at the user's chest 408. Return to reference Figure 2, at step 207, the method 200 may include: the electronic device 300 sends the converted position coordinates (x3, y3, z3) in the user coordinate system to the second device 403. In an embodiment, the transceiver 314 may use the BLE chip 314a to send the converted position coordinates (x3, y3, z3) in the user coordinate system to the second device 403. After receiving the converted position coordinates (x3, y3, z3), the second device 403 may convert the converted position coordinates (x3, y3, z3) in the user coordinate system into position coordinates in the second coordinate system to obtain the position of the first device 401, and may control the display screen 914 to display the obtained position coordinates of the first device 401. For Figure 4 as well as Figure 8-Figure 11 Describe the process in detail.
[0077] Figure 8 A flow chart depicting a method 800 for displaying a location of a first device 401 on a second device 403 according to an embodiment of the present disclosure is shown. Fig. 9 FIG. 4 is a block diagram of a second device 403 for displaying the location of a first device 401 on the second device 403 according to an embodiment of the present disclosure. Figure 8 and Fig. 9 Description.
[0078] refer to Fig. 9 , the second device 403 may include, but is not limited to, a processor 902 , a memory 904 , a unit (or component) 906 , and a data unit 908 . The unit 906 and the memory 904 may be coupled to the processor 902 .
[0079] The processor 902 may be a single processing unit or multiple processing units, all of which may include multiple computing units. The processor 902 may be implemented as at least one processor, one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any electronic device that manipulates signals based on operating instructions. Among other capabilities, the processor 902 is configured to retrieve and execute computer-readable instructions and data stored in the memory 904. The processor 902 may perform operations based on the instructions and data stored in the memory 904. Figure 8 The flowchart shown performs the operations.
[0080] Memory 904 may include any non-transitory computer-readable medium known in the art, including, for example, volatile memory (e.g., static random access memory (SRAM) and dynamic random access memory (DRAM)), and / or non-volatile memory (e.g., read-only memory (ROM), erasable programmable ROM, flash memory, hard disks, optical disks, and magnetic tapes).
[0081] Among other things, unit 906 may include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement data types. Unit 906 may also be implemented as a signal processor, a state machine, a logic circuit, and / or any other electronic device or component that manipulates signals based on operating instructions. Unit 906 may be referred to as a component that can perform the function of the second device 403. For example, the function may include a function corresponding to the function of the conversion unit 912, or a function corresponding to the function of the accelerometer 920.
[0082] Unit 906 may be implemented in hardware, instructions executed by a processing unit, or a combination thereof. The processing unit may include a computer, at least one processor (e.g., processor 902), a state machine, a logic array, or any other suitable device capable of processing instructions. The processing unit may be a general-purpose processor that executes instructions to cause the general-purpose processor to perform the desired tasks, or the processing unit may be dedicated to performing the desired functions. In an embodiment of the present disclosure, unit 906 may be machine-readable instructions (software) that, when executed by a processor / processing unit, perform any of the described functions.
[0083] In an embodiment, the unit 906 may include a transceiver 910, a conversion unit 912, a display screen 914, a control unit 916, a position sensor 918, and an accelerometer 920. In an embodiment, the conversion unit 912 may include an inverse global coordinate transformation engine 922 and a linear transformation engine 924. In an embodiment, the transceiver 912 may include a low-power Bluetooth (BLE) chip 912a.
[0084] The various units 910, 912, 916, 918, 920, 922, and 924 may communicate with each other. In an embodiment, the various units 910, 912, 916, 918, 920, 922, and 924 may be part of the processor 902. In an embodiment, the processor 902 may be configured to perform the functions of the units 910, 912, 916, 918, 920, 922, and 924. Among other things, the data unit 908 is used as a repository for storing data processed, received, and generated by one or more of the units 906. The second device 403 may be part of an electronic device (e.g., a smart watch). The second device 403 may correspond to a smart watch. In an embodiment, the second device 403 may be connected to a smart watch. The second device may be referred to as a system, an electronic device, or a smart watch.
[0085] Return to reference Figure 8At step 801, the method 800 may include: receiving, by the second device 403, the position coordinates of the first device 401 relative to the position of the electronic device 300, wherein the position coordinates of the first device 401 correspond to the position coordinates (x3, y3, z3) in the user coordinate system. Figure 4 , the second device 403 may be part of the second device 403 (eg, a smart watch). In an embodiment, the electronic device 300 may be connected to the second device (or smart watch) 403. Therefore, the transceiver 910 may use the BLE chip 910a to receive the position coordinates (x3, y3, z3) in the converted user coordinate system.
[0086] Then, at step 803, the method 800 may include: converting the received position coordinates of the first device 401 into position coordinates of the first device 401 in the second coordinate system to obtain the position of the first device 401. In an embodiment, the conversion unit 912 may determine the position of the second device 403 relative to the user 407 of the second device 403. In an embodiment, the conversion unit 912 may use the accelerometer 920 to determine the position of the second device 403 relative to the user 407. Then, the conversion unit 912 may perform a linear transformation to convert the received position coordinates of the first device 401 into position coordinates (x4, y4, z4) of the first device 401 relative to the position of the second device 403 in the intermediate coordinate system, such as Fig.10 shown.
[0087] Fig.10 A linear transformation of the position coordinates of the first device 401 in the user coordinate system to the position coordinates (x4, y4, z4) of the first device 401 in the intermediate coordinate system using a linear transformation engine 924 according to an embodiment of the present disclosure is shown. In an embodiment, the linear transformation engine 924 may use an accelerometer 920 to transform the position coordinates of the first device 401 in the user coordinate system to the position coordinates (x4, y4, z4) of the first device 401 in the intermediate coordinate system. The linear transformation engine 924 may perform a linear transformation to transform the position coordinates in the user coordinate system to the position coordinates (x4, y4, z4) in the intermediate coordinate system. Then, the inverse global coordinate transformation engine 922 may convert the position coordinates (x4, y4, z4) in the intermediate coordinate system into position coordinates in the second coordinate system relative to a local plane of the second device 403 to obtain the position of the first device 401 relative to the position of the second device 403, as shown in FIG. Fig.11 shown.
[0088] Fig.11 4 shows the conversion of the position coordinates (x4, y4, z4) of the first device 401 in the intermediate coordinate system to the position coordinates (x5, y5, z5) of the first device 401 in the second coordinate system according to an embodiment of the present disclosure. Fig.11 As shown, the inverse global coordinate transformation engine 922 can use the rotation matrix obtained from the position sensor 918 (e.g., a magnetic sensor) to determine the inverse transformation matrix. Then, the inverse global coordinate transformation engine 922 can use matrix multiplication to transform the position coordinates (x4, y4, z4) in the intermediate coordinate system into the position coordinates (x5, y5, z5) in the second coordinate system. In an embodiment, the inverse global coordinate transformation engine 922 can use the following equation 6 to obtain the position of the first device 401:
[0089]
[0090] In Equation 6, R -1 Rotation Matrix is the inverse matrix of the rotation matrix of the second device 403 (ie, the smart watch), Matrix coordinates in local plane (matrix 局部平面中的坐标 ) is the coordinate in the plane of the display screen 914 of the second device 403, Matrix Global Coordinates is a coordinate system aligned with east, north, and up, and R Rotation Matrix (This is different from the one used in the previous equation) is the rotation matrix that gives the north direction relative to the watch coordinate system. This matrix transforms the watch coordinates into global coordinates, so take the inverse matrix. Figure 7 The rotation matrix is obtained in a similar manner.
[0091] Return to reference Figure 8 At step 805, the method 800 may include: controlling the display screen 914 of the second device 403 to display the obtained position coordinates of the first device. Specifically, the control unit 916 may control the display screen 914 to display the obtained position coordinates (x5, y5, z5) of the first device 401.
[0092] Therefore, the present disclosure allows the accurate location of the first device 401 with a UWB tag to be displayed on the second device 403 without a UWB tag.
[0093] In the present disclosure, a method 200 for displaying the position of a first device 401 on a second device 403 includes: the electronic device 300 uses an ultra-wideband (UWB) tag to detect the position coordinates of the first device 401 relative to the position of the electronic device 300, wherein the position coordinates of the first device 401 correspond to the position coordinates in the first coordinate system; the electronic device 300 converts the position coordinates of the first device 401 in the first coordinate system into the position coordinates of the first device 401 in the global coordinate system; the electronic device 300 converts the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system; and the electronic device 300 sends the converted position coordinates of the first device 401 in the user coordinate system to the second device 403, so as to display the position of the first device 401 on the second device 403.
[0094] In the present disclosure, the converted position coordinates of the first device 401 are sent to the second device 403, so that the second device 403 converts the converted position coordinates of the first device 401 in the user coordinate system into the position coordinates of the first device 401 in the second coordinate system to obtain the position of the first device 401, and controls the display screen 914 of the second device 403 to display the obtained position of the first device 401.
[0095] In the present disclosure, the first coordinate system defines the position of the first device 401 relative to the UWB sensor plane of the electronic device 300, the user coordinate system regards the user 407 of the electronic device 300 as the origin of the position coordinates of the first device 401 to define the position coordinates, and the global coordinate system regards the electronic device 300 as the origin of the position coordinates of the first device 401 to define the position coordinates.
[0096] In the present disclosure, converting the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system includes: using the position sensor 316 included in the electronic device 300 to determine the height and gait movement of the user 407; determining the position and direction of the electronic device 300 based on the height and gait movement; and converting the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system based on the height and gait movement of the user.
[0097] In the present disclosure, the first device 401 includes a UWB tag.
[0098] In the present disclosure, the second device 403 does not include a UWB tag.
[0099] In the present disclosure, converting the position coordinates of the first device 401 in the first coordinate system into the position coordinates of the first device 401 in the global coordinate system includes: converting the position coordinates of the first device 401 via a rotation matrix obtained using the position sensor 316 .
[0100] In the present disclosure, a method for displaying the position of a first device 401 on a second device 403 includes: receiving, by the second device 403, the position coordinates of the first device 401 relative to the electronic device 300, wherein the position coordinates of the first device 401 correspond to the position coordinates of the first device 401 in a user coordinate system; converting the received position coordinates of the first device 401 in the user coordinate system into the position coordinates of the first device 401 in the second coordinate system to obtain the position of the first device 401; and controlling the display screen to display the obtained position of the first device 401.
[0101] In the present disclosure, converting the received position coordinates of the first device 401 in the user coordinate system into the position coordinates of the first device 401 in the second coordinate system includes: determining the position of the second device 403 relative to the user 407 of the second device 403; performing a linear transformation to convert the position coordinates of the first device 401 in the user coordinate system into the position coordinates of the first device 401 in the intermediate coordinate system relative to the position of the second device 403; and converting the position coordinates of the first device 401 in the intermediate coordinate system into the position coordinates of the local plane of the first device 401 in the second coordinate system relative to the second device 403 to obtain the position of the first device 401 relative to the position of the second device 403.
[0102] In the present disclosure, converting the position coordinates of the first device 401 in the intermediate coordinate system into the position coordinates of the first device 401 in the second coordinate system includes: converting the position coordinates of the first device 401 using a rotation matrix obtained from the position sensor 918 included in the second device 403 .
[0103] In the present disclosure, the electronic device 300 includes: a detection unit 310, configured to use a UWB tag 310a to detect the position coordinates of a first device 401 relative to the electronic device 300, wherein the position coordinates of the first device 401 correspond to the position coordinates of the first device 401 in the first coordinate system; a conversion unit 312, configured to convert the position coordinates of the first device 401 in the first coordinate system into the position coordinates of the first device 401 in the global coordinate system, and convert the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system; and a transceiver 314, configured to send the converted position coordinates of the first device 401 in the user coordinate system to the second device 403, so as to display the position of the first device 401 on the second device 403.
[0104] In the present disclosure, the converted position coordinates of the first device 401 are sent to the second device 403, so that the second device 403 converts the converted position coordinates of the first device 401 in the user coordinate system into the position coordinates of the first device 401 in the second coordinate system to obtain the position of the first device 401, and controls the display screen 914 to display the obtained position of the first device 401.
[0105] In the present disclosure, the first coordinate system defines the position of the first device 401 relative to the UWB sensor plane of the electronic device 300 .
[0106] In the present disclosure, the user coordinate system defines the position coordinates by regarding the user 407 of the electronic device 300 as the origin of the position coordinates of the first device 401 .
[0107] In the present disclosure, the global coordinate system defines the position coordinates by regarding the electronic device 300 as the origin of the position coordinates of the first device 401 .
[0108] In the present disclosure, in order to convert the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system, the conversion unit 312 is configured to: use the position sensor 316 included in the electronic device 300 to determine the height and gait movement of the user 407; determine the position and direction of the electronic device 300 based on the height and gait movement; and convert the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system based on the height and gait movement of the user 407.
[0109] In the present disclosure, the conversion unit 312 is configured to convert the position coordinates of the first device 401 in the first coordinate system into the position coordinates of the first device 401 in the global coordinate system via a rotation matrix obtained using the position sensor 316 .
[0110] In the present disclosure, the second device 403 includes: a transceiver 910, configured to receive the position coordinates of the first device 401 relative to the electronic device, wherein the position coordinates of the first device 401 correspond to the position coordinates in the user coordinate system; a conversion unit 912, configured to convert the received position coordinates of the first device 401 into the position coordinates of the first device 401 in the second coordinate system to obtain the position of the first device 401; and a control unit 916, configured to control the display screen 914 to display the obtained position of the first device 401.
[0111] In the present disclosure, in order to convert the received position coordinates of the first device 401 into the position coordinates of the first device 401 in the second coordinate system, the conversion unit 912 is configured to: determine the position of the second device 403 relative to the user 407 of the second device 403; perform a linear transformation to convert the received position coordinates of the first device 401 into the position coordinates of the first device 401 relative to the position of the second device 403 in the intermediate coordinate system; and convert the position coordinates of the first device 401 in the intermediate coordinate system into the position coordinates of the local plane of the first device 401 relative to the second device 403 in the second coordinate system to obtain the position of the first device 401 relative to the position of the second device 403.
[0112] In the present disclosure, the conversion unit 912 converts the position coordinates of the first device 401 in the intermediate coordinate system into the position coordinates of the first device 401 in the second coordinate system using the rotation matrix obtained from the position sensor.
[0113] In the present disclosure, the electronic device 300 includes: a detection unit 310, configured to use a UWB tag 310a to detect the position coordinates of a first device 401 relative to the electronic device 300, wherein the position coordinates of the first device 401 correspond to the position coordinates of the first device 401 in a first coordinate system; at least one processor 302, configured to convert the position coordinates of the first device 401 in the first coordinate system into the position coordinates of the first device 401 in a global coordinate system, and convert the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in a user coordinate system; and a transceiver 314, configured to send the converted position coordinates of the first device 401 in the user coordinate system to the second device 403, so as to display the position of the first device 401 on the second device 403.
[0114] In the present disclosure, in order to convert the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system, at least one processor 302 is configured to: use the position sensor 316 included in the electronic device 300 to determine the height and gait movement of the user 407; determine the position and direction of the electronic device 300 based on the height and gait movement; and convert the position coordinates of the first device 401 in the global coordinate system into the position coordinates of the first device 401 in the user coordinate system based on the height and gait movement of the user 407.
[0115] In the present disclosure, at least one processor 302 is configured to: convert the position coordinates of the first device 401 in the first coordinate system into the position coordinates of the first device 401 in the global coordinate system via a rotation matrix obtained using the position sensor 316 .
[0116] In an embodiment, the computer-readable medium includes instructions that, when executed, cause at least one processor 302 to display the location of the first device 401 on the second device 403. The computer-readable medium also includes instructions that, when executed, cause at least one processor 302 to perform the following operations: the electronic device 300 detects the location coordinates of the first device 401 relative to the location of the electronic device 300 using an ultra-wideband (UWB) tag, wherein the location coordinates of the first device 401 correspond to the location coordinates of the first device 401 in the first coordinate system; the electronic device 300 converts the location coordinates of the first device 401 in the first coordinate system into the location coordinates of the first device 401 in the global coordinate system; the electronic device 300 converts the location coordinates of the first device 401 in the global coordinate system into the location coordinates of the first device 401 in the user coordinate system; and the electronic device 300 sends the converted location coordinates of the first device 401 in the user coordinate system to the second device 403, so as to display the location of the first device 401 on the second device 403. Although the present disclosure has been described using specific language, no limitation is intended to be created thereby. It will be clear to those skilled in the art that various applicable modifications may be made to the method to realize the inventive concept taught herein. The accompanying drawings and the foregoing description provide examples of embodiments. It will be appreciated by those skilled in the art that one or more of the elements described may be well combined into a single functional element. Alternatively, some elements may be divided into multiple functional elements. Elements from one embodiment may be added to another embodiment. For example, the order of the process described herein may be changed, and is not limited to the manner described herein.
[0117] Furthermore, the actions in any flow chart do not have to be performed in the order shown; nor do all actions necessarily need to be performed. Furthermore, those actions that are not dependent on other actions can be performed in parallel with other actions. The scope of the embodiments is in no way limited by these specific examples. Many variations, such as differences in structure, size, and use of materials, whether or not explicitly given in the specification, are possible. The scope of the embodiments is at least consistent with the scope given by the appended claims.
[0118] Benefits, other advantages, and solutions to problems have been described above with respect to specific embodiments. However, these benefits, advantages, solutions to problems, and any components that may make any benefit, advantage, or solution occur or become more obvious should not be construed as key, required, or essential features or components of any or all claims.
Claims
1. A method for displaying a location of a first device (401) on a second device (403), the method comprising: include: The electronic device (300) detects the position coordinates of the first device (401) relative to the position of the electronic device (300) using an ultra-wideband (UWB) tag, wherein the position coordinates of the first device (401) correspond to the position coordinates in a first coordinate system; The electronic device (300) converts the position coordinates of the first device (401) in the first coordinate system into the position coordinates of the first device (401) in the global coordinate system; The electronic device (300) converts the position coordinates of the first device (401) in the global coordinate system into the position coordinates of the first device (401) in the user coordinate system; and The electronic device (300) sends the converted position coordinates of the first device (401) in the user coordinate system to the second device (403), so that the position of the first device (401) is displayed on the second device (403).
2. The method according to claim 1, in, The converted position coordinates of the first device (401) are sent to the second device (403), so that the second device (403) converts the converted position coordinates of the first device (401) in the user coordinate system into the position coordinates of the first device (401) in the second coordinate system to obtain the position of the first device (401), and controls the display screen (914) of the second device (403) to display the obtained position of the first device (401).
3. The method according to claim 1 or 2, in, The first coordinate system defines the position of the first device (401) relative to the UWB sensor plane of the electronic device (300), The user coordinate system defines the position coordinates by regarding the user (407) of the electronic device (300) as the origin of the position coordinates of the first device (401), and The global coordinate system defines the position coordinates by regarding the electronic device (300) as the origin of the position coordinates of the first device (401).
4. The method according to claim 3, in, Converting the position coordinates of the first device (401) in the global coordinate system into the position coordinates of the first device (401) in the user coordinate system comprises: Using a position sensor (316) included in the electronic device (300) to determine the height and gait movement of the user (407); Determining the position and orientation of the electronic device (300) based on the height and gait movement of the user (407); and Based on the height and gait movement of the user (407), the position coordinates of the first device (401) in the global coordinate system are converted into the position coordinates of the first device (401) in the user coordinate system.
5. The method according to any one of claims 1 to 4, in, The first device (401) includes a UWB tag.
6. The method according to any one of claims 1 to 5, in, The second device (403) does not include a UWB tag.
7. The method according to claim 4, in, Converting the position coordinates of the first device (401) in the first coordinate system to the position coordinates of the first device (401) in the global coordinate system includes converting the position coordinates of the first device (401) via a rotation matrix obtained using the position sensor (316).
8. An electronic device (300), include: A detection unit (310) configured to detect, using a UWB tag (310a), position coordinates of a first device (401) relative to the electronic device (300), wherein the position coordinates of the first device (401) correspond to position coordinates in a first coordinate system; The conversion unit (312) is configured to: Converting the position coordinates of the first device (401) into the position coordinates of the first device (401) in a global coordinate system; converting the position coordinates of the first device (401) in the global coordinate system into the position coordinates of the first device (401) in the user coordinate system; and The transceiver (314) is configured to send the converted position coordinates of the first device (401) in the user coordinate system to the second device (403), so as to display the position of the first device (401) on the second device (403).
9. The electronic device (300) according to claim 8, in, The transceiver sends the converted coordinates of the first device (401) to the second device (403), so that the second device converts the converted position coordinates of the first device (401) in the user coordinate system into the position coordinates of the first device (401) in the second coordinate system to obtain the position of the first device (401), and controls the display screen (914) to display the obtained position of the first device (401).
10. The electronic device (300) according to claim 8 or 9, in, The first coordinate system defines the position of the first device (401) relative to the UWB sensor plane of the electronic device (300), the user coordinate system defines the position coordinates by considering the user (407) of the electronic device (300) as the origin of the position coordinates of the first device (401), and the global coordinate system defines the position coordinates by considering the electronic device (300) as the origin of the position coordinates of the first device (401).
11. The electronic device (300) according to claim 10, in, In order to convert the position coordinates of the first device (401) in the global coordinate system into the position coordinates of the first device (401) in the user coordinate system, the conversion unit (312) is further configured to: Using a position sensor (316) included in the electronic device (300) to determine the height and gait movement of the user (407); Determining the position and orientation of the electronic device (300) based on the height and gait movement of the user (407); as well as Based on the height and gait movement of the user (407), the position coordinates of the first device (401) in the global coordinate system are converted into the position coordinates of the first device (401) in the user coordinate system.
12. The electronic device (300) according to any one of claims 8 to 11, in, The first device (401) includes a UWB tag.
13. The electronic device (300) according to any one of claims 8 to 12, in, The second device (403) does not include a UWB tag.
14. The electronic device (300) according to claim 11, in, The conversion unit (312) is further configured to: The position coordinates of the first device (401) in the first coordinate system are converted into the position coordinates of the first device (401) in the global coordinate system via a rotation matrix obtained using the position sensor (316).
15. A computer readable medium comprising instructions which, when executed, cause at least one processor (302) to implement the method of any one of claims 1 to 7.