Method and apparatus for identifying tracking device, and device and medium

By identifying the relative position between the tracking device and the current device, and automatically identifying the wearing position of the tracking device using the spot image and position estimation algorithm, the problem of calibration errors of the tracking device is solved and the accuracy and user experience of the device are improved.

WO2025180486A1PCT designated stage Publication Date: 2025-09-04BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/079820
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-02-29
Filing Date
2025-02-28
Publication Date
2025-09-04

AI Technical Summary

Technical Problem

In the prior art, the tracking device cannot be calibrated or calibration errors when wearing a wrong position, resulting in inaccurate motion data. A method of automatically identifying the usage position of the tracking device is urgently needed to improve the user experience.

Method used

By determining the multiple first relative positions between the multiple tracking devices and the current device, the camera collects spot images and position estimation algorithm, identify the wearing position of the tracking device, and use a predefined lighting timing and spot pattern to distinguish different tracking devices, and position them in combination with the SLAM algorithm.

Benefits of technology

It realizes automatic identification and calibration of the device position without the need for users to distinguish the wearing position of the tracking device, improving the accuracy and user experience of the tracking device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025079820_04092025_PF_FP_ABST
    Figure CN2025079820_04092025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a method and apparatus for identifying a tracking device, and a device and a medium. The method comprises: determining a plurality of first relative positions between a plurality of tracking devices and a current device; and identifying the tracking devices on the basis of the plurality of first relative positions. By means of the method, the usage position of a tracking device on a tracked target can be automatically identified on the basis of a relative position between a current device and the tracking device, such that it is unnecessary for a user to distinguish the usage position of the tracking device before using same, thereby facilitating the user usage and providing a better experience to a user.
Need to check novelty before this filing date? Find Prior Art

Description

Identification method, device, equipment and medium for tracking device

[0001] This application claims priority to the Chinese invention patent application entitled “Identification method, apparatus, device and medium for tracking devices” filed on February 29, 2024, with application number 202410232779.3, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The embodiments of the present application relate to the field of motion capture technology, and in particular to a method, apparatus, device, and medium for identifying a tracking device. Background Art

[0003] In the motion capture scenario, a tracking device worn or mounted on the target is used to collect motion data of the target, which can be a human body or an object.

[0004] Taking human motion capture as an example, human motion capture technology has huge application prospects in the fields of virtual reality (VR), human-computer interaction, etc. At present, human motion capture solutions mainly use tracking devices worn on human limbs (such as inertial sensors or tracking devices with inertial sensors, etc.) to capture motions in order to collect human motion data in the real world. Before using the tracking device to collect human motion data, the tracking device needs to be calibrated to ensure the accuracy and precision of the motion data collected by the tracking device. In related technologies, before using the tracking device, the user needs to distinguish the wearing position of the tracking device and wear each tracking device on the corresponding part of the human body. For example, the tracking device for the left leg can only be worn on the left leg, the tracking device for the right leg can only be worn on the right leg, and the tracking device for the waist can only be worn on the waist. When the wearing position of any tracking device is wrong, calibration cannot be performed or the calibration is wrong.

[0005] This problem also exists in object motion scenes and object marking scenes. Therefore, how to automatically identify the usage location of the tracking device in the tracking scene is an important issue that needs to be solved. Summary of the Invention

[0006] The present application provides a tracking device identification method, apparatus, device and medium, which can automatically identify the usage position of the tracking device on the tracking target based on the relative position between the current device and the tracking device. The user does not need to distinguish the usage position of the tracking device before using the tracking device, which is convenient for the user to use and brings a better user experience.

[0007] In a first aspect, an embodiment of the present application provides a method for identifying a tracking device, which is applied to a current device and includes: determining multiple first relative positions between multiple tracking devices and the current device; and identifying the tracking device based on the multiple first relative positions.

[0008] In a second aspect, an embodiment of the present application provides an identification device for a tracking device, which is configured in a current device and includes: a determination module for determining multiple first relative positions between multiple tracking devices and the current device; and an identification module for identifying the tracking device based on the multiple first relative positions.

[0009] In a third aspect, an embodiment of the present application provides an electronic device comprising: a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the calibration method of the tracking device described in the embodiment of the first aspect or its various implementation methods.

[0010] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the calibration method of a tracking device as described in the embodiment of the first aspect or its various implementations.

[0011] In a fifth aspect, an embodiment of the present application provides a computer program product comprising program instructions, which, when executed on an electronic device, enables the electronic device to execute the calibration method for a tracking device as described in the embodiment of the first aspect or its various implementations. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0013] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present application;

[0014] FIG2 is a schematic diagram of wearing a head-mounted device, a tracking device, and peripheral devices on different parts of a human body according to an embodiment of the present application;

[0015] FIG3 is a flow chart of a method for identifying a tracking device provided in Example 1 of the present application;

[0016] FIG4 is a flow chart of a method for identifying a tracking device provided in Example 2 of the present application;

[0017] FIG5 is a flow chart of a method for identifying a tracking device provided in Example 3 of the present application;

[0018] FIG6 is a schematic block diagram of an identification device for a tracking device provided in a fourth embodiment of the present application; and

[0019] FIG7 is a schematic block diagram of an electronic device provided in Example 5 of the present application. DETAILED DESCRIPTION

[0020] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0022] The method provided in the embodiment of the present application is applicable to motion capture scenarios, which include object motion capture scenarios and human motion capture scenarios.

[0023] In object motion capture scenarios, tracking devices installed or worn around or on the object can be used to capture the object's motion and collect data on its real-world movement. For example, a tracking device is installed at each corner of a picture frame, and the position of the picture frame is determined by the four tracking devices. The user can use a mobile phone or a head-mounted device to capture images from the tracking device, determine the tracking device's position based on the image, and obtain the object's motion data based on the tracking device's position. The tracking device can be a brake, positioning device, or fixture, etc.

[0024] In the human motion capture scenario, motion capture is mainly performed through tracking devices worn on the human limbs. The head-mounted device is connected to the tracking devices worn on the human body, and collects images, inertial data, etc. from each tracking device for posture estimation to collect human motion data in the real world.

[0025] The methods provided in the embodiments of the present application are also applicable to non-motion capture scenarios, such as object marking scenarios. For example, tracking devices can be installed at various locations in a room to mark the floor, walls, edges, corners, or furniture within the room. Another example is installing a tracking device on the ground to mark lines on the ground, such as various lines on a sports field or the sidelines of a road.

[0026] In the above-mentioned motion capture scenario, in some cases, it is necessary to determine the wearing position of the tracking device on the human body or object. For example, three tracking devices are worn on the human body, respectively on the two ankles and waist of the human body. The three tracking devices have the same appearance. When the user wears the four tracking devices, he does not distinguish where each tracking device should be worn. At this time, the head-mounted device knows the identity of the three connected tracking devices, but does not know the wearing position of each tracking device. In the object marking scenario, it is also necessary to determine the installation position or placement position of the tracking device on the object.

[0027] Determining the location of a tracking device on a human body or object can also be understood as determining the identity (ID) of the tracking devices worn on various parts of the human body or object. In the above example, the user wears three tracking devices on the two ankles and waist. However, the user does not know the ID of the tracking device worn on the left ankle, the ID of the tracking device worn on the right ankle, and the ID of the tracking device worn on the waist. Therefore, the tracking devices need to be identified. Similarly, in the object tagging scenario, the tracking device needs to be identified.

[0028] Embodiments of the present application provide a tracking device identification method, which is applied to an electronic device. The electronic device may be a mobile phone, a tablet computer, a head-mounted device, etc. The electronic device can automatically identify the tracking device, that is, automatically determine the location of each tracking device.

[0029] Taking the human motion capture scene as an example, a typical application of the human motion capture scene is the Extended Reality (XR) scene. XR refers to all real and virtual combined environments and human-computer interactions generated by computer technology and wearable devices. XR includes various forms such as Virtual Reality (VR), Augmented Reality (AR) and Mixed Reality (MR). In order to facilitate the understanding of the embodiments of the present application, before describing the various embodiments of the present application, some concepts in the XR scenes involved in all the embodiments of the present application are first appropriately explained, as follows.

[0030] 1) VR, a technology for creating and experiencing virtual worlds, generates a virtual environment using multi-source information (the VR mentioned in this article includes at least visual perception, but can also include auditory perception, tactile perception, motion perception, and even taste and olfactory perception). It achieves the fusion of interactive three-dimensional dynamic visuals and the simulation of physical behavior in the virtual environment, immersing users in a simulated VR environment. This allows for a variety of virtual environment applications, including mapping, gaming, video, education, healthcare, simulation, collaborative training, sales, assisted manufacturing, maintenance, and repair.

[0031] 2) Virtual reality devices (VR devices) are terminals that achieve virtual reality effects. These devices typically take the form of glasses, head-mounted displays (HMDs), or contact lenses, enabling visual and other forms of perception. Of course, VR devices are not limited to these and can be further miniaturized or enlarged based on actual needs.

[0032] Optionally, the virtual reality devices described in the embodiments of the present application may include but are not limited to the following types.

[0033] 2.1) PC-based virtual reality (PCVR) devices use the PC to perform calculations and output data related to virtual reality functions. External PC-based virtual reality devices use the data output by the PC to achieve virtual reality effects.

[0034] 2.2) Mobile VR devices support the configuration of mobile terminals (such as smartphones) in various ways (such as head-mounted displays with dedicated card slots). Through wired or wireless connection with the mobile terminal, the mobile terminal performs relevant calculations for VR functions and outputs data to the mobile VR device, such as viewing VR videos through the mobile terminal's app.

[0035] 2.3) All-in-one virtual reality devices have a processor for performing relevant calculations for virtual functions, and thus have independent virtual reality input and output functions. They do not need to be connected to a PC or mobile terminal and have a high degree of freedom of use.

[0036] 3) Virtual field of view: the area in the virtual environment that the user can perceive through the lens in the virtual reality device. The field of view (FOV) of the virtual field of view is used to represent the perceived area.

[0037] 4) AR: A technology that calculates the camera's pose parameters in the real world (also known as the 3D world or the real world) in real time while the camera is capturing images. Based on these pose parameters, virtual elements are added to the captured images. Virtual elements include, but are not limited to, images, videos, and 3D models. The goal of AR technology is to overlay the virtual world on the real world for interactive viewing on a screen.

[0038] 5) MR, a simulated setting that integrates computer-generated sensory input (e.g., virtual objects) with sensory input from a physical setting or its representation. In some MR settings, the computer-generated sensory input can adapt to changes in sensory input from the physical setting. Furthermore, some electronic systems used to render MR settings can monitor the orientation and / or position relative to the physical setting to enable virtual objects to interact with real objects (i.e., physical elements from the physical setting or their representations). For example, the system can monitor motion so that virtual plants appear stationary relative to physical buildings.

[0039] 6) A virtual scene is a virtual scene displayed (or provided) when an application is running on an electronic device. The virtual scene can be a simulation of the real world, a semi-simulation and semi-fictitious virtual scene, or a purely fictitious virtual scene. The virtual scene can be any of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiments of the present application do not limit the dimensions of the virtual scene. For example, a virtual scene can include the sky, land, ocean, etc., and the land can include environmental elements such as deserts and cities. Users can control virtual objects to move in the virtual scene.

[0040] 7) Virtual objects are objects that interact in virtual scenes and are controlled by users or robot programs (for example, robot programs based on artificial intelligence). They can be still, move, and perform various behaviors in the virtual scene, such as various characters in games.

[0041] In order to clearly illustrate the technical solution of this application, the application scenarios of the technical solution of this application are described below. It should be understood that the technical solution of this application can be applied to the following scenarios, but is not limited thereto.

[0042] For example, Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present application. As shown in Figure 1, application scenario 1000 may include: a head-mounted device 100 and a tracking device 200. The head-mounted device 100 and the tracking device 200 can communicate with each other. The head-mounted device 100 is also called a head-mounted display device, and the tracking device 200 is also called a motion capture device.

[0043] In some implementations, the head-mounted device 100 may be an HMD, such as a head-mounted display in an all-in-one VR machine, etc. This embodiment does not impose any restrictions on this.

[0044] Furthermore, the head-mounted device 100 is provided with a camera to collect information about the surrounding environment. Based on the collected data, the camera uses a simultaneous localization and mapping (SLAM) algorithm in computer vision to perform tracking and positioning. The number of cameras can be at least one, and FIG1 illustrates an example of four cameras. Furthermore, the type of camera can be a fisheye camera, a standard camera, or another type of camera, and this application does not impose any restrictions thereon.

[0045] In some implementations, the tracking device 200 may include an inertial sensor, or any device having an inertial sensor.

[0046] In some implementations, tracking device 200 may be an optical tracker having a plurality of light-emitting units for positioning, distributed at different locations within the optical tracker. When head-mounted device 100 tracks the posture of a moving human body, the head-mounted device 100 captures light spot images from the light-emitting units through its camera, and determines the optical tracker's posture based on the number N and coordinates of the captured light spots. Optionally, the optical tracker also includes an inertial sensor.

[0047] In some implementations, tracking device 200 includes a camera. Tracking device 200 uses images captured by the camera to determine its own position in the world coordinate system. It then determines the relative positions of head-mounted device 100 and itself based on their positions in the world coordinate system. In this implementation, tracking device 200 can employ the same self-tracking method as head-mounted device 100.

[0048] The tracking device 200 can be worn on different parts of the human body, such as the limbs, torso, shoulders, waist and other parts of the human body. Among them, the limbs of the human body include: upper limbs and lower limbs. For example, as shown in Figure 2, the tracking device 200 is worn on the lower limbs of the human body. Among them, the lower limbs of the human body include: thighs and calves. In other words, four tracking devices 200 can be worn on the thighs and calves (or ankles) of the human body respectively, so as to use the tracking devices 200 to collect the thigh motion data and calf motion data of the human body (collectively referred to as lower limb motion data), and send the lower limb motion data to the head-mounted device 100 to achieve the purpose of tracking the lower limb motion of the human body.

[0049] It should be noted that the limb data collected by the tracking device 200 worn on the human limbs may be 3-degree-of-freedom (Dof) data or 6-DoF data.

[0050] Considering that the upper limbs of the human body can also make different movements, in addition to wearing the tracking device 200 on the upper limbs of the human body, the present application optionally allows the external device 300 to be worn on the upper limbs of the human body. For example, it can be worn on the hand and / or arm of the human body. Then, the upper limb motion data of the human body is collected by the external device 300 and sent to the head-mounted device 100, thereby tracking the upper limb motion of the human body. The wearing method of the external device 300 is specifically shown in Figure 2.

[0051] In some implementations, the peripheral device 300 may be, but is not limited to, a handle, a glove, a bracelet, a wristband, a finger ring, and other wearable devices.

[0052] In some implementations, the peripheral device 300 is provided with an inertial sensor, and the inertial sensor is capable of providing 6-DOF data including the position and posture of the upper limbs of the human body.

[0053] It should be noted that the inertial sensor involved in this embodiment specifically refers to an inertial measurement unit (IMU). Moreover, the IMU can be a six-axis IMU or a nine-axis IMU, which is not specifically limited here.

[0054] It can be understood that the embodiments of the present application can achieve full-body tracking of the human body by wearing tracking devices 200 on the human body's limbs, or wearing external devices 300 on the human body's upper limbs and tracking devices on the human body's lower limbs, etc.

[0055] It should be understood that the head-mounted device 100, tracking device 200 and peripheral device 300 shown in Figures 1 and 2 are only illustrative and do not constitute specific limitations on the present application.

[0056] After introducing the application scenarios of the embodiments of the present application, the calibration method, apparatus, device and medium of a tracking device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0057] FIG3 is a flow chart of a method for identifying a tracking device provided in Example 1 of the present application. The execution subject of this embodiment is the current device, which is an electronic device such as a mobile phone, tablet computer, head-mounted device, etc. As shown in FIG3 , the method may include the following steps:

[0058] At S101 , a plurality of first relative positions between a plurality of tracking devices and a current device are determined.

[0059] The multiple tracking devices are worn or installed on different parts of the tracking target, which can be a human body or an object. The tracking target varies in different application scenarios. For example, in a human motion capture scenario, the tracking target is the human body, while in an object tracking scenario, the tracking target can be furniture installed in a room, a robot moving in space, etc. In an object marking scenario, the tracking target can be the marked floor, wall, furniture in the house, a playground, a road, etc.

[0060] Before executing the method of this embodiment, the multiple tracking devices are worn or installed on corresponding parts of the tracking target, and communication connections can be established between the current device and the multiple tracking devices.

[0061] Optionally, the multiple tracking devices have the same hardware and appearance. If the multiple tracking devices have the same appearance, the user cannot distinguish the tracking devices by appearance when wearing or installing the tracking devices. In the embodiments of the present application, the user does not need to distinguish the use location (wearing location or installation location) of the tracking devices when wearing or installing the tracking devices.

[0062] After wearing or installing multiple tracking devices, the user can activate the current device and the tracking device to establish a communication connection between the current device and each tracking device, laying the foundation for subsequent data communication. The communication connection includes but is not limited to short-range wireless communication such as Bluetooth connection and Wireless Fidelity (WIFI).

[0063] When there are M tracking devices, the current device determines the first relative positions between the M tracking devices and the current device, that is, a maximum of M first relative positions can be obtained. The first relative position is the relative position of the tracking device relative to the current device.

[0064] In one implementation, a current device is provided with a camera, and each tracking device includes multiple light-emitting units. Accordingly, the current device determines a first relative position between each tracking device and the current device based on one or more light spot images of each tracking device captured by the camera. The light spot image is an image captured by the camera based on light emitted by the tracking device's transmitting unit.

[0065] The light-emitting unit on the tracking device can be a light-emitting diode (LED) or other light-emitting device. The light emitted by the light-emitting unit can be visible light or invisible light, as long as it can be captured by the camera. In addition, the light-emitting unit can be distributed in a preset deployment manner inside the housing of the tracking device body or in an accessory rigidly connected to the tracking device body, such as a base. In this application, the preset deployment method can be flexibly set according to the shape of the tracking device body or the accessory rigidly connected to the tracking device body, and there is no limitation on it here.

[0066] For each tracking device, the camera collects one or more light spot images containing a light spot, and determines a first relative position of the tracking device with respect to the current device according to the one or more light spot images of the tracking device.

[0067] Optionally, the current device uses a perspective-n-point (PnP) algorithm to determine a first relative pose of the tracking device relative to the current device based on the positional relationship between the spot image and multiple light-emitting units on the tracking device. The first relative pose includes a first relative position and a first relative pose. The current device can use the above-mentioned PNP algorithm to calculate the first relative pose of the tracking device relative to the current device based on n points (2D points and 3D points in the spot image). 2D points are feature points in the image. 2D points can be understood as the projections of 3D points on the imaging plane. 3D points can be understood as 3D coordinate points in the world coordinate system.

[0068] Generally, PnP algorithms include: P3P algorithm, P5P algorithm and other algorithms. The P3P algorithm calculates the relative pose of the tracking device and the current device based on three points, and the P5P algorithm calculates the relative pose of the tracking device and the current device based on five points. Therefore, in the embodiment of the present application, the number of feature points extracted from the spot image of the tracking device is at least three (that is, the spot image includes at least three spots), and correspondingly, at least three 3D points need to be determined based on the above-mentioned at least three 2D feature points. Based on the at least three 2D feature points and their corresponding 3D points, the relative pose of the tracking device and the current device is calculated.

[0069] In this embodiment, the current device needs to identify which tracking device the captured light spot image belongs to, that is, it needs to match the captured light spot image with the ID of the tracking device.

[0070] In one implementation, multiple tracking devices have different light spot patterns, which can be used to distinguish between different tracking devices. The different light spot patterns used by the tracking devices result in different light spot images captured by the camera. The light spot patterns in the light spot images captured by the camera can be used to determine the ID of the tracking device corresponding to the light spot image.

[0071] Assume that there are three tracking devices in total, and the IDs of the three tracking devices are different. The light spot patterns used by the three tracking devices are different. For example, the tracking device corresponding to ID1 uses light spot pattern 1, the tracking device corresponding to ID2 uses light spot pattern 2, and the tracking device corresponding to ID3 uses light spot pattern 3.

[0072] Different light spot patterns may be different numbers of light spots, and the different numbers of light spots are achieved by lighting different light-emitting units.

[0073] In another implementation, the light spot patterns of multiple tracking devices may be the same, but the lighting timings of the multiple tracking devices may be different. The ID of the tracking device corresponding to the light spot image may be determined based on the lighting timings.

[0074] Exemplarily, a camera is used to capture a sequence of light spot images of multiple tracking devices, wherein the multiple tracking devices sequentially light up the light-emitting units on the corresponding tracking devices according to a predefined lighting sequence; based on the lighting sequence of the multiple tracking devices and the sequence of light spot images captured by the camera, the tracking device corresponding to each light spot image in the light spot image sequence is determined; based on the tracking device corresponding to each light spot image, one or more light spot images of each tracking device are determined.

[0075] Determining the tracking device corresponding to each spot image in the spot image sequence refers to determining the ID of the tracking device corresponding to each spot image, and then using all spot images with the same ID as available images for the tracking device corresponding to the ID. Alternatively, selecting one or a portion of the spot images with the same ID as available images for the tracking device corresponding to the ID, and using the available images to determine the first relative position between the tracking device corresponding to the ID and the current device.

[0076] The predefined lighting sequence is used to control the lighting order of multiple tracking devices connected to the current device. The lighting sequence can be determined according to the number of connected tracking devices after the current device establishes a communication connection with the tracking device.

[0077] In one implementation, the current device sends a lighting instruction to the tracking device in real time according to the lighting sequence to control the lighting state of the connected tracking device.

[0078] In another implementation, the current device sends the lighting sequence and IDs of the multiple connected tracking devices to each tracking device respectively, and each tracking device controls its own lighting state according to the lighting sequence and IDs of the multiple tracking devices.

[0079] Each tracking device can obtain the lighting sequence and IDs of the multiple tracking devices. Taking the current device connected to three tracking devices as an example, assuming that the identifications of the three tracking devices are: tracking device 1, tracking device 2 and tracking device 3, the lighting sequence of the three tracking devices can be: tracking device 1 → tracking device 2 → tracking device 3, then the three tracking devices will obtain the IDs and lighting sequence of the three tracking devices.

[0080] Optionally, after obtaining the lighting timing of the multiple tracking devices, each tracking device can determine the lighting frequency of each tracking device according to the acquisition frequency of the camera, and light up the sending unit at the corresponding time according to the lighting frequency and lighting timing.

[0081] For example, when the camera's acquisition frequency is 30Hz, if the current device is connected to two tracking devices, the lighting frequency of the two tracking devices is 15Hz, that is, each tracking device lights up 15 times in 1 second, and the two tracking devices light up alternately. The camera captures 30 frames of images in 1 second, of which 15 images are collected from tracking device 1 and 15 images are collected from tracking device 2.

[0082] The duration of each tracking device's on-time should be less than or equal to the camera's acquisition time. For example, if the camera's acquisition frequency is 30 Hz, the camera's acquisition time is 33 milliseconds, and the tracking device's on-time should be less than or equal to this 33 milliseconds. For example, if the tracking device's on-time is 33 milliseconds, within one second, the light-emitting unit of tracking device 1 will light up for the first 33 milliseconds, the light-emitting unit of tracking device 2 will light up for the second 33 milliseconds, the light-emitting unit of tracking device 1 will light up for the third 33 milliseconds, and the light-emitting unit of tracking device 2 will light up for the fourth 33 milliseconds. The two tracking devices will light up alternately in this order.

[0083] If the current device is connected to three tracking devices, they light up at a 10Hz frequency. The three tracking devices light up alternately, and the camera captures 20 frames per second: 10 images of tracking device 1 and 10 images of tracking device 2. Tracking device 3 is worn around the waist, so the camera cannot capture the light spot image of tracking device 3. Alternatively, the current device controls the camera not to capture images of tracking device 3 based on the lighting sequence.

[0084] Optionally, the current device not only sends the lighting sequence and ID of the connected tracking devices to each tracking device, but also sends the lighting duration and starting lighting time of each tracking device to each tracking device. For example, the lighting duration of each tracking device is 1 second or 2 seconds, and each tracking device controls the lighting of the light unit according to the starting lighting time, lighting duration, and lighting sequence.

[0085] For example, if the lighting sequence for three tracking devices is: Tracking Device 1 → Tracking Device 2 → Tracking Device 3, and the lighting duration is 1 second, then starting from this starting lighting time, Tracking Device 1 lights up at 1 second, Tracking Device 2 lights up at 2 seconds, and Tracking Device 3 lights up at 3 seconds. The lighting duration, lighting sequence, and starting lighting time can all be flexibly adjusted according to actual needs.

[0086] In another implementation, the current device may capture an environment image that includes an image of the tracking device, and determine the first relative position between the tracking device and the current device based on the environment image. For example, the current device may capture multiple feature points of the tracking device from the image of the tracking device included in the environment image, calculate coordinates of the feature points using a triangulation method, and determine the first relative position between the tracking device and the current device based on the coordinates of the feature points.

[0087] At S102 , a tracking device is identified according to a plurality of first relative positions.

[0088] In this embodiment, identifying the tracking device may refer to identifying or determining the tracking object corresponding to each tracking device. Because the number of tracking devices is the same as the number of tracking objects, the use position of the tracking device is associated with the positional relationship of the tracking object. When the positional relationship of each tracking object is known, the tracking object corresponding to each tracking device can be identified based on multiple first relative positions. For example, in an object motion capture scene or a human motion capture scene, identifying the tracking device may refer to determining at which part of the object or human body each tracking device is located. The user may be prompted to place the current device and each tracking device in a preset reasonable position. When the current device and each tracking device are in a preset positional relationship, the positional relationship of each tracking object is known.

[0089] Optionally, the position of each tracking device in the current tracking mode is identified based on the multiple first relative positions and information about the tracking object tracked in the current tracking mode.

[0090] Multiple tracking modes can be defined. Each tracking mode contains different or partially different information about the objects being tracked. This information includes at least the positional relationships between the objects, and may also include the object categories and number of objects being tracked. Tracking modes can be divided based on one or more of these: object categories, number of objects being tracked, and positional relationships.

[0091] The tracking object category includes human or object. When the tracking object category is human, the tracking object can be multiple different parts of the human body, such as the lower limbs of the human body, or the lower limbs and waist of the human body. When the tracking object category is object, the tracking object can be multiple different parts of the object, such as multiple different parts, multiple corners, vertices, or edges of the object.

[0092] Exemplarily, the following three tracking modes are defined.

[0093] Tracking Mode 1: The head-mounted device is connected to two tracking devices, and the two tracking devices are worn on the lower limbs of the human body (such as ankles).

[0094] Tracking mode 2: The head-mounted device is connected to three tracking devices, and the three motion capture devices are worn on the lower limbs (such as ankles) and waist of the human body respectively.

[0095] Tracking mode 3: A handheld device (such as a mobile phone) is connected to four tracking devices, and the four motion capture devices are respectively installed at the four vertices of the object.

[0096] Optionally, before executing the method of this embodiment, the user first selects a tracking mode to be used. The tracking mode selected by the user is the current tracking mode.

[0097] Optionally, the current tracking mode may also be automatically identified by the current device.

[0098] In the current tracking mode, information about the tracking object being tracked in the current tracking mode can be determined, such as the number of tracking devices connected to the current device, the location of the tracking device in use, and the tracking target. The tracking target is a human body or an object. The number of tracking devices is the same as the number of tracking objects. The location of the tracking device in use is associated with the positional relationship of the tracking object. Based on the multiple first relative positions and the number of tracking devices in the current tracking mode, the location of the tracking device in use, and the tracking target, the position of each tracking device in the current tracking mode is identified.

[0099] In Tracking Mode 1 and Tracking Mode 2, the tracking device is worn on the human body. Accordingly, the position of the tracking device in the current tracking mode is the position of the tracking device on the human body in the current tracking mode. The position of the tracking device on the human body refers to the position of the tracking device on the human body.

[0100] In Tracking Mode 3 described above, assuming the object is a picture frame, then with the picture frame positioned upright in front of the handheld device, the four tracking devices can be identified as being located within the picture frame. For example, using the tracking device ID 1, the method of this embodiment can identify whether the tracking device corresponding to ID 1 is located in the upper left, lower left, upper right, or lower right of the picture frame, ultimately obtaining the IDs for the upper left, lower left, upper right, and lower right tracking devices.

[0101] When the tracking device is worn on a human body, optionally, under a preset calibration action, multiple first relative positions between multiple tracking devices and the current device are determined.

[0102] This preset calibration action, also known as a preset calibration pose, is performed by the user and held for a specified period of time to ensure a specific relative position between the device and the wearer's body. It should be understood that the applicable calibration action may vary depending on the position of the device relative to the body. These actions include, but are not limited to, T-pose and N-pose.

[0103] The T-pose can be understood as a T-shaped posture with arms stretched out horizontally to the sides, toes pointing forward, and legs together. The N-pose can be understood as similar to the standing position, with toes pointing forward and the body standing at attention and looking straight ahead. The time for the calibration action to be maintained can be flexibly set according to actual computing requirements, such as 1 second, 2 seconds, or 3 seconds, etc. This application does not impose any restrictions on this.

[0104] Alternatively, the T-pose can be modified to obtain the calibration pose. For example, the calibration pose is to stretch both arms forward horizontally, point both toes forward, and keep both legs together. Alternatively, the calibration pose is to stretch both arms forward horizontally, point both toes forward, and spread both legs apart. Alternatively, the calibration pose is to stretch both arms horizontally to the sides, point both toes forward, and spread both legs apart.

[0105] When the first relative position is the relative position under a preset calibration action, the position of the tracking device on the human body in the current tracking mode is determined based on the relative positions of the various parts of the human body under the calibration action. When the calibration action is known, the relative positional relationship between the various parts of the human body under the calibration action is known and fixed. For example, when the calibration action is N-pose, the left leg is located at the lower left position of the head, and the right leg is located at the lower right position of the head. Therefore, based on the relative positions of the various parts of the human body under the calibration action and the relative positional relationship between the detected tracking devices and the current device, the position of the tracking device on the human body in the current tracking mode can be determined.

[0106] Optionally, in some scenarios, N first relative positions between N tracking devices among the M tracking devices connected to the current device and the current device are determined, where M and N are both integers, N is greater than or equal to 2, and M is greater than N; accordingly, M tracking devices are identified based on the N first relative positions.

[0107] In one scenario, assume that the current device is connected to three tracking devices, which are worn on the left leg, right leg, and waist of the human body respectively. When the camera cannot capture the spot image of the tracking device worn on the waist, the current device cannot determine the first relative position between the tracking device worn on the waist and the current device through the spot image. In this case, the current device determines the first relative position between the two tracking devices worn on the legs and the current device. Based on the first relative position between the two tracking devices worn on the legs and the current device, the two tracking devices worn on the legs are identified, and the wearing position of the remaining tracking device is the waist, so that the three tracking devices can be identified.

[0108] Optionally, in one implementation, the tracking device can be identified based on multiple first relative postures or multiple first relative positions. The first relative posture refers to the posture of the tracking device relative to the current device, and the first relative posture includes the position and posture of the tracking device relative to the current device. The current device can obtain the first relative posture and obtain the first relative position and first relative posture from the first relative position.

[0109] Optionally, after the tracking device is identified based on the multiple first relative positions, an operation instruction is executed based on the information of the identified tracking device.

[0110] The information of the identified tracking device may be the tracking device's identification information, which refers to the correspondence between the tracking device ID and the tracking device's location. For example, the tracking device ID for the user's left leg is ID1, and the tracking device ID for the user's right leg is ID2. Alternatively, the tracking device corresponding to ID1 is worn on the user's left leg, and the tracking device corresponding to ID2 is worn on the user's right leg.

[0111] When the information of the identified tracking device is the identification information of the tracking device, the operation instruction may be a display instruction, and the ID and location information of the identified tracking device may be displayed through the display instruction. In one implementation, the ID and location information of each identified tracking device may be displayed in a list. In another implementation, the ID and location information of each identified tracking device may be displayed in conjunction with a human body model, that is, the ID and location information of each identified tracking device may be displayed at a display position corresponding to the location information on the human body model.

[0112] The identified tracking device information may also include tracking information from the tracking device. This tracking information may include IMU data from the tracking device. User actions may be identified based on the tracking information from the tracking device. The display of virtual objects or interaction with virtual objects may be controlled based on the identified user actions.

[0113] For example, the IMU data from the left leg tracking device can be used to identify whether the left leg has stepped on or lifted its leg. If this is detected, a virtual object can be controlled to display in the virtual scene, such as a prompt message. Alternatively, a virtual object in the virtual scene can be controlled to perform a corresponding special effect.

[0114] Optionally, the human body posture can be determined based on the tracking information of the tracking device, and the avatar can be driven or sports games can be played based on the human body posture.

[0115] In this embodiment, the current device determines multiple first relative positions between multiple tracking devices and the current device, and identifies the tracking device based on the multiple first relative positions. This method can automatically identify the tracking device's usage position on the tracking target based on the relative positions between the current device and the tracking device. The user does not need to determine the tracking device's usage position before using the tracking device, which is convenient for the user and provides a better user experience.

[0116] Based on the above content, Example 2 of the present application is illustrated using the human motion capture scenario as an example. The method of this embodiment can be applied to the calibration process of the tracking device. The method of this embodiment can be executed by a head-mounted device, which can be a VR device, an AR device, or an MR device.

[0117] Figure 4 is a flow chart of a method for identifying a tracking device according to a second embodiment of the present application. As shown in Figure 4 , the method may include the following steps.

[0118] At S201 , under a preset calibration action, first relative positions between a plurality of tracking devices and a head-mounted device are determined, wherein the tracking devices are worn on a limb of a human body.

[0119] When multiple tracking devices are used to capture human motion, the multiple tracking devices are respectively worn on different limbs of the human body.

[0120] Optionally, the optical characteristics of the multiple tracking devices are the same, that is, the hardware appearance and / or the spatial position of the light-emitting elements are the same. When the appearance of the multiple tracking devices is the same, the user cannot distinguish the tracking devices by appearance when wearing the tracking devices. When the spatial position of the light-emitting elements of the multiple tracking devices is the same, although it is easy to produce and manufacture the hardware products, it is not easy to distinguish between the tracking devices. In this embodiment, when the user wears the tracking device, there is no need to distinguish the wearing position of the tracking device.

[0121] Before executing S201, the user first wears the head-mounted device and the tracking device on different parts of the human body, such as wearing the head-mounted device on the human head, wearing the tracking device on the human ankle, or holding the peripheral device in the human hand. For another example, the head-mounted device is worn on the human head, and the tracking device is worn on the human upper limbs and the human lower limbs. For another example, the head-mounted device is worn on the human head, and the tracking device is worn on the human upper limbs, waist, and human lower limbs, etc.

[0122] Exemplarily, the tracking modes of the head-mounted device are divided into the following modes according to the number of tracking devices connected to the head-mounted device.

[0123] In human body tracking mode 1, the head-mounted device is connected to two tracking devices, which are worn on the lower limbs (e.g., ankles) of the human body.

[0124] In human body tracking mode 2, the head-mounted device is connected to three tracking devices, which are respectively worn on the lower limbs (such as ankles) and waist of the human body.

[0125] Human body tracking mode 3: The head-mounted device is connected to four tracking devices, two of which are worn on the lower limbs (such as ankles) and upper limbs (such as wrists) of the human body.

[0126] Human body tracking mode 4: The head-mounted device is connected to five tracking devices, and the two tracking devices are worn on the lower limbs (such as ankles), upper limbs (such as wrists) and waist of the human body respectively.

[0127] In the above-mentioned body tracking mode, the lower limbs of the human body include the left lower limb and the right lower limb, and the upper limbs of the human body include the right upper limb and the right lower limb. Optionally, in body tracking mode 1 and body tracking mode 2, the head-mounted device can also be connected to an external device (such as left and right handles) to achieve full-body motion capture of the human body.

[0128] After putting on the headset, tracking device, and peripheral devices (such as a controller), the user can activate the headset, tracking device, and peripheral devices to establish communication connections between the headset and each tracking device, as well as between the headset and the peripheral devices, laying the foundation for subsequent data communication. Such communication connections include but are not limited to short-range wireless communications such as Bluetooth connections and Wi-Fi.

[0129] After the multiple tracking devices establish a connection with the head-mounted device, the head-mounted device can guide the user to perform a preset calibration action and maintain it for a certain period of time to ensure that there is a certain relative posture between the user's face and the human body wearing position of the tracking device through the calibration action.

[0130] The calibration action includes but is not limited to: T-pose, N-pose, other actions that can ensure that the user's face, chest and lower limbs (i.e., legs) are facing the same direction, or other actions that ensure that the user's face and the limbs wearing the tracking device have a certain relative posture.

[0131] In Body Tracking Mode 1 and Body Tracking Mode 2, where the user wears a tracking device on each of their left and right ankles, or wears a tracking device on each of their left and right ankles, or on their waist, N-pose can be used as the calibration pose.

[0132] In Body Tracking Mode 3 and Body Tracking Mode 4, the user wears a tracking device on each of their left and right ankles and wrists. Alternatively, when the user wears a tracking device on each of their left and right ankles, wrists, and waist, the T-pose can be used as the calibration pose.

[0133] Alternatively, in some application scenarios, the user may wear tracking devices only on the left and right wrists. Alternatively, the user may wear a tracking device on the left and right wrists and a tracking device on the waist to capture the motion of the upper body.

[0134] After the user performs the preset calibration pose, the positions of the limbs and head remain fixed. That is, at the moment the user performs the preset pose, the pose transformation relationship between the limb coordinate system and the head-mounted coordinate system is a known quantity, and this known quantity is typically a constant. For example, the pose transformation relationship between the limb coordinate system and the head-mounted coordinate system is a unit matrix.

[0135] In one implementation, during the calibration operation, the head-mounted device uses a PnP algorithm to directly calculate the first relative position between the tracking device and the head-mounted device based on the spot image of the tracking device captured by the camera.

[0136] In another implementation, during this calibration process, the positioning device may obtain a first position of the head-mounted device in a world coordinate system and a second position of each tracking device in the world coordinate system. For each tracking device, a first relative position between the tracking device and the head-mounted device is determined based on the first position and the second position. The positioning device may be a device other than the head-mounted device and the tracking device.

[0137] Optionally, when determining the first relative position between the tracking device and the head-mounted device, the coordinate systems of the first position and the second position may not be the world coordinate system, but may use other coordinate systems. This embodiment is not limited to this, as long as the first position and the second position are in the same coordinate system.

[0138] In another implementation, while the person maintains the calibration posture, the positioning device obtains a first pose of the head-mounted device in the world coordinate system. While the person maintains the calibration posture and rotates their head, the positioning device uses a camera to capture spot images of multiple tracking devices and determines a second pose of the tracking devices in the world coordinate system based on the spot images of the tracking devices. Based on the first and second poses, the positioning device determines a first relative position between the tracking devices and the head-mounted device.

[0139] The first posture includes a first position and a first posture, and the second posture includes a second position and a second posture. The positioning device can determine a first relative position between the tracking device and the head-mounted device based on the first position and the second position.

[0140] The head-mounted device is equipped with a camera that can collect real-time data about the surrounding environment. The head-mounted device can use a computer vision SLAM algorithm to determine the head-mounted device's position information in real time based on the surrounding environment data collected by the camera. Therefore, in this embodiment, when determining the first position of the head-mounted device in the world coordinate system, the computer vision SLAM algorithm can be used based on the surrounding environment data collected by the camera. The specific determination process is conventional in the art and will not be described in detail here.

[0141] The headset may need to turn the head to capture the tracking device's spot image. For example, when the headset is in Body Tracking Mode 1 or Body Tracking Mode 2, if the user lowers their head, the headset's lower binocular cameras can capture the tracking device's spot image on both lower limbs.

[0142] At S202 , the human body wearing position of each tracking device is identified based on the multiple first relative positions.

[0143] The human body wearing position of each tracking device is the human body wearing position of the tracking device in the current tracking mode. The head-mounted device identifies the human body wearing position of each tracking device in the current tracking mode based on multiple first relative positions and information of the tracking object tracked in the current tracking mode.

[0144] Optionally, the relative positions of various parts of the human body during the calibration action are related to the human body wearing positions of various tracking devices in the current tracking mode.

[0145] Exemplarily, the relative positions of the various parts of the human body during the calibration action may be the second relative positions of the various parts of the human body and the human head, that is, the second relative positions of the various parts of the human body and the head-mounted device. When the calibration action is N-pose, the predefined second relative position relationship between the various parts of the human body and the human head during the calibration action may include: the left foot is located at the lower left of the human head, and the right foot is located at the lower right of the human head. When the calibration action is T-pose, the second relative position relationship may include: the left foot is located at the lower left of the human head, the right foot is located at the lower right of the human head, the left hand is located on the left side of the human head, and the right hand is located on the right side of the human head.

[0146] In one implementation, the head-mounted device can match the first relative position of each tracking device with the predefined second relative position of each human body part and the human head during the calibration action. If the first relative position corresponding to the first tracking device matches the second relative position of the first limb and the human head, the wearing position of the first tracking device is determined to be the first limb. Here, the first tracking device is any one of the multiple tracking devices, and the first limb is any one of the limbs of the human body.

[0147] The first relative position of the first tracking device and the second relative position of the first limb and the human head match each other if the first relative position and the second relative position are the same or correspond to each other. For example, if the first relative position of the first tracking device is that the first tracking device is located to the lower right of the head-mounted device, then if the first limb is located to the lower right of the head, then the first relative position and the second relative position are determined to match.

[0148] The head-mounted device's camera cannot capture the tracking device worn at the waist. Therefore, in some tracking modes, the total number M of tracking devices connected to the head-mounted device is equal to the first number N of tracking devices corresponding to the light spot image captured by the camera, such as body tracking mode 1 and body tracking mode 3. In other body tracking modes, the total number M of tracking devices connected to the head-mounted device is greater than the first number N of tracking devices corresponding to the light spot image captured by the camera, such as body tracking mode 2 and body tracking mode 4. In body tracking mode 2 and body tracking mode 4, M is greater than N by 1, which means that there is one more tracking device worn at the waist.

[0149] Therefore, when M is greater than N by 1, the wearing position of the first tracking device connected to the head-mounted device, excluding the tracking device corresponding to the light spot image captured by the camera, is determined to be the waist.

[0150] The headset can obtain the IDs of all connected tracking devices, as well as the ID of the tracking device captured by the camera. Excluding the ID of the tracking device captured by the camera from the IDs of all connected tracking devices, the ID of the remaining tracking device (i.e., the first tracking device) is the ID of the tracking device worn at the waist, indicating that the first tracking device is worn at the waist.

[0151] Optionally, the first tracking device is worn at the front waist or the back waist. In one implementation, the head-mounted device defaults to the first tracking device being worn at the back waist. In another implementation, the head-mounted device determines whether the first tracking device is worn at the front waist or the back waist based on the user's first input information.

[0152] For example, after the head-mounted device determines that the first tracking device is worn at the waist using the above method, it displays waist wearing position options to the user. The waist wearing position options include front waist and back waist. The user selects front waist or back waist based on the actual wearing position. The head-mounted display determines whether the first tracking device is worn at the front waist or back waist based on the user's selection information (i.e., the first input information).

[0153] When M is much larger than N, other information needs to be obtained, and the tracking device is identified based on the other information and the first relative positions of the N tracking devices.

[0154] In this embodiment, a preset calibration process is performed to determine the first relative positions between multiple tracking devices and a head-mounted device. The tracking devices are worn on a human limb, and the wear position of each tracking device on the human body is identified based on the multiple first relative positions. This method can automatically identify the wear position of the tracking device based on the relative positions between the tracking device and the head-mounted device. This eliminates the need for the user to determine the wear position of the tracking device before wearing the tracking device, facilitating user use and providing a better user experience.

[0155] Based on the above, the third embodiment of the present application provides a method for identifying a tracking device. FIG5 is a flow chart of the method for identifying a tracking device provided in the third embodiment of the present application. As shown in FIG5 , the method may include the following steps:

[0156] At S301 , while the human body maintains a calibration action, the camera collects light spot images of multiple tracking devices.

[0157] Exemplarily, the calibration action is T-pose or N-pose. For example, in the first step, the user performs N-pose for 1 second, that is, the left and right toes are pointed forward, the body stands at attention and looks straight ahead, and holds this position for 1 second.

[0158] The camera can capture light spot images of multiple tracking devices while the human body maintains the calibration posture and turns the head.

[0159] For example, the user needs to lower their head so that the camera can capture the light spot image of the tracking device worn on their lower limbs. The headset needs to identify which tracking device the captured light spot image belongs to, that is, it needs to match the captured light spot image with the tracking device ID.

[0160] In one implementation, a head-mounted device uses a camera to capture a sequence of light spot images from multiple tracking devices, each of which is equipped with a light-emitting unit. The multiple tracking devices sequentially illuminate the light-emitting units on their corresponding tracking devices according to a predefined illumination sequence. Based on the illumination sequence of the multiple tracking devices and the sequence of light spot images captured by the camera, the head-mounted device determines the ID of the tracking device corresponding to each light spot image in the sequence of light spot images.

[0161] At S302 , a first relative posture between each tracking device and the head-mounted device is determined based on one or more light spot images of each tracking device.

[0162] After the head-mounted device matches the light spot image of the tracking device with the ID of the tracking device, it uses the PNP algorithm to determine the first relative posture of each tracking device relative to the head-mounted device based on the light spot image of each tracking device. This will not be described in detail here.

[0163] At S303 , a first relative position between each tracking device and the head-mounted device is obtained from the first relative posture between each tracking device and the head-mounted device.

[0164] The first relative posture includes a first relative position and a first relative posture, and the head-mounted device obtains the first relative position from the first relative posture.

[0165] At S304 , the human body wearing position of each tracking device is determined based on the multiple first relative positions.

[0166] In this embodiment, multiple tracking devices are controlled to light up the light-emitting units on each tracking device in sequence according to a prescribed lighting sequence. When the light-emitting units of the tracking devices are lit, the camera of the head-mounted device is used to capture the light spot images of the light-emitting units of each tracking device. The ID of the tracking device corresponding to each light spot image in the captured light spot image sequence is determined according to the lighting sequence. The second posture of the tracking device in the world coordinate system is determined based on the light spot image of each tracking device. The first relative position between each tracking device and the head-mounted device is determined based on the first posture of the head-mounted device and the second posture of each tracking device. The wearing position of the tracking device is automatically identified optically, and the user does not need to distinguish the wearing position of the tracking device before wearing the tracking device, which is convenient for the user to use and brings the user a better experience.

[0167] The tracking device identification method described in the second and third embodiments can be applied to the relative posture calibration process between a human body part and a tracking device. The tracking device identification method described above can be considered as calibration of the tracking device's wearing position. Before calibrating the relative posture between a human body part and the tracking device, the tracking device's wearing position can be calibrated using the tracking device identification method described in the above embodiments.

[0168] Calibration of the relative posture between a human body part and a tracking device includes determining a relative posture relationship between the tracking device and the part of the human body where the tracking device is worn, and determining the posture of the part where the tracking device is worn based on the first relative posture relationship and the real-time posture of the tracking device in a world coordinate system. For example, the relative posture relationship between the tracking device at the ankle and the ankle can be determined, and the real-time posture of the ankle can be determined based on the relative posture relationship and the real-time posture of the tracking device at the ankle.

[0169] On the basis of the above embodiment, as an optional implementation scenario, multiple antennas are provided at different positions of the current device. The current device determines the target antenna corresponding to the target tracking device from multiple antennas according to the position of the target tracking device that currently needs to communicate in the current tracking mode. The target antenna is used to communicate with the target tracking device, for example, tracking devices at different positions are assigned to different antennas to achieve communication. By assigning different antennas to tracking devices at different positions, interference can be avoided. By selecting a suitable target antenna to communicate with the target tracking device, the packet loss rate between the current device and the tracking device can also be reduced, thereby improving the communication reliability between the current device and the tracking device.

[0170] In one implementation, the wireless controller controlling the current device is connected to a target antenna, which is then used to communicate with the target tracking device. While the wireless controller is connected to the target antenna, it disconnects from other antennas. The wireless controller controls wireless communications between the current device and each tracking device. The current device selects an antenna to communicate with the target tracking device by switching the connection between the wireless controller and each antenna.

[0171] Optionally, the target antenna is at the shortest distance from the target tracking device. In short-range wireless communications, distance affects communication quality. Selecting the antenna with the shortest distance as the target antenna improves communication reliability between the current device and the target tracking device.

[0172] For example, a headset typically uses Bluetooth to communicate with a tracking device. A Bluetooth antenna can be installed on each side of the headset. The left antenna communicates with the tracking device on the left side, while the right antenna communicates with the tracking device on the right side. This reduces packet loss between the headset and the tracking device, improving communication reliability.

[0173] Accordingly, before the headset communicates with the target tracking device, the headset determines the currently used target antenna from the two Bluetooth antennas based on the wearer's position. This target antenna is located on the same side of the headset as the target tracking device, and is used to communicate with the target tracking device.

[0174] The target tracking device does not refer to a specific tracking device, but rather refers to the tracking device that the headset currently needs to communicate with. The target antenna and the target tracking device being located on the same side of the headset means that the target antenna and the target tracking device are both located on the left or right side of the headset.

[0175] In one implementation, a wireless controller of the head mounted device is connected to a target antenna via a connection port. When the wireless controller is connected to the target antenna via the connection port, the wireless controller is disconnected from another antenna.

[0176] The wireless controller is used to control wireless communication between the headset and each tracking device. The wireless controller and the two Bluetooth antennas can be connected and communicate with each other through a connection port. The connection port can be a general-purpose input / output (GPIO) port. The wireless controller uses the GPIO to control whether to use the left antenna or the right antenna. When the GPIO between the wireless controller and the left antenna is connected, the left antenna is used. When the GPIO between the wireless controller and the right antenna is connected, the right antenna is used.

[0177] It is understandable that the setting position of the Bluetooth antenna is not limited to the left and right sides of the head-mounted device, but can also be the front and back sides of the head-mounted device, or other positions.

[0178] The technical solution disclosed in the embodiments of the present application has at least the following beneficial effects: by determining multiple first relative positions between multiple tracking devices and the current device, the tracking device can be identified based on the multiple first relative positions. Based on the relative positions between the current device and the tracking device, the tracking device's usage position on the tracking target can be automatically identified. Users do not need to distinguish the tracking device's usage position before using the tracking device, which facilitates user use and provides a better user experience.

[0179] The following describes an identification device for a tracking device provided in an embodiment of the present application with reference to FIG6 . FIG6 is a schematic block diagram of an identification device for a tracking device provided in Example 4 of the present application. As shown in FIG6 , the identification device 100 for the tracking device includes: a determination module 11 and an identification module 12. The determination module 11 determines multiple first relative positions between multiple tracking devices and the current device. The identification module 12 is configured to identify the tracking device based on the multiple first relative positions.

[0180] In an optional implementation, the determining module 11 is specifically configured to: identify the position of each tracking device in the current tracking mode according to the multiple first relative positions and information about the tracking object tracked in the current tracking mode.

[0181] In an optional implementation, the tracking device is worn on a human body, and the position of the tracking device in the current tracking mode is the position of the tracking device worn on a human body in the current tracking mode.

[0182] In an optional implementation, the determining module 11 is specifically configured to determine a plurality of first relative positions between the plurality of tracking devices and the current device under a preset calibration action.

[0183] In an optional implementation, the human body wearing position of the tracking device in the current tracking mode is determined based on the relative positions of the various parts of the human body during the calibration action.

[0184] In an optional implementation, the determination module 11 is specifically used to: determine N first relative positions between N tracking devices among the M tracking devices connected to the current device and the current device, where M and N are both integers, N is greater than or equal to 2, and M is greater than N; the identification module 12 is specifically used to: identify the M tracking devices based on the N first relative positions.

[0185] In an optional implementation, the current device includes a camera, and the determination module 11 is specifically configured to determine the first relative position between each tracking device and the current device based on one or more light spot images of each tracking device captured by the camera.

[0186] In an optional implementation, the tracking device includes multiple light-emitting units, and the apparatus further includes a matching module, which is used to: collect a sequence of light spot images of the multiple tracking devices through the camera, wherein the multiple tracking devices sequentially light up the light-emitting units on the corresponding tracking devices according to a predefined lighting sequence; determine the tracking device corresponding to each light spot image in the light spot image sequence according to the lighting sequence of the multiple tracking devices and the light spot image sequence collected by the camera; and determine one or more light spot images of each tracking device according to the tracking device corresponding to each light spot image.

[0187] In an optional implementation, the current device is provided with multiple antennas at different positions of the device, and the apparatus further includes a communication module for: determining a target antenna corresponding to the target tracking device from the multiple antennas according to the position of the target tracking device that the current device currently needs to communicate with in the current tracking mode; and using the target antenna to communicate with the target tracking device.

[0188] In an optional implementation, the communication module is specifically used to: control the wireless controller of the current device to connect to the target antenna, and use the target antenna to communicate with the target tracking device, wherein, when the wireless controller is connected to the target antenna, the wireless controller disconnects from other antennas.

[0189] In an optional implementation, the distance between the target antenna and the target tracking device is minimized.

[0190] In an optional implementation, the current device is a head-mounted device.

[0191] In an optional implementation, the apparatus further includes a control module configured to execute an operation instruction based on the identified information of the tracking device.

[0192] The identification device of the tracking device provided in the embodiment of the present application is used to execute the identification method of the tracking device described in the above method embodiment. It should be understood that the device embodiment and the aforementioned method embodiment can correspond to each other, and similar descriptions can refer to the method embodiment. To avoid repetition, no further details will be given here. Specifically, the device 100 shown in Figure 6 can execute any method embodiment of embodiment one to embodiment three, and the operations and / or functions of each module in the device 100 are respectively for implementing the corresponding processes in each method. For the sake of brevity, no further details will be given here.

[0193] The above describes the device 100 of the embodiment of the present application from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in the form of hardware, can be implemented by instructions in the form of software, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the first aspect method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software instructions in the processor, and the steps of the first aspect method disclosed in conjunction with the embodiment of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Optionally, the software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps in the above-mentioned first aspect method embodiment in conjunction with its hardware.

[0194] Figure 7 is a schematic block diagram of an electronic device provided in accordance with an embodiment of the present application. As shown in Figure 7, the electronic device 200 may include a memory 21 and a processor 22. The memory 21 is configured to store a computer program and transmit the program code to the processor 22. In other words, the processor 22 may retrieve and execute the computer program from the memory 21 to implement the method in accordance with an embodiment of the present application.

[0195] For example, the processor 22 may be configured to execute the above method embodiments according to instructions in the computer program.

[0196] In some embodiments of the present application, the processor 22 may include but is not limited to: a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0197] In some embodiments of the present application, the memory 21 includes, but is not limited to, volatile memory and / or non-volatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).

[0198] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 21 and executed by the processor 22 to implement the method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.

[0199] As shown in Figure 7, the electronic device 200 may further include a transceiver 23, which may be connected to the processor 22 or the memory 21. The processor 22 may control the transceiver 23 to communicate with other devices. Specifically, the transceiver 23 may send information or data to other devices, or receive information or data sent by other devices. The transceiver 23 may include a transmitter and a receiver. The transceiver 23 may further include one or more antennas.

[0200] It can be understood that, although not shown in FIG8 , the electronic device 200 may further include a camera module, a wireless fidelity WIFI module, a positioning module, a Bluetooth module, a display, a controller, etc., which will not be described in detail here.

[0201] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.

[0202] The present application also provides a computer storage medium having a computer program stored thereon, which enables the computer to perform the method of the above method embodiment when the computer program is executed by the computer.

[0203] An embodiment of the present application further provides a computer program product comprising program instructions, which, when executed on an electronic device, enables the electronic device to execute the method of the above method embodiment.

[0204] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)).

[0205] Those skilled in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

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

[0207] Modules described as separate components may or may not be physically separate, and components displayed as modules may or may not be physical modules, i.e., they may be located in one place or distributed across multiple network elements. Some or all of the modules may be selected based on actual needs to achieve the purpose of the present embodiment. For example, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module.

[0208] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included within the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.

Claims

1. A method for identifying a tracking device, comprising: determining a plurality of first relative positions between a plurality of tracking devices and the current device; as well as The tracking device is identified based on the plurality of first relative positions.

2. The method according to claim 1, wherein identifying the tracking device according to the plurality of first relative positions comprises: The position of each tracking device in the current tracking mode is identified according to the multiple first relative positions and information about the tracking object tracked in the current tracking mode.

3. The method according to claim 2, wherein the tracking device is worn on a human body, and the position of the tracking device in the current tracking mode is the position of the tracking device worn on the human body in the current tracking mode.

4. The method according to claim 3, wherein determining a plurality of first relative positions between a plurality of tracking devices and the current device comprises: Under a preset calibration action, a plurality of first relative positions between the plurality of tracking devices and the current device are determined.

5. The method according to claim 4, wherein the human body wearing position of the tracking device in the current tracking mode is determined according to the relative positions between the various parts of the human body during the calibration action.

6. The method according to any one of claims 2 to 5, wherein determining a plurality of first relative positions between a plurality of tracking devices and the current device comprises: Determine N first relative positions between N tracking devices among M tracking devices connected to the current device and the current device, where M and N are both integers, N is greater than or equal to 2, and M is greater than N; The step of identifying the tracking device according to the plurality of first relative positions comprises: The M tracking devices are identified according to the N first relative positions.

7. The method according to claim 1, wherein the current device comprises a camera, and determining a plurality of first relative positions between the plurality of tracking devices and the current device comprises: The first relative position between each tracking device and the current device is determined according to one or more light spot images of each tracking device captured by the camera.

8. The method according to claim 7, wherein the tracking device comprises a plurality of light emitting units, the method further comprising: Collecting a sequence of light spot images of the plurality of tracking devices by the camera, wherein the plurality of tracking devices sequentially light up the light-emitting units on the corresponding tracking devices according to a predefined lighting sequence; Determining, based on the lighting timings of the plurality of tracking devices and the light spot image sequence captured by the camera, a tracking device corresponding to each light spot image in the light spot image sequence; and According to the tracking devices corresponding to the respective light spot images, one or more light spot images of each tracking device are determined.

9. The method according to claim 2, wherein the current device is provided with multiple antennas at different locations of the device, the method further comprising: Determining, from the multiple antennas, a target antenna corresponding to the target tracking device that the current device currently needs to communicate with in the current tracking mode; as well as Communicating with the target tracking device using the target antenna.

10. The method of claim 9, wherein the communicating with the target tracking device using the target antenna comprises: The wireless controller controlling the current device is connected to the target antenna and uses the target antenna to communicate with the target tracking device, wherein when the wireless controller is connected to the target antenna, the wireless controller is disconnected from other antennas. The method according to claim 9 or 10, wherein the distance between the target antenna and the target tracking device is minimized.

12. The method according to any one of claims 1-5, wherein the current device is a head-mounted device.

13. The method according to any one of claims 1 to 5, further comprising: Execute an operation instruction according to the information of the identified tracking device.

14. An identification device for a tracking device, the device being configured in a current device, the device comprising: a determination module, determining a plurality of first relative positions between a plurality of tracking devices and the current device; as well as An identification module is configured to identify the tracking device according to the plurality of first relative positions.

15. An electronic device comprising: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the tracking device identification method according to any one of claims 1 to 13. 16 . A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to execute the tracking device identification method according to claim 1 .

17. A computer program product tangibly stored in a computer storage medium and comprising computer executable instructions which, when executed by a device, cause the device to perform the tracking device identification method according to any one of claims 1 to 13.

Citation Information

Patent Citations

  • Tracking equipment identification method and device, equipment and medium

    CN120560492A

  • Multi-target positioning method and system

    CN106019265A

  • Method and system for tracking position of matched gamepad of VR (virtual reality) head-mounted device

    CN106768361A

  • Positioning tracking method and device, terminal equipment and computer readable storage medium

    CN115082520A

  • Pose determination method and device of optical tracker, equipment and medium

    CN117314955A