Interaction object determination method, apparatus, device, and storage medium
By obtaining the target user's gaze direction and calculating the difference in directional angles, the interaction object is determined, which solves the problem of low accuracy of interaction objects in existing technologies and achieves higher interaction accuracy and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- GEER TECH CO LTD
- Filing Date
- 2023-08-08
- Publication Date
- 2026-07-21
AI Technical Summary
The accuracy of identifying interaction objects in existing technologies is low, leading to users interacting with unintended smart devices.
By obtaining the gaze direction of the target user, the target smart device located in the gaze direction is determined, and the directional angle difference between the target smart device and the reference smart device is calculated. If the difference is less than a threshold for a preset time, the target smart device is determined to be the interaction object of the reference smart device.
It improves the accuracy of identifying interactive objects and enhances the user's interactive experience.
Smart Images

Figure CN116954423B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart device technology, and in particular to a method, apparatus, device, and storage medium for determining interactive objects. Background Technology
[0002] Smart devices are in a period of rapid development, and their functions and experiences are constantly changing the way users interact with the physical world, bringing users unprecedented experiences. When using smart devices, users cannot do without the interaction between smart devices. However, before the interaction, it is necessary to identify the interaction object. Currently, the way to identify the interaction object is by distance, that is, the smart device with the closest distance is taken as the interaction object. However, the smart device identified is not necessarily the smart device that the user wants to connect to, which ultimately results in low accuracy in identifying the interaction object.
[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this invention is to provide a method, apparatus, device, and storage medium for determining interactive objects, aiming to solve the technical problem of low accuracy in determining interactive objects in the prior art.
[0005] To achieve the above objectives, the present invention provides a method for determining interactive objects, the method comprising the following steps:
[0006] Obtain the gaze direction of the target user and determine the target smart device located in the gaze direction;
[0007] Determine the orientation angle between the target intelligent device and the reference intelligent device;
[0008] Calculate the difference in direction angle between the angle corresponding to the gaze direction and the direction angle;
[0009] When the difference in the direction angle is continuously less than a preset direction angle threshold within a preset time period, the target smart device is determined to be the interaction object of the reference smart device.
[0010] Optionally, determining the orientation angle between the target smart device and the reference smart device includes:
[0011] Obtain the array distributed across the benchmark smart devices;
[0012] Determine the phase difference between the waveforms in the array that travel from the reference smart device to the target smart device;
[0013] The planar relative distance between the reference smart device and the target smart device is calculated based on the wavelength, frequency, and propagation time of the waveform.
[0014] The orientation angle between the target intelligent device and the reference intelligent device is calculated based on the wavelength of the waveform, the relative distance between the planes, and the phase difference.
[0015] Optionally, before determining the target smart device as the interaction object of the reference smart device when the direction angle difference is continuously less than a preset direction angle threshold within a preset time, the method further includes:
[0016] Obtain the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system, respectively;
[0017] The spatial relative distance between the target intelligent device and the reference intelligent device is calculated based on the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system.
[0018] The preset orientation angle threshold corresponding to the spatial relative distance is found according to the target distance-orientation angle threshold mapping table.
[0019] Optionally, obtaining the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system respectively includes:
[0020] The relative coordinates between the target intelligent device and the reference intelligent device are determined based on the planar relative distance between the reference intelligent device and the target intelligent device.
[0021] Obtain the operating coordinate system established with the reference intelligent device as the origin;
[0022] The absolute coordinates of the calibration reference intelligent device in the target coordinate system;
[0023] The operating coordinate system is transformed based on the absolute coordinates of the reference intelligent device in the target coordinate system to obtain the coordinate data of the target coordinate system;
[0024] The absolute coordinates of the target smart device in the target coordinate system are obtained based on the coordinate data of the target coordinate system.
[0025] Optionally, after determining that the target smart device is the interaction object of the reference smart device when the direction angle difference is continuously less than a preset direction angle threshold within a preset time, the method further includes:
[0026] Establish a communication connection between the target intelligent device and the benchmark intelligent device;
[0027] After a successful communication connection, a target interaction path is established;
[0028] The target intelligent device and the reference intelligent device interact through the target interaction path.
[0029] Optionally, after the interaction between the target smart device and the reference smart device is performed through the target interaction path, the method further includes:
[0030] Real-time monitoring to determine whether the difference in direction angles is greater than or equal to a preset direction angle threshold;
[0031] If the direction angle difference is continuously greater than or equal to the preset direction angle threshold within the target time, the communication connection between the target smart device and the reference smart device is disconnected.
[0032] When the direction angle difference is greater than or equal to a preset direction angle threshold, the current instruction is obtained;
[0033] The current instruction is identified using a target instruction recognition algorithm;
[0034] If the identification result indicates that the current instruction is to disconnect, the communication connection between the target smart device and the reference smart device is disconnected.
[0035] Optionally, after monitoring whether the real-time direction angle difference is greater than or equal to a preset direction angle threshold, the method further includes:
[0036] When the direction angle difference is greater than or equal to a preset direction angle threshold, the target interactive content detection algorithm is used to detect whether there is interactive content within the target time.
[0037] If the target interactive content detection algorithm detects that there is no interactive content within the target time, the communication connection between the target smart device and the reference smart device is disconnected.
[0038] Furthermore, to achieve the above objectives, the present invention also proposes an interactive object determination device, the interactive object determination device comprising:
[0039] The acquisition module is used to acquire the gaze direction of the target user and determine the target smart device located in the gaze direction;
[0040] The determination module is used to determine the orientation angle between the target intelligent device and the reference intelligent device;
[0041] The calculation module is used to calculate the difference in direction angle between the angle corresponding to the gaze direction and the direction angle.
[0042] The determining module is further configured to determine the target smart device as the interaction object of the reference smart device when the direction angle difference is continuously less than the preset direction angle threshold within a preset time.
[0043] Furthermore, to achieve the above objectives, the present invention also proposes an interactive object determination device, the interactive object determination device comprising: a memory, a processor, and an interactive object determination program stored in the memory and executable on the processor, the interactive object determination program being configured to implement the interactive object determination method as described above.
[0044] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing an interaction object determination program, which, when executed by a processor, implements the interaction object determination method as described above.
[0045] The interactive object determination method proposed in this invention determines the target smart device located in the gaze direction of the target user; determines the directional angle between the target smart device and the reference smart device; calculates the directional angle difference between the angle corresponding to the gaze direction and the directional angle; and determines the target smart device as the interactive object of the reference smart device when the directional angle difference is continuously less than a preset directional angle threshold within a preset time. Through this method, after determining the directional angle, the directional angle difference between the angle corresponding to the gaze direction and the directional angle is calculated, and then it is determined whether the directional angle difference is continuously less than the preset directional angle threshold within a preset time. If so, the target smart device is determined as the interactive object of the reference smart device, thereby effectively improving the accuracy of interactive object determination and thus enhancing the user's interactive experience. Attached Figure Description
[0046] Figure 1 This is a schematic diagram of the structure of the device for determining the interactive object of the hardware operating environment involved in the embodiments of the present invention;
[0047] Figure 2 This is a flowchart illustrating the first embodiment of the interactive object determination method of the present invention;
[0048] Figure 3 This is a schematic diagram showing the positions of each smart device in the target coordinate system according to an embodiment of the interactive object determination method of the present invention.
[0049] Figure 4 This is a flowchart illustrating the second embodiment of the interactive object determination method of the present invention;
[0050] Figure 5 This is a schematic diagram of the positions of each smart device in the operating coordinate system of an embodiment of the interactive object determination method of the present invention.
[0051] Figure 6 This is a schematic diagram of the functional modules of the first embodiment of the interactive object determination device of the present invention.
[0052] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0053] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0054] Reference Figure 1 , Figure 1 This is a schematic diagram of the device structure for determining the interactive objects of the hardware operating environment involved in the embodiments of the present invention.
[0055] like Figure 1 As shown, the interactive object determining device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0056] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the device for determining the interactive object, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0057] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and an interactive object determination program.
[0058] exist Figure 1In the interactive object determination device shown, the network interface 1004 is mainly used for data communication with the network integrated platform workstation; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the interactive object determination device of the present invention can be set in the interactive object determination device, and the interactive object determination device calls the interactive object determination program stored in the memory 1005 through the processor 1001 and executes the interactive object determination method provided in the embodiment of the present invention.
[0059] Based on the above hardware structure, an embodiment of the interactive object determination method of the present invention is proposed.
[0060] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the interactive object determination method of the present invention.
[0061] In the first embodiment, the method for determining the interaction object includes the following steps:
[0062] Step S10: Obtain the gaze direction of the target user and determine the target smart device located in the gaze direction.
[0063] It should be noted that the execution subject in this embodiment is the interactive object determination device, but it can also be other devices that can achieve the same or similar functions, such as a smart device controller. This embodiment does not limit this, and in this embodiment, a smart device controller is used as an example for explanation.
[0064] It should be understood that the gaze direction refers to the direction in which the target user moves their eyes to gaze. This gaze direction can be captured by an eye-tracking device installed inside a smart device, such as VR glasses. The target smart device refers to the smart device located in the gaze direction.
[0065] Step S20: Determine the orientation angle between the target smart device and the reference smart device.
[0066] It is understandable that the orientation angle refers to the angle between the target intelligent device and the reference intelligent device. Specifically, the target intelligent device and the reference intelligent device are connected, and the standard axis of the line connecting them constitutes the orientation angle between the target intelligent device and the reference intelligent device.
[0067] Step S30: Calculate the difference in direction angle between the angle corresponding to the gaze direction and the direction angle.
[0068] It should be understood that the direction angle difference refers to the difference between the angle corresponding to the gaze direction and the direction angle. The larger the direction angle difference, the less likely it is that the target user is interacting with the reference smart device and the target smart interaction device. Conversely, the smaller the direction angle difference, the more likely it is that the target user is interacting with the reference smart device and the target smart interaction device.
[0069] Step S40: When the direction angle difference is continuously less than the preset direction angle threshold within a preset time period, the target smart device is determined to be the interaction object of the reference smart device.
[0070] Understandably, after obtaining the angle and the difference between the directional angles corresponding to the gaze direction, a timer is started to count down. Then, it is determined whether the difference between the directional angles is continuously less than the preset directional angle threshold within a preset time. If so, the target smart device is determined to be the interaction object of the reference smart device. The preset time can be 2 seconds. The preset directional angle threshold can be determined by the spatial relative distance between the target smart device and the reference smart device and the target distance-directional angle threshold mapping table.
[0071] Furthermore, before step S40, the method further includes: obtaining the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system; calculating the spatial relative distance between the target intelligent device and the reference intelligent device based on the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system; and finding a preset direction angle threshold corresponding to the spatial relative distance based on the target distance-direction angle threshold mapping table.
[0072] It should be understood that absolute coordinates refer to the coordinates of the smart device in the target coordinate system. For example, the absolute coordinates of the target smart device in the target coordinate system are (X1, Y1, Z1), and the absolute coordinates of the reference smart device in the target coordinate system are (X0, Y0, Z0). This target coordinate system can be the geodetic coordinate system. Considering the phenomenon of near objects appearing larger than far objects, the preset orientation angle threshold needs to take into account the distance between the target device and the target user's location. That is, it is necessary to calculate the spatial relative distance between the target smart device and the reference smart device, and then look up the preset orientation angle threshold corresponding to the spatial relative distance according to the target distance-orientation angle threshold mapping table. This target distance-orientation angle threshold mapping table can be found in Table 1.
[0073] Table 1
[0074] Preset direction angle threshold ±30° ±20° ±10° ±5° ±3°
[0075] For example, when the spatial relative distance x between the target smart device and the reference smart device is greater than 10, the preset orientation angle threshold is determined to be ±3°, or when the spatial relative distance x between the target smart device and the reference smart device is less than 1, the preset orientation angle threshold is determined to be ±30°.
[0076] Further, the steps of obtaining the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system respectively include: determining the relative coordinates between the target intelligent device and the reference intelligent device based on the planar relative distance between the reference intelligent device and the target intelligent device; obtaining an operating coordinate system established with the reference intelligent device as the origin; calibrating the absolute coordinates of the reference intelligent device in the target coordinate system; transforming the operating coordinate system based on the absolute coordinates of the reference intelligent device in the target coordinate system to obtain coordinate data of the target coordinate system; and obtaining the absolute coordinates of the target intelligent device in the target coordinate system based on the coordinate data of the target coordinate system.
[0077] It is understandable that the planar relative distance refers to the distance between the reference intelligent device and the target intelligent device in the operating coordinate system. This operating coordinate system is established with the reference intelligent device as the origin, and the coordinates of the reference intelligent device in the operating coordinate system are (0,0,0). Then, the relative coordinates between the target intelligent device and the reference intelligent device are determined using this planar relative distance. At this time, the absolute coordinates (X0,Y0,Z0) of the reference intelligent device in the target coordinate system are calibrated. Then, the operating coordinate system is transformed according to the absolute coordinates of the reference intelligent device in the target coordinate system to obtain the coordinate data of the target coordinate system. For example, referencing... Figure 3 , Figure 3 This diagram illustrates the positions of each smart device in the target coordinate system. Taking three smart devices as an example, they are reference smart device A, smart device B, smart device C, and smart device D. The coordinates of smart device B are (X1, Y1, Z1), the coordinates of smart device C are (X2, Y2, Z2), and the coordinates of smart device D are (X3, Y3, Z3). Smart device B is the target smart device, meaning that the absolute coordinates of the target smart device in the target coordinate system are (X1, Y1, Z1).
[0078] Furthermore, after step S40, the method further includes: establishing a communication connection between the target smart device and the reference smart device; establishing a target interaction path after the communication connection is successful; and performing interaction between the target smart device and the reference smart device through the target interaction path.
[0079] It should be understood that after determining that the interaction object with the reference smart device is the target smart device, a communication connection is established between the target smart device and the reference smart device. This communication connection can be a Bluetooth connection. After the communication connection is established, a target interaction path is established, and then the interaction between the target smart device and the reference smart device is carried out through the target interaction path. When the interaction type is an audio call interaction type, the established target interaction path can be an audio call path.
[0080] Furthermore, after the interaction between the target intelligent device and the reference intelligent device is conducted through the target interaction path, the method further includes: real-time monitoring of whether the azimuth difference is greater than or equal to a preset azimuth threshold; disconnecting the communication connection between the target intelligent device and the reference intelligent device when the azimuth difference is continuously greater than or equal to the preset azimuth threshold within a target time; acquiring the current instruction when the azimuth difference is greater than or equal to the preset azimuth threshold; identifying the current instruction through a target instruction recognition algorithm; and disconnecting the communication connection between the target intelligent device and the reference intelligent device when the identification result indicates that the current instruction is a disconnection instruction.
[0081] Understandably, after the target smart device interacts with the reference smart device, the system monitors in real time whether the azimuth difference is greater than or equal to a preset azimuth threshold. If the azimuth difference continues to be greater than or equal to the preset azimuth threshold within a target time, the target smart device is disqualified from being the interaction object of the reference smart device, and the communication connection between the target smart device and the reference smart device is automatically disconnected. This target time can be 5 seconds.
[0082] It should be understood that when the direction angle difference is greater than or equal to the preset direction angle threshold, it is determined whether the current command has been received. If so, the target command recognition algorithm is used to identify the current command, and it is determined whether the identification result is that the current command is a disconnect command. If so, it indicates that the user does not want to interact with the target smart device. At this time, the target smart device is disqualified from being the interaction object of the base smart device, and the communication connection between the target smart device and the base smart device is automatically disconnected. When the command type of the current command is a voice command, the target command recognition algorithm is the built-in command word recognition algorithm. When the command type of the current command is a gesture command, the target command recognition algorithm is the built-in gesture command recognition algorithm.
[0083] Furthermore, after real-time monitoring whether the direction angle difference is greater than or equal to a preset direction angle threshold, the method further includes: when the direction angle difference is greater than or equal to the preset direction angle threshold, detecting whether there is interactive content within a target time using a target interactive content detection algorithm; if the target interactive content detection algorithm detects that there is no interactive content within a target time, then disconnecting the communication connection between the target smart device and the reference smart device.
[0084] It should be understood that interactive content refers to the content of the interaction between the target user and the target smart device through the reference smart device. When the direction angle difference is determined to be greater than or equal to the preset direction angle threshold, the target interactive content detection algorithm detects whether there is interactive content within the target time. If not, it indicates that the reference smart device and the target smart device have not interacted within the target time. For example, if the target user wearing the reference smart device is talking to the user wearing the target smart device and no one speaks, the target smart device is disqualified from being the interaction object of the reference smart device, and the communication connection between the target smart device and the reference smart device is automatically disconnected.
[0085] This embodiment determines the target smart device located in the gaze direction by acquiring the gaze direction of the target user; determines the directional angle between the target smart device and the reference smart device; calculates the directional angle difference between the angle corresponding to the gaze direction and the directional angle; and determines the target smart device as the interaction object of the reference smart device when the directional angle difference is continuously less than a preset directional angle threshold within a preset time. Through the above method, after determining the directional angle, the directional angle difference between the angle corresponding to the gaze direction and the directional angle is calculated, and then it is determined whether the directional angle difference is continuously less than the preset directional angle threshold within a preset time. If so, the target smart device is determined as the interaction object of the reference smart device, thereby effectively improving the accuracy of determining the interaction object and thus improving the user's interaction experience.
[0086] In one embodiment, such as Figure 4 The second embodiment of the interactive object determination method of the present invention, based on the first embodiment, includes step S20, which includes:
[0087] Step S201: Obtain the array distributed on the reference smart device.
[0088] Step S202: Determine the phase difference between the waveforms in the array from the reference smart device to the target smart device.
[0089] It is understandable that the phase difference refers to the phase value of the waveform in the array from the reference smart device to each smart device, which is transmitted by the antennas of the array distributed on the reference smart device.
[0090] Step S203: Calculate the planar relative distance between the reference smart device and the target smart device based on the wavelength, frequency and propagation time of the waveform.
[0091] It should be understood that propagation time refers to the time it takes for a waveform to propagate from the reference smart device to each smart device. Then, based on the waveform's wavelength, frequency, and propagation time, the relative planar distance between the reference smart device and the target smart device is calculated, specifically:
[0092] S = vt = λft;
[0093] Where S represents the planar relative distance between the reference smart device and each smart device, λ represents the wavelength of the waveform, f represents the frequency, and t represents the propagation time.
[0094] Step S204: Calculate the orientation angle between the target smart device and the reference smart device based on the wavelength of the waveform, the relative distance between the planes, and the phase difference.
[0095] Understandably, after obtaining the relative distance in the plane, the orientation angle between each smart device and the reference smart device is calculated by combining the wavelength and phase difference of the waveform. Specifically:
[0096]
[0097] Where θ represents the orientation angle between the smart device and the reference smart device, λ represents the wavelength of the waveform, d represents the relative distance between the planes, and Δφ represents the phase difference.
[0098] It should be noted that the reference Figure 5 , Figure 5 This diagram illustrates the positions of the smart devices in the operating coordinate system. Taking three smart devices as an example, we have reference smart device A, smart device B, smart device C, and smart device D. Specifically, the coordinates of reference smart device A are (0,0,0), smart device B is (x1,y1,z1), smart device C is (x2,y2,z2), and smart device D is (x3,y3,z3). The orientation angle between smart device B and reference smart device A is angle 1, and their relative planar distance is distance 1. The orientation angle between smart device C and reference smart device A is angle 2, and their relative planar distance is distance 2. The orientation angle between smart device D and reference smart device A is angle 3, and their relative planar distance is distance 3. For example, when the target device is determined to be smart device B, the relative planar distance is distance 2, and the orientation angle is angle 1.
[0099] This embodiment acquires an array distributed on a reference smart device; determines the phase difference between the waveforms in the array from the reference smart device to the target smart device; calculates the planar relative distance between the reference smart device and the target smart device based on the wavelength, frequency, and propagation time of the waveforms; and calculates the azimuth angle between the target smart device and the reference smart device based on the wavelength, planar relative distance, and phase difference of the waveforms. Through this method, after acquiring the array distributed on the reference smart device, determining the phase difference between the waveforms in the array from the reference smart device to the target smart device, calculating the planar relative distance between the reference smart device and the target smart device based on the wavelength, frequency, and propagation time of the waveforms, and then combining the wavelength of the waveforms to calculate the azimuth angle between the target smart device and the reference smart device, the accuracy of the calculated azimuth angle can be effectively improved.
[0100] Furthermore, this embodiment of the invention also proposes a storage medium storing an interactive object determination program, which, when executed by a processor, implements the steps of the interactive object determination method described above.
[0101] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0102] In addition, refer to Figure 6 The present invention also proposes an interactive object determination device, the interactive object determination device comprising:
[0103] The acquisition module 10 is used to acquire the gaze direction of the target user and determine the target smart device located in the gaze direction.
[0104] The determination module 20 is used to determine the orientation angle between the target smart device and the reference smart device.
[0105] The calculation module 30 is used to calculate the difference in direction angle between the angle corresponding to the gaze direction and the direction angle.
[0106] The determining module 20 is further configured to determine the target smart device as the interaction object of the reference smart device when the direction angle difference is continuously less than the preset direction angle threshold within a preset time.
[0107] This embodiment determines the target smart device located in the gaze direction by acquiring the gaze direction of the target user; determines the directional angle between the target smart device and the reference smart device; calculates the directional angle difference between the angle corresponding to the gaze direction and the directional angle; and determines the target smart device as the interaction object of the reference smart device when the directional angle difference is continuously less than a preset directional angle threshold within a preset time. Through the above method, after determining the directional angle, the directional angle difference between the angle corresponding to the gaze direction and the directional angle is calculated, and then it is determined whether the directional angle difference is continuously less than the preset directional angle threshold within a preset time. If so, the target smart device is determined as the interaction object of the reference smart device, thereby effectively improving the accuracy of determining the interaction object and thus improving the user's interaction experience.
[0108] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0109] In addition, for technical details not described in detail in this embodiment, please refer to the interactive object determination method provided in any embodiment of the present invention, which will not be repeated here.
[0110] In one embodiment, the determining module 20 is further configured to acquire an array distributed on a reference smart device; determine the phase difference between the waveforms in the array from the reference smart device to the target smart device; calculate the planar relative distance between the reference smart device and the target smart device based on the wavelength, frequency, and propagation time of the waveforms; and calculate the orientation angle between the target smart device and the reference smart device based on the wavelength, planar relative distance, and phase difference of the waveforms.
[0111] In one embodiment, the determining module 20 is further configured to acquire the absolute coordinates of the target smart device in the target coordinate system and the absolute coordinates of the reference smart device in the target coordinate system; calculate the spatial relative distance between the target smart device and the reference smart device based on the absolute coordinates of the target smart device in the target coordinate system and the absolute coordinates of the reference smart device in the target coordinate system; and look up a preset direction angle threshold corresponding to the spatial relative distance according to the target distance-direction angle threshold mapping table.
[0112] In one embodiment, the determining module 20 is further configured to: determine the relative coordinates between the target smart device and the reference smart device based on the planar relative distance between the reference smart device and the target smart device; obtain an operating coordinate system established with the reference smart device as the origin; calibrate the absolute coordinates of the reference smart device in the target coordinate system; transform the operating coordinate system based on the absolute coordinates of the reference smart device in the target coordinate system to obtain coordinate data of the target coordinate system; and obtain the absolute coordinates of the target smart device in the target coordinate system based on the coordinate data of the target coordinate system.
[0113] In one embodiment, the determining module 20 is further configured to establish a communication connection between the target smart device and the reference smart device; after the communication connection is successful, establish a target interaction path; and perform interaction between the target smart device and the reference smart device through the target interaction path.
[0114] In one embodiment, the determining module 20 is further configured to monitor in real time whether the azimuth difference is greater than or equal to a preset azimuth threshold; when the azimuth difference is continuously greater than or equal to the preset azimuth threshold within a target time, disconnect the communication connection between the target smart device and the reference smart device; when the azimuth difference is greater than or equal to the preset azimuth threshold, obtain the current instruction; identify the current instruction through a target instruction recognition algorithm; and when the identification result indicates that the current instruction is an instruction to disconnect, disconnect the communication connection between the target smart device and the reference smart device.
[0115] In one embodiment, the determining module 20 is further configured to detect whether there is interactive content within a target time period by means of a target interactive content detection algorithm when the direction angle difference is greater than or equal to a preset direction angle threshold; if the target interactive content detection algorithm detects that there is no interactive content within the target time period, then disconnect the communication connection between the target smart device and the reference smart device.
[0116] Other embodiments or implementation methods of the interactive object determination device described in this invention can be referred to the above-described method embodiments, and will not be repeated here.
[0117] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0118] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0119] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, all-in-one platform workstation, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0120] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for determining interactive objects, characterized in that, The method for determining the interaction object includes the following steps: Obtain the gaze direction of the target user and determine the target smart device located in the gaze direction; Acquire an array distributed on a reference smart device; determine the phase difference between the waveforms in the array from the reference smart device to the target smart device; calculate the planar relative distance between the reference smart device and the target smart device based on the wavelength, frequency, and propagation time of the waveforms; calculate the orientation angle between the target smart device and the reference smart device based on the wavelength of the waveforms, the planar relative distance, and the phase difference. Calculate the directional angle difference between the angle corresponding to the gaze direction and the directional angle; The relative coordinates between the target intelligent device and the reference intelligent device are determined based on the planar relative distance between the reference intelligent device and the target intelligent device; an operating coordinate system is established with the reference intelligent device as the origin; the absolute coordinates of the reference intelligent device in the target coordinate system are calibrated; the operating coordinate system is transformed based on the absolute coordinates of the reference intelligent device in the target coordinate system to obtain the coordinate data of the target coordinate system; the absolute coordinates of the target intelligent device in the target coordinate system are obtained based on the coordinate data of the target coordinate system; the spatial relative distance between the target intelligent device and the reference intelligent device is calculated based on the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system; and a preset direction angle threshold corresponding to the spatial relative distance is found according to the target distance-direction angle threshold mapping table. When the difference in the directional angle is continuously less than the preset directional angle threshold within a preset time period, the target smart device is determined to be the interaction object of the reference smart device.
2. The method for determining interactive objects as described in claim 1, characterized in that, After determining that the target smart device is the interaction object of the reference smart device when the direction angle difference is continuously less than the preset direction angle threshold within a preset time period, the method further includes: Establish a communication connection between the target intelligent device and the reference intelligent device; After a successful communication connection, a target interaction path is established; The target smart device and the reference smart device interact through the target interaction path.
3. The method for determining interactive objects as described in claim 2, characterized in that, After the interaction between the target smart device and the reference smart device is performed through the target interaction path, the method further includes: Real-time monitoring of whether the direction angle difference is greater than or equal to the preset direction angle threshold; If the direction angle difference is continuously greater than or equal to the preset direction angle threshold within the target time, the communication connection between the target smart device and the reference smart device is disconnected. When the direction angle difference is greater than or equal to the preset direction angle threshold, the current instruction is obtained; The current instruction is identified using a target instruction recognition algorithm; If the identification result indicates that the current instruction is to disconnect, the communication connection between the target smart device and the reference smart device is disconnected.
4. The method for determining interactive objects as described in claim 3, characterized in that, After determining whether the real-time monitoring direction angle difference is greater than or equal to the preset direction angle threshold, the method further includes: When the direction angle difference is greater than or equal to the preset direction angle threshold, the target interactive content detection algorithm is used to detect whether there is interactive content within the target time. If the target interactive content detection algorithm detects that there is no interactive content within the target time period, the communication connection between the target smart device and the reference smart device is disconnected.
5. An interactive object determination device, characterized in that, The interaction object determination device includes: The acquisition module is used to acquire the gaze direction of the target user and determine the target smart device located in the gaze direction; A determination module is used to acquire an array distributed on a reference smart device; determine the phase difference between the waveforms in the array from the reference smart device to the target smart device; calculate the planar relative distance between the reference smart device and the target smart device based on the wavelength, frequency, and propagation time of the waveforms; and calculate the orientation angle between the target smart device and the reference smart device based on the wavelength of the waveforms, the planar relative distance, and the phase difference. The calculation module is used to calculate the directional angle difference between the angle corresponding to the gaze direction and the directional angle; The determining module is further configured to: determine the relative coordinates between the target intelligent device and the reference intelligent device based on the planar relative distance between the reference intelligent device and the target intelligent device; acquire a running coordinate system established with the reference intelligent device as the origin; calibrate the absolute coordinates of the reference intelligent device in the target coordinate system; transform the running coordinate system based on the absolute coordinates of the reference intelligent device in the target coordinate system to obtain coordinate data of the target coordinate system; acquire the absolute coordinates of the target intelligent device in the target coordinate system based on the coordinate data of the target coordinate system; calculate the spatial relative distance between the target intelligent device and the reference intelligent device based on the absolute coordinates of the target intelligent device in the target coordinate system and the absolute coordinates of the reference intelligent device in the target coordinate system; and look up a preset direction angle threshold corresponding to the spatial relative distance according to a target distance-direction angle threshold mapping table. The determining module is further configured to determine the target smart device as the interaction object of the reference smart device when the direction angle difference is continuously less than the preset direction angle threshold within a preset time period.
6. An interactive object determination device, characterized in that, The interactive object determination device includes: a memory, a processor, and an interactive object determination program stored in the memory and executable on the processor, wherein the interactive object determination program is configured to implement the interactive object determination method as described in any one of claims 1 to 4.
7. A storage medium, characterized in that, The storage medium stores an interactive object determination program, which, when executed by a processor, implements the interactive object determination method as described in any one of claims 1 to 4.