Object adjustment method and device, electronic equipment and readable storage medium

By displaying adjustment controls in the AR device and identifying the anchor point movement trajectory of user gestures, the AR device can directly perform adjustment operations, solving the problem of inefficiency caused by the large number of control points, and achieving efficient and flexible adjustment of interactive objects.

CN120406807APending Publication Date: 2025-08-01VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510456016.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

When AR devices display interactive objects, due to the large number of control points, users need to spend a long time finding the required control points, resulting in low adjustment operation efficiency.

Method used

The AR device displays interactive objects and adjustment controls, and directly performs corresponding adjustment operations, such as scaling, rotation or movement, reducing dependence on control points by identifying the anchor movement trajectory in user gestures.

Benefits of technology

It improves the efficiency of AR devices to adjust interactive objects, reduces waiting time, ensures operation accuracy and flexibility, while maintaining the simplicity of the interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120406807A_ABST
    Figure CN120406807A_ABST
Patent Text Reader

Abstract

The invention discloses an object adjustment method and device, electronic equipment and a readable storage medium, and belongs to the technical field of human-computer interaction. The object adjustment method provided by the embodiment of the invention comprises the steps that the electronic equipment displays an interaction object and an adjustment control; under the condition that the first gesture is recognized, responding to the first gesture, and based on a first anchor point movement track of an anchor point on the adjustment control corresponding to the first gesture, executing an adjustment operation corresponding to the first gesture on the interaction object; wherein the adjusting operation comprises at least one of zooming operation, rotating operation and moving operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of human-computer interaction, and particularly relates to an object adjustment method, device, electronic device, and readable storage medium. Background Art

[0002] Generally, an electronic device (such as an Augmented Reality (AR) device) can superimpose and display an interaction object and multiple control points in the real world. Each control point is used to perform an adjustment operation (such as a zoom operation, a rotation operation, or a movement operation) on the interaction object. Thus, the user can perform an air gesture on the required control point, so that the AR device can perform a corresponding adjustment operation on the interaction object according to the air gesture, so that the AR device can display an interaction object that meets the user's needs.

[0003] However, since there may be a situation where the number of control points displayed by the AR device is large, at this time, it may take the user a long time to find the required control point from the large number of control points. Therefore, the waiting time required for the AR device to perform an adjustment operation on the interaction object is long. Thus, the efficiency of the electronic device in performing an adjustment operation on the interaction object is low. Summary of the Invention

[0004] The purpose of the embodiments of this application is to provide an object adjustment method, device, electronic device, and readable storage medium, which can solve the problem of low efficiency of the electronic device in performing an adjustment operation on an interaction object.

[0005] In a first aspect, the embodiments of this application provide an object adjustment method, which includes: an electronic device displays an interaction object and an adjustment control; and when a first gesture is recognized, in response to the first gesture, based on a first anchor point movement trajectory of an anchor point corresponding to the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object; where the adjustment operation includes at least one of the following: a zoom operation, a rotation operation, a movement operation.

[0006] In a second aspect, the embodiments of this application provide an object adjustment device, which includes: a display module and a processing module. Among them, the display module is used to display an interaction object and an adjustment control. The processing module is used to, when a first gesture is recognized, in response to the first gesture, based on a first anchor point movement trajectory of an anchor point corresponding to the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object. Where the adjustment operation includes at least one of the following: a zoom operation, a rotation operation, a movement operation.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory. The memory stores a program or instructions that can run on the processor. When the program or instructions are executed by the processor, the steps of the method according to the first aspect are implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instructions are stored. When the program or instructions are executed by a processor, the steps of the method according to the first aspect are implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is used to run a program or instructions to implement the steps of the method according to the first aspect.

[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the steps of the method according to the first aspect.

[0011] In the embodiment of the present application, the electronic device can display an interaction object and adjustment controls, and in the case of recognizing a first gesture, according to the first gesture, based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object, where the adjustment operation includes at least one of a zoom operation, a rotation operation, and a movement operation. Since the electronic device can display the interaction object and the adjustment controls, it can be understood that when the electronic device displays the interaction object, it can display one control instead of a relatively large number of control points. Therefore, it is possible to avoid the user searching for the required control points from a relatively large number of control points, thereby reducing the waiting time required for the electronic device to perform an adjustment operation on the interaction object; and, in the case of the electronic device recognizing the user's first gesture, it can perform an adjustment operation corresponding to the first gesture (i.e., at least one of a zoom operation, a rotation operation, and a movement operation) on the interaction object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control. It can be understood that the electronic device can perform an adjustment operation required by the user (i.e., the adjustment operation corresponding to the first gesture) on the interaction object according to the user's first gesture. Therefore, it is possible to ensure that the electronic device can perform the adjustment operation required by the user; thus, while ensuring that the electronic device can perform the adjustment operation required by the user, the efficiency of the electronic device performing an adjustment operation on the interaction object can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a schematic diagram of the interface of an electronic device provided by the related art;

[0013] Figure 2It is one of the schematic flowcharts of the object adjustment method provided by an embodiment of the present application;

[0014] Figure 3 It is one of the schematic interface diagrams of the electronic device provided by an embodiment of the present application;

[0015] Figure 4 It is the second schematic flowchart of the object adjustment method provided by an embodiment of the present application;

[0016] Figure 5

[0017] Figure 6A

[0018] Figure 6B

[0019] Figure 6C

[0020] Figure 7

[0021] Figure 8

[0022] Figure 9

[0023] Figure 10

[0024] Figure 11

[0025] Figure 12

[0026] Figure 13

[0027] Figure 14

[0028] Figure 15

[0029] Figure 16A ​​​​​​​​​​​​​It is the thirteenth schematic diagram of the interface of the electronic device provided by the embodiment of the present application;

[0030] Figure 16B It is the fourteenth schematic diagram of the interface of the electronic device provided by the embodiment of the present application;

[0031] Figure 17 It is the schematic structural diagram of the object adjustment device provided by the embodiment of the present application;

[0032] Figure 18 It is one of the schematic diagrams of the hardware structure of the electronic device provided by the embodiment of the present application;

[0033] Figure 19 It is the second schematic diagram of the hardware structure of the electronic device provided by the embodiment of the present application. Detailed implementation manners

[0034] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described examples are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope protected by the present application.

[0035] The following will explain the professional terms involved in the embodiments of the present application to facilitate the understanding of those skilled in the art.

[0036] 1. Eye-hand interaction

[0037] Eye-hand interaction is a user interface interaction method that combines eye tracking and gesture operations (especially pinch gestures). This interaction method is particularly suitable for touchless environments, such as AR or virtual reality (VR), because in these environments (such as touchless environments), traditional touch inputs may not be very applicable.

[0038] 2. Eye tracking

[0039] The system of the electronic device can use eye tracking technology to determine the direction of the user's line of sight to determine the object the user is looking at, so that the user can select or focus on an object by looking at it.

[0040] 3. Pinch gesture (pinch)

[0041] The user can perform a pinch gesture with their fingers, usually by bringing the thumb and index finger of the user's hand closer together to operate on the selected object. This gesture can represent actions such as zooming, grabbing, or manipulating an object.

[0042] 4. Unpinch gesture (Unpinch)

[0043] Generally, gestures other than the pinch gesture can be referred to as non-pinch gestures.

[0044] 5. Hover

[0045] Hover represents the state where the interactuator hovers above the interaction target. For eye-hand interaction, it means the eye fixation point stops above the target object; for gesture interaction, it means the interactable finger stops above the target object; for handle interaction, it means the handle ray shoots at the target object (generating an anchor point above the target object).

[0046] 6. Clickdown

[0047] Clickdown means the state where the interactuator is pressed after hovering over the target object. For eye-hand interaction, it is a hand pinch; for gesture interaction, generally, it can refer to a pinch or the operation of pressing the target object with a finger; for handle interaction, it means the trigger button of the handle is pressed.

[0048] 7. Clickup

[0049] Clickup means releasing the target object after Clickdown. For eye-hand interaction, it is an Unpinch gesture; for gesture interaction, generally, it refers to an Unpinch or releasing the press with a finger; for handle interaction, it means the trigger button of the handle is released after being pressed.

[0050] 8. Drag

[0051] Drag refers to operating on the target object by moving the interactuator (user's hand / handle) after Clickdown and completing the operation after Clickup. There can be single-hand drag and two-hand drag. In this article, both single-hand and two-hand drags refer to single-hand and two-hand operations in the three interaction methods of eye-hand, hand, and handle.

[0052] 9. Anchor point

[0053] The anchor point refers to the reference point for the interactuator (eye-hand, hand, handle) to control the target object. For eye-hand interaction and gesture interaction, it refers to the contact point of the two fingers when pinching with the hand; for handle interaction, it refers to the contact point of the ray emitted by the handle and the surface of the target object.

[0054] 10. Other terms

[0055] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are usually of the same category, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0056] The terms "at least one (item)", "at least one of", etc. in the description and claims of this application refer to any one, any two or more combinations of the objects it contains. For example, at least one (item) of a, b, and c can represent: "a", "b", "c", "a and b", "a and c", "b and c", and "a, b, and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" means two or more, and its meaning is similar to that of "at least one (item)".

[0057] The object adjustment method, device, electronic device, and readable storage medium provided by the embodiments of this application will be described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0058] It should be noted that for the object adjustment method provided by the embodiments of this application, the execution subject can be an electronic device such as a mobile phone, a tablet computer, a laptop computer, a handheld computer, an in-vehicle electronic device, or a wearable device. In some embodiments of this application, the object adjustment method is taken as an example with an electronic device as the execution subject to illustrate the object adjustment method provided by the embodiments of this application.

[0059] The object adjustment method provided by the embodiments of this application can be applied to the scenario of adjusting the display parameters of an object.

[0060] Suppose that during the use of an AR device, a user wants to superimpose and display an interactive object in the real world, and after triggering the AR device to display the interactive object, wants to adjust the display parameters of the interactive object.

[0061] In the related art, after the user triggers the AR device to display the interactive object, such as Figure 1As shown, the AR device can superimpose and display the interaction object 1 and multiple control points, such as control point 2 and control point 3, on the real world, so that the user can perform gestures on a certain control point, enabling the AR device to perform a zoom operation on the interaction object 1 with the control point 2 as the origin according to the gesture; and / or, the user can perform gestures on control point 3, enabling the AR device to perform a rotation operation on the interaction object 1 with the control point 3 as the origin according to the gesture, so that the AR device can display the interaction object 1 that meets the user's needs. However, since there may be a large number of such control points 2 and control points 3, for example Figure 1 in Figure 1 , the number of control points 2 is 6, and the number of control points 3 is 6. At this time, it may take the user a long time to find the required control point from the large number of control points. Therefore, the waiting time required for the AR device to perform an adjustment operation on the interaction object is relatively long. Thus, the efficiency of the electronic device in performing an adjustment operation on the interaction object is low.

[0062] However, in the embodiments of the present application, the AR device can display the interaction object and adjustment controls, and when a gesture is recognized, based on the gesture and the anchor point movement trajectory of the anchor point corresponding to the gesture on the adjustment control, perform an adjustment operation corresponding to the gesture on the interaction object. Since the AR device can display the interaction object and adjustment controls, it can be understood that when the AR device displays the interaction object, it can display one control, rather than a large number of control points. Therefore, it can avoid the user from finding the required control point from a large number of control points, thereby reducing the waiting time required for the AR device to perform an adjustment operation on the interaction object; and, when the AR device recognizes the user's gesture, it can perform an adjustment operation corresponding to the gesture on the interaction object based on the anchor point movement trajectory of the anchor point corresponding to the gesture on the adjustment control. It can be understood that the AR device can perform an adjustment operation that meets the user's needs according to the user's gesture. Therefore, it can ensure that the AR device can perform an adjustment operation that meets the user's needs; thus, while ensuring that the AR device can perform an adjustment operation that meets the user's needs, the efficiency of the AR device in performing an adjustment operation on the interaction object can be improved.

[0063] Figure 2 shows a flowchart of an object adjustment method provided by an embodiment of the present application. As Figure 2 shown, the object adjustment method provided by the embodiments of the present application may include the following steps 101 and 102.

[0064] Step 101: The electronic device displays an interaction object and adjustment controls.

[0065] In some embodiments of the present application, the above-mentioned electronic device may be any one of the following: a mobile phone, a wearable device, a personal computer (PC), a television (TV). Of course, the electronic device may also be other devices, and the embodiments of the present application do not limit this.

[0066] In some embodiments of the present application, the above-mentioned interaction object may include at least one of the following: a window, a three-dimensional (3D) model. Of course, the interaction object may also include other objects, and the embodiments of the present application do not limit this. The number of the above-mentioned interaction objects may be at least one. When the number of interaction objects is at least two, the above-mentioned 3D model may also be referred to as a 3D model group.

[0067] In some embodiments of the present application, the above-mentioned adjustment control is used to adjust the display parameters of the interaction object. Among them, the display parameters may include at least one of the following: display size, display angle, display position. Of course, the display parameters may also include other parameters, and the embodiments of the present application do not limit this.

[0068] In some embodiments of the present application, the above-mentioned adjustment control may include at least one of the following: a status bar, a window bar. Of course, the adjustment control may also include other controls, and the embodiments of the present application do not limit this.

[0069] In some embodiments of the present application, when the electronic device is in a working state, the electronic device may display a plurality of object identifiers according to the input of the user to the electronic device. Each object identifier respectively indicates an object, and according to the input of the user to the object identifier indicating the above-mentioned interaction object among the plurality of object identifiers, the interaction object and the adjustment control are displayed. Among them, the input may be an air gesture input, or an input to an input component (such as a handle) of the electronic device, etc., and the embodiments of the present application do not limit this.

[0070] In some examples, the electronic device may first display the interaction object, and then display the adjustment control according to the input of the user to the interaction object. Alternatively, the electronic device may display the interaction object and the adjustment control simultaneously.

[0071] In some examples, the electronic device may display the interaction object and the adjustment control in a preset display area. Alternatively, the electronic device may superimpose and display the interaction object and the adjustment control on a plane in the real world. Of course, the electronic device may also display the interaction object and the adjustment control in other areas, and the embodiments of the present application do not limit this.

[0072] In some examples, the electronic device may display the interaction object with predetermined display parameters.

[0073] In some embodiments of the present application, when displaying an interaction object, the electronic device may also wrap the interaction object with a bounding box. Wherein, the bounding box may be visible or invisible. For example, when the bounding box is invisible, the bounding box may be transparent.

[0074] In some embodiments of the present application, the electronic device may also display a close control, which is used to cancel the display of the interaction object. Thus, when the user does not need the electronic device to display the interaction object, the user can input to the close control so that the electronic device can cancel the display of the interaction object.

[0075] For example, Figure 3 shows a schematic diagram of an interface in an embodiment of the present application. As Figure 3 shown, the electronic device may display an interaction object 10, a bounding box 11, an adjustment control 12, and a close control 13. Thus, the user can perform a first gesture on the adjustment control 12, or the user can perform a gesture input on the close control 13.

[0076] Step 102: When the electronic device recognizes the first gesture, in response to the first gesture, based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object.

[0077] In some embodiments of the present application, the above-mentioned first gesture is used to adjust the display parameters of the interaction object.

[0078] In some embodiments of the present application, the above-mentioned first gesture may be a dragging gesture on the adjustment control. Of course, the first gesture may also be other gestures on the adjustment control, and the embodiments of the present application do not limit this.

[0079] In some embodiments of the present application, the above-mentioned first gesture may be an air gesture, or may be an input by the user to an input device (such as a handle) of the electronic device. Of course, the first gesture may also be other inputs, and the embodiments of the present application do not limit this.

[0080] In some examples, when the first gesture is an air gesture, the first gesture may be a gesture in which the user's hand (such as a single hand or both hands) pinches and moves the adjustment control, or may be a gesture in which the user's hand clicks and moves the adjustment control. Of course, the first gesture may also be other air gestures, and the embodiments of the present application do not limit this.

[0081] In some examples, when the first gesture is an input by the user to the input device of the electronic device, the first gesture can be an input where the user's hand (such as a single hand or both hands) presses a button on the input device (such as a handle) and moves the handle, or can be an input where the user's hand presses a button on the input device (such as a handle) and rotates the user's eyeballs. Of course, the first gesture can also be other inputs to the input device, and the embodiments of the present application do not limit this.

[0082] In some embodiments of the present application, when the electronic device displays an interaction object and adjustment controls, the electronic device can, based on eye-hand interaction or eye movement tracking, according to the user's input to the electronic device (such as an input of eyeballs and gestures, or an input of eyeballs), hover the interactor of the electronic device over the adjustment control, turn on the imaging device (such as a camera, etc.) of the electronic device and collect an image. Thus, the electronic device can detect the collected image, and when it detects that the first gesture exists in the image, in response to the first gesture, based on the first anchor point movement trajectory corresponding to the anchor point of the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object.

[0083] In some embodiments of the present application, the above-mentioned first anchor point movement trajectory can be: the trajectory corresponding to the movement of the user's hand when making the first gesture on the adjustment control. The number of the first anchor point movement trajectories can be one or two.

[0084] It can be understood that since the first gesture can be a gesture made by the user's single hand or both hands, therefore, when the first gesture is a gesture made by the user's single hand, the number of anchor points corresponding to the first gesture on the adjustment control can be one, and the number of the first anchor point movement trajectories can be one; when the first gesture is a gesture made by the user's both hands, the number of anchor points corresponding to the first gesture on the adjustment control can be two, and the number of the first anchor point movement trajectories can be two.

[0085] In some embodiments of the present application, when the electronic device recognizes the first gesture, the electronic device can collect multiple images of the user's hand making the first gesture in real time through the imaging device (such as a camera, etc.) of the electronic device, and determine at least one trajectory point position of the anchor point corresponding to the user's hand on the adjustment control through the position of the user's hand in each image, so as to obtain multiple trajectory point positions, thereby determining the first anchor point movement trajectory.

[0086] In the embodiments of the present application, the above-mentioned adjustment operation includes at least one of the following: a zoom operation, a rotation operation, and a movement operation.

[0087] In some embodiments of the present application, the above scaling operation may include a shrinking operation and a magnifying operation, where the shrinking operation may be an operation of reducing the display size of an object (such as an interactive object), and the magnifying operation may be an operation of increasing the display size of an object (such as an interactive object).

[0088] In some embodiments of the present application, the above rotation operation may be an operation of adjusting the display angle of an object (such as an interactive object).

[0089] In some embodiments of the present application, the above movement operation may be an operation of adjusting the display position of an object (such as an interactive object).

[0090] In some embodiments of the present application, when the electronic device recognizes the first gesture, it may first determine the adjustment operation corresponding to the first gesture, and then perform the adjustment operation corresponding to the first gesture on the interactive object based on the first anchor point movement trajectory.

[0091] In some embodiments of the present application, in combination Figure 2 , as Figure 4 shown, before the step of "performing the adjustment operation corresponding to the first gesture on the interactive object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control" in the above step 102, the object adjustment method provided by the embodiments of the present application may further include the following step 201 or step 202, and the above step 102 may be specifically implemented by the following step 102a.

[0092] Step 201: When the electronic device recognizes the first gesture, in response to the first gesture, when the gesture type of the first gesture matches the first preset gesture type, at least one of the scaling operation and the rotation operation is determined as the adjustment operation.

[0093] In some embodiments of the present application, the above first preset gesture type may be a single - hand gesture type, or a two - hand gesture type, or a pinching gesture type, or a non - pinching gesture type. Of course, the first preset gesture type may also be other gesture types, and the embodiments of the present application do not limit this.

[0094] In some embodiments of the present application, the above first preset gesture type may be a gesture type set by the user, or a gesture type obtained by the electronic device from other devices.

[0095] Step 202: When the electronic device recognizes the first gesture, in response to the first gesture, when the gesture type of the first gesture matches the second preset gesture type, the movement operation is determined as the adjustment operation.

[0096] In the embodiments of the present application, the above first preset gesture type and the second preset gesture type are different.

[0097] In some embodiments of the present application, the above-mentioned second preset gesture type may be a single-handed gesture type, or a two-handed gesture type, or a pinching gesture type, or a non-pinching gesture type. Of course, the second preset gesture type may also be other gesture types, which are not limited in the embodiments of the present application.

[0098] In some embodiments of the present application, the above-mentioned second preset gesture type may be a gesture type set by the user, or a gesture type obtained by the electronic device from other devices.

[0099] Step 102a: The electronic device performs an adjustment operation corresponding to the first gesture on the interaction object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control.

[0100] Thus, it can be seen that since the first preset gesture type and the second preset gesture type can be preset in the electronic device, the user can perform the first gesture on the adjustment control according to the required operation, so that the electronic device can accurately determine the operation required by the user through the preset gesture type matching the first gesture, without the need to display control points corresponding to different operations. Therefore, this can avoid the user from finding the required control point from the control points, thereby reducing the waiting time required for the electronic device to perform an adjustment operation on the interaction object. In this way, while ensuring that the electronic device can accurately execute the operation required by the user, the efficiency of the electronic device in performing an adjustment operation on the interaction object can be improved.

[0101] In some embodiments of the present application, when the electronic device recognizes the first gesture, it may also cancel the display of the above-mentioned close control. It can be understood that since the user may not need to cancel the display of the interaction object when making the first gesture, the electronic device can cancel the display of the close control to save display space.

[0102] In some embodiments of the present application, when the electronic device recognizes the first gesture, it may also mark the interaction object in the first marking manner, so that the user can clearly know that the interaction object can be adjusted. The first marking manner may include at least one of the following: a transparency reduction marking manner, a color marking manner, a highlighting marking manner, a wireframe marking manner, etc.

[0103] The following will illustrate by way of example the specific solution for the electronic device to perform an adjustment operation on the interaction object based on the first anchor point movement trajectory.

[0104] In some embodiments of the present application, in combination with Figure 2 , as Figure 5 shown, the above-mentioned step 102 may be specifically implemented by the following step 102b.

[0105] Step 102b: When the electronic device recognizes the first gesture, in response to the first gesture, based on the trajectory start position of the first anchor point movement trajectory and the trajectory end position of the first anchor point movement trajectory, an adjustment operation is performed on the interaction object.

[0106] In some embodiments of the present application, when the electronic device recognizes the first gesture, the electronic device may determine the hand position corresponding to the first gesture on the adjustment control as the position of the anchor point, and determine the position of the anchor point as the trajectory start position; and further, the electronic device may determine the new position of the hand position corresponding to the most recently recognized first gesture on the adjustment control as the new position of the anchor point, and determine the new position of the anchor point as the trajectory end position, so that the electronic device can perform an adjustment operation based on the trajectory start position and the trajectory end position.

[0107] In some embodiments of the present application, the electronic device may determine adjustment parameters based on the relative position relationship between the trajectory start position and the trajectory end position, and perform an adjustment operation according to the adjustment parameters.

[0108] Among them, when the adjustment operation includes a zoom operation, the adjustment parameter may include a zoom parameter. When the adjustment operation includes a rotation operation, the adjustment parameter may include a rotation parameter. When the adjustment operation includes a movement operation, the adjustment parameter may include a movement parameter.

[0109] In some examples, the above-mentioned zoom parameter may include at least one of the following: zoom ratio, zoom value, etc. The above-mentioned rotation parameter may include at least one of the following: rotation direction, rotation angle, etc. The above-mentioned movement parameter may include at least one of the following: movement direction, movement distance, etc.

[0110] In some examples, when the adjustment operation includes a zoom operation, the electronic device may perform a zoom operation with a predefined point on the interaction object as the origin according to the zoom parameter. Among them, the predefined point may be a corner point of the interaction object, or a point on an edge line, or a point on a surface (for example, it may be the center point of the bottom surface).

[0111] In some examples, when the adjustment operation includes a rotation operation, the electronic device may perform a rotation operation with the above-mentioned predefined point on the interaction object as the origin according to the rotation parameter.

[0112] In some examples, when the adjustment operation includes a movement operation, the electronic device may control the interaction object to move according to the movement parameter.

[0113] Thus, it can be seen that the electronic device can accurately perform an adjustment operation according to the user's needs based on the trajectory start position of the first anchor point movement trajectory and the trajectory end position of the first anchor point movement trajectory.

[0114] Taking the adjustment operation as a scaling operation as an example:

[0115] In some embodiments of the present application, the number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes a scaling operation. In some examples, step 102b can be specifically implemented by the following step 102b1 and step 102b2.

[0116] Step 102b1: When the electronic device recognizes the first gesture, in response to the first gesture, calculate a first distance between two trajectory start positions, and calculate a second distance between two trajectory end positions.

[0117] It can be understood that in this example, the first gesture can be a gesture made by the user's two hands (such as a pinching gesture with both hands). Therefore, the number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and each first anchor point movement trajectory is respectively the movement trajectory of one of the user's hands when making the first gesture.

[0118] In some embodiments of the present application, the electronic device can obtain the coordinate information of two trajectory start positions, and calculate the first distance according to the two coordinate information.

[0119] It should be noted that for the description of the electronic device calculating the first distance according to the two coordinate information, reference can be made to the specific description in the related art, and the embodiments of the present application will not elaborate here.

[0120] In some embodiments of the present application, the electronic device can obtain the coordinate information of two trajectory end positions, and calculate the second distance according to the two coordinate information.

[0121] It should be noted that for the description of the electronic device calculating the second distance according to the two coordinate information, reference can be made to the specific description in the related art, and the embodiments of the present application will not elaborate here.

[0122] Step 102b2: The electronic device performs a scaling operation on the interaction object according to the ratio between the second distance and the first distance.

[0123] In some embodiments of the present application, the electronic device can determine the above scaling parameter according to the above ratio and a predetermined multiple, and perform a scaling operation on the interaction object according to the scaling parameter. Wherein, the predetermined multiple can be a positive number. For example, the predetermined multiple can be 1.

[0124] Exemplarily, the electronic device can determine the scaling parameter (such as a scaling ratio) as the product of the above ratio and the predetermined multiple, and perform a scaling operation on the interaction object according to the scaling ratio.

[0125] It can be understood that if the ratio between the second distance and the first distance is greater than 1, that is, the second distance is greater than the first distance, the electronic device can perform a zoom-in operation on the interaction object; if the ratio between the second distance and the first distance is less than 1 and greater than 0, that is, the second distance is less than the first distance, the electronic device can perform a zoom-out operation on the interaction object.

[0126] For example, after displaying the interaction object 10 and the adjustment control 12, the user can input to the electronic device to make the interactuator hover on the adjustment control 12 ( Figure 6A which is indicated by the darker color of the adjustment control 12), combined with Figure 3 , as Figure 6A shown, the user can perform a first gesture on the adjustment control 12, such as a gesture of pinching and moving the adjustment control 12 with both hands; when the second distance is greater than the first distance, as Figure 6B shown, the ratio between the second distance and the first distance is greater than 1, and at this time the electronic device can perform a zoom-in operation on the interaction object 10. It can be understood that Figure 6B the display size of the interaction object 10 in Figure 6A is larger than the display size of the interaction object 10 in Figure 6C shown; when the second distance is less than the first distance, as Figure 6C shown, the ratio between the second distance and the first distance is less than 1, and at this time the electronic device can perform a zoom-out operation on the interaction object 10. It can be understood that Figure 6A the display size of the interaction object 10 in

[0127] is smaller than the display size of the interaction object 10 in

[0128] Thus, it can be seen that since the electronic device can accurately determine the ratio between the second distance and the first distance based on the first distance between the starting positions of the two trajectories and the second distance between the ending positions of the two trajectories, the electronic device can accurately perform a zoom operation according to this ratio without the user performing a gesture operation again, thereby improving the efficiency of the electronic device in performing the zoom operation.

[0129] For example, combined with Figure 6B , as Figure 7As shown, after the electronic device performs a zoom-in operation on the interaction object 10, if the display size of the interaction object meets the requirements of the user, the user can stop making the first gesture, such as making a gesture of clicking and releasing (Clickup) with both hands, so that the electronic device can determine the display size after performing the zoom operation as the display size of the interaction object and display the close control 13.

[0130] In some embodiments of the present application, after the electronic device performs a zoom operation, if the user is not satisfied with the display size of the interaction object, the user can continue to make the first gesture and continue to move the user's hand, so that the electronic device can perform the above steps 102b1 and 102b2 again until the user is satisfied with the display size of the interaction object.

[0131] Taking the adjustment operation as a rotation operation as an example:

[0132] In some embodiments of the present application, the number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes a rotation operation. In some examples, the above step 102b can be specifically implemented by the following steps 102b3 and 102b4.

[0133] Step 102b3: When the electronic device recognizes the first gesture, in response to the first gesture, it determines a first connection line based on the starting positions of the two trajectories and determines a second connection line based on the ending positions of the two trajectories.

[0134] In some embodiments of the present application, the electronic device can determine the straight line passing through the starting positions of the two trajectories as the first connection line and determine the straight line passing through the ending positions of the two trajectories as the second connection line.

[0135] Step 102b4: When the included angle between the first connection line and the second connection line is greater than the angle threshold, the electronic device performs a rotation operation on the interaction object according to the included angle and the rotation direction.

[0136] In some embodiments of the present application, when the electronic device determines the first connection line and the second connection line, the electronic device can determine at least one included angle formed by the first connection line and the second connection line and determine the angle of the first included angle in the at least one included angle as the above-mentioned included angle. Among them, the first included angle can be any one of the following: the included angle with the largest angle, the included angle with the smallest angle, and any included angle.

[0137] In some embodiments of the present application, the above angle threshold can be a value set by the user or a value obtained from other devices. The angle threshold can be a positive number. For example, the angle threshold can be 10. Of course, the angle threshold can also be other positive numbers, and the embodiments of the present application do not limit this.

[0138] In the embodiments of the present application, the above-mentioned rotation direction is the direction from the first connection line to the second connection line.

[0139] In the embodiments of the present application, if the included angle is greater than the angle threshold, it can be considered that the user wants to trigger the electronic device to perform a rotation operation on the interaction object. Therefore, the electronic device can perform a rotation operation on the interaction object according to the included angle and the rotation direction.

[0140] In some embodiments of the present application, the electronic device can use the first coordinate axis of the first coordinate system as the rotation axis and perform a rotation operation on the interaction object according to the included angle and the rotation direction. Wherein, the first coordinate system is a three-dimensional coordinate system with the above-mentioned predefined point on the interaction object as the coordinate origin, and the first coordinate axis is any coordinate axis of the first coordinate system. For example, the first coordinate axis can be the Y axis of the first coordinate system.

[0141] For example, after displaying the interaction object 10 and the adjustment control 12, the user can input to the electronic device to make the interactuator hover on the adjustment control 12. Combining Figure 6A , the user can perform a first gesture on the adjustment control 12, such as a gesture of pinching and moving both hands on the adjustment control 12; when the included angle between the first connection line determined based on the starting positions of the two trajectories and the second connection line determined based on the ending positions of the two trajectories is greater than the angle threshold, as Figure 8 shown, the electronic device can use the first coordinate axis 15 of the first coordinate system 14 as the rotation axis and perform a rotation operation on the interaction object according to the included angle and the rotation direction. Wherein, the first coordinate system 14 is a coordinate system with the predefined point 16 on the interaction object 10 as the origin, the predefined point 16 is the center point of the bottom surface of the interaction object 10, and the first coordinate axis 15 can be the Y axis of the first coordinate system 14.

[0142] It can be seen that since the electronic device can accurately determine the included angle between the first connection line and the second connection line, the electronic device can accurately perform a rotation operation on the interaction object according to the included angle and the rotation direction when the included angle is greater than the angle threshold, without the user performing a gesture operation again, thereby improving the efficiency of the electronic device in performing the rotation operation.

[0143] In some embodiments of the present application, after the electronic device performs a rotation operation, if the user is satisfied with the display angle of the interaction object, the user can stop making the first gesture, such as a gesture of clicking and releasing both hands. At this time, the electronic device can determine the display angle after performing the rotation operation as the display angle of the interaction object, display the above-mentioned closing control, and cancel marking the interaction object using the above-mentioned first marking method.

[0144] For example, combiningFigure 8 , as Figure 9 shown, when the electronic device does not recognize the first gesture, the electronic device can set the display angle of the interaction object 10 to the display angle of the interaction object 10 after performing the rotation operation, update the display form of the adjustment control 12 to the default display form, and display the close control 13.

[0145] In some embodiments of the present application, after the electronic device performs the rotation operation, if the user is not satisfied with the display angle of the interaction object, the user can continue to make the first gesture and continue to move the user's hand, so that the electronic device can perform the above steps 102b3 and 102b4 again until the user is satisfied with the display angle of the interaction object.

[0146] Taking the adjustment operations of zooming and rotating as an example:

[0147] In some embodiments of the present application, the number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes a zoom operation and a rotation operation. In some examples, the above step 102b can be specifically implemented by the following steps 102b5 and 102b6.

[0148] Step 102b5: When the electronic device recognizes the first gesture, in response to the first gesture, calculate a first distance between two trajectory start positions, calculate a second distance between two trajectory end positions, and the electronic device determines a first connection line based on the two trajectory start positions and determines a second connection line based on the two trajectory end positions.

[0149] It should be noted that the description of the electronic device calculating the first distance and the second distance, and the description of the electronic device determining the first connection line based on the two trajectory start positions and determining the second connection line based on the two trajectory end positions can refer to the specific description in the above embodiments, and the embodiments of the present application will not be elaborated here.

[0150] Step 102b6: The electronic device performs a zoom operation on the interaction object according to the ratio between the second distance and the first distance, and performs a rotation operation on the interaction object according to the included angle and the rotation direction when the included angle is greater than the angle threshold.

[0151] In the embodiments of the present application, the above rotation direction is from the first connection line to the second connection line.

[0152] It should be noted that the description of the electronic device performing the zoom operation and the rotation operation can refer to the specific description in the above embodiments, and the embodiments of the present application will not be elaborated here.

[0153] It can be seen that since the electronic device can perform a zoom operation and a rotation operation on the interaction object simultaneously according to a single gesture (i.e., the first gesture) of the user on the adjustment control, without the user performing multiple gestures on the adjustment control, it is possible to reduce the user's operations and time consumption during the process of performing the zoom operation and the rotation operation on the interaction object. Thus, the efficiency of the electronic device in performing multiple adjustment operations on the interaction object can be improved.

[0154] In some embodiments of the present application, after the electronic device performs the zoom operation and the rotation operation, if the user is satisfied with the display size and the display angle of the interaction object, the user can stop making the first gesture, for example, making a gesture of clicking and releasing (Clickup) with both hands. At this time, the electronic device can determine the display size and the display angle after performing the zoom operation and the rotation operation as the display size and the display angle of the interaction object, display the above-mentioned closing control, and cancel marking the interaction object using the above-mentioned first marking method.

[0155] In some embodiments of the present application, after the electronic device performs the zoom operation and the rotation operation, if the user is not satisfied with the display size and the display angle of the interaction object, the user can continue to make the first gesture and continue to move the user's hand, so that the electronic device can perform the above-mentioned steps 102b5 and 102b6 again until the user is satisfied with the display size and the display angle of the interaction object.

[0156] Taking the adjustment operation as a moving operation as an example:

[0157] In some embodiments of the present application, the number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is one, and the adjustment operation includes a moving operation. In some examples, the above-mentioned step 102b can be specifically implemented by the following step 102b7.

[0158] Step 102b7: When the electronic device recognizes the first gesture, in response to the first gesture, according to the first displacement information, the trajectory start position, and the trajectory end position, perform a moving operation on the interaction object.

[0159] In the embodiments of the present application, the above-mentioned first displacement information may be the displacement information of the interactuator.

[0160] In some embodiments of the present application, the above-mentioned first displacement information may include at least one of the following: displacement distance, displacement angle, etc. Of course, the first displacement information may also include other information, and the embodiments of the present application do not limit this.

[0161] In some embodiments of the present application, when the interactive object and the adjustment control are displayed, the user can, while performing a first gesture on the adjustment control, trigger the electronic device to control the interactuator to move by means of eye-hand interaction, or by rotating the eyeballs, or by rotating an input device (such as a handle). Thus, the electronic device can determine the first displacement information based on the position of the interactuator before movement and the position of the interactuator after movement.

[0162] It can be seen that the electronic device can accurately perform the movement operation according to the first position information, the starting position of the trajectory, and the ending position of the trajectory.

[0163] In some embodiments of the present application, after the electronic device performs the movement operation, if the user is satisfied with the display position of the interactive object, the user can stop performing the first gesture, for example, a single-handed gesture of clicking and releasing (Click up). At this time, the electronic device can determine the display position after performing the movement operation as the display position of the interactive object, display the above-mentioned closing control, and cancel marking the interactive object using the above-mentioned first marking method.

[0164] In some embodiments of the present application, after the electronic device performs the movement operation, if the user is not satisfied with the display position of the interactive object, the user can continue to perform the first gesture and continue to move the user's hand, so that the electronic device can perform the above-mentioned step 102b7 again until the user is satisfied with the display position of the interactive object.

[0165] An embodiment of the present application provides an object adjustment method. An electronic device can display an interaction object and adjustment controls, and in the case of recognizing a first gesture, according to the first gesture, based on a first anchor point movement trajectory of an anchor point corresponding to the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object, where the adjustment operation includes at least one of a zoom operation, a rotation operation, and a movement operation. Since the electronic device can display the interaction object and the adjustment controls, it can be understood that while the electronic device displays the interaction object, it can display one control instead of a relatively large number of control points. Therefore, it is possible to avoid the user searching for the required control point from a relatively large number of control points, thereby reducing the waiting time required for the electronic device to perform an adjustment operation on the interaction object. Moreover, in the case where the electronic device recognizes the user's first gesture, it can perform an adjustment operation corresponding to the first gesture (i.e., at least one of a zoom operation, a rotation operation, and a movement operation) on the interaction object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control. It can be understood that the electronic device can perform an adjustment operation required by the user (i.e., the adjustment operation corresponding to the first gesture) on the interaction object according to the user's first gesture. Therefore, it can be ensured that the electronic device can perform the adjustment operation required by the user. In this way, while ensuring that the electronic device can perform the adjustment operation required by the user, the efficiency of the electronic device in performing an adjustment operation on the interaction object can be improved.

[0166] Moreover, an embodiment of the present application can complete at least one of a zoom operation, a rotation operation, and a movement operation of an interaction object without adding more control points. Therefore, the display interface of the electronic device can be made beautiful and concise.

[0167] Moreover, since the electronic device performs an adjustment operation on the interaction object according to the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control, rather than according to the anchor point movement trajectory of the anchor point corresponding to the first gesture on the interaction object, in the case where the number of interaction objects is at least two, the user can also gesture on a certain interaction object among the at least two interaction objects to trigger the electronic device to perform an adjustment operation on the certain interaction object according to the anchor point movement trajectory of the anchor point corresponding to the gesture on the certain interaction object. That is to say, the interaction process in which the electronic device performs adjustment operations on all interaction objects among at least two interaction objects will not conflict with the interaction process in which the electronic device performs an adjustment operation on a certain interaction object among the at least two interaction objects, thereby improving the flexibility of the electronic device in performing adjustment operations on interaction objects.

[0168] Of course, in order for the user to know the operation being performed by the electronic device, the electronic device can also update the display form of the adjustment control, so that the user can clearly know the operation being performed by the electronic device through the adjustment control in the updated display form. The following will give examples.

[0169] In some embodiments of the present application, the object adjustment method provided by the embodiments of the present application may further include the following step 103.

[0170] Step 103: The electronic device updates the display form of the adjustment control based on the adjustment operation.

[0171] It should be noted that the present application embodiments do not limit the execution order of step 103 and step 102; in one example, the electronic device may, while performing the adjustment operation corresponding to the first gesture on the interaction object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control, update the display form of the adjustment control based on the adjustment operation; in another example, the electronic device may first perform the adjustment operation corresponding to the first gesture on the interaction object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control, and then update the display form of the adjustment control based on the adjustment operation.

[0172] In some embodiments of the present application, when the electronic device recognizes the first gesture, the electronic device may update the display form of the adjustment control to the fourth display form, and the adjustment control in the fourth display form indicates that the electronic device is performing an adjustment operation. The fourth display form may include at least one of the following: arrow display form, circular display form, triangular display form, irregular graphic display form, etc. Of course, the fourth display form may also be other display forms, and the present application embodiments do not limit this.

[0173] Among them, the above arrow display form can be understood as: a display form in which an arrow is displayed on the adjustment control, for example, a display form in which arrows are displayed at both ends of the adjustment control and point outside the adjustment control. The above circular display form can be understood as: a display form in which the shape of the adjustment control is circular. The triangular display form can be understood as: a display form in which the shape of the adjustment control is triangular. The triangular display form can be understood as: a display form in which the shape of the adjustment control is triangular. The irregular graphic display form can be understood as: a display form in which the shape of the adjustment control is an irregular graphic.

[0174] For example, when the electronic device recognizes the first gesture of the user on the adjustment control 12 (such as a two-finger pinch gesture on the adjustment control 12), combined with Figure 3 , such as Figure 10As shown, the electronic device can update the display form of the adjustment control 12 to the fourth display form (such as an arrow display form). The adjustment control 12 in the arrow display form indicates that the electronic device is performing a zoom operation.

[0175] It should be noted that Figure 10 in [the relevant content] the arrow display form is schematically shown as two arrows respectively pointing to the outside of the adjustment control 12. In practical applications, the number and pointing direction of the arrows can be set according to requirements, and the embodiments of the present application do not limit this.

[0176] Thus, it can be seen that since the electronic device can update the display form of the adjustment control based on the adjustment operation, the user can accurately know through the adjusted control with the updated display form that the electronic device has recognized the first gesture and is performing the adjustment operation. Therefore, the user can directly move the user's hand without waiting for a long time to determine that the electronic device has recognized the first gesture. Thus, the electronic device can quickly perform an adjustment operation on the interaction object based on the first anchor point movement trajectory of the first gesture corresponding to the anchor point on the adjustment control. In this way, the efficiency of the electronic device performing the adjustment operation can be improved.

[0177] In some embodiments of the present application, the above step 103 can be specifically implemented by the following step 103a or step 103b or step 103b or step 103d or step 103e.

[0178] Step 103a: When the adjustment operation is a zoom operation and the zoom operation is a reduction operation, the electronic device updates the display form of the adjustment control to the first display form.

[0179] In some embodiments of the present application, the above first display form may include at least one of the following: arrow display form, circular display form, triangular display form, irregular graphic display form, etc. Of course, the first display form can also be other display forms, and the embodiments of the present application do not limit this.

[0180] It should be noted that the descriptions of the arrow display form, circular display form, triangular display form, and irregular graphic display form can refer to the specific descriptions in the above embodiments, and the embodiments of the present application will not repeat them here.

[0181] It can be understood that the first display form can be at least one display form in the fourth display form.

[0182] In the embodiments of the present application, the adjustment control in the first display form indicates that the electronic device is performing a reduction operation.

[0183] In some embodiments of the present application, when the adjustment operation is a reduction operation, the electronic device can also reduce the display size of the adjustment control to remind the user that the electronic device is performing a reduction operation.

[0184] For example, assume that the first anchor point movement trajectory is the trajectory of the user's hands approaching each other when making a first gesture (such as a two-handed pinching gesture). It can be understood that the adjustment operation is a zoom operation and the zoom operation is a reduction operation. Combining Figure 10 , as Figure 11 shown, the electronic device can first update the display form of the adjustment control 12 to a first display form (such as an arrow display form). The adjustment control 12 in the arrow display form indicates that the electronic device is performing a reduction operation, and the display size of the adjustment control 12 is reduced to remind the user that the electronic device is performing a reduction operation. At the same time, a reduction operation is performed on the interaction object 10.

[0185] It should be noted that Figure 11 in the figure, the arrow display form is schematically shown as a form in which two arrows respectively point to the inside of the adjustment control 12. In practical applications, the number and pointing direction of the arrows can be set according to requirements, and the embodiments of the present application do not limit this.

[0186] Step 103b: When the adjustment operation is a zoom operation and the zoom operation is an enlargement operation, the electronic device updates the display form of the adjustment control to a second display form.

[0187] In some embodiments of the present application, the above second display form may include at least one of the following: arrow display form, circular display form, triangular display form, irregular graphic display form, etc. Of course, the second display form can also be other display forms, and the embodiments of the present application do not limit this.

[0188] It should be noted that the descriptions of the arrow display form, circular display form, triangular display form, and irregular graphic display form can refer to the specific descriptions in the above embodiments, and the embodiments of the present application will not repeat them here.

[0189] It can be understood that the second display form can be at least one of the display forms in the fourth display form.

[0190] In the embodiments of the present application, the above first display form and the second display form are different.

[0191] In the embodiments of the present application, the adjustment control in the second display form indicates that the electronic device is performing an enlargement operation.

[0192] In some embodiments of the present application, when the adjustment operation is a zoom-in operation, the electronic device can also increase the display size of the adjustment control to remind the user that the electronic device is performing a zoom-in operation.

[0193] For example, assume that the first anchor point movement trajectory is the trajectory of the user's hands moving away from each other when making a first gesture (such as a two-handed pinching gesture). It can be understood that the adjustment operation is a zoom operation and the zoom operation is a zoom-in operation. Combining Figure 10 , as Figure 12 shown, the electronic device can first update the display form of the adjustment control 12 to a second display form (such as an arrow display form). The adjustment control 12 in the arrow display form indicates that the electronic device is performing a zoom-in operation, and the display size of the adjustment control 12 is increased to remind the user that the electronic device is performing a zoom-in operation, while performing a zoom-in operation on the interaction object 10.

[0194] It should be noted that Figure 12 in the above, the arrow display form is shown as a form in which two arrows respectively point to the outside of the adjustment control 12. In actual applications, the number and pointing direction of the arrows can be set according to requirements, and the embodiments of the present application do not limit this.

[0195] Step 103c: When the adjustment operation is a rotation operation, the electronic device updates the display form of the adjustment control to a third display form.

[0196] In some embodiments of the present application, the above third display form may include at least one of the following: arrow display form, circular display form, triangular display form, irregular graphic display form, etc. Of course, the first display form can also be other display forms, and the embodiments of the present application do not limit this.

[0197] It should be noted that for the description of the arrow display form, circular display form, triangular display form, and irregular graphic display form, reference can be made to the specific description in the above embodiments, and the embodiments of the present application will not repeat it here.

[0198] It can be understood that the third display form can be at least one of the display forms in the fourth display form.

[0199] In the embodiments of the present application, the above first display form, second display form, and third display form are all different.

[0200] In the embodiments of the present application, the adjustment control in the third display form indicates that the electronic device is performing a rotation operation.

[0201] For example, assume that the first anchor point movement trajectory is the trajectory of the user's hands rotating relative to each other when making a first gesture (such as a two-handed pinching gesture), and the adjustment operation is a rotation operation. CombiningFigure 8 , as Figure 13 shown, the electronic device updates the display form of the adjustment control 12 to the third display form (for example, a circular display form), and the adjustment control 12 in the circular display form indicates that the electronic device is performing a rotation operation.

[0202] It should be noted that Figure 13 in the figure, the number of circles is shown as one, and in actual applications, the number of circles can be set according to requirements, and the embodiments of the present application do not limit this.

[0203] Step 103d: When the adjustment operation of the electronic device is a zoom operation and a rotation operation, and the zoom operation is a reduction operation, the electronic device updates the display form of the adjustment control to the fifth display form.

[0204] In the embodiments of the present application, the adjustment control in the fifth display form indicates that the electronic device is performing a rotation operation and a reduction operation.

[0205] In some embodiments of the present application, the above-mentioned fifth display form may include at least one of the following: an arrow display form, a circular display form, a triangular display form, an irregular graphic display form, etc.

[0206] It can be understood that the fifth display form can be at least one of the display forms in the fourth display form. The fifth display form is different from the first display form, the second display form, and the third display form.

[0207] Step 103e: When the adjustment operation of the electronic device is a zoom operation and a rotation operation, and the zoom operation is an enlargement operation, the electronic device updates the display form of the adjustment control to the sixth display form.

[0208] In the embodiments of the present application, the adjustment control in the sixth display form indicates that the electronic device is performing a rotation operation and an enlargement operation.

[0209] In some embodiments of the present application, the above-mentioned sixth display form may include at least one of the following: an arrow display form, a circular display form, a triangular display form, an irregular graphic display form, etc. The sixth display form is different from the fifth display form.

[0210] It can be understood that the sixth display form can be at least one of the display forms in the fourth display form. The sixth display form is different from the first display form, the second display form, the third display form, and the fifth display form.

[0211] For example, assume that the first anchor point movement trajectory is the trajectory of the user's hands moving away from each other and rotating relative to each other when making a first gesture (such as a two-handed pinching gesture). It can be understood that the adjustment operation includes an enlargement operation and a rotation operation, as Figure 14As shown, the electronic device can update the display form of the adjustment control 12 to the sixth display form (such as an arrow display form and a circular display form). The adjustment control 12 in the arrow display form and the circular display form indicates that the electronic device is performing a rotation operation and a zoom operation, so as to remind the user that the electronic device is performing a rotation operation and a zoom operation, and at the same time perform a rotation operation and a zoom operation on the interaction object 10.

[0212] It should be noted that Figure 14 in the figure, one or two circular shapes and arrows pointing outside the adjustment control 13 are used for illustration. In practical applications, the number of circular shapes and arrows can be set according to requirements, and the direction of the arrows can also be set according to requirements. The embodiments of the present application do not limit this.

[0213] Thus, it can be known that since the electronic device can update the display form of the adjustment control to different display forms when the adjustment operation is different operations, the user can accurately know that the electronic device has recognized the first gesture and the operation being performed through different display forms. Therefore, the user can directly move the user's hand without waiting for a long time to determine that the electronic device has recognized the first gesture. Thus, the electronic device can quickly perform an adjustment operation on the interaction object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control. In this way, the efficiency of the electronic device performing the adjustment operation can be improved.

[0214] Next, a complete process of the object adjustment method provided by the embodiments of the present application will be illustrated by taking a possible implementation manner as an example.

[0215] Figure 15 The flowchart of the object adjustment method provided by the embodiments of the present application is shown. As Figure 15 shown, the object adjustment method provided by the embodiments of the present application may include the following steps 301, step 302, step 303, and step 304, or may include the following steps 301, step 305, step 306, step 307 (or step 308 or step 309), and step 310.

[0216] Step 301: The electronic device can detect the position and state of the interactors under the interaction model of the electronic device through the sensors and algorithms of the electronic device.

[0217] Step 302: The electronic device detects a single - hand Click down gesture (such as the above - mentioned first gesture) of the user on the adjustment control.

[0218] Step 303: The electronic device performs a moving operation on the interaction object based on the first displacement information of the interaction device, the trajectory start position of the first anchor point movement trajectory corresponding to the single - hand Click down gesture on the adjustment control, and the trajectory end position of the first anchor point movement trajectory, and updates the display position of the interaction object after performing the moving operation in real - time.

[0219] Step 304: If the electronic device does not detect the single - hand Clickdown gesture, for example, the user makes a single - hand Clickup gesture, the electronic device stops updating the display position of the interaction object.

[0220] Step 305: The electronic device detects a two - hand Click down gesture (such as the first gesture above) of the user on the adjustment control.

[0221] Step 306: The electronic device can cancel the display of the close control; and, calculate the first distance between the two trajectory start positions of the first anchor point movement trajectory, and calculate the second distance between the two trajectory end positions of the first anchor point movement trajectory; and / or, determine the first connection line based on the two trajectory start positions of the first anchor point movement trajectory, determine the second connection line based on the two trajectory end positions of the first anchor point movement trajectory, and determine the included angle between the first connection line and the second connection line.

[0222] Step 307: If the second distance is not equal to the first distance, and the included angle between the first connection line and the second connection line is less than or equal to the angle threshold (i.e., the adjustment operation is a scaling operation), the electronic device can update the display form of the adjustment control to another display form (such as the first display form or the second display form), perform a scaling operation on the interaction object according to the ratio between the second distance and the first distance, and update the display size of the adjustment control after performing the scaling operation in real - time.

[0223] Step 308: If the second distance is equal to the first distance, and the included angle between the first connection line and the second connection line is greater than the angle threshold (i.e., the adjustment operation is a rotation operation), the electronic device can update the display form of the adjustment control to another display form (such as the third display form), perform a rotation operation on the interaction object according to the included angle and the rotation direction, and update the display angle of the adjustment control after performing the rotation operation in real - time.

[0224] Step 309: If the second distance is not equal to the first distance, and the angle between the first connection line and the second connection line is greater than the angle threshold (i.e., the adjustment operation is a scaling operation and a rotation operation), the electronic device may update the display form of the adjustment control to another display form (such as the fifth display form or the sixth display form), perform a scaling operation on the interaction object according to the ratio between the second distance and the first distance, perform a rotation operation on the interaction object according to the angle of the angle and the rotation direction, and update the display size and display angle of the adjustment control after performing the scaling operation and the rotation operation in real time.

[0225] Step 310: If the electronic device does not detect the two-handed Clickdown gesture, for example, the user makes a two-handed Clickup gesture, the electronic device stops updating the display size and / or display angle of the interaction object.

[0226] Of course, the electronic device can also perform an adjustment operation on a certain interaction object in the interaction object according to the gesture of the user on the certain interaction object. An example will be given below.

[0227] In some embodiments of the present application, the number of the above-mentioned interaction objects is at least two. In some examples, after the above step 101, the object adjustment method provided by the embodiments of the present application may further include the following step 104.

[0228] Step 104: When the electronic device recognizes the second gesture, in response to the second gesture, based on the second anchor point movement trajectory of the anchor point corresponding to the second gesture on one of the at least two interaction objects, the electronic device performs an adjustment operation on the one of the at least two interaction objects.

[0229] In the embodiments of the present application, the second gesture is a gesture on the one interaction object.

[0230] It should be noted that for the description of the electronic device performing an adjustment operation on one of the at least two interaction objects based on the second anchor point movement trajectory of the anchor point corresponding to the second gesture on one of the at least two interaction objects, reference may be made to the specific description of the electronic device performing an adjustment operation on the interaction object based on the first anchor point movement trajectory in the above various embodiments. The embodiments of the present application do not limit this.

[0231] For example, after displaying the interaction object 10 and the adjustment control 12, the user can input to the electronic device so that the interactuator hovers on the adjustment control 12 ( Figure 16A is indicated by the darker color of the adjustment control 12), combined with Figure 3 , such as Figure 16AAs shown, the user can perform a first gesture on the adjustment control 12, such as a gesture of pinching and moving two hands on one of the interaction objects 101 in the interaction object 10; when the second distance is greater than the first distance, such as Figure 16B As shown, the ratio between the second distance and the first distance is greater than 1. At this time, the electronic device can perform a zoom-in operation on the one interaction object 101. It can be understood that Figure 16B the display size of the one interaction object 101 in Figure 6A is larger than the display size of the one interaction object 101 in

[0232] In some embodiments of the present application, after the electronic device performs an adjustment operation on the above one interaction object, if the user is not satisfied with the display parameters of another interaction object among the at least two interaction objects, the user can gesture on the another interaction object, so that the electronic device can perform an adjustment operation on the another interaction object based on the anchor point movement trajectory of the anchor point corresponding to the gesture on the another interaction object, and so on, until the user is satisfied with the display parameters of all the interaction objects among the at least two interaction objects.

[0233] It can be seen that when the number of interaction objects is at least two, the user can gesture on a certain interaction object among the at least two interaction objects to trigger the electronic device to perform an adjustment operation on the certain interaction object. That is to say, the interaction process of the electronic device performing adjustment operations on all interaction objects will not conflict with the interaction process of the electronic device performing adjustment operations on a certain interaction object, thereby improving the flexibility of the electronic device to perform adjustment operations on interaction objects.

[0234] In the object adjustment method provided by the embodiments of the present application, the execution subject may be an object adjustment device. In the embodiments of the present application, taking the object adjustment device executing the object adjustment method as an example, the object adjustment device provided by the embodiments of the present application is described.

[0235] Figure 17 shows a schematic structural diagram of the object adjustment device provided by the embodiments of the present application. As Figure 17 shown, the object adjustment device 400 provided by the embodiments of the present application may include: a display module 401 and a processing module 402.

[0236] Among them, the display module 401 is used to display interaction objects and adjustment controls. The processing module 402 is used to, when a first gesture is recognized, in response to the first gesture, perform an adjustment operation corresponding to the first gesture on the interaction object based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control; wherein, the above adjustment operation includes at least one of the following: a zoom operation, a rotation operation, and a movement operation.

[0237] An embodiment of the present application provides an object adjustment device. Since the object adjustment device can display an interaction object and adjustment controls, it can be understood that while the object adjustment device displays the interaction object, it can display one control instead of a large number of control points. Therefore, it is possible to prevent the user from searching for the required control point among a large number of control points, thereby reducing the waiting time required for the object adjustment device to perform an adjustment operation on the interaction object. Moreover, when the object adjustment device recognizes the user's first gesture, it can perform an adjustment operation corresponding to the first gesture (i.e., at least one of a zoom operation, a rotation operation, and a movement operation) on the interaction object based on the first anchor point movement trajectory corresponding to the first gesture on the adjustment control. It can be understood that the object adjustment device can perform an adjustment operation required by the user (i.e., the adjustment operation corresponding to the first gesture) on the interaction object according to the user's first gesture. Therefore, it can be ensured that the object adjustment device can perform the adjustment operation required by the user. In this way, while ensuring that the object adjustment device can perform the adjustment operation required by the user, the efficiency of the object adjustment device in performing the adjustment operation on the interaction object can be improved.

[0238] In a possible implementation manner, the above-mentioned processing module 402 is specifically configured to perform an adjustment operation on the interaction object based on the trajectory start position of the first anchor point movement trajectory and the trajectory end position of the first anchor point movement trajectory.

[0239] In a possible implementation manner, the number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes a zoom operation. The above-mentioned processing module 402 is specifically configured to calculate a first distance between the two trajectory start positions and calculate a second distance between the two trajectory end positions; and perform a zoom operation on the interaction object according to the ratio between the second distance and the first distance.

[0240] In a possible implementation manner, the number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes a rotation operation. The above-mentioned processing module 402 is specifically configured to determine a first connection line based on the two trajectory start positions and determine a second connection line based on the two trajectory end positions; and when the included angle between the first connection line and the second connection line is greater than an angle threshold, perform a rotation operation on the interaction object according to the included angle and the rotation direction, where the rotation direction is from the first connection line to the second connection line.

[0241] In a possible implementation manner, the above-mentioned display module 401 is further configured to update the display form of the adjustment control based on the adjustment operation.

[0242] In a possible implementation, the above display module 401 is specifically configured to update the display form of the adjustment control to a first display form when the adjustment operation is a zoom operation and the zoom operation is a reduction operation, and the adjustment control in the first display form indicates that the object adjustment device 400 is performing a reduction operation; or, when the adjustment operation is a zoom operation and the zoom operation is an enlargement operation, update the display form of the adjustment control to a second display form, and the adjustment control in the second display form indicates that the object adjustment device 400 is performing an enlargement operation; or, when the adjustment operation is a rotation operation, update the display form of the adjustment control to a third display form, and the adjustment control in the third display form indicates that the object adjustment device 400 is performing a rotation operation; wherein, the above first display form, second display form, and third display form are different from each other.

[0243] In a possible implementation, the number of the above interaction objects is at least two. The processing module 402 is further configured to, after the display module 401 displays the interaction objects and the adjustment control, in the case of recognizing a second gesture, in response to the second gesture, perform an adjustment operation on one of the interaction objects based on the second anchor point movement trajectory of the anchor point corresponding to the second gesture on one of the at least two interaction objects.

[0244] The object adjustment device in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than the terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiments of the present application do not make specific limitations.

[0245] The object adjustment device in the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

[0246] The object adjustment device provided by the embodiments of the present application can implement Figures 2 to 1 each process implemented by the method embodiments of 6. To avoid repetition, it will not be elaborated here.

[0247] In some embodiments of the present application, as Figure 18 shown, the embodiments of the present application further provide an electronic device 500, including a processor 501 and a memory 502. A program or instruction that can run on the processor 501 is stored on the memory 502. When the program or instruction is executed by the processor 501, it implements each process step of the above object adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0248] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0249] Figure 19 It is a schematic diagram of the hardware structure of an electronic device for implementing the embodiments of the present application.

[0250] The electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, and a processor 610, etc.

[0251] Those skilled in the art can understand that the electronic device 600 can also include a power source (such as a battery) for supplying power to each component. The power source can be logically connected to the processor 610 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 19 The structure of the electronic device shown in does not constitute a limitation on the electronic device. The electronic device can include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0252] Among them, the display unit 606 is used to display the interaction object and the adjustment control.

[0253] The processor 610 is used to, when a first gesture is recognized, in response to the first gesture, based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object.

[0254] Among them, the above adjustment operations include at least one of the following: a scaling operation, a rotation operation, and a moving operation.

[0255] An embodiment of the present application provides an electronic device. Since the electronic device can display an interaction object and adjustment controls, it can be understood that while the electronic device displays the interaction object, it can display one control instead of a large number of control points. Therefore, it is possible to prevent the user from searching for the required control point among a large number of control points, thereby reducing the waiting time required for the electronic device to perform an adjustment operation on the interaction object. Moreover, when the electronic device recognizes the user's first gesture, it can perform an adjustment operation corresponding to the first gesture (i.e., at least one of a scaling operation, a rotation operation, and a moving operation) on the interaction object based on the first anchor movement trajectory of the anchor point corresponding to the first gesture on the adjustment control. It can be understood that the electronic device can perform an adjustment operation required by the user (i.e., the adjustment operation corresponding to the first gesture) on the interaction object according to the user's first gesture. Therefore, it can be ensured that the electronic device can perform the adjustment operation required by the user. In this way, while ensuring that the electronic device can perform the adjustment operation required by the user, the efficiency of the electronic device in performing the adjustment operation on the interaction object can be improved.

[0256] In some embodiments of the present application, the above processor 610 is specifically configured to perform an adjustment operation on the interaction object based on the trajectory start position of the first anchor movement trajectory and the trajectory end position of the first anchor movement trajectory.

[0257] In some embodiments of the present application, the number of first anchor points of the anchor point corresponding to the first gesture on the adjustment control is two, the number of the first anchor movement trajectories is two, and the above adjustment operation includes a scaling operation.

[0258] The above processor 610 is specifically configured to calculate a first distance between the two trajectory start positions and calculate a second distance between the two trajectory end positions; and perform a scaling operation on the interaction object according to the ratio between the second distance and the first distance.

[0259] In some embodiments of the present application, the number of first anchor points of the anchor point corresponding to the first gesture on the adjustment control is two, the number of the first anchor movement trajectories is two, and the above adjustment operation includes a rotation operation.

[0260] The processor 610 is specifically configured to determine a first connection line based on the two trajectory start positions and determine a second connection line based on the two trajectory end positions; and when the included angle between the first connection line and the second connection line is greater than an angle threshold, perform a rotation operation on the interaction object according to the included angle and the rotation direction, and the rotation direction is from the first connection line to the second connection line.

[0261] In some embodiments of the present application, the above display unit 606 is further configured to update the display form of the adjustment control based on an adjustment operation.

[0262] In some embodiments of the present application, specifically, when the adjustment operation is a zoom operation and the zoom operation is a reduction operation, the display unit 606 updates the display form of the adjustment control to a first display form, and the adjustment control in the first display form indicates that the electronic device is performing a reduction operation; or, when the adjustment operation is a zoom operation and the zoom operation is an enlargement operation, the display unit 606 updates the display form of the adjustment control to a second display form, and the adjustment control in the second display form indicates that the electronic device is performing an enlargement operation; or, when the adjustment operation is a rotation operation, the display unit 606 updates the display form of the adjustment control to a third display form, and the adjustment control in the third display form indicates that the electronic device is performing a rotation operation.

[0263] Wherein, the above first display form, second display form, and third display form are all different.

[0264] In some embodiments of the present application, the number of the above interaction objects is at least two.

[0265] The processor 610 is further configured to, after the display unit 606 displays the interaction object and the adjustment control, in the case of recognizing a second gesture, in response to the second gesture, based on the second anchor point movement trajectory of the anchor point corresponding to the second gesture on one of the at least two interaction objects, perform an adjustment operation on the one interaction object.

[0266] It should be understood that in the embodiments of the present application, the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042. The graphics processor 6041 processes the image data of static pictures or videos obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes at least one of a touch panel 6071 and other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. The other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, a joystick, which will not be elaborated herein.

[0267] The memory 609 can be used to store software programs and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data. Among them, the first storage area can store an operating system, application programs or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 609 can include volatile memory or non-volatile memory, or the memory 609 can include both volatile and non-volatile memory. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDR SDRAM), an enhanced SDRAM (ESDRAM), a synch link DRAM (SLDRAM), and a direct rambus RAM (DRRAM). The memory 609 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.

[0268] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor. Among them, the application processor mainly processes operations related to the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above modem processor may not be integrated into the processor 610 either.

[0269] The embodiments of the present application also provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above object adjustment method embodiment and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0270] Among them, the processor is the processor in the electronic device in the above embodiment. The readable storage medium includes computer-readable storage media such as computer read-only memory ROM, random access memory RAM, magnetic disks or optical discs, etc.

[0271] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement each process of the above object adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0272] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system-on-chip, system chip, chip system or system-on-chip, etc.

[0273] The embodiment of the present application provides a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above object adjustment method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0274] It should be noted that in this article, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0275] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), and includes several instructions to enable a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of the present application.

[0276] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative rather than restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them fall within the protection scope of the present application.

Claims

1. An object adjustment method, characterized in that, including: displaying an interaction object and adjustment controls; when a first gesture is recognized, in response to the first gesture, based on a first anchor point movement trajectory of an anchor point corresponding to the first gesture on the adjustment control, performing an adjustment operation corresponding to the first gesture on the interaction object; wherein the adjustment operation includes at least one of the following: a zoom operation, a rotation operation, and a movement operation.

2. The method according to claim 1, wherein The performing, based on the first anchor point movement trajectory of the anchor point corresponding to the first gesture on the adjustment control, the adjustment operation corresponding to the first gesture on the interaction object includes: performing the adjustment operation on the interaction object based on a trajectory start position of the first anchor point movement trajectory and a trajectory end position of the first anchor point movement trajectory.

3. The method according to claim 2, wherein The number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes the zoom operation; The performing, based on the trajectory start position of the first anchor point movement trajectory and the trajectory end position of the first anchor point movement trajectory, the adjustment operation on the interaction object includes: calculating a first distance between the two trajectory start positions and calculating a second distance between the two trajectory end positions; performing the zoom operation on the interaction object according to a ratio between the second distance and the first distance.

4. The method according to claim 2 or 3, characterized in that, The number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point trajectories is two, and the adjustment operation includes the rotation operation; The performing, based on the trajectory start position of the first anchor point movement trajectory and the trajectory end position of the first anchor point movement trajectory, the adjustment operation on the interaction object includes: determining a first connection line based on the two trajectory start positions and determining a second connection line based on the two trajectory end positions; when an included angle between the first connection line and the second connection line is greater than an angle threshold, performing the rotation operation on the interaction object according to the included angle and a rotation direction, where the rotation direction is from the first connection line to the second connection line.

5. The method according to claim 1, wherein The method further includes: updating a display form of the adjustment control based on the adjustment operation.

6. The method according to claim 5, wherein The updating the display form of the adjustment control based on the adjustment operation includes: when the adjustment operation is the zoom operation and the zoom operation is a shrinking operation, updating the display form of the adjustment control to a first display form, and the adjustment control in the first display form indicates that the electronic device is performing the shrinking operation; or, when the adjustment operation is the zoom operation and the zoom operation is an enlarging operation, updating the display form of the adjustment control to a second display form, and the adjustment control in the second display form indicates that the electronic device is performing the enlarging operation; or, when the adjustment operation is the rotation operation, updating the display form of the adjustment control to a third display form, and the adjustment control in the third display form indicates that the electronic device is performing the rotation operation; Among them, the first display form, the second display form, and the third display form are all different.

7. The method according to claim 1, wherein The number of the interaction objects is at least two; After the display interaction objects and the adjustment control, the method further includes: When a second gesture is recognized, in response to the second gesture, based on a second anchor point movement trajectory of an anchor point corresponding to the second gesture on one of the at least two interaction objects, perform the adjustment operation on one of the interaction objects.

8. An object adjustment device, characterized in that, The object adjustment device includes: a display module and a processing module; The display module is configured to display interaction objects and adjustment controls; The processing module is configured to, when a first gesture is recognized, in response to the first gesture, based on a first anchor point movement trajectory of an anchor point corresponding to the first gesture on the adjustment control, perform an adjustment operation corresponding to the first gesture on the interaction object; Among them, the adjustment operation includes at least one of the following: a zoom operation, a rotation operation, and a movement operation.

9. The device according to claim 8, characterized in that, The processing module is specifically configured to perform the adjustment operation on the interaction object based on a trajectory start position of the first anchor point movement trajectory and a trajectory end position of the first anchor point movement trajectory.

10. The device according to claim 9, characterized in that, The number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes the zoom operation; The processing module is specifically configured to calculate a first distance between the two trajectory start positions, and calculate a second distance between the two trajectory end positions; and perform the zoom operation on the interaction object according to a ratio between the second distance and the first distance.

11. The device according to claim 9 or 10, characterized in that, The number of anchor points corresponding to the first gesture on the adjustment control is two, the number of the first anchor point movement trajectories is two, and the adjustment operation includes the rotation operation; The processing module is specifically configured to determine a first connection line based on the two trajectory start positions, and determine a second connection line based on the two trajectory end positions; and when an included angle between the first connection line and the second connection line is greater than an angle threshold, perform the rotation operation on the interaction object according to the included angle and a rotation direction, and the rotation direction is from the first connection line to the second connection line.

12. The device according to claim 8, characterized in that, The display module is further configured to update a display form of the adjustment control based on the adjustment operation.

13. The device according to claim 12, characterized in that, The display module is specifically configured to, when the adjustment operation is the zoom operation and the zoom operation is a reduction operation, update the display form of the adjustment control to a first display form, and the adjustment control in the first display form indicates that the object adjustment device is performing the reduction operation; or, when the adjustment operation is the zoom operation and the zoom operation is an enlargement operation, update the display form of the adjustment control to a second display form, and the adjustment control in the second display form indicates that the object adjustment device is performing the enlargement operation; or, when the adjustment operation is the rotation operation, update the display form of the adjustment control to a third display form, and the adjustment control in the third display form indicates that the object adjustment device is performing the rotation operation. Wherein, the first display form, the second display form, and the third display form are different from each other.

14. The device according to claim 8, characterized in that, The number of the interaction objects is at least two; The processing module is further configured to, after the display module displays the interaction objects and the adjustment control, when a second gesture is recognized, in response to the second gesture, based on a second anchor point movement trajectory of an anchor point corresponding to the second gesture on one of the at least two interaction objects, perform the adjustment operation on one of the interaction objects.

15. An electronic device, characterized in that, It includes a processor and a memory, and the memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the object adjustment method according to any one of claims 1 to 7 are implemented.

16. A readable storage medium, characterized in that, A program or instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, the steps of the object adjustment method according to any one of claims 1 to 7 are implemented.