Pointing determination method and related equipment

By obtaining the attitude parameters of the remote control device and using the direction finding unit and inertial direction finding unit to determine the attitude change trend of the remote control device, the problem that the remote control device cannot accurately distinguish whether it is facing or facing away from the controlled device is solved, and accurate pointing determination is achieved.

CN119603629BActive Publication Date: 2025-09-30HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311163707.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-08
Publication Date
2025-09-30
Estimated Expiration
2043-09-08

AI Technical Summary

Technical Problem

In UWB technology, the remote control device cannot accurately distinguish whether it is facing or facing away from the controlled device, resulting in incorrect cursor display.

Method used

By acquiring the first attitude parameter and the second attitude parameter of the remote control device, the attitude change trend of the remote control device is determined using the direction finding unit and the inertial direction finding unit of the remote control device to judge whether the remote control device is pointing to the controlled device.

Benefits of technology

Accurately distinguish whether the remote control device is facing or facing away from the controlled device, avoiding cursor display errors and improving the pointing accuracy of the remote control device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603629B_ABST
    Figure CN119603629B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a pointing determination method and related equipment, which relate to the field of communications; in this method, a first posture parameter of a remote control device is obtained. The first posture parameter is used to indicate a first posture change trend of the remote control device relative to the controlled device within a first time period. A second posture parameter of the remote control device is obtained. The second posture parameter is used to indicate a second posture change trend of the remote control device compared to the first moment within the first time period. The first moment is earlier than the first time period. When the first posture change trend and the second posture change trend are the same or similar, it is determined that the remote control device is pointing to the controlled device. In this solution, the first posture parameter and the second posture parameter of the remote control device are used to determine whether the remote control device is pointing to the controlled device. When it is determined that the first posture change trend and the second posture change trend are the same or similar, it can be determined that the remote control device is pointing to the controlled device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and in particular to a direction determination method and related equipment. Background Art

[0002] Ultra-Wide Band (UWB) technology is a wireless carrier communication technology that transmits data using nanosecond-scale, narrow, non-sinusoidal pulses rather than sinusoidal carrier waves. Therefore, it occupies a very wide spectrum. UWB technology offers advantages such as low system complexity, low transmitted signal power spectral density, insensitivity to channel fading, low interception capability, and high positioning accuracy. It is particularly suitable for high-speed wireless access in dense multipath environments, such as indoor locations.

[0003] refer to Figure 1A , Figure 1A : is a schematic diagram of a display system provided in an embodiment of the present application; the display system includes a display screen 101 and a remote control 102. The display screen 101 is provided with a UWB antenna assembly (not shown), and the remote control 102 is provided with a UWB antenna (not shown). The remote control 102 exchanges signals with the UWB antenna assembly of the display screen 101 through the UWB antenna, and can calculate the posture and position of the remote control 102 relative to the display screen 101, thereby calculating the specific position of the current pointing display screen and displaying the cursor at the corresponding position. However, in some cases, it is impossible to distinguish whether the remote control 102 is facing the pointing display screen 101 or facing away from the pointing display screen 101, resulting in the cursor being displayed in both cases of facing the pointing display screen 101 and facing away from the pointing display screen 101. Summary of the Invention

[0004] The present application provides a pointing determination method and related devices, which can determine whether a remote control device is pointing to a controlled device.

[0005] In a first aspect, a method for determining a direction is provided. This method can be performed by a direction determination device, or by a chip within the direction determination device. The direction determination device can be a remote control device or a controlled device, without limitation. The remote control device is used to control the controlled device.

[0006] The above-mentioned pointing determination method includes: obtaining a first posture parameter of the remote control device. The first posture parameter is used to indicate a first posture change trend of the remote control device relative to the controlled device within a first time period. Obtaining a second posture parameter of the remote control device. The second posture parameter is used to indicate a second posture change trend of the remote control device within the first time period compared to a first moment. The first moment is earlier than the first time period. When the first posture change trend and the second posture change trend are the same or similar, determining that the remote control device is pointing to the controlled device.

[0007] The first posture parameter may be understood as indicating an absolute posture change trend of the remote control device, and the second posture parameter may be understood as indicating a relative posture change trend of the remote control device.

[0008] As can be seen, in this solution, the remote control device's first and second posture parameters are used to determine whether the remote control device is pointing toward the controlled device. If the first and second posture change trends are determined to be identical or similar, the remote control device can be determined to be pointing toward the controlled device. This pointing refers to the remote control device's head facing the controlled device, i.e., the remote control device is pointing directly toward the controlled device.

[0009] In a possible implementation of the first aspect, after determining that the remote control device is pointing toward the controlled device, the pointing determination method further includes: controlling the controlled device to perform the first operation based on a third posture parameter of the remote control device, where the third posture parameter indicates the posture of the remote control device relative to the controlled device at a current moment. The third posture parameter can be understood as indicating the absolute posture of the remote control device at a current moment.

[0010] The first operation may be any operation, such as controlling the controlled device to display a cursor corresponding to the remote control device, muting the controlled device, playing music, turning the controlled device on or off, or displaying a dragged interface on the controlled device. The display position of the cursor is a projection position of the remote control device on the controlled device determined based on the third posture parameter.

[0011] In a possible implementation of the first aspect, the parameters used to characterize the similarity between the first posture change trend and the second posture change trend include at least one of the following: a first parameter used to characterize the magnitude of the correlation between the first posture parameter and the second posture parameter; a second parameter used to characterize the magnitude of the difference fluctuation between the first posture parameter and the second posture parameter; and a maximum value V2 of the difference between the first posture parameter and the second posture parameter.

[0012] The first parameter may be at least one of the following: convolution, linear correlation coefficient, chi-square test value, or sum of products R of the first posture parameter and the second posture parameter. The second parameter may be at least one of the following: variance V1 or standard deviation of the first posture parameter and the second posture parameter.

[0013] For example, the sum of products R is calculated as: R = ∑(dI(i) * dU(i)), where dI(i) = I(i) - I(1), i∈(2,n), and dU(i) = U(i) - U(1), i∈(2,n). Assuming that the attitude parameters of the remote control device are collected at an acquisition frequency p, one frame of data can be obtained for each acquisition. Therefore, 2n frames of data can be obtained, which are the first attitude parameter U(n) and the second attitude parameter I(n), respectively, where n is greater than or equal to two. The specific value of n can be set according to actual conditions.

[0014] Exemplarily, the variance V1 is calculated as: V1 = var(dI(i) - dU(i)), i∈(2, n). var represents the variance.

[0015] For example, the maximum difference value V2 is calculated as: V2=max(dI(i)-dU(i)), i∈(2,n). max indicates finding the maximum value.

[0016] In one possible implementation of the first aspect, the first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter. A quaternion is a combination of a real number and three complex numbers, and is used to represent the posture of the device.

[0017] In a possible implementation of the first aspect, obtaining the first attitude parameter of the remote control device specifically includes obtaining a first direction finding signal received by a direction finding unit of the remote control device within a first time period. The direction finding unit includes at least one of the following: a star flash direction finding unit, an ultra-wideband direction finding unit, a Bluetooth direction finding unit, a wireless fidelity Wi-Fi direction finding unit, a millimeter wave radar direction finding unit, or an ultrasonic direction finding unit. The first direction finding signal is transmitted by a direction finding base station. The first attitude parameter is determined based on the first direction finding signal.

[0018] In this solution, the first posture parameter can be determined based on the first direction-finding signal received by the direction-finding unit of the remote control device in the first time period.

[0019] In a possible implementation of the first aspect, the acquiring the first posture parameter of the remote control device specifically includes: receiving the first posture parameter sent by the controlled device.

[0020] In this solution, the first attitude parameter of the remote control device can also be directly obtained through the controlled device, wherein the controlled device obtains the first attitude parameter based on the first direction-finding signal.

[0021] In a possible implementation of the first aspect, the acquiring the second attitude parameter of the remote control device specifically includes: acquiring the second attitude parameter through an inertial direction finding unit of the remote control device.

[0022] In a second aspect, the present application provides a pointing determination device, the pointing determination device comprising an acquisition module and a determination module, wherein:

[0023] The acquisition module is configured to acquire a first posture parameter of the remote control device, wherein the first posture parameter is used to indicate a first posture change trend of the remote control device relative to the controlled device within a first time period.

[0024] The acquisition module is further configured to acquire a second posture parameter of the remote control device. The second posture parameter is configured to indicate a change trend of the second posture of the remote control device within a first time period compared to a first moment. The first moment is earlier than the first time period.

[0025] The determination module is configured to determine that the remote control device is pointing to the controlled device when the first posture change trend and the second posture change trend are the same or similar.

[0026] In this solution, the pointing determination device uses the first posture parameter and the second posture parameter of the remote control device to determine whether the remote control device is pointing to the controlled device. When it is determined that the first posture change trend and the second posture change trend are the same or similar, it can be determined that the remote control device is pointing to the controlled device.

[0027] In a possible implementation of the second aspect, the orientation determination device further includes a control module.

[0028] The control module is configured to control the controlled device to perform a first operation based on a third posture parameter of the remote control device after determining that the remote control device is pointing to the controlled device. The third posture parameter is used to indicate the posture of the remote control device relative to the controlled device at a current moment.

[0029] In a possible implementation of the second aspect, the parameters used to characterize the similarity between the first posture change trend and the second posture change trend include at least one of the following: a first parameter used to characterize the magnitude of the correlation between the first posture parameter and the second posture parameter; a second parameter used to characterize the magnitude of the difference fluctuation between the first posture parameter and the second posture parameter; and the maximum value of the difference between the first posture parameter and the second posture parameter.

[0030] In a possible implementation of the second aspect, the first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter.

[0031] In one possible implementation of the second aspect, the acquisition module, in acquiring the first attitude parameter of the remote control device, is specifically configured to: acquire a first direction-finding signal received by a direction-finding unit of the remote control device within a first time period. The direction-finding unit includes at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity (Wi-Fi) direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit. The first direction-finding signal is transmitted by a direction-finding base station. The first attitude parameter is determined based on the first direction-finding signal.

[0032] In a possible implementation of the second aspect, the acquisition module, in acquiring the first posture parameter of the remote control device, is specifically configured to: receive the first posture parameter sent by the controlled device.

[0033] In a possible implementation of the second aspect, the acquisition module is specifically configured to acquire the second posture parameter of the remote control device by using an inertial direction finding unit of the remote control device.

[0034] In a third aspect, the present application also provides a pointing determination device, comprising a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program code, and the processor is used to call the program code to execute the pointing determination method as described in the first aspect.

[0035] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the pointing determination method as described in the first aspect.

[0036] In a fifth aspect, the present application further provides a computer program product comprising instructions, which, when run on a computer, enables the computer to execute the pointing determination method described in the first aspect.

[0037] In a sixth aspect, the present application further provides a chip, comprising a processor and a data interface, wherein the processor reads instructions stored in a memory through the data interface and executes the direction determination method described in the first aspect.

[0038] Optionally, as an implementation method, the chip may further include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the pointing determination method described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The following is an introduction to the drawings used in the embodiments of this application.

[0040] Figure 1Ais a schematic diagram of a display system provided in an embodiment of the present application;

[0041] Figure 1B is a schematic diagram of a remote control provided in an embodiment of the present application;

[0042] Figure 2 is a schematic diagram of a communication system provided in an embodiment of the present application;

[0043] Figure 3 This is a flow chart of a method for determining a direction provided by an embodiment of the present application;

[0044] Figure 4A is a schematic diagram of a first posture parameter and a second posture parameter provided in an embodiment of the present application;

[0045] Figure 4B is a schematic diagram of another first posture parameter and second posture parameter provided in an embodiment of the present application;

[0046] Figure 4C This is a cursor display schematic diagram provided by an embodiment of the present application;

[0047] Figure 4D is a schematic diagram of a remote control device provided in an embodiment of the present application;

[0048] Figure 4E This is a schematic diagram of a direction-finding base station coordinate system provided in an embodiment of the present application;

[0049] Figure 4F is a schematic diagram of a remote control device coordinate system provided in an embodiment of the present application;

[0050] Figure 4G is a schematic diagram of a direction finding unit provided in an embodiment of the present application;

[0051] Figure 4H is a schematic diagram of another direction finding unit provided in an embodiment of the present application;

[0052] Figure 4I is a schematic diagram of another direction finding unit provided in an embodiment of the present application;

[0053] Figure 4J is a schematic diagram of another direction finding unit provided in an embodiment of the present application;

[0054] Figure 4K This is a waveform diagram of an azimuth angle provided in an embodiment of the present application;

[0055] Figure 4L is a schematic diagram of a determination control device provided in an embodiment of the present application;

[0056] Figure 5is a structural diagram of a direction determination device provided in an embodiment of the present application;

[0057] Figure 6 It is a structural diagram of another direction determination device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The technical solution in this application will be described below with reference to the accompanying drawings.

[0059] In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0060] The "at least one" mentioned in the embodiments of this application refers to one or more, and "plurality" refers to two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, c can be single or multiple. "And / or" describes the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can be represented by: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship. The serial numbers of the steps in the embodiments of this application (such as step S1, step S21, etc.) are only for distinguishing different steps and do not limit the order of execution between the steps.

[0061] Furthermore, unless otherwise specified, ordinal numbers such as "first" and "second" in the embodiments of this application are used to distinguish multiple objects and are not used to limit the order, timing, priority, or importance of multiple objects. For example, the first device and the second device are only for ease of description and do not indicate differences in structure, importance, etc. between the first and second devices. In some embodiments, the first device and the second device can also be the same device.

[0062] In the above embodiments, the term "when" can be interpreted to mean "if...", "after...", "in response to determining...", or "in response to detecting...", depending on the context. The above are merely optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the concepts and principles of the present application shall be included in the scope of protection of the present application.

[0063] refer to Figure 1A In some cases, the display system shown cannot distinguish whether the remote controller 102 is facing the display screen 101 or facing away from the display screen 101, resulting in the cursor being displayed in both cases. Figure 1B , Figure 1B Figure 1 is a schematic diagram of a remote control provided in an embodiment of the present application. The UWB antenna 103 of the remote control 102 lacks longitudinal freedom, meaning the two UWB antennas are arranged horizontally. This makes it impossible for the remote control 102 to distinguish whether the UWB signal is coming from the front or the back. Thus, when the remote control 102 is facing the display screen 101, it can receive UWB signal A incident from the front and display the cursor. However, when the remote control 102 is facing away from the display screen 101, it can also receive UWB signal B incident from the back and display the cursor, resulting in an incorrect cursor display.

[0064] Therefore, an embodiment of the present application provides a pointing determination method, which can determine whether the remote control device is pointing at the controlled device. The above-mentioned pointing means that the head of the remote control device is facing the controlled device, that is, the remote control device is facing the controlled device. The pointing determination method of the embodiment of the present application can be used to distinguish whether the remote control device is facing the controlled device or facing away from the controlled device.

[0065] refer to Figure 2 , Figure 2 2 is a schematic diagram of a communication system provided in an embodiment of the present application. The direction determination method in the embodiment of the present application can be applied to a communication system 200. The communication system 200 includes a remote control device 201 and a controlled device 202. The remote control device 201 is used to control the controlled device 202. The remote control device 201 and the controlled device 202 can perform wireless transmission, for example: the wireless transmission includes Bluetooth, infrared, mobile network, wireless local area network (WLAN), NearLink, ultra-wideband UWB, wireless fidelity (WiFi), millimeter wave radar or ultrasonic transmission.

[0066] Exemplarily, the remote control device 201 includes a device with a remote control function, such as a remote controller, a vehicle key, a mobile phone, or a watch.

[0067] Exemplarily, the controlled devices 202 include vehicles, computers, drones, televisions, display screens, projectors, speakers, sweeping robots, home appliances such as lamps or air conditioners, and remote-controlled toys.

[0068] The pointing determination method of the embodiments of the present application can be executed by a pointing determination device, or by a chip within the pointing determination device. The pointing determination device can be a remote control device, a controlled device, or other device, without limitation. The following description uses the pointing determination method of the embodiments of the present application as an example.

[0069] refer to Figure 3 , Figure 3 3 is a flow chart of a direction determination method provided in an embodiment of the present application. The direction determination method 300 includes the following steps:

[0070] 301. The pointing determination device obtains a first posture parameter of the remote control device.

[0071] Specifically, the first posture parameter is used to indicate a first posture change trend of the remote control device relative to the controlled device within a first time period. The first posture parameter can be understood as indicating an absolute posture change trend of the remote control device. Furthermore, the first posture parameter is composed of multiple absolute posture parameters within the first time period.

[0072] 302. The pointing determination device obtains a second posture parameter of the remote control device.

[0073] Specifically, the second posture parameter is used to indicate a change trend of the second posture of the remote control device in the first time period compared to the first moment. The second posture parameter can be understood as indicating a change trend of the relative posture of the remote control device. Further, the second posture parameter is composed of multiple relative postures in the first time period.

[0074] The first moment is earlier than the first time period. For example, the first moment may be the moment when the remote control device is initialized or other moments earlier than the first time period.

[0075] 303. When the first posture change trend and the second posture change trend are the same or similar, the pointing determination device determines that the remote control device is pointing to the controlled device.

[0076] In the pointing determination method of the present embodiment, the remote control device's first and second posture parameters are used to determine whether the remote control device is pointing toward the controlled device. If the first and second posture change trends are determined to be identical or similar, the remote control device can be determined to be pointing toward the controlled device. In other words, the pointing determination device can distinguish the pointing direction of the remote control device, including pointing directly toward the controlled device and pointing away from the controlled device.

[0077] Exemplarily, the first posture change trend and the second posture change trend being the same can be understood as the similarity between the posture change trend indicated by the first posture parameter and the posture change trend indicated by the second posture parameter reaching 100% within the first time period. And the first posture change trend and the second posture change trend being similar can be understood as the similarity between the posture change trend indicated by the first posture parameter and the posture change trend indicated by the second posture parameter exceeding a first threshold value within the first time period. The specific value of the first threshold value can be set according to actual conditions and is not particularly limited. Exemplarily, with reference to Figure 4A , Figure 4A This is a schematic diagram of a first posture parameter and a second posture parameter provided by an embodiment of the present application, wherein the first posture parameter and the second posture parameter are respectively represented as line graphs, and a curve 401 corresponding to the first posture parameter and a curve 402 corresponding to the second posture parameter can be obtained. It can be seen that, Figure 4A The changing trends of the middle curve 401 and the curve 402 are similar. Figure 4B , Figure 4B is a schematic diagram of another first posture parameter and second posture parameter provided in an embodiment of the present application; Figure 4B The changing trends of the middle curve 401 and the curve 402 are neither the same nor similar.

[0078] In one possible embodiment, reference Figure 3 After the pointing determination device determines that the remote control device is pointing to the controlled device, the pointing determination method 300 further includes the following steps:

[0079] 304. The pointing determination device controls the controlled device to perform a first operation based on the third posture parameter of the remote control device.

[0080] Specifically, the third posture parameter is used to indicate the posture of the remote control device relative to the controlled device at the current moment. The third posture parameter can be understood as indicating the absolute posture of the remote control device at the current moment.

[0081] Among them, the above-mentioned first operation can be any operation, for example, controlling the controlled device to display the cursor corresponding to the remote control device, controlling the controlled device to mute, controlling the controlled device to play music, controlling the controlled device to turn on or off, or controlling the controlled device to display the dragged interface, etc.

[0082] The display position of the above-mentioned cursor is the projection position of the remote control device in the controlled device based on the third posture parameter. Specifically, exemplarily, when the direction-finding base station is set on the controlled device, the third posture parameter of the remote control device is equivalent to a vector, and the vector is projected onto the controlled device (the size and resolution of the display screen of the controlled device are known), and the projection position of the remote control device in the controlled device can be determined by projection conversion. As another example, when the direction-finding base station is not set on the controlled device, it is necessary to obtain the position of the controlled device at this time, and the projection position of the remote control device in the controlled device can be determined based on the position and the third posture parameter of the remote control device. To achieve the effect of displaying the cursor only when the remote control device points to the controlled device, refer to Figure 4C , Figure 4C 4 is a schematic diagram of a cursor display provided by an embodiment of the present application; in which, the controlled device 406 is taken as an example of a display screen. When the remote control device is in a first posture 403, the remote control device is facing the controlled device 406, and the cursor is displayed on the controlled device 406. When the remote control device is in a second posture 404, the remote control device is facing away from the controlled device 406, and the cursor is not displayed on the controlled device 406. When the remote control device is in a third posture 405, the remote control device is not pointing at the controlled device 406 (the remote control device is pointing away from the controlled device 406), and the cursor is not displayed on the controlled device 406.

[0083] For example, when the remote control device points to the controlled device, the remote control device works in the pointing mode. The cursor is displayed only when the remote control device points to the controlled device. The effect of the pointing mode is referenced. Figure 4C .

[0084] For example, when the remote control device is not pointing at the controlled device, the remote control device operates in the air mouse mode. In the air mouse mode, the remote control device has no pointing effect, and the cursor is displayed no matter which direction it points to, so there is no need to distinguish between positive and negative directions.

[0085] Exemplarily, when the above-mentioned third posture parameter meets the preset condition, the pointing determination device controls the controlled device to perform the first operation. The first operation can be, for example, controlling the controlled device to mute, controlling the controlled device to play music, controlling the controlled device to turn on or off, or controlling the controlled device to display the dragged interface, etc. Exemplarily, the above-mentioned preset condition is that the third posture parameter falls within the first range, and the first range can be set according to actual conditions. For example, when the third posture parameter is the absolute azimuth angle, the preset condition is that the absolute azimuth angle falls within the azimuth angle range. For another example, when the third posture parameter is the absolute azimuth angle and the absolute pitch angle, the preset condition is that the absolute azimuth angle falls within the azimuth angle range, and the absolute pitch angle falls within the pitch angle range. For details, please refer to the following Figure 4L Related records.

[0086] In a possible implementation, the first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter.

[0087] Among them, quaternion is composed of a real number and three complex numbers, which are used to represent the posture of the device. Specifically, quaternion is a simple hypercomplex number. Complex number is composed of real number plus imaginary unit i, where i 2 =-1. Similarly, quaternions are composed of real numbers plus three imaginary units i, j and k, and they have the following relationship: i 2 =j 2 =k 2 =-1,i 0 =j 0 =k 0 = 1. Each quaternion is a linear combination of 1, i, j, and k. Quaternions can generally be expressed as a+bi+cj+dk, where a, b, c, and d are real numbers. The geometric meanings of i, j, and k can be understood as rotations. An i rotation represents a rotation from the positive Z axis to the positive Y axis in the plane where the Z and Y axes intersect. A j rotation represents a rotation from the positive X axis to the positive Z axis in the plane where the X and Z axes intersect. A k rotation represents a rotation from the positive Y axis to the positive X axis in the plane where the Y and X axes intersect. -i, -j, and -k represent the opposite rotations of i, j, and k, respectively.

[0088] Exemplarily, when the first posture parameter is a quaternion, the second posture parameter is a quaternion. In this case, the first posture parameter is an absolute quaternion, and the second posture parameter is a relative quaternion.

[0089] For example, when the first attitude parameter is an azimuth angle, the second attitude parameter is an azimuth angle. In this case, the first attitude parameter is an absolute azimuth angle, and the second attitude parameter is a relative azimuth angle.

[0090] Exemplarily, when the first attitude parameter is the pitch angle, the second attitude parameter is the pitch angle. In this case, the first attitude parameter is the absolute pitch angle, and the second attitude parameter is the relative pitch angle.

[0091] Exemplarily, when the first posture parameter is a quaternion and an azimuth, the second posture parameter is a quaternion and an azimuth. In this case, the first posture parameter is an absolute quaternion and an absolute azimuth, and the second posture parameter is a relative quaternion and a relative azimuth.

[0092] Exemplarily, when the first attitude parameter is a quaternion and a pitch angle, the second attitude parameter is a quaternion and a pitch angle. In this case, the first attitude parameter is an absolute quaternion and an absolute pitch angle, and the second attitude parameter is a relative quaternion and a relative pitch angle.

[0093] Exemplarily, when the first attitude parameter is the azimuth and pitch angle, the second attitude parameter is the azimuth and pitch angle. In this case, the first attitude parameter is the absolute azimuth and absolute pitch angle, and the second attitude parameter is the relative azimuth and relative pitch angle.

[0094] For example, when the first attitude parameter is a quaternion, an azimuth, and a pitch angle, the second attitude parameter is a quaternion, an azimuth, and a pitch angle. In this case, the first attitude parameter is an absolute quaternion, an absolute azimuth, and an absolute pitch angle, and the second attitude parameter is a relative quaternion, a relative azimuth, and a relative pitch angle.

[0095] For example, the absolute azimuth angle refers to the horizontal angle of the remote control device relative to the controlled device. The relative azimuth angle refers to the change in the horizontal angle of the remote control device during a first time period compared to a first moment. The absolute pitch angle refers to the vertical angle of the remote control device relative to the controlled device. The relative pitch angle refers to the change in the vertical angle of the remote control device during a first time period compared to a first moment.

[0096] In one possible implementation, step 301 specifically includes:

[0097] 311. The direction determination device obtains a first direction finding signal received by a direction finding unit of the remote control device within a first time period.

[0098] For example, refer to Figure 4D , Figure 4D 4 is a schematic diagram of a remote control device provided in an embodiment of the present application, wherein the remote control device 407 includes a direction-finding unit 408. The direction-finding unit 408 includes at least one of the following: a star flash direction-finding unit, an ultra-wideband (UWB) direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity (WiFi) direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit. The first direction-finding signal is transmitted by the controlled device. The remote control device 407 receives the first direction-finding signal transmitted by the direction-finding base station through the direction-finding unit 408. Accordingly, when the direction-finding unit 408 is a UWB direction-finding unit, the direction-finding base station is a UWB base station, and the first direction-finding signal is a UWB signal; when the direction-finding unit 408 is a Bluetooth direction-finding unit, the direction-finding base station is a Bluetooth base station, and the first direction-finding signal is a Bluetooth signal, and so on.

[0099] The direction finding base station may be arranged on a fixed object such as a wall or a partition, or the direction finding base station may be arranged on other intelligent devices, for example, the direction finding base station may be arranged on a controlled device.

[0100] 312. The direction determination device determines a first posture parameter based on the first direction finding signal.

[0101] In the embodiment of the present application, the direction determination device may determine the first posture parameter based on the first direction finding signal received by the direction finding unit 408 within the first time period.

[0102] The following explains the definitions of azimuth and elevation angles:

[0103] First, establish the direction finding base station coordinate system. Figure 4E , Figure 4E Schematic diagram of a direction-finding base station coordinate system provided in an embodiment of the present application; illustratively, the direction-finding base station 410 adopts a three-antenna structure. Figure 4E There are two possible three-antenna configurations: an L-shaped antenna configuration and a triangular antenna configuration. Figure 4E The arrow 411 in FIG. 4 is perpendicular to the horizontal plane and points upward for installation. For example, the direction finding base station 410 can be installed on a wall or partition, or can be integrated into other smart devices (such as controlled devices), such as the top of a large screen.

[0104] After the direction-finding base station 410 is installed, the direction-finding base station coordinate system (abbreviated as e-system) can be established. The e-system is based on the antenna No. 0 in the direction-finding base station 410 ( Figure 4E The center of the antenna 0) in the coordinate system is taken as the center O, and the X axis X e Parallel to the bottom edge of the base station and pointing to the left, e is the Y axis Y e Pointing to the direction of the front of the base station, e is the Z axis Z e Perpendicular to X e OY e Flat and upward, with X e Axis and Y e The axis satisfies the right-hand rule.

[0105] Next, establish the coordinate system of the remote control device. Figure 4F , Figure 4F Schematic diagram of a remote control device coordinate system provided by an embodiment of the present application; the origin of the remote control device coordinate system (abbreviated as p system) is located at the center O of the remote control device 412, and the X-axis X of the p system is p Along the horizontal axis of the remote control device 412, p is the Y axis Y p Along the longitudinal axis of the remote control device 412, p is the Z axis Z p X perpendicular to the p system p OY p The plane faces outward and the coordinate axes of the remote control device conform to the right-hand rule.

[0106] Therefore, the attitude angle is determined by the rotation relationship between the p system and the e system, which is determined by the azimuth angle (also called heading angle) ψ, the pitch angle And the roll angle θ are composed of three Euler angles. Among them, for example, the pitch angle is Y in the p system p Axis and X in the e-system e OY e The angle between the two planes is positive when the remote control device is tilted upward.p The axis X in the e system e OY e Projection on the surface and Y e The angle between the axes is positive when the head of the remote control device is yawed to the right. The roll angle θ is the Z p Axis and contains Y p The angle between the plumb planes of the axes is positive when the remote control device tilts to the right.

[0107] Exemplarily, when the direction finding unit 408 is a UWB direction finding unit, the UWB direction finding unit includes at least two UWB antennas. Figure 4G , Figure 4G It is a schematic diagram of a direction-finding unit provided in an embodiment of the present application; the UWB direction-finding unit includes a first UWB antenna 481, a second UWB antenna 482 and a third UWB antenna 483. In the embodiment of the present application, the first attitude parameter is the azimuth and the pitch angle. The first UWB antenna 481 and the second UWB antenna 482 are UWB antennas in the horizontal direction. The azimuth of the remote control device 407 can be determined based on the first direction-finding signal received by the first UWB antenna 481 and the second UWB antenna 482. The first UWB antenna 481 and the third UWB antenna 483 are UWB antennas in the vertical direction, wherein the third UWB antenna 483 is arranged directly below the first UWB antenna 481. The pitch angle of the remote control device 407 can be determined based on the first direction-finding signal received by the first UWB antenna 481 and the third UWB antenna 483. For example, referring to Figure 4H , Figure 4H It is a schematic diagram of another direction-finding unit provided in an embodiment of the present application; wherein, the first UWB antenna 481 and the third UWB antenna 483 are UWB antennas in the vertical direction, except that the third UWB antenna 483 is arranged at the lower left of the first UWB antenna 481.

[0108] For example, refer to Figure 4I , Figure 4I is a schematic diagram of another direction-finding unit provided in an embodiment of the present application. In this embodiment, the first attitude parameter is the pitch angle, and the direction-finding unit includes a first UWB antenna 481 and a third UWB antenna 483, which are vertically oriented UWB antennas. The third UWB antenna 483 is disposed directly below the first UWB antenna 481. The pitch angle of the remote control device 407 can be determined based on the first direction-finding signals received by the first UWB antenna 481 and the third UWB antenna 483.

[0109] For example, refer to Figure 4J , Figure 4JFIG2 is a schematic diagram of another direction-finding unit provided in an embodiment of the present application. In this embodiment, the first attitude parameter is an azimuth angle. The direction-finding unit includes a first UWB antenna 481 and a second UWB antenna 482, which are horizontal UWB antennas. The azimuth angle of the remote control device 407 can be determined based on the first direction-finding signal received by the first UWB antenna 481 and the second UWB antenna 482.

[0110] In one possible implementation, step 301 specifically includes:

[0111] 313. The pointing determination device receives a first posture parameter sent by the controlled device.

[0112] In an embodiment of the present application, the pointing determination device may also directly obtain the first attitude parameter of the remote control device through the controlled device, wherein the controlled device obtains the first attitude parameter based on the first direction finding signal. In this embodiment, the pointing determination device may be a remote control device.

[0113] Exemplarily, the controlled device obtains a first direction-finding signal received by a direction-finding unit of the remote control device, determines a first attitude parameter based on the first direction-finding signal, and then sends the first attitude parameter to the direction determination device.

[0114] In one possible implementation, step 302 specifically includes:

[0115] The pointing determination device obtains the second attitude parameter through an inertial measurement unit (IMU) of the remote control device.

[0116] Specifically, refer to Figure 4D The remote control device includes an inertial direction finding unit 409 , and the inertial direction finding unit 409 can directly obtain the second posture parameter. The pointing determination device obtains the second posture parameter through the inertial direction finding unit 409 .

[0117] In one possible implementation, the parameter used to characterize the similarity between the first posture change trend and the second posture change trend includes at least one of the following:

[0118] A first parameter for characterizing the magnitude of the correlation between the first posture parameter and the second posture parameter;

[0119] A second parameter for characterizing a fluctuation magnitude of a difference between the first posture parameter and the second posture parameter;

[0120] The maximum value V2 of the difference between the first posture parameter and the second posture parameter.

[0121] Specifically, when the parameter representing the similarity is a first parameter, and the first parameter is greater than a second threshold, it can be considered that the similarity between the first posture change trend and the second posture change trend is greater than the first threshold. When the parameter representing the similarity is a second parameter, and the second parameter is less than a third threshold, it can be considered that the similarity is greater than the first threshold. When the parameter representing the similarity is a maximum difference, and the maximum difference is less than a fourth threshold, it can be considered that the similarity is greater than the first threshold. The second threshold, the third threshold, and the fourth threshold can be the same or different, and are set according to actual conditions.

[0122] Exemplarily, the first parameter may be at least one of the following: a convolution of the first posture parameter and the second posture parameter, a linear correlation coefficient, a chi-square test value, or a sum of products R.

[0123] The linear correlation coefficient, also known as the Pearson correlation coefficient, measures the degree of linear correlation between two variables. For example, the linear correlation coefficient is calculated using the product-difference method, which also uses the deviations of the two variables from their respective means as the basis. The correlation between the two variables is then multiplied to reflect the degree of correlation.

[0124] The chi-square test is the degree of deviation between the actual observation value and the theoretical inference value of the statistical sample. The degree of deviation between the actual observation value and the theoretical inference value determines the size of the chi-square test value. If the chi-square test value is larger, the degree of deviation between the actual observation value and the theoretical inference value is greater; conversely, the deviation between the two is smaller; if the two values ​​are completely equal, the chi-square test value is 0, indicating that the theoretical value is completely consistent.

[0125] For example, the second parameter may be at least one of the following: a variance V1 or a standard deviation of the first posture parameter and the second posture parameter. Variance in statistics refers to the average of the squared differences between each sample value and the mean of all sample values. The standard deviation is the square root of the variance.

[0126] In the embodiment of the present application, it is assumed that the attitude parameters of the remote control device are collected at an acquisition frequency p. Each acquisition can obtain one frame of data. Therefore, 2n frames of data can be obtained, which are the first attitude parameter U(n) and the second attitude parameter I(n). n is greater than or equal to two, and the specific value of n can be set according to the actual situation. The first attitude parameter U(n) includes the absolute attitude parameters of n remote control devices (such as azimuth, pitch angle, quaternion, etc.), and the second attitude parameter I(n) includes the relative attitude parameters of n remote control devices (such as azimuth, pitch angle, quaternion, etc.). The specific value of p can be set according to the actual situation.

[0127] For example, one way to calculate the sum of the products R is: R = ∑(dI(i) * dU(i)), where dI(i) = I(i) - I(1), i∈(2,n). That is, the first data is subtracted from each data in the first posture parameter except the first data, and n-1 dIs can be obtained. dU(i) = U(i) - U(1), i∈(2,n). Similarly, the first data is subtracted from each data in the second posture parameter except the first data, and n-1 dUs can be obtained.

[0128] For example, one way to calculate the variance V1 is: V1 = var(dI(i) - dU(i)), i∈(2, n). var represents the variance.

[0129] For example, a calculation method of the maximum difference value V2 is: V2=max(dI(i)-dU(i)), i∈(2,n). max indicates finding the maximum value.

[0130] The following describes the pointing determination method of an embodiment of the present application by taking the pointing determination device as a remote control device, the direction finding unit as a UWB direction finding unit, and the first attitude parameter and the second attitude parameter as azimuth as an example. The pointing determination method includes the following steps:

[0131] S1. Initialize and power on the UWB direction finding unit and the inertial direction finding unit of the remote control device. The UWB direction finding unit starts measuring the direction of the UWB signal, and the inertial direction finding unit starts updating the second azimuth of the remote control device.

[0132] Specifically, after the UWB direction-finding unit is initialized, the remote control device uses the first direction-finding signal received by the UWB direction-finding unit to calculate the current first azimuth. The first direction-finding signal is sent by the controlled device. After the inertial direction-finding unit is initialized, the roll angle and pitch angle are initialized using the direction of gravity, and the azimuth is initialized to 0°. After initialization, the inertial direction-finding unit begins to obtain the second azimuth of the remote control device at each moment. The remote control device obtains its measured second azimuth from the inertial direction-finding unit, and the remote control device records the first azimuth and second azimuth at each moment after initialization. Reference Figure 4K , Figure 4K 4 is a waveform diagram of an azimuth angle provided in an embodiment of the present application; wherein, the first azimuth angle corresponds to the first curve 413 , and the second azimuth angle corresponds to the second curve 414 .

[0133] The UWB direction finding unit and the inertial direction finding unit work based on the acquisition frequency p.

[0134] S2. After collecting n frames of first azimuth angles and second azimuth angles, start to make a judgment.

[0135] Specifically, assuming that the azimuth angle of the remote control device is collected at a collection frequency p, a frame of first azimuth angle and second azimuth angle can be obtained in each collection.

[0136] After collecting n frames of first azimuth and second azimuth, the judgment can be started. If the first judgment does not determine the pointing result, the Figure 4K As shown, after collecting k frames of data, the data is combined with the existing (nk) frames of data to reassemble n frames of data for further judgment. The (nk) frame of data is the data that is later in time among the original n frames of data.

[0137] S3. Determine whether the remote control device is pointing to the controlled device using the first azimuth angle and the second azimuth angle.

[0138] Specifically, the collected first azimuth angle and second azimuth angle are represented by I(n) and U(n) respectively. First, the data is subjected to a difference operation, that is, the first data is subtracted from the remaining data, that is, dI(i) = I(i) - I(1), i∈(2,n); similarly, dU(i) = U(i) - U(1), i∈(2,n).

[0139] Assuming n is 4, the first azimuth angles are I(1), I(2), I(3), I(4), and the second azimuth angles are U(1), U(2), U(3), U(4). Their serial numbers correspond to the acquisition time, with the smaller serial number being the earlier one. Therefore,

[0140] dI(2)=I(2)-I(1);

[0141] dI(3)=I(3)-I(1);

[0142] dI(4)=I(4)-I(1).

[0143] And dU(2)=U(2)-U(1);

[0144] dU(3)=U(3)-U(1);

[0145] dU(4)=U(4)-U(1).

[0146] Then calculate the sum of products R, variance V1, and maximum difference V2 respectively.

[0147] R=(dI(2)-dU(2))+(dI(3)-dU(3))+(dI(4)-dU(4)). V1=var(dI(2)-dU(2), dI(3)-dU(3), (dI(4)-dU(4))).

[0148] V2=max(dI(2)-dU(2), dI(3)-dU(3), (dI(4)-dU(4))).

[0149] S4. When the above R, V1 and V2 all meet the conditions, it is determined that the remote control device is pointing to the controlled device, which satisfies the direct pointing condition, thereby entering the pointing mode; otherwise, it is considered that the remote control device is not pointing directly.

[0150] The following describes the process of determining the specific controlled device when there are two devices in the pointing line, using the example of a single direction-finding base station.

[0151] refer to Figure 4L , Figure 4L This is a schematic diagram of determining a control device provided by an embodiment of the present application; taking the controlled device, remote control device, and direction-finding base station as an example, the controlled device, remote control device, and direction-finding base station are set up in a house. The direction-finding base station 415 is set up separately; the remote control device 417 is located on the line connecting the first controlled device 416 and the second controlled device 418. It is known that the current position of the remote control device 417 in the house coordinate system is [x h ,y h ,z h ], the azimuth of the remote control device 417 is ψ h , the pitch angle is When the current azimuth and target azimuth of the remote control device 417 and the current pitch angle and target pitch angle of the remote control device 417 simultaneously meet certain conditions, it can be determined that the controlled device that the remote control device 417 wants to control is the first controlled device 416 .

[0152] Specifically, the coordinates of the position of the first controlled device 416 in the house coordinate system are: The current position of the remote control device 417 is calculated according to the following formulas:

[0153]

[0154]

[0155]

[0156] The azimuth and elevation angles (i.e., target azimuth and target elevation angles) of the remote control device 417 when pointing to the first controlled device 416 are:

[0157]

[0158]

[0159] Among them, atan() is the inverse tangent function and sign() is the sign function.

[0160] The azimuth angle ψ at this time can be determined by using the method of the embodiment of the present application h , pitch angle Is it the angle when the remote control device 417 points to the first controlled device 416, or the angle when the remote control device 417 faces away from the first controlled device 416. h , pitch angle is the angle when the remote control device 417 points to the first controlled device 416, calculate the current azimuth angle ψ of the remote control device 417 h , pitch angle and target azimuth Target pitch angle The difference:

[0161]

[0162]

[0163] when and When certain conditions are met at the same time, it is determined that the remote control device 417 is pointing to the first controlled device 416, that is, the remote control device 417 is to control the first controlled device 416, not the second controlled device 418. The above-mentioned certain conditions can be Less than the fifth threshold and The specific values ​​of the fifth and sixth thresholds can be set according to actual conditions. Less than the fifth threshold can be understood as the current azimuth angle falls within the azimuth angle range, and Being smaller than the sixth threshold value may be understood as the current pitch angle falling within the pitch angle range.

[0164] The step numbers in the above text are only used to distinguish different steps and do not limit the order in which the steps are executed.

[0165] It should be noted that in the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the various embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships.

[0166] The above describes in detail the method of the embodiment of the present application. The following describes the device provided by the embodiment of the present application.

[0167] Figure 5 This is a schematic diagram of a possible device structure provided in an embodiment of the present application. Figure 5 The pointing determination device shown can be used to implement the functions of the above-mentioned pointing determination method embodiment, and thus can also achieve the beneficial effects of the above-mentioned pointing determination method embodiment. In the embodiments of the present application, the pointing determination device can be an electronic device or a module (such as a chip) used in an electronic device.

[0168] like Figure 5 As shown, the pointing determination device 500 includes an acquisition module 501 and a determination module 502. The pointing determination device 500 is used to implement the above Figure 3 Alternatively, the pointing determination device 500 may include a device for implementing the above-mentioned Figure 3 The module for any function or operation in the embodiment of the pointing determination method shown in the figure may be implemented in whole or in part by software, hardware, firmware or any combination thereof.

[0169] When the pointing determination device 500 is used to implement Figure 3 When the functions in the method embodiment shown are performed, the acquisition module 501 is used to obtain a first posture parameter of the remote control device. The first posture parameter is used to indicate a first posture change trend of the remote control device relative to the controlled device within a first time period. The acquisition module 501 is also used to obtain a second posture parameter of the remote control device. The second posture parameter is used to indicate a second posture change trend of the remote control device relative to a first moment within the first time period. The first moment is earlier than the first time period. The determination module 502 is used to determine that the remote control device is pointing to the controlled device when the first posture change trend and the second posture change trend are the same or similar.

[0170] In an embodiment of the present application, the pointing determination device 500 uses the first posture parameter and the second posture parameter of the remote control device to determine whether the remote control device is pointing to the controlled device. When it is determined that the first posture change trend and the second posture change trend are the same or similar, it can be determined that the remote control device is pointing to the controlled device.

[0171] In a possible implementation, the orientation determination device 500 further includes a control module 503 .

[0172] The control module 503 is configured to control the controlled device to perform a first operation based on a third posture parameter of the remote control device after determining that the remote control device is pointing to the controlled device. The third posture parameter is used to indicate the posture of the remote control device relative to the controlled device at the current moment.

[0173] Among them, the above-mentioned first operation can be any operation, for example, controlling the controlled device to display the cursor corresponding to the remote control device, controlling the controlled device to mute, controlling the controlled device to play music, controlling the controlled device to turn on or off, or controlling the controlled device to display the dragged interface, etc.

[0174] In one possible implementation, the parameter used to characterize the similarity between the first posture change trend and the second posture change trend includes at least one of the following:

[0175] A first parameter for characterizing the magnitude of the correlation between the first posture parameter and the second posture parameter;

[0176] A second parameter for characterizing a fluctuation magnitude of a difference between the first posture parameter and the second posture parameter;

[0177] The maximum value of the difference between the first posture parameter and the second posture parameter.

[0178] Exemplarily, the first parameter may be at least one of the following: a convolution of the first posture parameter and the second posture parameter, a linear correlation coefficient, a chi-square test value, or a sum of products R.

[0179] Exemplarily, the second parameter may be at least one of the following: a variance V1 or a standard deviation of the first posture parameter and the second posture parameter.

[0180] In a possible implementation, the first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter.

[0181] In one possible implementation, the acquisition module 501 is specifically configured to:

[0182] Obtaining a first direction-finding signal received by a direction-finding unit of the remote control device within a first time period. The direction-finding unit includes at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a Wi-Fi direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit. The first direction-finding signal is transmitted by a direction-finding base station.

[0183] A first attitude parameter is determined based on the first direction-finding signal.

[0184] In a possible implementation manner, the acquisition module 501 is specifically configured to: receive the first posture parameter sent by the controlled device in acquiring the first posture parameter of the remote control device.

[0185] In a possible implementation manner, the acquisition module 501 is specifically configured to acquire the second attitude parameter of the remote control device by using an inertial direction finding unit of the remote control device.

[0186] For the introduction of the above modules, please refer to the description of the above embodiments, which will not be repeated here.

[0187] refer to Figure 6 , Figure 6 6 is a schematic diagram of the structure of another pointing determination device provided in an embodiment of the present application. The present application also provides a pointing determination device, wherein the pointing determination device 600 includes a memory 601, a processor 602, a communication interface 604, and a bus 603. The memory 601, the processor 602, and the communication interface 604 are communicatively connected to each other via the bus 603.

[0188] Optionally, the above-mentioned pointing determination device 600 also includes a display (not shown), which is communicatively connected to the memory 601, the processor 602, and the communication interface 604 via the bus 603. The display is used to output images. Optionally, the above-mentioned pointing determination device also includes an output module (not shown), which is communicatively connected to the memory 601, the processor 602, and the communication interface 604 via the bus 603, and the output module is used to output audio. The output module can be a speaker. For example, after the pointing determination device 600 determines that the remote control device is pointing to the controlled device, audio output can be performed through the output module.

[0189] The memory 601 may be a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 601 may store programs. When the program stored in the memory 601 is executed by the processor 602, the processor 602 and the communication interface 604 are used to perform the various steps of the direction determination method of any embodiment of the present application.

[0190] The processor 602 may be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a graphics processing unit (GPU), or one or more integrated circuits for executing relevant programs to implement the embodiments of the present application. Figure 5 The functions required to be performed by the units in the pointing determination device shown, or the pointing determination method of any embodiment of the present application.

[0191] The processor 602 can also be an integrated circuit chip with signal processing capabilities. During the implementation process, the various steps of the pointing determination method of any embodiment of the present application can be completed by the hardware integrated logic circuit in the processor 602 or the instructions in the form of software. The above-mentioned processor 602 can also be a general-purpose processor, a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the pointing determination method in conjunction with any embodiment of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 601, and the processor 602 reads the information in the memory 601 and completes the method in the embodiment of the present application in combination with its hardware. Figure 5 The functions required to be performed by the units included in the shown pointing determination device, or the pointing determination method of any embodiment of the present application.

[0192] The communication interface 604 uses a transceiver such as, but not limited to, a transceiver to implement communication between the orientation determination device 600 and other devices or a communication network. For example, the first posture parameter or the second posture parameter can be obtained through the communication interface 604.

[0193] The bus 603 may include a path for transmitting information between various components of the direction determination device 600 (eg, the memory 601 , the processor 602 , and the communication interface 604 ).

[0194] It should be noted that although Figure 6 The pointing determination device 600 shown only shows a memory 601, a processor 602, a bus 603, and a communication interface 604. However, in the specific implementation process, those skilled in the art will understand that the pointing determination device 600 also includes other components necessary for normal operation. At the same time, according to specific needs, those skilled in the art will understand that the pointing determination device 600 may also include hardware components that implement other additional functions. In addition, those skilled in the art will understand that the pointing determination device 600 may also include only the components necessary to implement the embodiments of the present application, and does not necessarily include Figure 6 All devices shown in .

[0195] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units 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 units, which can be electrical, mechanical or other forms.

[0196] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0197] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0198] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. 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 described in 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 devices. 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 a website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. 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 integrations. The available medium can be a read-only memory (ROM), a random access memory (RAM), or a magnetic medium, such as a floppy disk, a hard disk, a tape, a disk, or an optical medium, such as a digital versatile disc (DVD), or a semiconductor medium, such as a solid state drive (SSD).

[0199] 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 changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for determining a direction, characterized in that: include: Acquire a first posture parameter of the remote control device, where the first posture parameter is used to indicate a first posture change trend of the remote control device relative to the controlled device within a first time period; Acquire a second posture parameter of the remote control device, where the second posture parameter is used to indicate a change trend of a second posture of the remote control device within the first time period compared to a first moment, where the first moment is earlier than the first time period; When the first posture change trend is identical to or similar to the second posture change trend, it is determined that the remote control device is pointing to the controlled device.

2. The method according to claim 1, characterized in that After determining that the remote control device is pointing to the controlled device, the method further includes: Based on a third posture parameter of the remote control device, the controlled device is controlled to perform a first operation, where the third posture parameter is used to indicate a posture of the remote control device relative to the controlled device at a current moment.

3. The method according to claim 1 or 2, characterized in that The parameter used to characterize the similarity between the first posture change trend and the second posture change trend includes at least one of the following: A first parameter for characterizing the magnitude of the correlation between the first posture parameter and the second posture parameter; A second parameter for characterizing a fluctuation magnitude of a difference between the first posture parameter and the second posture parameter; The maximum value of the difference between the first posture parameter and the second posture parameter.

4. The method according to claim 1 or 2, characterized in that The first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter.

5. The method according to claim 3, characterized in that The first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter.

6. The method according to claim 1, 2 or 5, characterized in that The obtaining of the first posture parameter of the remote control device includes: Obtaining a first direction-finding signal received by a direction-finding unit of the remote control device within the first time period, the direction-finding unit comprising at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity WiFi direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit; the first direction-finding signal being transmitted by a direction-finding base station; The first attitude parameter is determined based on the first direction-finding signal.

7. The method according to claim 3, characterized in that The obtaining of the first posture parameter of the remote control device includes: Obtaining a first direction-finding signal received by a direction-finding unit of the remote control device within the first time period, the direction-finding unit comprising at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity WiFi direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit; the first direction-finding signal being transmitted by a direction-finding base station; The first attitude parameter is determined based on the first direction-finding signal.

8. The method according to claim 4, characterized in that The obtaining of the first posture parameter of the remote control device includes: Obtaining a first direction-finding signal received by a direction-finding unit of the remote control device within the first time period, the direction-finding unit comprising at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity WiFi direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit; the first direction-finding signal being transmitted by a direction-finding base station; The first attitude parameter is determined based on the first direction-finding signal.

9. The method according to claim 1, 2 or 5, characterized in that The obtaining of the first posture parameter of the remote control device includes: Receive the first posture parameter sent by the controlled device.

10. The method according to claim 3, characterized in that The obtaining of the first posture parameter of the remote control device includes: Receive the first posture parameter sent by the controlled device.

11. The method according to claim 4, characterized in that The obtaining of the first posture parameter of the remote control device includes: Receive the first posture parameter sent by the controlled device.

12. The method according to claim 1, 2, 5, 7, 8, 10 or 11, characterized in that The obtaining of the second posture parameter of the remote control device includes: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

13. The method according to claim 3, characterized in that The obtaining of the second posture parameter of the remote control device includes: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

14. The method according to claim 4, characterized in that The obtaining of the second posture parameter of the remote control device includes: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

15. The method according to claim 6, characterized in that The obtaining of the second posture parameter of the remote control device includes: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

16. The method according to claim 9, characterized in that The obtaining of the second posture parameter of the remote control device includes: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

17. A pointing determination device, characterized in that: The device comprises: an acquisition module, configured to acquire a first posture parameter of the remote control device, where the first posture parameter is used to indicate a first posture change trend of the remote control device relative to the controlled device within a first time period; The acquisition module is further configured to acquire a second posture parameter of the remote control device, where the second posture parameter is used to indicate a change trend of a second posture of the remote control device within the first time period compared to a first moment, where the first moment is earlier than the first time period; The determination module is configured to determine that the remote control device is pointing to the controlled device when the first posture change trend is the same as or similar to the second posture change trend.

18. The device according to claim 17, characterized in that The device further comprises: The control module is configured to control the controlled device to perform a first operation based on a third posture parameter of the remote control device after determining that the remote control device is pointing to the controlled device, wherein the third posture parameter is used to indicate the posture of the remote control device relative to the controlled device at a current moment.

19. The device according to claim 17 or 18, characterized in that The parameter used to characterize the similarity between the first posture change trend and the second posture change trend includes at least one of the following: A first parameter for characterizing the magnitude of the correlation between the first posture parameter and the second posture parameter; A second parameter for characterizing a fluctuation magnitude of a difference between the first posture parameter and the second posture parameter; The maximum value of the difference between the first posture parameter and the second posture parameter.

20. The device according to claim 17 or 18, characterized in that The first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter.

21. The device according to claim 19, characterized in that The first posture parameter includes at least one of the following: a quaternion, an azimuth angle, or a pitch angle, and the second posture parameter includes a parameter of the same type as the first posture parameter.

22. The apparatus according to claim 17, 18 or 21, characterized in that In terms of acquiring the first posture parameter of the remote control device, the acquisition module is specifically used to: Obtaining a first direction-finding signal received by a direction-finding unit of the remote control device within the first time period, the direction-finding unit comprising at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity WiFi direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit; the first direction-finding signal being transmitted by a direction-finding base station; The first attitude parameter is determined based on the first direction-finding signal.

23. The apparatus according to claim 19, wherein In terms of acquiring the first posture parameter of the remote control device, the acquisition module is specifically used to: Obtaining a first direction-finding signal received by a direction-finding unit of the remote control device within the first time period, the direction-finding unit comprising at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity WiFi direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit; the first direction-finding signal being transmitted by a direction-finding base station; The first attitude parameter is determined based on the first direction-finding signal.

24. The apparatus according to claim 20, wherein In terms of acquiring the first posture parameter of the remote control device, the acquisition module is specifically used to: Obtaining a first direction-finding signal received by a direction-finding unit of the remote control device within the first time period, the direction-finding unit comprising at least one of the following: a star flash direction-finding unit, an ultra-wideband direction-finding unit, a Bluetooth direction-finding unit, a wireless fidelity WiFi direction-finding unit, a millimeter-wave radar direction-finding unit, or an ultrasonic direction-finding unit; the first direction-finding signal being transmitted by a direction-finding base station; The first attitude parameter is determined based on the first direction-finding signal.

25. The apparatus of claim 17, 18 or 21, wherein: In terms of acquiring the first posture parameter of the remote control device, the acquisition module is specifically used to: Receive the first posture parameter sent by the controlled device.

26. The apparatus according to claim 19, wherein In terms of acquiring the first posture parameter of the remote control device, the acquisition module is specifically used to: Receive the first posture parameter sent by the controlled device.

27. The apparatus according to claim 20, wherein In terms of acquiring the first posture parameter of the remote control device, the acquisition module is specifically used to: Receive the first posture parameter sent by the controlled device.

28. The apparatus of claim 17, 18, 21, 23, 24, 26 or 27, wherein: In terms of acquiring the second posture parameter of the remote control device, the acquisition module is specifically used to: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

29. The apparatus according to claim 19, wherein In terms of acquiring the second posture parameter of the remote control device, the acquisition module is specifically used to: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

30. The apparatus according to claim 20, wherein In terms of acquiring the second posture parameter of the remote control device, the acquisition module is specifically used to: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

31. The apparatus according to claim 22, wherein In terms of acquiring the second posture parameter of the remote control device, the acquisition module is specifically used to: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

32. The apparatus according to claim 25, wherein In terms of acquiring the second posture parameter of the remote control device, the acquisition module is specifically used to: The second posture parameter is obtained by an inertial direction finding unit of the remote control device.

33. A pointing determination device, characterized in that: The system comprises a processor and a memory, wherein the processor and the memory are connected, wherein the memory is used to store program code, and the processor is used to call the program code to execute the pointing determination method according to any one of claims 1 to 16.

34. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the direction determination method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Method and device for automatically adjusting position of cursor and mobile terminal

    CN103616989A

  • Remote control method and device

    CN107203178A