Human-computer interaction method and apparatus, and device and storage medium

By detecting the user's target gestures and controlling the interactive operations in the virtual space in real time, it solves the problem of single interaction effect in virtual reality, realizes convenient and diversified interactions in the virtual space, and improves the user experience.

WO2024199169A1PCT designated stage expired Publication Date: 2024-10-03BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
PCT/CN2024/083499
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-28
Filing Date
2024-03-25
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

The interactive effects in the virtual space in virtual reality (VR) and augmented reality (AR) are relatively simple and lack interest.

Method used

By detecting the user's target gestures, such as two-hand framing gestures and one-handed pinching gestures, interactive operations in the virtual space can be controlled in real time to achieve convenient interaction and diversity in the virtual space interface.

Benefits of technology

It enhances the diversity and interest of interactions in the virtual space, and improves the user's interactive atmosphere and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024083499_03102024_PF_FP_ABST
    Figure CN2024083499_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a human-computer interaction method and apparatus, and a device and a storage medium. The method comprises: in response to a detected target gesture, presenting, in a virtual space, a selected special effect of an interface to be interacted with; and according to an associated movement of the target gesture, controlling said interface to execute a corresponding interactive operation in the virtual space, wherein the target gesture comprises one of a two-handed box-selection gesture and a one-handed pinch gesture. According to the embodiments of the present disclosure, convenient interaction with any spatial interface in a virtual space can be implemented, thereby enhancing the diversity and fun of interaction in the virtual space, and enhancing the interactive atmosphere in the virtual space.
Need to check novelty before this filing date? Find Prior Art

Description

Human-computer interaction method, device, equipment and storage medium

[0001] This application claims priority to Chinese Patent Application No. 202310318461.2 filed on March 28, 2023, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field

[0002] Embodiments of the present disclosure relate to a human-computer interaction method, apparatus, device, and storage medium. Background Art

[0003] Currently, XR technology is being applied in an increasingly wide range of scenarios, including virtual reality (VR), augmented reality (AR), and mixed reality (MR). Within a virtual scene, multiple spatial interfaces exist, and users can interact with each interface to immerse themselves in the real virtual scene.

[0004] Typically, users interact with various spatial interfaces at a distance by emitting a directional virtual ray in the virtual space, which makes the interaction effect in the virtual scene relatively simple and lacks a certain degree of interactive fun.

[0005] Summary of the Invention

[0006] The embodiments of the present disclosure provide a human-computer interaction method, apparatus, device, and storage medium to enable convenient interaction at any spatial interface in a virtual space, thereby enhancing the diversity and fun of interaction in the virtual space.

[0007] In a first aspect, an embodiment of the present disclosure provides a human-computer interaction method, applied to an XR device, the method comprising:

[0008] In response to the detected target gesture, presenting a selected special effect of the interface to be interacted with in the virtual space;

[0009] According to the associated movement of the target gesture, controlling the interface to be interacted with to perform a corresponding interactive operation in the virtual space;

[0010] The target gesture includes one of a two-handed frame selection gesture and a single-handed pinch gesture.

[0011] In a second aspect, an embodiment of the present disclosure provides a human-computer interaction device, configured on an XR device, the device comprising:

[0012] An interface selection module, configured to present a selection effect of the interface to be interacted with in the virtual space in response to a detected target gesture;

[0013] An interface interaction module, configured to control the interface to be interacted with to perform a corresponding interaction operation in the virtual space according to the associated movement of the target gesture;

[0014] The target gesture includes one of a two-handed frame selection gesture and a single-handed pinch gesture.

[0015] In a third aspect, an embodiment of the present disclosure provides an electronic device, the electronic device comprising:

[0016] A processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the human-computer interaction method provided in the first aspect of the present disclosure.

[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium for storing a computer program, which enables a computer to execute the human-computer interaction method provided in the first aspect of the present disclosure.

[0018] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program / instructions, which enables a computer to execute the human-computer interaction method provided in the first aspect of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] FIG1 is a flow chart of a human-computer interaction method provided by an embodiment of the present disclosure;

[0021] FIG2 is an exemplary schematic diagram of a two-handed frame selection gesture provided by an embodiment of the present disclosure;

[0022] FIG3 is a flow chart of another human-computer interaction method provided by an embodiment of the present disclosure;

[0023] FIG4a is an exemplary schematic diagram of determining an interface to be interacted with by using a two-handed frame selection gesture according to an embodiment of the present disclosure;

[0024] FIG4 b is an exemplary schematic diagram of presenting an interface clone of the to-be-interacted interface within a two-handed selection area corresponding to a two-handed selection gesture, provided by an embodiment of the present disclosure;

[0025] FIG4c is an exemplary schematic diagram of overlapping hands in a two-handed frame selection gesture provided by an embodiment of the present disclosure;

[0026] FIG5a is an exemplary schematic diagram of a single-handed pinch gesture provided by an embodiment of the present disclosure;

[0027] FIG5 b is another exemplary schematic diagram of a single-hand pinch gesture provided by an embodiment of the present disclosure;

[0028] FIG6 is an exemplary schematic diagram of presenting a selected special effect of a to-be-interacted interface through a single-handed pinch gesture according to an embodiment of the present disclosure;

[0029] FIG7a is an exemplary schematic diagram of calling out a shortcut function panel of an interface to be interacted with through a second type of single-hand pinch gesture provided by an embodiment of the present disclosure;

[0030] FIG7 b is an exemplary schematic diagram of a second type of one-hand pinch gesture for a slide selection operation on any function control in the quick function panel provided by an embodiment of the present disclosure;

[0031] FIG8 is a schematic diagram of a human-computer interaction device provided by an embodiment of the present disclosure; and

[0032] FIG9 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present disclosure in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present disclosure.

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

[0035] In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be interpreted as being more preferred or more advantageous than other embodiments or solutions. Specifically, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0036] To address the relatively limited interaction effects when interacting with various spatial interfaces via virtual rays in a virtual space, the disclosed invention is based on the following principles: For spatial interface interactions within a virtual space, a corresponding target gesture is pre-set. This target gesture can include either a two-handed selection gesture or a single-handed pinch gesture, consistent with user gesture manipulation habits in real-world scenarios. By detecting the target gesture and its associated motion in real time within the virtual space, the interface to be interacted with is controlled to perform the corresponding interaction operation within the virtual space, thereby enabling convenient interaction with any spatial interface within the virtual space and enhancing the diversity and fun of interactions within the virtual space.

[0037] Figure 1 is a flowchart of a human-computer interaction method provided by an embodiment of the present disclosure. The method can be applied to XR devices, but is not limited thereto. The method can be executed by the human-computer interaction device provided by the present disclosure, wherein the human-computer interaction device can be implemented by any software and / or hardware. For example, the human-computer interaction device can be configured in an electronic device such as AR / VR / MR that can simulate virtual scenes. The present disclosure does not impose any restrictions on the specific type of electronic device.

[0038] Specifically, as shown in FIG1 , the method may include the following steps:

[0039] S110 , in response to the detected target gesture, presenting a selected special effect of the interface to be interacted with in the virtual space.

[0040] In this disclosure, a virtual space can be a virtual environment simulated by an XR device for a real interactive scene selected by a user, so as to display the corresponding interactive information within the virtual space. The virtual space can be a simulation of the real world, a virtual scene that is partially simulated and partially fictional, or a purely fictional virtual scene.

[0041] For example, the user selects a certain type of live broadcast scene to construct a corresponding virtual live broadcast environment as the virtual space in the present disclosure, so that each audience enters the virtual space to realize the corresponding live broadcast interaction.

[0042] Typically, after a user puts on an XR device, they turn it on, putting it into operation. The XR device then simulates a specific virtual scene for the user, a fusion of real and virtual scenes, allowing the user to enter a pre-built virtual space.

[0043] It is understandable that in order to ensure that users can interact conveniently and in an all-round manner in the virtual space, multiple space interfaces are usually displayed in the virtual space, such as the live broadcast screen, the barrage public screen, the function control screen, and the various function panels called out by any function control on the function control screen.

[0044] Therefore, in order to ensure that users can interact conveniently with any spatial interface in the virtual space, the present disclosure can pre-define corresponding target gestures for various interactive operations supported by the spatial interface according to the adaptability between the user's gesture operation habits in real scenes and the interactive operations of each spatial interface, so that the corresponding interactive operations of the spatial interface can be accurately triggered by capturing the user's gestures in the virtual space.

[0045] Among them, in order to ensure that the user gesture control of the spatial interface interaction in the virtual space can be more in line with the user's gesture operation habits, the target gesture in this disclosure may include but is not limited to one of the two-handed frame selection gesture and the one-handed pinch gesture.

[0046] Therefore, after the user enters the virtual space, gesture commands issued by the user are detected in real time. These gesture commands may include but are not limited to gesture voice commands, gestures controlled by controllers such as real controllers, and gesture images corresponding to the user's real hands in real scenes. By parsing these gesture commands, the gestures required to be performed by the hand model in the virtual space are analyzed, thereby detecting in real time whether the hand model in the virtual space is currently performing the corresponding target gesture.

[0047] When a target gesture is detected in the virtual space, it indicates that the user currently needs to interact with a specific spatial interface in the virtual space. Therefore, by analyzing the position information of the hand model in the virtual space during the target gesture, it is determined that the user has specified the spatial interface for this interaction through the target gesture, thereby determining the interface to be interacted with in this disclosure.

[0048] Moreover, considering that when the interface to be interacted is specified in the virtual space through the target gesture, there may be a situation where the interface to be interacted is not the spatial interface that the user currently wants to interact with due to the gesture pointing error. Therefore, in order to avoid the selection error of the interface to be interacted, the present disclosure can present the selected special effects of the interface to be interacted in the virtual space after determining the interface to be interacted in the virtual space, so as to make a corresponding response to the user's selection result of the spatial interface for this interaction. Then, by checking the selected special effects of the interface to be interacted, the user can determine whether the interface to be interacted is the spatial interface that the user wants to interact with this time. If the interface to be interacted is not the spatial interface that the user wants to interact with this time, the position information of the hand model in the target gesture can be adjusted to timely select a new spatial interface and respond accordingly through the selected special effects, so as to intuitively select the interface to be interacted that the user currently wants to interact with, thereby ensuring the accuracy of the interface to be interacted.

[0049] S120 , controlling the interface to be interacted with to perform a corresponding interactive operation in the virtual space according to the associated movement of the target gesture.

[0050] It is understandable that when the target gesture is used to select the current interface to be interacted with, the user can perform various interactions with the interface to be interacted with, such as zooming, minimizing, closing, calling out, etc. Therefore, in order to ensure accurate interaction with the interface to be interacted with, the present disclosure can set multiple associated actions for the target gesture, and each associated action can correspond to an interactive operation.

[0051] Moreover, setting multiple associated motions for the target gesture can ensure the continuity between gesture actions, eliminating the need for users to constantly switch between different gestures to perform corresponding interactive operations, thereby ensuring the convenience of interaction on the interface to be interacted with.

[0052] Therefore, after determining the interface to be interacted with in the virtual space, the present disclosure will continue to detect the hand model's pose information in real time during the target gesture to determine the associated motion performed by the target gesture, thereby determining the interactive operation to be performed this time. Then, in the virtual space, the interface to be interacted with can be controlled to perform the corresponding interactive operation, thereby achieving convenient interaction with any spatial interface in the virtual space.

[0053] The technical solution provided by the embodiment of the present disclosure detects the target gesture in real time after entering the virtual space. The target gesture may include one of a two-handed frame selection gesture and a one-handed pinch gesture. In response to the detected target gesture, the selected special effect of the interface to be interacted will be presented in the virtual space. Then, the associated movement performed by the target gesture is detected in real time to control the interface to be interacted to perform the corresponding interactive operation in the virtual space, thereby realizing convenient interaction of any spatial interface in the virtual space, enhancing the diversity and fun of interaction in the virtual space, and improving the interactive atmosphere in the virtual space.

[0054] As an optional implementation scheme in this disclosure, the target gesture in this disclosure may include one of a two-handed framing gesture and a one-handed pinching gesture. To ensure the accuracy of interaction with any spatial interface in the virtual space, this disclosure may illustrate the specific interaction process of any spatial interface in the virtual space from the two perspectives of the two-handed framing gesture and the one-handed pinching gesture.

[0055] In the first case, the target gesture is a two-handed selection gesture.

[0056] In the present disclosure, the two-handed frame selection gesture may be a gesture action that forms a relative bounding box using some fingers in a two-handed model, thereby selecting the current spatial interface to be interacted with in the virtual space.

[0057] In some implementations, the two-handed selection gesture in the present disclosure can be as shown in Figure 2, where the palm of one of the one-handed models faces outward, that is, away from the user, while the palm of the other one-handed model faces inward, that is, facing the user. Furthermore, the thumb and index finger of each one-handed model can be separated into an L shape, so that the thumb and index finger of each one-handed model can serve as corresponding selection boundaries, forming a relatively quadrilateral bounding box to serve as the corresponding two-handed selection gesture.

[0058] From the above content, it can be seen that when it is necessary to detect a two-handed framing gesture in a virtual space, it is possible to directly determine whether the two-handed model has performed a two-handed framing gesture by detecting the position information of the thumb and index finger in the two-handed model without detecting the position information of the other three fingers.

[0059] Next, the specific interaction process of any spatial interface in the virtual space triggered by the two-handed selection gesture is explained.

[0060] FIG3 is a flow chart of another human-computer interaction method provided by an embodiment of the present disclosure. As shown in FIG3 , the method may include the following steps:

[0061] S310 , in response to a detected two-handed framing gesture, determining a to-be-interacted interface and a two-handed framing area in a virtual space according to the two-handed postures and the user's head posture in the two-handed framing gesture.

[0062] After the user enters the virtual space, the system can detect gesture commands issued by the user in real time, such as gesture voice commands, gestures controlled by controllers such as real controllers, and gesture images corresponding to the user's real hands in real scenes. Then, by analyzing the gesture commands, it can determine whether the current gesture in the virtual space is a two-handed selection gesture.

[0063] When a two-handed framing gesture is detected, it indicates that the user is currently attempting to interact with a specific spatial interface within the virtual space. The two-handed framing gesture typically selects the spatial interface between the user's hands as the interface to be interacted with. Therefore, the present disclosure first obtains the pose information of the two-handed model and the user's head pose information during the two-handed framing gesture.

[0064] Among them, the posture information of the two-hand model can be determined by the real handle posture or the real hand posture, and the user's head posture information can be determined by the posture information of the XR device worn by the user.

[0065] Then, based on the position information of the hand models in virtual space, the relative center point between the hand models can be determined. And based on the user's head pose information, the user's eye point can be determined. As shown in Figure 4a, by connecting the eye point and the relative center point and extending the line toward the spatial interface, the user's viewing line between the hands in virtual space can be represented. Furthermore, by determining the nearest spatial interface pointed by this extended line, the corresponding interface to be interacted with can be determined.

[0066] Moreover, in order to ensure the intuitiveness of the two-handed framing gesture for the interaction with the interface to be interacted with, the present disclosure can also determine the two-handed framing area formed by the target finger in the virtual space by analyzing the posture information of the target finger in the two-handed framing gesture, so as to intuitively display the interaction effect of the interface to be interacted with within the two-handed framing area.

[0067] S320: Presenting a selection effect of the interface to be interacted with in the area selected by both hands.

[0068] In order to avoid selection errors of the interface to be interacted with, after determining the interface to be interacted with in the virtual space, the present invention can present the selection effects of the interface to be interacted with in the two-hand frame area formed between the two-hand models, so as to make a corresponding response to the user's selection result of the spatial interface of this interaction, thereby improving the intuitiveness of the selection of the interface to be interacted with.

[0069] As an optional implementation scheme in the present disclosure, considering that the interface to be interacted with may be far away from the user, it can support far-field interaction but not near-field interaction. Therefore, in order to improve the interaction diversity of the interface to be interacted with, the present disclosure can attract the interface to be interacted with near the user when there is a need for near-field interaction with the interface to be interacted with, thereby providing a near-field interaction method for the interface to be interacted with.

[0070] In the present disclosure, for the presentation of the selected special effects of the interface to be interacted within the two-handed frame selection area, the present disclosure can be implemented through the following steps: determining the static duration of the two-handed frame selection gesture; if the static duration is less than the preset duration threshold, then presenting the interface clone of the interface to be interacted within the two-handed frame selection area, and adjusting the transparency of the interface to be interacted; if the static duration is greater than or equal to the preset duration threshold, then adsorbing the interface to be interacted into the two-handed frame selection area and presenting it.

[0071] In other words, the present disclosure can determine whether the user has near-field interaction intent with the interface to be interacted with by the duration of a two-handed framing gesture remaining in a static state. Therefore, when a two-handed framing gesture is detected, the static duration of the two-handed framing gesture can be determined in real time. Then, by determining whether the static duration of the two-handed framing gesture reaches a preset duration threshold, the user's near-field interaction intent with the interface to be interacted with can be analyzed.

[0072] If the static duration of the two-handed frame selection gesture is less than the preset duration threshold, it means that the user has no near-field interaction intention with the interface to be interacted. Then, as shown in Figure 4b, the present disclosure can present an interface clone of the interface to be interacted in the two-handed frame selection area, and use this as a selection effect of the interface to be interacted to prompt the selection of the interface to be interacted. Moreover, in order to ensure the interactive authenticity of the interface to be interacted, the present disclosure will further adjust the transparency of the interface to be interacted when presenting the interface clone of the interface to be interacted in the two-handed frame selection area, for example, reducing the transparency of the interface to be interacted to 50%, so as to highlight the interface clone in the two-handed frame selection area.

[0073] If the static duration of the two-handed selection gesture is greater than or equal to the preset duration threshold, it means that the two-handed selection gesture has been maintained for the preset duration, indicating that the user has near-field interaction intention with the interface to be interacted with. In this case, the present disclosure can directly adsorb the interface to be interacted with from its original position into the two-handed selection area for presentation, and control the size of the interface to be interacted with to fit within the two-handed selection area, thereby serving as a selection effect for the interface to be interacted with.

[0074] S330 , in response to the two-handed movement corresponding to the two-handed frame selection gesture, presenting a virtual zoom effect of the interface to be interacted with in the two-handed frame selection area.

[0075] After determining the interface to be interacted with in the virtual space, the interaction operation can be triggered by controlling the two-hand model in the two-hand frame selection gesture to perform the corresponding associated movement. Therefore, the present disclosure can detect the position information of the two-hand model in the two-hand frame selection gesture in real time to determine the associated gesture action performed by the two-hand model under the two-hand frame selection gesture.

[0076] When the two-handed framing gesture corresponding to the two-handed framing movement is detected, that is, the two-handed models are constantly approaching each other under the two-handed framing gesture, then the two-handed framing area formed by the two-handed framing gesture will continue to shrink as the two hands move toward each other. The interface to be interacted or the interface clone of the interface to be interacted is presented in the two-handed framing area. Therefore, in the process of the two-handed framing gesture executing the two-handed framing movement, the present invention can continuously scale the interface to be interacted or the interface clone of the interface to be interacted according to the size of the two-handed framing area, so that the interface to be interacted or the interface clone of the interface to be interacted can always be within the two-handed framing area, so as to present a virtual scaling effect of the interface to be interacted in the two-handed framing area.

[0077] S340: When the two hands in the two-hand selection gesture overlap, the interface to be interacted with is controlled to perform a corresponding minimize operation or close operation.

[0078] After continuously moving the hands toward each other, the two-handed selection gesture models eventually overlap, as shown in Figure 4c. When the hands overlap, it indicates that the user wants to minimize or close the interface to be interacted with. The user can then directly control the interface to be interacted with to perform the corresponding minimize or close operation in the virtual space.

[0079] In addition, after the interface to be interacted is selected through the two-handed framing gesture, the user may no longer want to interact with the interface to be interacted. Then, the present disclosure can provide an interaction cancellation operation for the interface to be interacted, that is, a flip operation of any one hand in the two-handed framing gesture. Therefore, by detecting in real time whether any one hand in the two-handed framing gesture performs a flip operation, it is determined whether the interaction operation of the interface to be interacted needs to be canceled at present. When the flip operation of any one hand in the two-handed framing gesture is detected, it means that the user may no longer want to interact with the interface to be interacted, then the interface to be interacted can be directly controlled to return to a non-interacted state, thereby canceling all interaction operations that the user has performed on the interface to be interacted but has not yet confirmed to be completed.

[0080] In the second case, the target gesture is a one-hand pinch gesture.

[0081] In the present disclosure, the one-hand pinch gesture can be a gesture formed by putting together at least two fingers of any one-hand model in the two-hand model, and according to the posture of the one-hand pinch gesture, a corresponding virtual ray can be emitted outward from the finger pinch point, pointing to the spatial interface to be interacted with in the virtual space.

[0082] In some implementations, the one-hand pinch gesture of the present disclosure can be as shown in Figures 5a and 5b , where the thumb and any other finger (e.g., index finger or middle finger) in any one-hand model can be brought together to form the corresponding one-hand pinch gesture. Furthermore, the contact point where the thumb and any other finger are brought together can be the finger pinch point in the one-hand pinch gesture.

[0083] From the above content, it can be seen that when it is necessary to detect a one-hand pinch gesture in a virtual space, it is possible to directly determine whether the one-hand model has performed a one-hand pinch gesture by detecting the posture information of the thumb and any of the remaining fingers in the one-hand model without detecting the posture information of the other three fingers.

[0084] Then, for the selected special effects of the interface to be interacted with, the interface to be interacted with in the virtual space can be determined according to the virtual ray emitted by the one-hand pinch gesture; and the selected special effects of the interface to be interacted with can be presented in the virtual space.

[0085] In other words, when a single-hand pinch gesture is detected in virtual space, the position information of the target finger used to perform the pinch action in the single-hand model corresponding to the single-hand pinch gesture can be first obtained. Then, based on the position information of the target finger, the specified direction of the finger pinch point in virtual space can be determined. Furthermore, from the finger pinch point, a corresponding virtual ray can be emitted outward in the specified direction to point to any spatial interface in the virtual space, thereby determining the corresponding interface to be interacted with.

[0086] It is understandable that the virtual ray in the present disclosure may be presented linearly, or may be presented implicitly, with a cursor point being presented at the intersection between the virtual ray and the interface to be interacted with.

[0087] Then, in order to avoid selection errors of the interface to be interacted, the present disclosure can add a new display style for the interface to be interacted, such as adding an interface border effect as shown in Figure 6, so as to distinguish it from other spatial interfaces and present the selected special effects of the interface to be interacted, so that the user can adjust the interface to be interacted in time by viewing the selected special effects to ensure the accuracy of the interface to be interacted.

[0088] In some implementations, because the one-hand model can perform a one-hand pinch gesture with different palm orientations, the one-hand pinch gesture may have different palm orientations. To avoid excessive gestures in the virtual space affecting convenient interaction with the spatial interface, the present disclosure can set different interaction operations for the one-hand pinch gesture with different palm orientations, so that the same gesture can trigger different interaction operations in different orientations.

[0089] In the present disclosure, the one-hand pinch gesture can be divided into a first type of one-hand pinch gesture and a second type of one-hand pinch gesture according to the direction of the palm in the one-hand pinch gesture.

[0090] For example, the first type of one-hand pinch gesture may be a one-hand pinch gesture formed by putting the thumb and index finger together, with the palm facing downward, as shown in FIG5a. The second type of one-hand pinch gesture may be a one-hand pinch gesture formed by putting the thumb and middle finger together, with the palm facing upward, as shown in FIG5b.

[0091] At this time, different one-hand pinch gestures will trigger the interface to be interacted with to perform different interactive operations. Next, the present disclosure can further explain in detail the steps of controlling the interface to be interacted with to perform corresponding interactive operations in the virtual space according to the associated movement of the target gesture, from the first type of one-hand pinch gesture and the second type of one-hand pinch gesture.

[0092] 1) The target gesture is the first type of one-hand pinch gesture

[0093] For the first type of one-hand pinch gesture in the virtual space, after the selected special effect of the interface to be interacted with is presented in the virtual space, the target finger for performing the pinch action in the single-hand model of the first type of one-hand pinch gesture is first determined. By detecting the position information of the target finger in real time, the associated movement performed by the target finger in the first type of one-hand pinch gesture is determined.

[0094] In the present disclosure, the user can be set to control the minimization or closing operation of the interface to be interacted with by quickly popping out one of the target fingers after making a one-hand pinch gesture, such as the index finger performing a quick pop-up action in the first type of one-hand pinch gesture when the thumb and index finger are pinched.

[0095] Therefore, when the present disclosure detects that a target finger in the first type of one-hand pinch gesture has a certain relative acceleration relative to other target fingers, it can be determined that the target finger in the first type of one-hand pinch gesture has performed a relative accelerated motion, indicating that the target fingers in the first type of one-hand pinch gesture have undergone a pinch-and-release action in which a target finger quickly pops out through rapid relative motion, indicating that the user wants to minimize or close the interface to be interacted with. Therefore, in response to the relative accelerated motion of the target finger in the first type of one-hand pinch gesture, the interface to be interacted with can be directly controlled to perform a corresponding minimize operation or close operation.

[0096] It is understandable that if the target finger in the first type of one-hand pinch gesture slowly releases the pinch, the interface to be interacted with will not be minimized or closed.

[0097] Since the user may no longer want to interact with the interface to be interacted after selecting it through the first type of one-hand pinch gesture, the present disclosure can analyze whether the user wants to cancel the interaction operation of the interface to be interacted by determining whether the target finger joint points in the first type of one-hand pinch gesture are in the same spatial plane. The target finger joint points can be specific joint points on at least three fingers in the first type of one-hand pinch gesture.

[0098] When it is detected that the target finger joint points in the first type of one-hand pinch gesture are in the same spatial plane, it means that the user no longer wants to interact with the interface to be interacted with. In this case, the interface to be interacted with can be directly controlled to return to the non-interaction state, thereby canceling all interaction operations that the user has performed on the interface to be interacted with but has not yet confirmed to be completed.

[0099] 2) The target gesture is the second type of one-hand pinch gesture

[0100] To ensure quick interaction with the interface to be interacted with, the present disclosure may further set a quick function panel for the interface to be interacted with. The quick function panel contains function controls corresponding to various interactive operations supported by the interface to be interacted with, such as minimize, close, and show all interfaces. To ensure accurate invocation of the quick function panel, the present disclosure may set the second type of one-handed pinch gesture as the invocation command for the quick function panel of the interface to be interacted with.

[0101] Therefore, for the second type of one-hand pinch gesture in the virtual space, after the selected special effect of the interface to be interacted with is presented in the virtual space, the finger pinch point for the second type of one-hand pinch gesture can be further determined. Furthermore, as shown in Figure 7a, the quick function panel of the interface to be interacted with can be presented at this finger pinch point, so that the user can quickly trigger the corresponding function control on the quick function panel through the second type of one-hand pinch gesture to perform the corresponding interactive operation, without having to manipulate the real controller or right mouse button to call out the corresponding quick function panel, thereby improving the scalability of the quick function panel.

[0102] Among them, the quick function panel can present different panel styles, which is not limited in this disclosure.

[0103] Since the quick function panel is presented at the finger pinch point of the second type of one-hand pinch gesture, by continuously sliding the second type of one-hand pinch gesture, the finger pinch point can be located at the position of different function controls in the quick function panel, thereby selecting the interactive operations corresponding to different function controls.

[0104] Therefore, as shown in FIG7b, by detecting the sliding operation of the finger pinch point in the second type of one-hand pinch gesture within the quick function panel in real time, it is possible to determine which function control in the quick function panel the finger pinch point of the second type of one-hand pinch gesture slides to. Then, when it is detected that the finger pinch point of the second type of one-hand pinch gesture slides to a function control in the quick function panel and the pinch-and-release operation is continued, it indicates that the user has selected the interactive operation corresponding to the function control in the quick function panel through the second type of one-hand pinch gesture, thereby generating a sliding selection operation of the second type of one-hand pinch gesture towards the function control in the quick function panel. Then, in response to the sliding selection operation of the second type of one-hand pinch gesture towards any function control in the quick function panel, the interface to be interacted can be directly controlled to perform the interactive operation corresponding to the function control, thereby improving the interactive convenience of the spatial interface in the virtual space.

[0105] The technical solution provided by the embodiment of the present disclosure detects the target gesture in real time after entering the virtual space. The target gesture may include one of a two-handed frame selection gesture and a one-handed pinch gesture. In response to the detected target gesture, the selected special effect of the interface to be interacted will be presented in the virtual space. Then, the associated movement performed by the target gesture is detected in real time to control the interface to be interacted to perform the corresponding interactive operation in the virtual space, thereby realizing convenient interaction of any spatial interface in the virtual space, enhancing the diversity and fun of interaction in the virtual space, and improving the interactive atmosphere in the virtual space.

[0106] FIG8 is a schematic diagram of a human-computer interaction device provided by an embodiment of the present disclosure. The human-computer interaction device 800 may be configured in an XR device and may include:

[0107] An interface selection module 810 is configured to present a selection effect of the interface to be interacted with in the virtual space in response to a detected target gesture;

[0108] An interface interaction module 820 is configured to control the interface to be interacted with to perform a corresponding interaction operation in the virtual space according to the associated movement of the target gesture;

[0109] The target gesture includes one of a two-handed frame selection gesture and a single-handed pinch gesture.

[0110] In some implementations, if the target gesture is a two-handed frame selection gesture, the interface selection module 810 may include:

[0111] An interface selection unit, configured to determine an interface to be interacted with and a two-handed selection area in a virtual space according to the two-handed selection gesture and the user's head posture;

[0112] A special effect presentation unit is used to present the selected special effect of the interface to be interacted with in the two-handed framed area.

[0113] In some implementations, the special effects presentation unit may be specifically used to:

[0114] Determining a static duration of the two-handed frame selection gesture;

[0115] If the static duration is less than a preset duration threshold, presenting an interface clone of the interface to be interacted with in the two-handed framed area and adjusting the transparency of the interface to be interacted with;

[0116] If the static duration is greater than or equal to the preset duration threshold, the interface to be interacted with is adsorbed into the two-handed frame selection area and presented.

[0117] In some implementations, if the target gesture is a two-handed frame selection gesture, the interface interaction module 820 may include:

[0118] An interface zooming unit, configured to present a virtual zooming effect of the interface to be interacted with in the two-handed frame selection area in response to the two-handed movement corresponding to the two-handed frame selection gesture;

[0119] The interface interaction unit is used to control the interface to be interacted with to perform a corresponding minimization operation or a closing operation when the two hands in the two-hand frame selection gesture overlap.

[0120] In some implementations, the human-computer interaction device 800 may further include:

[0121] The interaction cancellation module is used to control the interface to be interacted to return to a non-interaction state in response to a flip operation of any one hand in the two-hand frame selection gesture.

[0122] In some implementations, if the target gesture is a single-hand pinch gesture, the interface selection module 810 may be specifically used to:

[0123] Determining an interface to be interacted with in the virtual space according to a virtual ray emitted by the single-hand pinch gesture;

[0124] Presenting the selected special effects of the interface to be interacted with in the virtual space.

[0125] In some implementations, the one-hand pinch gesture is divided into a first category of one-hand pinch gestures and a second category of one-hand pinch gestures according to gesture directions.

[0126] In some implementations, if the target gesture is a first-type single-hand pinch gesture, the interface interaction module 820 may be specifically configured to:

[0127] In response to the relative accelerated movement of the target finger in the first type of one-hand pinch gesture, the interface to be interacted with is controlled to perform a corresponding minimization operation or a closing operation.

[0128] In some implementations, if the target gesture is a first-type one-hand pinch gesture, the interaction cancellation module may further be configured to:

[0129] If the target finger joint points in the first type of one-hand pinch gesture are in the same spatial plane, the interface to be interacted with is controlled to return to a non-interaction state.

[0130] In some implementations, if the target gesture is the second type of single-hand pinch gesture, the interface interaction module 820 may further be specifically configured to:

[0131] Presenting a shortcut function panel of the interface to be interacted with at the pinch point of the finger in the second type of one-hand pinch gesture;

[0132] In response to a sliding selection operation of the second type of one-hand pinch gesture toward any function control in the shortcut function panel, the interface to be interacted with is controlled to execute an interaction operation corresponding to the function control.

[0133] In some possible implementations, the sliding selection operation is a pinch-and-release operation after the pinch point of the finger of the second type of one-hand pinch gesture slides to any function control in the shortcut function panel.

[0134] In the disclosed embodiment, after entering the virtual space, the target gesture will be detected in real time. The target gesture may include one of a two-handed frame selection gesture and a one-handed pinch gesture. In response to the detected target gesture, the selected special effect of the interface to be interacted will be presented in the virtual space. Then, the associated movement performed by the target gesture is detected in real time, thereby controlling the interface to be interacted to perform the corresponding interactive operation in the virtual space, thereby realizing convenient interaction of any spatial interface in the virtual space, enhancing the diversity and fun of interaction in the virtual space, and improving the interactive atmosphere in the virtual space.

[0135] It should be understood that the device embodiment and the method embodiment in the present disclosure may correspond to each other, and similar descriptions may refer to the method embodiment in the present disclosure. To avoid repetition, they will not be described here.

[0136] Specifically, the device 800 shown in Figure 8 can execute any method embodiment provided by the present disclosure, and the aforementioned and other operations and / or functions of each module in the device 800 shown in Figure 8 are respectively for implementing the corresponding processes of the above-mentioned method embodiments. For the sake of brevity, they will not be repeated here.

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

[0138] FIG9 is a schematic block diagram of an electronic device provided by an embodiment of the present disclosure.

[0139] As shown in FIG9 , the electronic device 900 may include:

[0140] The memory 910 and the processor 920 are configured to store computer programs and transmit the program code to the processor 920. In other words, the processor 920 can call and execute the computer program from the memory 910 to implement the method in the embodiment of the present disclosure.

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

[0142] In some embodiments of the present disclosure, the processor 920 may include but is not limited to:

[0143] General-purpose processor, Digital Signal Processor (DSP), Application Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.

[0144] In some embodiments of the present disclosure, the memory 910 includes but is not limited to:

[0145] Volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).

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

[0147] As shown in FIG9 , the electronic device may further include:

[0148] The transceiver 930 may be connected to the processor 920 or the memory 910 .

[0149] The processor 920 may control the transceiver 930 to communicate with other devices. Specifically, the processor 920 may send information or data to other devices or receive information or data sent by other devices. The transceiver 930 may include a transmitter and a receiver. The transceiver 930 may further include one or more antennas.

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

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

[0152] The embodiments of the present disclosure further provide a computer program product comprising a computer program / instruction, which, when executed by a computer, enables the computer to perform the method of the above method embodiment.

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

[0154] The above are only specific embodiments of the present disclosure, but the scope of protection of the present disclosure 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 disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A human-computer interaction method, applied to an extended reality XR device, include: In response to the detected target gesture, presenting a selected special effect of the interface to be interacted with in the virtual space; According to the associated movement of the target gesture, controlling the interface to be interacted with to perform a corresponding interactive operation in the virtual space; The target gesture includes one of a two-handed frame selection gesture and a single-handed pinch gesture.

2. The method according to claim 1, in, If the target gesture is a two-handed frame selection gesture, presenting the selection special effect of the to-be-interacted interface in the virtual space includes: Determine the to-be-interacted interface and the two-handed frame selection area in the virtual space according to the two-handed position and the user's head position in the two-handed frame selection gesture; The selected special effects of the interface to be interacted with are presented in the two-handed framed area.

3. The method according to claim 2, in, The presenting of the selected special effect of the to-be-interacted interface in the two-handed frame selection area includes: Determining a static duration of the two-handed frame selection gesture; If the static duration is less than a preset duration threshold, presenting an interface clone of the interface to be interacted with in the two-handed framed area, and adjusting the transparency of the interface to be interacted with; If the static duration is greater than or equal to the preset duration threshold, the interface to be interacted with is adsorbed into the two-handed frame selection area and presented.

4. The method according to claim 2, in, The step of controlling the interface to be interacted with to perform a corresponding interactive operation in the virtual space according to the associated movement of the target gesture includes: In response to the two-handed movement corresponding to the two-handed frame selection gesture, presenting a virtual zoom effect of the interface to be interacted with in the two-handed frame selection area; When the two hands in the two-hand frame selection gesture overlap, the interface to be interacted with is controlled to perform a corresponding minimization operation or a closing operation.

5. The method according to any one of claims 1 to 4, in, If the target gesture is a two-handed frame selection gesture, the method further includes: In response to a flipping operation of any one hand in the two-handed frame selection gesture, the interface to be interacted with is controlled to return to a non-interaction state.

6. The method according to claim 1, in, If the target gesture is a single-hand pinch gesture, presenting the selected special effect of the to-be-interacted interface in the virtual space includes: Determining an interface to be interacted with in the virtual space according to a virtual ray emitted by the one-hand pinch gesture; The selected special effect of the interface to be interacted with is presented in the virtual space.

7. The method according to claim 1, in, The one-hand pinch gesture is divided into a first type of one-hand pinch gesture and a second type of one-hand pinch gesture according to the gesture direction.

8. The method according to claim 7, in, If the target gesture is a first type of single-hand pinch gesture, then controlling the interface to be interacted with to perform a corresponding interaction operation in the virtual space according to the associated movement of the target gesture includes: In response to the relative accelerated movement of the target finger in the first type of one-hand pinch gesture, the interface to be interacted with is controlled to perform a corresponding minimization operation or a closing operation.

9. The method according to claim 7 or 8, in, If the target gesture is a first type of one-hand pinch gesture, the method further includes: If the target finger joint points in the first type of one-hand pinch gesture are in the same spatial plane, the to-be-interacted interface is controlled to return to a non-interacted state.

10. The method according to claim 7, in, If the target gesture is a second type of single-hand pinch gesture, then controlling the interface to be interacted with to perform a corresponding interactive operation in the virtual space according to the associated movement of the target gesture includes: Presenting a shortcut function panel of the interface to be interacted with at the finger pinch point of the second type of one-hand pinch gesture; In response to a sliding selection operation of the second type of one-hand pinch gesture toward any function control in the shortcut function panel, the interface to be interacted with is controlled to execute an interaction operation corresponding to the function control.

11. The method according to claim 10, in, The sliding selection operation is a pinch-and-release operation after the finger pinch point of the second type of one-hand pinch gesture slides to any function control in the shortcut function panel.

12. A human-computer interaction device, configured in an extended reality XR device, include: An interface selection module is configured to present a selection effect of the interface to be interacted with in the virtual space in response to the detected target gesture; An interface interaction module, configured to control the interface to be interacted with to perform a corresponding interaction operation in the virtual space according to the associated movement of the target gesture; The target gesture includes one of a two-handed frame selection gesture and a single-handed pinch gesture.

13. An electronic device, include: processor; as well as a memory configured to store executable instructions of the processor; The processor is configured to execute the human-computer interaction method according to any one of claims 1 to 11 by executing the executable instructions.

14. A computer-readable storage medium having a computer program stored thereon, in, When the computer program is executed by a processor, the human-computer interaction method according to any one of claims 1 to 11 is implemented.

15. A computer program product comprising a computer program / instructions, in, When the computer program / instructions contained in the computer program product are executed on an electronic device, the electronic device executes the human-computer interaction method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Virtual interaction method and device, electronic equipment and computer readable storage medium

    CN112051961A

  • Icon display method and device

    CN112181219A

  • Gesture recognition and control method and device and virtual reality equipment

    CN113238650A

  • Virtual space interaction method and device, equipment and medium

    CN115509361A

  • Human-computer interaction method, device and equipment and storage medium

    CN116540866A

Cited By

  • Decorative paper gravure processing control method and device, electronic equipment and storage medium

    CN120595938A