Region adjustment method and device

By dividing the display area into gesture action areas with different parameters, the problem of misoperation of electronic devices during gesture interaction is solved, and more accurate and convenient user interaction is achieved.

CN118625936APending Publication Date: 2024-09-10LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410851419.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

When electronic devices perform human-computer interaction based on gesture movements, misoperations are prone to occur. For example, finger shaking causes the model posture to change or the view position to be misadjusted. The gesture movement range is too large, causing the object to move off the screen.

Method used

Divide the display area into two areas, recognize gesture actions with different parameters respectively, and adjust these areas according to area adjustment events to ensure that the user's actions in a specific area are accurately recognized and corresponding controls are executed to avoid misoperations.

Benefits of technology

By distinguishing the areas of gesture action parameters, misoperations caused by finger shaking or large movements are avoided, the accuracy and convenience of interaction are improved, and the user can finely or roughly operate the corresponding objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118625936A
    Figure CN118625936A
Patent Text Reader

Abstract

The invention discloses a region adjustment method and device, and the method comprises the steps: determining a first region and a second region in a display region, and enabling the parameters of a gesture action which can be recognized in the first region to be different from the parameters of a gesture action which can be recognized in the second region; in response to detecting the region adjustment event, the first region and the second region are adjusted in accordance with the region adjustment event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a region adjustment method and device. Background Art

[0002] Some electronic devices are able to recognize user gestures and control objects (such as three-dimensional models, views, windows, etc.) displayed on the screen based on the gestures, thereby realizing human-computer interaction based on gestures.

[0003] Electronic devices are prone to misoperation when performing human-computer interaction based on gestures. For example, when controlling the movement of a three-dimensional model based on hand movements, the electronic device may change the posture of the model based on unintentional shaking of the fingers. When fine-tuning the position of the view, the electronic device may move the view a long distance due to the excessive amplitude of the gesture. Summary of the invention

[0004] To this end, this application discloses the following technical solutions:

[0005] A first aspect of the present application provides a region adjustment method, comprising:

[0006] Determining a first area and a second area in the display area, wherein parameters of a gesture action that can be recognized in the first area are different from parameters of a gesture action that can be recognized in the second area;

[0007] In response to detecting a zone adjustment event, the first zone and the second zone are adjusted according to the zone adjustment event.

[0008] Optionally, determining the first area and the second area in the display area includes:

[0009] Determine a circular area in the display area with the user's sight point as the center as a first area, and determine an area outside the first area as a second area;

[0010] or,

[0011] In the display area, an area occupied by the display window where the user's line of sight falls is determined as a first area, and an area outside the first area is determined as a second area.

[0012] Optionally, the detecting of a region adjustment event includes at least one of the following:

[0013] Detecting the movement of the user's gaze point;

[0014] detecting a target gesture action for adjusting the first area and the second area;

[0015] A change in an object displayed in the display area is detected.

[0016] Optionally, also include:

[0017] In response to recognizing a first gesture action within the first area, controlling a first object within the first area to move according to the first gesture action;

[0018] The first area is adjusted according to the motion mode and motion parameters of the first object.

[0019] Optionally, controlling the movement of the first object in the first area according to the first gesture action includes:

[0020] Obtaining position information of the first object in a vertical direction, where the vertical direction is perpendicular to the display area;

[0021] The movement of the first object in the first area is controlled according to the vertical position information of the first object and the first gesture action.

[0022] Optionally, controlling the movement of the first object in the first area according to the first gesture action includes:

[0023] Determining a relative position relationship of the first object, where the relative position relationship represents a position relationship between the first object and a hand performing the first gesture action;

[0024] The movement of the first object in the first area is controlled according to the relative position relationship and the first gesture action.

[0025] Optionally, also include:

[0026] Displaying objects in the first area with a first display parameter;

[0027] The objects in the second area are displayed with second display parameters.

[0028] Optionally, also include:

[0029] In response to identifying a second gesture action in the first area, determining a target gesture mapping rule corresponding to the current application scenario, the gesture mapping rule including a correspondence between a gesture action and a control mode, and different gesture mapping rules have different correspondences for the same gesture action;

[0030] Determining a target control mode according to the second gesture action and the target gesture mapping rule;

[0031] The second object in the first area is controlled according to the target control mode.

[0032] Optionally, determining the target control mode according to the second gesture action and the target gesture mapping rule includes:

[0033] Determine an action parameter of the second gesture action, where the action parameter includes at least one of a force parameter and a speed parameter;

[0034] The target control mode is determined according to the second gesture action, the action parameter and the target gesture mapping rule.

[0035] A second aspect of the present application provides a region adjustment device, including:

[0036] a determining unit, configured to determine a first area and a second area in the display area, wherein parameters of gesture actions recognizable in the first area are different from parameters of gesture actions recognizable in the second area;

[0037] An adjustment unit is configured to, in response to detecting a region adjustment event, adjust the first region and the second region according to the region adjustment event. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0039] Figure 1 is a flow chart of a region adjustment method provided in an embodiment of the present application;

[0040] Figure 2 is a schematic diagram of determining a first area and a second area provided in an embodiment of the present application;

[0041] Figure 3 is a schematic diagram of adjusting a first area and a second area provided in an embodiment of the present application;

[0042] Figure 4 is a schematic diagram of controlling an object in a first area according to a gesture action provided by an embodiment of the present application;

[0043] Figure 5 is a structural schematic diagram of a region adjustment device provided in an embodiment of the present application;

[0044] Figure 6 It is a structural schematic diagram of another area adjustment device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0046] This embodiment provides a method for adjusting the area. Figure 1 , the method may include the following steps.

[0047] S101, determining a first area and a second area in a display area, wherein parameters of a gesture action recognizable in the first area are different from parameters of a gesture action recognizable in the second area.

[0048] The execution subject of this embodiment can be any electronic device that supports gesture interaction, including but not limited to mobile phones, tablet computers, and laptop computers. The electronic device can have a naked-eye 3D display screen or not.

[0049] The display area may be a partial area on the display screen of the electronic device, or may be the entire display screen.

[0050] The electronic device can determine the first area and the second area in a variety of ways. For example, the electronic device can determine the first area and the second area based on the line of sight of a user using the electronic device, or based on objects displayed in the display area, or based on manual configuration by the user.

[0051] The point where the user's gaze falls can be determined by utilizing the shooting module of the electronic device in combination with relevant gaze tracking algorithms.

[0052] In an example, see Figure 2 , the electronic device may determine a circular area in the display area with the user's sight point as the center as the first area, and determine an area outside the first area as the second area. In this case, the electronic device may first determine the position of the sight point in the display area, and then determine a circular area with a target radius with the position as the center as the first area, and determine an area outside the first area as the second area.

[0053] The target radius may be a fixed value specified by the user, or may be dynamically set by the electronic device according to factors such as the currently running application, the number, size, and type of objects displayed in the display area, etc. For example, when the number or type of objects displayed in the display area is large, a smaller target radius may be determined, and when the number or type of objects displayed in the display area is small, a larger target radius may be determined.

[0054] In one example, if it is determined that the user's line of sight is located in any display window or any view in the display area, the electronic device can determine the area occupied by the display window (or view) where the user's line of sight is located in the display area as the first area, and determine the area outside the first area as the second area.

[0055] In one example, the electronic device may determine the upper half of the display area as the first area and the lower half as the second area, or the left half as the first area and the right half as the second area according to the user's configuration.

[0056] In one example, the electronic device can predict the objects that the user may be interested in among multiple objects displayed in the display area based on information such as the currently running application and the user's historical operating habits, and determine the area where these objects are located as the first area and determine the other areas as the second area.

[0057] The gestures that can be recognized by the electronic device in the first area and the gestures that can be recognized by the electronic device in the second area can have different parameters. The parameters of the gestures include but are not limited to the type of gesture, the amplitude of the gesture, the speed of the gesture, etc.

[0058] In some embodiments, the types of gesture actions that the electronic device can recognize in the first area and the types of gesture actions that can be recognized in the second area may be different. The same gesture action may be recognized by the electronic device when implemented in the first area, but not recognized when implemented in the second area. It may also be recognized by the electronic device when implemented in the second area, but not recognized when implemented in the first area.

[0059] For example, see Figure 3 (2) The gesture of rotating the thumb around the index finger or moving the thumb forward and backward along the index finger can be recognized by the electronic device if it is performed in the first area, but not in the second area. The gesture of clenching an open hand into a fist can be recognized by the electronic device if it is performed in the second area, but not in the first area.

[0060] In some embodiments, the amplitude of gesture actions that the electronic device can recognize in the first area and the amplitude of gesture actions that can be recognized in the second area may be different. For example, gesture actions with a smaller amplitude (i.e., an amplitude less than a certain threshold) implemented in the first area can be recognized, while gesture actions with a larger amplitude are not recognized; gesture actions with a larger amplitude implemented in the second area can be recognized, while gesture actions with a smaller amplitude are not recognized.

[0061] For example, a large sliding motion of the index finger in the second area can be recognized by the electronic device, while a large sliding motion of the index finger in the first area cannot be recognized by the electronic device.

[0062] In some embodiments, the speed of gesture actions that the electronic device can recognize in the first area and the speed of gesture actions that can be recognized in the second area can be different. For example, gesture actions performed at a slower speed (i.e., the speed is less than a certain threshold) in the first area can be recognized, while gesture actions with a faster speed are not recognized; gesture actions performed at a faster speed in the second area can be recognized, while gesture actions with a slower speed are not recognized.

[0063] For example, the action of quickly sliding the index finger in the second area can be recognized by the electronic device, but the action of quickly sliding the index finger in the first area cannot be recognized by the electronic device.

[0064] The method for determining in which area a gesture action is performed may be:

[0065] If the user's finger is in contact with the display screen during the implementation of the gesture action, determine in which area the movement trajectory of the finger's contact point is during the implementation of the action, if it is in the first area, determine that the gesture action is implemented in the first area, and if it is in the second area, determine that the gesture action is implemented in the second area;

[0066] If the user's finger does not touch the display screen during the implementation of the gesture, in this case the movement trajectory of the finger tip in space during the implementation of the action can be determined, and then the trajectory in space can be projected onto the display screen in a direction perpendicular to the display screen. The area in which the gesture is implemented is determined based on the area where the projection is located. If the projection of the trajectory is within the first area, it is determined that the gesture is implemented in the first area. If the projection of the trajectory is within the second area, it is determined that the gesture is implemented in the first area.

[0067] The electronic device can recognize a gesture action, which may be that after the electronic device detects through a sensor that the user has performed the gesture action, in response to the gesture action, the electronic device processes the object displayed in the display area according to the control method corresponding to the gesture action, such as moving, scaling or rotating an object in response to the gesture action. Correspondingly, the electronic device does not recognize a gesture action, which may be that after the electronic device detects through a sensor that the user has performed the gesture action, no control method is executed according to the gesture action, and the object displayed in the display area does not change with the implementation of the gesture action.

[0068] The sensor used to detect gesture movements can be a camera module of an electronic device or a motion sensor in the form of a ring worn on the user's finger. The motion sensor can communicate with the electronic device and transmit at least one of the data of the real-time detected position, speed, and acceleration of the finger to the electronic device, so that the electronic device can detect the user's gesture movements based on these data.

[0069] After determining the first area and the second area, the electronic device can place the objects in the display area in the first area or the second area according to the user's operation, so that the user can control the objects in the first area and the second area through corresponding gesture actions.

[0070] In combination with the foregoing examples, the electronic device can place some objects that require refined operations (such as three-dimensional models that require fine-tuning of posture) in the first area, and place objects that require rough operations (such as views or windows that require large adjustments in size or shape) in the second area. In this way, the user can perform gestures for refined operations in the first area, such as rotating the thumb around the index finger or moving the thumb back and forth along the index finger, sliding the index finger slightly, and other gestures to fine-tune the model in the first area, and perform gestures for rough operations in the second area, such as clenching an open hand into a fist, sliding the index finger significantly, and other gestures to significantly adjust the objects in the second area.

[0071] S102 , in response to detecting a region adjustment event, adjusting the first region and the second region according to the region adjustment event.

[0072] There are many ways to adjust the first area and the second area, including but not limited to adjusting the position, size, shape, etc. of at least one of the first area and the second area.

[0073] In some examples, the electronic device can adjust the position of the first area according to the area adjustment event. Figure 3 (1) and (2) are examples. The electronic device can adjust the event according to the region and change the event originally located in Figure 3 The first circular area at the position shown in (1) is adjusted to Figure 3 The position shown in (2) Figure 3 The circular area with a solid line edge in (2) is the first area after the position is adjusted.

[0074] In some examples, the electronic device can adjust the shape of the first area according to the area adjustment event. Figure 3 (3) is an example, the electronic device can adjust the event according to the area. Figure 3 The first circular area shown in (1) is adjusted to Figure 3 The first area of ​​irregular shape shown in (3).

[0075] In some examples, the electronic device may adjust the size of the first area according to the area adjustment event, such as increasing or decreasing the radius of the circular first area.

[0076] There may be various types of area adjustment events, and this embodiment does not limit the types of area adjustment events.

[0077] As some examples, detecting a zone adjustment event may include at least one of the following:

[0078] Event 1: detecting that the user's gaze point moves;

[0079] Event 2: detecting a target gesture action for adjusting the first area and the second area;

[0080] Event three: a change is detected in the object displayed in the display area.

[0081] If event one is detected, that is, the movement of the user's sight point is detected, the position and / or shape of the first area can be adjusted according to the sight point after the movement, the moving speed of the sight point, etc.

[0082] For example, if it is detected that the sight point moves quickly from one position (recorded as the starting point) to another position) and the end point is outside the first area, the center of the circular first area can be directly moved from the starting point along a straight line to the end point to obtain a circular first area with a target radius and the end point as the center;

[0083] If it is detected that the sight point moves slowly from one position (recorded as the starting point) to another position) the end point, and the end point is outside the first area, the center of the circular first area can be moved from the starting point along the arc to the end point to obtain a circular first area with a target radius and the end point as the center;

[0084] If it is detected that the sight point moves slowly from one position (recorded as the starting point) to another position (recorded as the end point), and the end point is located in the first area, then the end point can be used as the center of the circle to determine a circular area with a radius smaller than the target radius, and the union of the circular area and the original first area is determined as the adjusted first area, thereby obtaining the following: Figure 3 The first area shown in (3).

[0085] If event 2 is detected, that is, a target gesture action for adjusting the first area and the second area is detected, different adjustment methods may be used to adjust the first area according to different detected target gesture actions.

[0086] Exemplarily, if the detected target gesture action is pinching two fingers from the edge of the first area into the first area, the adjustment method may be reducing the size of the first area; if the detected target gesture action is expanding two fingers from the edge of the first area to the outside of the first area, the adjustment method may be increasing the size of the first area; if the detected target gesture action is double-clicking a point on the edge of the first area and then sliding from that point to the outside of the first area, the adjustment method may be stretching the boundary of the first area outward from that point.

[0087] If event three is detected, ie, a change in the object displayed in the display area is detected, the electronic device may increase or decrease the size of the first area according to the situation of the object displayed in the display area after the change.

[0088] Exemplarily, if it is detected that the number of objects displayed in the display area increases, or the types of objects displayed increase, the size of the first area can be appropriately reduced; if it is detected that the number of objects displayed in the display area decreases, or the types of objects displayed decrease, the size of the first area can be appropriately increased.

[0089] The beneficial effects of this embodiment are:

[0090] Two areas for identifying gesture actions of different parameters are divided in the display area, and the two areas are adjusted according to the area adjustment event. Thus, when the user performs a gesture action in any area, the electronic device can accurately identify the gesture action within the corresponding parameter range of the area, but not the gesture action outside the range, thereby avoiding misoperation.

[0091] Exemplarily, the second area can be used to identify gestures with larger movement amplitudes, and the first area can be used to identify gestures with smaller movement amplitudes. When the user moves a three-dimensional model in the second area with a large movement, even if the finger shakes slightly during the movement, the electronic device will not recognize the finger shaking, thereby avoiding the erroneous operation of changing the model posture according to the small shaking. When the user fine-tunes the position of a view in the first area, even if the hand moves significantly, the electronic device will not recognize the significant movement of the hand, thereby avoiding the erroneous operation of moving the view over a long distance.

[0092] Optionally, the electronic device may also display objects in the first area and the second area according to different display parameters, that is, the electronic device may display objects in the first area with first display parameters; and display objects in the second area with second display parameters.

[0093] As some examples, the electronic device may display objects within the first area at a higher resolution and objects within the second area at a lower resolution, or may display objects within the first area at a higher definition and objects within the second area at a lower definition.

[0094] The beneficial effect of the above embodiment is that displaying objects in different areas with different display parameters can help users distinguish the areas where each object is located, allowing users to take appropriate gestures to control the corresponding objects, thereby improving ease of use.

[0095] In some optional embodiments, in order to further assist the user in distinguishing the first area from the second area, the electronic device may directly display the boundary of the first area and / or the second area, such as a solid line or a dashed line frame that just surrounds the first area.

[0096] In some optional embodiments, the electronic device may also adjust the first area or the second area according to the movement of an object displayed in the area.

[0097] For example, the electronic device may adjust the first area according to the following steps:

[0098] In response to recognizing a first gesture action in the first area, controlling the movement of a first object in the first area according to the first gesture action;

[0099] The first area is adjusted according to the motion mode and motion parameters of the first object.

[0100] The first gesture action may be any gesture action for controlling the movement of the first object in the first area.

[0101] The first area may be adjusted in such a manner that, when controlling the first object to move, the first area is synchronously controlled to move according to the movement mode and movement parameters of the first object.

[0102] For example, when the first object is controlled to move 5 centimeters to the right according to the first gesture action, the first area can be synchronously controlled to move 5 centimeters to the right as a whole.

[0103] The first area may also be adjusted in such a manner that, when controlling the movement of the first object, the edge of the first area is synchronously controlled to extend according to the movement mode and movement parameters of the first object.

[0104] For example, when the first object is controlled to move 5 centimeters to the right according to the first gesture action, the right edge of the first area can be synchronously controlled to extend 5 centimeters to the right.

[0105] The first area may also be adjusted in such a manner that the size of the first area is adjusted according to the movement of the first object.

[0106] Exemplarily, assuming that the first object is a three-dimensional model, when controlling the rotation of the first object, the area occupied by the first object in the display area may change as the first object rotates to different angles. For example, when the rectangular model rotates from a posture with the longer side perpendicular to the screen to a posture with the longer side parallel to the screen, the occupied area may increase. In this case, the electronic device can adjust the size of the first area accordingly according to the angle of rotation of the model, and the greater the angle of rotation, the greater the increase.

[0107] The electronic device can also adjust the second area in the above manner. For example, when controlling the movement of a third object in the second area according to a third gesture action, the second area can also be adjusted according to the movement mode and movement parameters of the third object. The adjustment method can refer to the above-mentioned method of adjusting the first area and will not be repeated here.

[0108] By adjusting the corresponding area as the object in the area moves in the above manner, each object can be controlled to always remain in the corresponding area, thereby preventing the object from moving out of the corresponding area and causing the user to be unable to control the object in a specific manner.

[0109] In some optional embodiments, the electronic device may also set different sensitivities for the first area and the second area. For example, a lower sensitivity may be set in the first area so that the user can more easily perform fine operations on objects in the first area, and a higher sensitivity may be set in the second area so that the user can more easily perform large-scale rough operations on objects in the second area.

[0110] In some embodiments, the electronic device may control the first object in different ways according to the different positions of the first object in the vertical direction. That is, the electronic device may control the movement of the first object in the first area according to the first gesture action in the following ways:

[0111] Obtaining position information of the first object in a vertical direction, where the vertical direction is perpendicular to the display area;

[0112] The movement of the first object in the first area is controlled according to the vertical position information of the first object and the first gesture action.

[0113] The vertical position information of the first object may be understood as the depth of the first object, that is, the distance from the first object to the plane where the display screen is located in the vertical direction.

[0114] In the above embodiment, the electronic device can determine the movement mode of the first object according to the first gesture action, determine the motion parameters of the first object according to the movement amplitude of the first gesture action and the position information of the first object in the vertical direction, and then control the movement of the first object according to the determined movement mode and motion parameters.

[0115] For example, assuming that the first gesture action is a two-finger pinch gesture action, the movement mode can be determined as shrinking the first object, and then the reduction amplitude is determined according to the two-finger pinch distance and the depth of the first object. At a specific pinch distance, the smaller the depth of the first object and the closer it is to the display screen, the greater the reduction amplitude; the greater the depth of the first object and the farther it is from the display screen, the smaller the reduction amplitude.

[0116] For another example, assuming that the first gesture action is sliding the index finger to the right, the movement mode can be determined as moving the first object to the right, and then the moving distance is determined based on the sliding distance of the index finger and the depth of the first object. At a specific sliding distance, the smaller the depth of the first object and the closer it is to the display screen, the greater the distance the first object moves to the right; the greater the depth of the first object and the farther it is from the display screen, the smaller the distance the first object moves to the right.

[0117] In the above embodiment, there may be multiple first objects, and the electronic device may determine the target first object that currently needs to be controlled among the multiple first objects according to the depth of each first object and the first gesture action, and then control the target first object according to the first gesture action.

[0118] by Figure 4 (1) is an example. There may be three first objects with different depths in the first area, namely the square model, cylindrical model and triangular pyramid model shown in the figure, among which the square model has the smallest depth and the triangular pyramid model has the largest depth.

[0119] like Figure 4 As shown in (2), assuming that the first gesture action is that the tip of the thumb rests on the index finger and rotates around the index finger, in this case, the electronic device can first determine the target first object to be controlled based on the distance from the tip of the thumb to the tip of the index finger when the first gesture action is implemented, combined with the depth information of each first object.

[0120] Exemplarily, if the distance between the tip of the thumb and the tip of the index finger is short, for example, the distance is less than a preset first threshold, the electronic device can determine a square model with the smallest depth as the target first object; if the distance between the tip of the thumb and the tip of the index finger is moderate, for example, the distance is greater than the first threshold and less than a preset second threshold, the electronic device can determine a cylindrical model with a center depth as the target first object; if the distance between the tip of the thumb and the tip of the index finger is far, for example, the distance is greater than the second threshold, the electronic device can determine a triangular pyramid model with the largest depth as the target first object.

[0121] After determining the target first object, the electronic device can fine-tune the posture of the target first object accordingly according to the rotation angle of the end of the thumb.

[0122] In some optional embodiments, the electronic device may also control the movement of the first object in combination with the relative position relationship of the first object in the following manner:

[0123] Determine a relative position relationship of the first object, where the relative position relationship represents a position relationship between the first object and the hand performing the first gesture action;

[0124] The movement of the first object in the first area is controlled according to the relative position relationship and the first gesture action.

[0125] The positional relationship between the first object and the hand performing the first gesture may include the distance between the two, and may also include the relative positions between the two.

[0126] Assuming that the user performs the first gesture with his right hand, the relative position relationship of the first object may include the distance from the first object to the right hand, and may also include the relative position of the first object and the right hand. The relative position here may indicate whether the first object is on the left or right side of the user's right hand.

[0127] In some embodiments, the electronic device may control the movement of the first object according to different movement parameters based on the distance between the first object and the hand.

[0128] For example, assuming that the first gesture action is sliding the right index finger, the movement mode can be determined as moving the first object to the right. At this time, the electronic device can determine the distance moved by the first object based on the sliding distance of the index finger and the distance from the first object to the right hand. At a specific sliding distance, the farther the distance between the first object and the right hand, the smaller the distance moved to the right by the first object, and the closer the distance between the first object and the right hand, the greater the distance moved to the right by the first object.

[0129] In some embodiments, the electronic device may control the movement of the first object in different motion modes according to the relative positions of the first object and the hand.

[0130] For example, assuming that the first gesture action is a slide of the right index finger to the right, if the first object is on the right side of the right hand when the first gesture action is implemented, the electronic device can determine that the movement of the first object is moving to the right, so the electronic device controls the first object to move to the right according to the slide of the right index finger; if the first object is on the left side of the right hand when the first gesture action is implemented, the electronic device can determine that the movement of the first object is rotating to the right, so the electronic device controls the first object to rotate to the right according to the slide of the right index finger.

[0131] In some optional embodiments, for the same gesture action, the electronic device may determine different control methods suitable for different application scenarios of the first object, thereby controlling the first object in different control methods in different application scenarios.

[0132] That is, after the electronic device recognizes the second gesture action in the first area, the second object in the first area can be controlled according to the second gesture action in the following manner:

[0133] In response to identifying the second gesture action in the first area, determining a target gesture mapping rule corresponding to the current application scenario, the gesture mapping rule including a correspondence between a gesture action and a control mode, and different gesture mapping rules have different correspondences for the same gesture action;

[0134] Determine the target control mode according to the second gesture action and the target gesture mapping rule;

[0135] The second object in the first area is controlled according to the target control mode.

[0136] The second gesture action may be any gesture action for controlling the object in the first area, for example, a single-finger slide or a two-finger pinch.

[0137] The second object may be any one or more objects displayed in the first area, such as any one or more three-dimensional models, views, windows, etc.

[0138] The current application scenario may refer to the application program to which the second object belongs. For example, the second object may belong to any one of a virtual keyboard program, a drawing program, a three-dimensional design program, and a map program.

[0139] In this embodiment, the electronic device can pre-store a variety of different gesture mapping rules and the applicable scenarios corresponding to each gesture mapping rule. For example, the virtual keyboard program corresponds to gesture mapping rule 1, the drawing program corresponds to gesture mapping rule 2, the three-dimensional design program corresponds to gesture mapping rule 3, the map program corresponds to gesture mapping rule 4, etc.

[0140] The gesture mapping rules and the applicable scenarios corresponding to each gesture mapping rule can be manually configured by the user or determined by the electronic device through an artificial intelligence model.

[0141] The corresponding relationship of the same gesture action in different gesture mapping rules is different, that is, in different gesture mapping rules, the same gesture action can be mapped to different control modes.

[0142] For example, in gesture mapping rule 1 corresponding to the virtual keyboard program, the single-finger sliding gesture can be mapped to controlling cursor movement; in gesture mapping rule 2 corresponding to the drawing program, the single-finger sliding gesture can be mapped to adjusting the size or style of the brush; in gesture mapping rule 3 corresponding to the three-dimensional design program, two-finger fitting can be mapped to zooming the canvas; in gesture mapping rule 4 corresponding to the map program, two-finger pinching can be mapped to zooming in or out the map view.

[0143] Furthermore, in the same gesture mapping rule, different gesture actions can be mapped to different control methods. For example, in gesture mapping rule 1 corresponding to the virtual keyboard program, a single-finger sliding gesture can be mapped to control cursor movement, and a multi-finger sliding gesture can be mapped to switch windows or scroll pages.

[0144] Based on the configured multiple gesture mapping rules and the applicable scenarios corresponding to each gesture mapping rule, after recognizing the second gesture action, the electronic device can first determine the current application scenario, that is, determine which program the second object to be controlled by the second gesture action belongs to, and determine the gesture mapping rule corresponding to the current application scenario as the target gesture mapping rule, find out the target control method corresponding to the second gesture action in the target gesture mapping rule, and control the second object according to the target control method.

[0145] In combination with the above example, assuming that the second object is a map view and the second gesture action is a two-finger pinch, the electronic device can determine that the target gesture mapping rule is the above-mentioned gesture mapping rule 4, and then determine that the target control method corresponding to the two-finger pinch action is to zoom in or out the map view, so the electronic device controls the map view to zoom in or out.

[0146] In some optional embodiments, the electronic device may further set different gesture mapping rules for the first area and the second area, so that the same gesture action is mapped to different control modes in the first area and the second area.

[0147] Exemplarily, in the gesture mapping rules of the first area, the single-finger sliding gesture can be mapped to a page turning operation, and in the gesture mapping rules of the second area, the single-finger sliding gesture can be mapped to switching windows or moving a cursor.

[0148] In some optional embodiments, after the electronic device obtains and recognizes the second gesture action, it can also set the corresponding sensitivity according to the current application scenario, and control the second object according to the second gesture action at different sensitivities. For example, if the current scenario is typing, a higher sensitivity can be set, and if the current scenario is drawing or zooming, a lower sensitivity can be set.

[0149] Optionally, the electronic device may also determine different target control modes for the second gesture action according to different action parameters of the second gesture action, and control the second object based on the different target control modes. The process may include the following steps:

[0150] Determine an action parameter of the second gesture action, where the action parameter includes at least one of a force parameter and a speed parameter;

[0151] The target control mode is determined according to the second gesture action, the action parameter and the target gesture mapping rule.

[0152] The action parameter of the second gesture action may include at least one of the strength and speed of the hand when performing the second gesture action.

[0153] The motion parameters can be obtained through a camera module of an electronic device or through a ring-shaped motion sensor worn on a user's finger.

[0154] In this embodiment, the target gesture mapping rule can map the second gesture action to different control modes according to different action parameters. For example, when the pressing force is greater than the force threshold, the single-finger sliding gesture can be mapped to control the movement of the second object; when the pressing force is less than the force threshold, the single-finger sliding gesture can be mapped to drawing a line; when the sliding speed is less than the speed threshold, the multi-finger sliding can be mapped to turning pages; when the sliding speed is greater than the speed threshold, the multi-finger sliding can be mapped to continuous scrolling of the page.

[0155] Based on the configuration of the target gesture mapping rule, the electronic device can determine a suitable control method in the target gesture mapping rule to control the object in the first area according to the second gesture action and its action parameters.

[0156] In combination with the above example, when the second gesture action is a light sliding of multiple fingers and the sliding speed is less than the speed threshold, the electronic device can perform a page turning operation; when the second gesture action is a quick sliding of multiple fingers and the sliding speed is greater than the speed threshold, the electronic device can perform a continuous page scrolling operation.

[0157] In some optional embodiments, the electronic device may also output different prompt information according to different applicable gesture mapping rules, so that the user can determine which gesture mapping rule is currently being used for interaction; the electronic device may also output corresponding prompt information according to different areas corresponding to gesture actions; for example, when it is recognized that the user's gesture action is performed in the first area, the first prompt information corresponding to the first area is output; when it is recognized that the user's gesture action is performed in the second area, the second prompt information corresponding to the second area is output.

[0158] The output form of the prompt information is not limited, including but not limited to vibration of a ring-shaped sensor device worn on the hand, lighting of an LED light of an electronic device, output of a prompt sound by an audio module, display of prompt text in a display area, etc.

[0159] The method of controlling objects based on user gesture actions in the above embodiments can be applied to controlling objects in the first area as well as objects in the second area. The above embodiments of controlling objects in the first area based on gesture actions are merely examples and are not limited to controlling objects in the first area.

[0160] The advantage of mapping the same gesture action to different control methods according to different application scenarios, areas and action parameters of the gesture action is that it can support users to achieve a variety of different operations through simple gesture actions in different usage scenarios, making user operations more flexible and relevant to the usage scenario, thereby improving the usability of electronic devices.

[0161] This embodiment also provides a region adjustment device, see Figure 5 , the device may include the following units.

[0162] A determining unit 501 is used to determine a first area and a second area in the display area, wherein parameters of gesture actions that can be recognized in the first area are different from parameters of gesture actions that can be recognized in the second area;

[0163] The adjusting unit 502 is configured to, in response to detecting a region adjustment event, adjust the first region and the second region according to the region adjustment event.

[0164] Optionally, the determining unit 501 determines the first area and the second area in the display area, including:

[0165] Determine a circular area in the display area with the user's sight point as the center as a first area, and determine an area outside the first area as a second area;

[0166] or,

[0167] In the display area, an area occupied by the display window where the user's line of sight falls is determined as a first area, and an area outside the first area is determined as a second area.

[0168] Optionally, the adjustment unit 502 detects a region adjustment event, including at least one of the following:

[0169] Detecting the movement of the user's gaze point;

[0170] detecting a target gesture action for adjusting the first area and the second area;

[0171] A change in the object displayed in the display area is detected.

[0172] Optional, see Figure 6 The device may further include a control unit 601, configured to:

[0173] In response to recognizing a first gesture action in the first area, controlling the movement of a first object in the first area according to the first gesture action;

[0174] The adjusting unit 502 is further configured to adjust the first region according to the motion mode and motion parameters of the first object.

[0175] Optionally, the control unit 601 controls the movement of the first object in the first area according to the first gesture action, including:

[0176] Obtaining position information of the first object in a vertical direction, where the vertical direction is perpendicular to the display area;

[0177] The movement of the first object in the first area is controlled according to the vertical position information of the first object and the first gesture action.

[0178] Optionally, the control unit 601 controls the movement of the first object in the first area according to the first gesture action, including:

[0179] Determine a relative position relationship of the first object, where the relative position relationship represents a position relationship between the first object and the hand performing the first gesture action;

[0180] The movement of the first object in the first area is controlled according to the relative position relationship and the first gesture action.

[0181] Optionally, the device may further include a display unit 602, configured to:

[0182] Displaying objects in a first area with a first display parameter;

[0183] The objects in the second area are displayed with the second display parameters.

[0184] Optionally, the control unit 601 is further configured to:

[0185] In response to identifying the second gesture action in the first area, determining a target gesture mapping rule corresponding to the current application scenario, the gesture mapping rule including a correspondence between a gesture action and a control mode, and different gesture mapping rules have different correspondences for the same gesture action;

[0186] Determine the target control mode according to the second gesture action and the target gesture mapping rule;

[0187] The second object in the first area is controlled according to the target control mode.

[0188] Optionally, the control unit 601 determines the target control mode according to the second gesture action and the target gesture mapping rule, including:

[0189] Determine an action parameter of the second gesture action, where the action parameter includes at least one of a force parameter and a speed parameter;

[0190] The target control mode is determined according to the second gesture action, the action parameter and the target gesture mapping rule.

[0191] The working principle of the area adjustment device provided in this embodiment can be found in the relevant steps of the area adjustment method provided in this embodiment, and will not be described in detail.

[0192] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0193] For the convenience of description, the above system or device is described by dividing it into various modules or units according to its functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0194] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0195] Finally, it should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0196] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for adjusting a region, comprising: Determining a first area and a second area in the display area, wherein parameters of a gesture action that can be recognized in the first area are different from parameters of a gesture action that can be recognized in the second area; In response to detecting a zone adjustment event, the first zone and the second zone are adjusted according to the zone adjustment event.

2. The method according to claim 1, wherein determining the first area and the second area in the display area comprises: Determine a circular area in the display area with the user's sight point as the center as a first area, and determine an area outside the first area as a second area; or, In the display area, an area occupied by the display window where the user's line of sight falls is determined as a first area, and an area outside the first area is determined as a second area.

3. The method according to claim 1, wherein the detecting of a zone adjustment event comprises at least one of the following: Detecting the movement of the user's gaze point; detecting a target gesture action for adjusting the first area and the second area; A change in an object displayed in the display area is detected.

4. The method according to claim 1, further comprising: In response to recognizing a first gesture action within the first area, controlling a first object within the first area to move according to the first gesture action; The first area is adjusted according to the motion mode and motion parameters of the first object.

5. The method according to claim 4, wherein controlling the movement of the first object in the first area according to the first gesture action comprises: Obtaining position information of the first object in a vertical direction, where the vertical direction is perpendicular to the display area; The movement of the first object in the first area is controlled according to the vertical position information of the first object and the first gesture action.

6. The method according to claim 4, wherein controlling the movement of the first object in the first area according to the first gesture action comprises: Determining a relative position relationship of the first object, where the relative position relationship represents a position relationship between the first object and a hand performing the first gesture action; The movement of the first object in the first area is controlled according to the relative position relationship and the first gesture action.

7. The method according to claim 1, further comprising: Displaying objects in the first area with a first display parameter; The objects in the second area are displayed with second display parameters.

8. The method according to claim 1, further comprising: In response to identifying a second gesture action in the first area, determining a target gesture mapping rule corresponding to the current application scenario, the gesture mapping rule including a correspondence between a gesture action and a control mode, and different gesture mapping rules have different correspondences for the same gesture action; Determining a target control mode according to the second gesture action and the target gesture mapping rule; The second object in the first area is controlled according to the target control mode.

9. The method according to claim 8, wherein determining the target control mode according to the second gesture action and the target gesture mapping rule comprises: Determine an action parameter of the second gesture action, where the action parameter includes at least one of a force parameter and a speed parameter; The target control mode is determined according to the second gesture action, the action parameter and the target gesture mapping rule.

10. A region adjustment device, comprising: a determining unit, configured to determine a first area and a second area in the display area, wherein parameters of gesture actions recognizable in the first area are different from parameters of gesture actions recognizable in the second area; The adjusting unit is configured to, in response to detecting a region adjustment event, adjust the first region and the second region according to the region adjustment event.