Cursor control method and device, equipment and medium

By dividing three-dimensional objects into front and side, and determining the cursor position according to the orientation of the user's palm, the problem of the user needing to rotate the object when interacting with three-dimensional objects is solved, and the interaction efficiency is improved.

CN119902621APending Publication Date: 2025-04-29VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411997422.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

In headset devices such as mixed reality, when interacting with three-dimensional objects, users usually need to rotate the object to interact with the sides, resulting in low interaction efficiency.

Method used

Direct interaction of the side is achieved by dividing the first object operated by the user into a front face and at least one side, and determining the first side from the at least one side according to the orientation of the user's first palm, the cursor is moved to the first side.

Benefits of technology

Without rotating the object, the user can directly move the cursor to the side of the object through the direction of his palm, improving interaction efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902621A_ABST
    Figure CN119902621A_ABST
Patent Text Reader

Abstract

The invention discloses a cursor control method and device, equipment and a medium, and belongs to the technical field of electronic equipment. The cursor control method comprises the steps that a first object operated by a user is divided into a front face and at least one side face; determining a first side surface from the at least one side surface according to the orientation of the first palm of the user; and moving the cursor to the first side surface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of electronic equipment, and specifically relates to a cursor control method, device, equipment and medium. Background Art

[0002] With the maturity of head-mounted display devices and interaction methods such as mixed reality, users can interact with devices through handles or data gloves. However, in the process of interaction, for three-dimensional objects, usually only the front side of the three-dimensional object facing the user can be selected for interaction. When the user chooses to interact with other sides of the three-dimensional object, the user needs to rotate the three-dimensional object so that the side that the user wants to interact with becomes the front side facing the user before interacting. The operation process is cumbersome, resulting in low interaction efficiency. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a cursor control method, device, equipment and medium, which can solve the problem of low interaction efficiency.

[0004] In a first aspect, an embodiment of the present application provides a cursor control method, comprising:

[0005] dividing a first object operated by a user into a front face and at least one side face;

[0006] Determining a first side surface from at least one side surface according to the orientation of a first palm of the user;

[0007] Move the cursor to the first side.

[0008] In a second aspect, an embodiment of the present application provides a cursor control device, comprising:

[0009] A division module, used to divide the first object operated by the user into a front side and at least one side side;

[0010] A first determining module, configured to determine a first side surface from at least one side surface according to the orientation of a first palm of the user;

[0011] The first moving module is used to move the cursor to the first side.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the cursor control method provided in the embodiment of the present application are implemented.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the cursor control method provided in the embodiment of the present application are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the cursor control method provided in the embodiment of the present application.

[0015] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the cursor control method provided in the embodiment of the present application.

[0016] In the embodiment of the present application, the first object operated by the user is divided into the front side and at least one side side; the first side side is determined from the at least one side side according to the orientation of the user's first palm; and the cursor is moved to the first side side. In this way, the user does not need to rotate the object, and can move the cursor to the side of the object according to the orientation of the user's palm, thereby operating the side of the object, which can improve the interaction efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of a cursor control method provided in an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of an object division result provided in an embodiment of the present application;

[0019] Figure 3 is a schematic diagram of a cursor moving to the side provided in an embodiment of the present application;

[0020] Figure 4 is a schematic diagram of moving a cursor laterally provided in an embodiment of the present application;

[0021] Figure 5 is a schematic structural diagram of a cursor control device provided in an embodiment of the present application;

[0022] Figure 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0023] Figure 7 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0026] The cursor control method, device, equipment and medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0027] Figure 1 : is a flow chart of a cursor control method provided in an embodiment of the present application. The cursor control method may include:

[0028] Step 101: Divide a first object operated by a user into a front side and at least one side side;

[0029] Step 102: determining a first side surface from at least one side surface according to the orientation of the user's first palm;

[0030] Step 103: Move the cursor to the first side surface.

[0031] The specific implementation of the above steps will be described in detail below.

[0032] In the embodiment of the present application, the first object operated by the user is divided into the front side and at least one side side; the first side side is determined from the at least one side side according to the orientation of the first palm of the user; and the cursor is moved to the first side side. In this way, the user can move the cursor to the side side of the object without rotating the object, and then operate the side side of the object, which can improve the interaction efficiency.

[0033] In some possible implementations of the embodiments of the present application, before step 101, the cursor control method provided by the embodiments of the present application may further include: identifying a first object, and executing step 101 when the first object is a three-dimensional object.

[0034] The embodiment of the present application does not limit the method used to identify the first object, and any available method can be applied to the embodiment of the present application. For example, the object can be identified using a three-dimensional recognition algorithm based on local features, a three-dimensional recognition algorithm based on global features, or a three-dimensional recognition algorithm based on deep learning.

[0035] In some possible implementations of the embodiments of the present application, when there are multiple objects, the object where the cursor is currently located can be taken as the first object, or the object that intersects with the user's line of sight can be taken as the first object, and the user's focus object can be taken as the first object.

[0036] In some possible implementations of the embodiments of the present application, step 101 may include: using curvature analysis to divide the surface of the first object into at least two areas; determining the area in the at least two areas where the angle between the normal vector and the user's line of sight is the largest as the front side; and determining each area in the at least two areas except the area corresponding to the front side as the side side.

[0037] In some possible implementations of the embodiments of the present application, when the surface of the first object is divided into at least two regions using curvature analysis, the surface curvature of each point on the surface of the first object can be calculated. When the points corresponding to the same surface curvature are not on the same straight line, the points corresponding to the same surface curvature are divided into one region; when the points corresponding to the same surface curvature are on the same straight line, the points corresponding to the same surface curvature are used as the boundary between the two regions.

[0038] After the surface of the first object is divided into at least two areas, the normal vector of each area can be calculated, and then the angle between the normal vector of each area and the direction of the user's line of sight is calculated. The area in the at least two areas where the angle between the normal vector and the user's line of sight is the largest is determined as the front side; each area in the direction area except the area corresponding to the front side is determined as a side side.

[0039] In some possible implementations of the embodiments of the present application, when the user's viewing angle changes, the front and side of the first object will also change accordingly. When the change in the user's viewing angle is greater than a preset angle threshold, the front and side of the first object are re-divided.

[0040] In some possible implementations of the embodiments of the present application, when the first object rotates, the front and side faces of the first object will also change accordingly. When the first object rotates, the front and side faces of the first object are re-divided.

[0041] In some possible implementations of the embodiment of the present application, the first palm in the embodiment of the present application is the palm of the hand whose gesture characteristics have changed.

[0042] In some possible implementations of the embodiments of the present application, it is possible that gesture changes occur in both hands of the user. Based on this, before step 102, the cursor control method provided in the embodiments of the present application may also include: when gesture changes occur in both hands of the user, taking the palm of the hand with the largest change in gesture features as the first palm.

[0043] In some possible implementations of the embodiments of the present application, the change amount of the gesture feature in the embodiments of the present application can be measured by the similarity between the gesture feature before the gesture changes and the gesture feature after the gesture changes. The greater the similarity, the smaller the change amount of the gesture feature, and the smaller the similarity, the greater the change amount of the gesture feature. Among them, the similarity between the gesture feature before the gesture changes and the gesture feature after the gesture changes can be obtained by calculating the cosine similarity of the feature vector of the gesture feature before the gesture changes and the feature vector of the gesture feature after the gesture changes.

[0044] In some possible implementations of the embodiments of the present application, step 102 may include: calculating a first angle between the orientation of the first palm and the normal vector of each side surface; and determining a first side surface from at least one side surface according to the first angle.

[0045] In some possible implementations of the embodiments of the present application, the cosine value of the angle between the orientation of the first palm and the normal vector of the side can be calculated through the orientation of the first palm and the normal vector of the side, and then the degree of the angle between the orientation of the first palm and the normal vector of the side can be obtained through the cosine value.

[0046] In some possible implementations of the embodiments of the present application, when determining the first side surface from at least one side surface based on the first angle, the side surface corresponding to the first angle greater than or equal to the first angle and less than or equal to 180° in at least one side surface can be determined as the first side surface.

[0047] In some possible implementations of the embodiments of the present application, the first angle in the embodiments of the present application may be set according to actual needs.

[0048] In some possible implementations of the embodiments of the present application, the side corresponding to the largest first angle among the at least one side may be determined as the first side. When there are at least two side corresponding to the largest first angle, any one of the at least two side corresponding to the largest first angle may be used as the first side; or, the side selected by the user from the at least two side corresponding to the largest first angle may be used as the first side.

[0049] In some possible implementations of the embodiments of the present application, in step 103, when the cursor is moved to the first side surface, the cursor may be rotated around the central axis of the first object so that the cursor is moved to the first side surface. When the cursor is rotated around the central axis of the first object, the cursor may be moved to the first side surface by changing the amount of cursor rotation. After the cursor is moved to the first side surface, the cursor is perpendicular to the normal vector of the first side surface.

[0050] In some possible implementations of the embodiments of the present application, the cursor control method provided by the embodiments of the present application may also include: determining a second displacement of the cursor on the first side according to the first displacement of the user's finger; and moving the cursor on the first side according to the second displacement.

[0051] The embodiments of the present application do not limit the method used to obtain the displacement of the user's fingers in the actual space. Any available method can be applied to the embodiments of the present application. For example, using a camera for collection. For another example, when the user wears data gloves, the displacement of the fingers sent by the data gloves can be directly received.

[0052] In some possible implementations of the embodiments of the present application, when determining the second displacement of the cursor on the first side according to the first displacement of the user's finger, the second displacement can be determined according to the mapping ratio of the displacement of the cursor on the first side to the finger displacement and the first displacement.

[0053] In some possible implementations of the embodiments of the present application, the mapping ratio of the displacement of the cursor on different sides to the displacement of the finger can be determined according to the size of the side and the range of finger movement. The embodiments of the present application do not elaborate on the process of determining the mapping ratio of the displacement of the cursor on different sides to the displacement of the finger according to the size of the side and the range of finger movement. For example, for a certain side, first calculate the second distance that the cursor moves on the front side when the finger moves the first distance, and calculate the third movement distance of the cursor on the side side when the finger moves the first distance based on the second distance that the cursor moves on the front side and the angle between the side side and the front side, and then obtain the mapping ratio of the displacement of the cursor on the side side to the displacement of the finger.

[0054] Exemplarily, assuming that the displacement of the finger is x, and the mapping ratio of the displacement of the cursor on the side to the displacement of the finger is d, the displacement of the cursor on the side is d*x.

[0055] After the displacement of the cursor on the side is determined, the moving direction of the cursor on the side is determined according to the moving direction of the user's finger, and then the cursor is moved on the side in the determined moving direction of the cursor on the side by a second displacement.

[0056] The cursor control method provided by the embodiment of the present application is described below with reference to specific examples. Figures 2 to 4 shown.

[0057] exist Figure 2 In , the object is divided into the front and two sides, the two sides are side A and side B. Figure 3In , the side that the user is going to operate is determined by the direction of the user's palm, and the angles between the user's palm normal vector and the normal vectors of side A and side B are calculated. The angle between the user's palm normal vector and the normal vector of side B is greater than the angle between the user's palm normal vector and the normal vector of side A. Side B is determined as the side that the user is going to operate. By modifying the cursor rotation amount, the cursor is moved from the front to the corresponding position on side B. The direction and distance of the user's index finger tip movement are obtained. Figure 4 It is represented by E in the figure and mapped to the side B, recorded as vector K. Vector K is multiplied by the mapping ratio u corresponding to the side B to obtain vector uK. The vector uK is the displacement of the cursor. The cursor is moved by vector uK, that is, the cursor is moved to the position on the side B where the user expects to operate.

[0058] The cursor control method provided in the embodiment of the present application can be executed by a cursor control device. In the embodiment of the present application, the cursor control device provided in the embodiment of the present application is described by taking the cursor control method executed by the cursor control device as an example.

[0059] Figure 5 Schematic diagram of the structure of the cursor control device provided in the embodiment of the present application. The cursor control device 500 may include:

[0060] A division module 501, configured to divide a first object operated by a user into a front side and at least one side side;

[0061] A first determining module 502, configured to determine a first side surface from at least one side surface according to the orientation of a first palm of a user;

[0062] The first moving module 503 is used to move the cursor to the first side.

[0063] In the embodiment of the present application, the first object operated by the user is divided into the front side and at least one side side; the first side side is determined from the at least one side side according to the orientation of the user's first palm; and the cursor is moved to the first side side. In this way, the user does not need to rotate the object, and can move the cursor to the side of the object according to the orientation of the user's palm, thereby operating the side of the object, which can improve the interaction efficiency.

[0064] In some possible implementations of the embodiments of the present application, the division module 501 is specifically used for:

[0065] dividing the surface of the first object into at least two regions using curvature analysis;

[0066] The area with the largest angle between the normal vector and the user's sight direction in at least two areas is determined as the front side;

[0067] Each area of ​​the at least two areas, except the area corresponding to the front side, is determined as a side surface.

[0068] In some possible implementations of the embodiment of the present application, the first determining module 502 includes:

[0069] A calculation submodule, used for calculating a first angle between the orientation of the first palm and the normal vector of each side surface;

[0070] The determination submodule is used to determine a first side surface from at least one side surface according to the first angle.

[0071] In some possible implementations of the embodiments of the present application, the determination submodule is specifically used for:

[0072] A side surface corresponding to a first angle greater than or equal to the first angle and less than or equal to 180° among at least one side surface is determined as a first side surface.

[0073] In some possible implementations of the embodiments of the present application, the cursor control device provided by the embodiments of the present application further includes:

[0074] A second determining module, used to determine a second displacement of the cursor on the first side surface according to the first displacement of the user's finger;

[0075] The second moving module is used to move the cursor on the first side according to the second displacement.

[0076] In some possible implementations of the embodiments of the present application, the second determining module is specifically configured to:

[0077] The second displacement is determined according to a mapping ratio of the displacement of the cursor on the first side surface to the displacement of the finger and the first displacement.

[0078] In some possible implementations of the embodiments of the present application, the cursor control device provided by the embodiments of the present application further includes:

[0079] The third determination module is used to, when gesture changes occur in both hands of the user, take the palm of the hand with the largest change in gesture feature as the first palm.

[0080] The cursor control device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0081] The cursor control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0082] The cursor control device provided in the embodiment of the present application can achieve Figures 1 to 4 To avoid repetition, the various processes implemented in the cursor control method embodiment are not described here.

[0083] Alternatively, if Figure 6 As shown, an embodiment of the present application further provides an electronic device 600, including a processor 601 and a memory 602, wherein the memory 602 stores programs or instructions that can be executed on the processor 601, and when the program or instructions are executed by the processor 601, the various steps of the cursor control method embodiment provided in the embodiment of the present application are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.

[0084] Figure 7 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.

[0085] The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.

[0086] Those skilled in the art will appreciate that the electronic device 700 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 710 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 7 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0087] The processor 710 is used to: divide the first object operated by the user into a front side and at least one side side; determine the first side side from at least one side side according to the orientation of the user's first palm; and move the cursor to the first side side.

[0088] In the embodiment of the present application, the first object operated by the user is divided into the front side and at least one side side; the first side side is determined from the at least one side side according to the orientation of the user's first palm; and the cursor is moved to the first side side. In this way, the user does not need to rotate the object, and can move the cursor to the side of the object according to the orientation of the user's palm, thereby operating the side of the object, which can improve the interaction efficiency.

[0089] In some possible implementations of the embodiments of the present application, the processor 710 is specifically configured to:

[0090] dividing the surface of the first object into at least two regions using curvature analysis;

[0091] The area with the largest angle between the normal vector and the user's sight direction in at least two areas is determined as the front side;

[0092] Each area of ​​the at least two areas, except the area corresponding to the front side, is determined as a side surface.

[0093] In some possible implementations of the embodiments of the present application, the processor 710 is specifically configured to:

[0094] Calculate the first angle between the orientation of the first palm and the normal vector of each side surface;

[0095] A first side surface is determined from at least one side surface according to the first angle.

[0096] In some possible implementations of the embodiments of the present application, the processor 710 is specifically configured to:

[0097] A side surface corresponding to a first angle greater than or equal to the first angle and less than or equal to 180° among at least one side surface is determined as a first side surface.

[0098] In some possible implementations of the embodiment of the present application, the processor 710 is further configured to:

[0099] Determining a second displacement of the cursor on the first side surface according to the first displacement of the user's finger;

[0100] According to the second displacement, the cursor is moved on the first side.

[0101] In some possible implementations of the embodiments of the present application, the processor 710 is specifically configured to:

[0102] The second displacement is determined according to a mapping ratio of the displacement of the cursor on the first side surface to the displacement of the finger and the first displacement.

[0103] In some possible implementations of the embodiment of the present application, the processor 710 is further configured to:

[0104] The third determination module is used to, when gesture changes occur in both hands of the user, take the palm of the hand with the largest change in gesture feature as the first palm.

[0105] It should be understood that in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 707 includes a touch panel 7071 and at least one of other input devices 7072. The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts: a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

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

[0107] The processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 710.

[0108] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the cursor control method embodiment provided in the embodiment of the present application are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0109] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of computer-readable storage media include non-transitory computer-readable media, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0110] An embodiment of the present application also provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the cursor control method embodiment provided in the embodiment of the present application, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0111] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0112] The embodiment of the present application also 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 various processes of the cursor control method embodiment provided in the embodiment of the present application, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0113] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes 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 sentence "comprise one..." do not exclude the presence of other identical elements 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 reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0114] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course 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, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0115] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A cursor control method, characterized in that: The method comprises: dividing a first object operated by a user into a front face and at least one side face; Determining a first side surface from the at least one side surface according to the orientation of the first palm of the user; Move the cursor to the first side.

2. The method according to claim 1, characterized in that The step of dividing the first object operated by the user into a front side and at least one side side includes: dividing the surface of the first object into at least two regions using curvature analysis; Determine the area in which the angle between the normal vector and the user's sight direction is the largest among the at least two areas as the front side; Each area of ​​the at least two areas, except the area corresponding to the front side, is determined as the side surface.

3. The method according to claim 1, characterized in that The determining the first side surface from the at least one side surface according to the orientation of the first palm of the user includes: Calculating first angles between the orientation of the first palm and the normal vector of each of the side surfaces; The first side surface is determined from the at least one side surface according to the first angle.

4. The method according to claim 3, characterized in that The determining the first side surface from the at least one side surface according to the first angle includes: The side surface corresponding to the first angle that is greater than or equal to the first angle and less than or equal to 180° among the at least one side surface is determined as the first side surface.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Determining a second displacement of the cursor on the first side surface according to the first displacement of the user's finger; The cursor is moved on the first side according to the second displacement.

6. The method according to claim 5, characterized in that The step of determining a second displacement of the cursor on the first side surface according to the first displacement of the user's finger comprises: The second displacement is determined according to a mapping ratio of the displacement of the cursor on the first side surface to the displacement of the finger and the first displacement.

7. The method according to claim 1, characterized in that Before determining the first side surface from the at least one side surface according to the orientation of the first palm of the user, the method further includes: When gesture changes occur in both hands of the user, the palm of the hand with the largest change in gesture feature is taken as the first palm.

8. A cursor control device, characterized in that: The device comprises: A division module, used to divide the first object operated by the user into a front side and at least one side side; A first determining module, configured to determine a first side surface from the at least one side surface according to the orientation of a first palm of the user; The first moving module is used to move the cursor to the first side.

9. The device according to claim 8, characterized in that The division module is specifically used for: dividing the surface of the first object into at least two regions using curvature analysis; Determine the area in which the angle between the normal vector and the user's sight direction is the largest among the at least two areas as the front side; Each area of ​​the at least two areas, except the area corresponding to the front side, is determined as the side surface.

10. The device according to claim 8, characterized in that The first determining module comprises: a calculation submodule, configured to calculate a first angle between the orientation of the first palm and a normal vector of each of the side surfaces; A determination submodule is used to determine the first side surface from the at least one side surface according to the first angle.

11. The device according to claim 10, characterized in that The determination submodule is specifically used for: The side surface corresponding to the first angle that is greater than or equal to the first angle and less than or equal to 180° among the at least one side surface is determined as the first side surface.

12. The device according to any one of claims 8 to 11, characterized in that The device also includes: A second determining module, configured to determine a second displacement of the cursor on the first side surface according to the first displacement of the user's finger; The second moving module is used to move the cursor on the first side according to the second displacement.

13. The device according to claim 12, characterized in that The second determining module is specifically used for: The second displacement is determined according to a mapping ratio of the displacement of the cursor on the first side surface to the displacement of the finger and the first displacement.

14. The device according to claim 8, characterized in that The device also includes: The third determining module is used to, when gesture changes occur in both hands of the user, take the palm of the hand with the largest change in gesture feature as the first palm.

15. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the cursor control method according to any one of claims 1 to 7 are implemented.

16. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the cursor control method according to any one of claims 1 to 7 are implemented.