Handle control method and device, electronic equipment, storage medium and program product
By adjusting the cursor position in the operating interface by adjusting the first rocker on the handle, the problem of inefficiency of the handle operation in the precise control scenario in the prior art is solved, and more efficient interface operation is achieved.
Patent Information
- Application Number
- CN202510157415.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-12
- Publication Date
- 2025-06-10
AI Technical Summary
When introducing handle support, the prior art has difficulty in user operation and low interaction efficiency for scenarios where precise control is required.
Through the first joystick on the handle, the position of the cursor in the operation interface is determined, the joystick state is switched in response to the cursor in the target area, and the identification is displayed on the operation interface, and the cursor position is adjusted in response to the joystick touch operation.
It improves the operating efficiency of the handle in the interface scrolling application scenario, reduces the difficulty of operation, and achieves an efficient and smooth interactive experience.
Smart Images

Figure CN120122869A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of electronic computers and Internet technologies, and particularly to a method and device for controlling a handle, an electronic device, a storage medium, and a program product. Background Art
[0002] This section aims to provide background or context for the embodiments of the present disclosure described in the claims. The descriptions herein are not admitted to be prior art merely because they are included in this section.
[0003] In order to expand the user group, the importance of full-platform support for applications is gradually increasing. Among them, in the field of applications, full-platform means that an application can run on multiple different operating systems and hardware platforms.
[0004] In the support for full-platform, the introduction and optimization of handle operations have become one of the key points to improve the user experience. Some applications, such as mobile games, did not consider the handle operation requirements during the development period, resulting in high costs when adapting to handle operations after going online.
[0005] In the related art, the subsequent way to introduce support for the handle is usually to evoke a cursor with a direction key, move the cursor with the left joystick, and click with a key to simulate the interaction method of mouse operation.
[0006] However, in the above method, for scenarios that require precise control, it is difficult for users to operate and the interaction efficiency is low. Summary of the Invention
[0007] In view of this, an object of the present disclosure is to provide a method and device for controlling a handle, an electronic device, a storage medium, and a program product, which can at least solve one of the technical problems in the related art to a certain extent.
[0008] Based on the above object, in the first aspect of an exemplary embodiment of the present disclosure, a method for controlling a handle is provided. The handle includes a first joystick, and a graphical user interface is provided through a terminal device. The graphical user interface includes an operation interface and a cursor. The method includes:
[0009] Determine the position of the cursor in the operation interface;
[0010] In response to the position being in a target area of the operation interface, control the first joystick to switch to a first state and display a first identifier on the operation interface;
[0011] In response to a first touch operation on the first joystick, adjust the position of the cursor in the target area.
[0012] Based on the same inventive concept, a second aspect of the exemplary embodiments of the present disclosure provides a handle control device. The handle includes a first joystick. A graphical user interface is provided by a terminal device. The graphical user interface includes an operation interface and a cursor. The device includes:
[0013] A cursor position determination module, configured to determine the position of the cursor in the operation interface;
[0014] An operation identifier display module, configured to control the first joystick to switch to a first state and display a first identifier on the operation interface in response to the position being in a target area of the operation interface;
[0015] An interaction operation implementation module, configured to adjust the position of the cursor in the target area in response to a first touch operation on the first joystick.
[0016] Based on the same inventive concept, a third aspect of the exemplary embodiments of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the method described in the first aspect is implemented.
[0017] Based on the same inventive concept, a fourth aspect of the exemplary embodiments of the present disclosure provides a non-transitory computer-readable storage medium. The non-transitory computer-readable storage medium stores computer instructions for causing a computer to execute the method described in the first aspect.
[0018] Based on the same inventive concept, a fifth aspect of the exemplary embodiments of the present disclosure provides a computer program product, including computer program instructions. When the computer program instructions run on a computer, the computer is caused to execute the method described in the first aspect.
[0019] As can be seen from the above, for the handle control method, device, electronic device, storage medium, and program product provided by the embodiments of the present disclosure, the handle includes a first joystick. A graphical user interface is provided by a terminal device. The graphical user interface includes an operation interface and a cursor. The method includes: determining the position of the cursor in the operation interface; controlling the first joystick to switch to a first state and displaying a first identifier on the operation interface in response to the position being in a target area of the operation interface; adjusting the position of the cursor in the target area in response to a first touch operation on the first joystick. Through the present disclosure, the operation efficiency of the handle in the application scenario of interface scrolling is improved, and the operation difficulty of the handle in the application scenario of interface scrolling is reduced. Description of the Drawings
[0020] To more clearly illustrate the technical solutions in the present disclosure or related technologies, the following will briefly introduce the accompanying drawings required for use in the embodiments or the description of related technologies. Obviously, the accompanying drawings in the following description are only embodiments of the present disclosure. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0021] Figure 1 A schematic diagram of an application scenario of a handle control method in related technologies;
[0022] Figure 2 A schematic diagram of an application scenario of implementing list scrolling through a handle device in related technologies;
[0023] Figure 3 A schematic diagram of an application scenario of implementing cursor movement through a handle device in related technologies;
[0024] Figure 4 A schematic diagram of an application scenario of a handle control method provided by an exemplary embodiment of the present disclosure;
[0025] Figure 5 A schematic flow diagram of a handle control method provided by an exemplary embodiment of the present disclosure;
[0026] Figure 6 Another schematic diagram of an application scenario of a handle control method provided by an exemplary embodiment of the present disclosure;
[0027] Figure 7 Another schematic diagram of an application scenario of a handle control method provided by an exemplary embodiment of the present disclosure;
[0028] Figure 8 Another schematic diagram of an application scenario of a handle control method provided by an exemplary embodiment of the present disclosure;
[0029] Figure 9 A schematic structural diagram of a handle control device provided by an exemplary embodiment of the present disclosure;
[0030] Figure 10 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. Detailed implementation manners
[0031] It can be understood that before using the technical solutions disclosed in the embodiments of the present application, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present application should be informed to users and user authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0032] For example, when responding to an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested by the user will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that performs the operations of the technical solution of this application according to the prompt message.
[0033] As an optional but non-limiting implementation manner, when responding to an active request received from a user, the manner of sending a prompt message to the user can be, for example, in the form of a pop-up window. The prompt message can be presented in text in the pop-up window. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0034] It can be understood that the above process of notifying and obtaining user authorization is only illustrative and does not limit the implementation manner of this application. Other manners that meet relevant laws and regulations can also be applied to the implementation manner of this application.
[0035] It can be understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of corresponding laws, regulations, and related provisions.
[0036] To make the purpose, technical solution, and advantages of this disclosure clearer and more understandable, the principles and spirit of this disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are given only to enable those skilled in the art to better understand and then implement this disclosure, rather than limiting the scope of this disclosure in any way. On the contrary, these embodiments are provided to make this disclosure more thorough and complete, and to be able to convey the scope of this disclosure completely to those skilled in the art.
[0037] In this article, it should be understood that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.
[0038] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present disclosure should have the ordinary meanings understood by those of ordinary skill in the art to which the present disclosure pertains. The terms "first", "second" and similar terms used in the embodiments of the present disclosure do not denote any order, quantity or importance, but are only used to distinguish different components. Words such as "including" or "comprising" mean that the elements or items appearing before this word cover the elements or items listed after this word and their equivalents, without excluding other elements or items. Words such as "connected" or "coupled" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Terms such as "upper", "lower", "left", "right" are only used to indicate relative positional relationships, and when the absolute position of the object being described changes, the relative positional relationship may also change accordingly. The article "a" or "an" before an element does not exclude the existence of multiple such elements.
[0039] The principles and spirit of the present disclosure will be explained in detail below with reference to several representative embodiments of the present disclosure.
[0040] As described in the background art, in order to expand the user base, the importance of full-platform support for applications has been gradually increasing. In the field of applications, full-platform means that an application can run on multiple different operating systems and hardware platforms, including but not limited to the following:
[0041] Home game consoles: such as PlayStation, Xbox, Nintendo Switch, etc.
[0042] Personal computers (PCs): including operating systems such as Windows, macOS, etc.
[0043] Mobile devices: such as smartphones and tablets with iOS and Android operating systems.
[0044] Cloud application platforms: streaming applications over the Internet, and users can use the application without powerful hardware.
[0045] VR / AR platforms: virtual reality (VR) and augmented reality (AR) devices, such as Oculus Rift, HTC Vive, etc.
[0046] In the support for all platforms, the introduction and optimization of handle operations have become one of the key points to improve the user experience. Some applications such as mobile games, novels, and other apps did not consider the handle operation requirements during the development period, resulting in high costs for adapting handle operations after going online. It should be noted that with the development of technology, handle operations can be applied not only to home game consoles but also to personal computers (PCs), mobile devices, cloud application platforms, and VR / AR platforms, etc.
[0047] Next, specific examples will be combined to introduce the solutions for subsequently introducing support for handles in related technologies and explain the existing problems.
[0048] As an example, refer to Figure 1 , and a graphical user interface 101 is provided through the terminal device 100.
[0049] Through the direction keys 201 on the handle device 200, the cursor 102 displayed in the graphical user interface 101 is evoked.
[0050] After evoking the cursor 102, the cursor 102 is moved through the left joystick 202 on the handle device 200, and a click is performed through the function key 203 on the handle device 200 to simulate the interaction method of mouse operations.
[0051] However, the inventors of the present disclosure found that in the above solution, players have difficulties in operating in scenarios that require precise control, and the interaction efficiency is relatively low.
[0052] As an example, refer to Figure 2 , when the related technology realizes list scrolling through the handle device 200:
[0053] Simulating PC mouse operations, hold the function key 203 (such as the A key, B key, X key, or Y key) on the handle device 200 in the click state, and then push up the left joystick 202 on the handle device 200 for a list scroll to simulate a single finger swipe.
[0054] When there are many list items on the graphical user interface 101, multiple operations are required, and the function key 203 on the handle device 200 needs to be kept in the touch state for a long time, with high operation difficulty and poor experience.
[0055] As an example, refer to Figure 3 , when the related technology realizes precise cursor movement operations through the handle device 200:
[0056] The cursor 102 is moved through the left joystick 202 on the handle device 200.
[0057] When performing multi-step operations on the graphical user interface 101 or selecting a screen edge button such as the close button 103, it is necessary to push the left joystick 202 on the handle device 200 relatively many times, which takes a long time, waits for the cursor 102 to move a long distance into place, and is prone to crossing the target button, resulting in poor overall operation fluency.
[0058] To solve the above problems, the present disclosure provides a handle control solution. The handle includes a first joystick, and a graphical user interface is provided through a terminal device. The graphical user interface includes an operation interface and a cursor. The solution specifically includes: determining the position of the cursor in the operation interface; in response to the position being in the target area of the operation interface, controlling the first joystick to switch to a first state and displaying a first identifier on the operation interface; and in response to a first touch operation on the first joystick, adjusting the position of the cursor in the target area.
[0059] Through the present disclosure, the operation efficiency of the handle in the application scenario of interface scrolling is improved, and the operation difficulty of the handle in the application scenario of interface scrolling is reduced. Through some exemplary embodiments, the operation efficiency of the handle in the application scenario of screen edge component selection is improved, and the operation difficulty of the handle in the application scenario of screen edge component selection is reduced. On the basis of the interaction logic of moving the cursor with the handle, fast list scrolling and fast cursor movement are taken into account to achieve an efficient and smooth interaction experience at low cost. It is especially suitable for the situation where mobile games do not consider the handle operation requirements during the initial development stage and then introduce handle support after going online.
[0060] After introducing the basic principles of the present disclosure, the various non-limiting embodiments of the present disclosure will be specifically introduced below.
[0061] Refer to Figure 4 , which is a schematic diagram of an application scenario of the handle control method provided by an exemplary embodiment of the present disclosure.
[0062] In this application scenario, a terminal device 100 and a handle device 200 are included.
[0063] Among them, the terminal device 100 and the handle device 200 can be connected through a wired or wireless communication network to achieve data interaction.
[0064] The terminal device 100 can be an electronic device near the user side with data transmission, multimedia input / output functions, including but not limited to desktop computers, mobile phones, mobile computers, tablet computers, media players, smart wearable devices, personal digital assistants (PDAs), or other electronic devices capable of implementing the above functions. The electronic device can include a processor and a display screen with touch input function, the display screen is used to present a graphical user interface, the graphical user interface can display an application interface, and the processor is used to process application data, generate a graphical user interface, and control the display of the graphical user interface on the display screen.
[0065] The graphical user interface 101 is provided through the terminal device 100, and the content displayed on the graphical user interface 101 includes a cursor 102 and an operation interface 104.
[0066] The handle device 200 includes a left joystick 202 and a right joystick 204.
[0067] Reference Figure 5 , which is a schematic flowchart of a handle control method provided by an exemplary embodiment of the present disclosure.
[0068] The handle control method includes the following steps:
[0069] Step S510: Determine the position of the cursor in the operation interface.
[0070] In specific implementation, the operation interface includes a certain application interface, game, novel, APP page, etc.
[0071] As an example, reference Figure 4 , determine the position of the cursor 102 in the operation interface 104.
[0072] Step S520: In response to the position being in the target area of the operation interface, control the first joystick to switch to the first state and display a first identifier on the operation interface.
[0073] In specific implementation, the target area of the operation interface includes a list in the operation interface, or a browsing page or other interfaces. The range of the target area can be set as partial or the whole.
[0074] In specific implementation, the first identifier is used to represent that the first joystick has switched from the original state to the first state and is used to control the scrolling state of the list.
[0075] As an example, for the first joystick in the original state, refer to the embodiment as Figure 2 shown.
[0076] In specific implementation, displaying a first identifier on the operation interface includes:
[0077] Providing the first identifier on the cursor.
[0078] As an example, referring to Figure 4 , when the cursor 102 is located in the area where the target area 105 in the operation interface 104 is located, control the first identifier 106 to be displayed at the lower right corner on the cursor 102.
[0079] In specific implementation, when the first identifier 106 corresponds to the left joystick 202, the character "L" is displayed in the first identifier 106;
[0080] When the first identifier 106 corresponds to the right joystick 204, the character "R" is displayed in the first identifier 106.
[0081] As an example, referring to Figure 4 , assuming that the first identifier 106 corresponds to the right joystick 204, control the character "R" to be displayed in the first identifier 106 displayed at the lower right corner on the cursor 102.
[0082] Step S530, in response to a first touch operation on the first joystick, adjust the position of the cursor in the target area.
[0083] In specific implementation, the target area includes any one of the following:
[0084] The scrollable area or the paged area of the operation interface.
[0085] In specific implementation, the adjusting the position of the cursor in the target area in response to the first touch operation on the first joystick includes:
[0086] In response to the first touch operation on the first joystick, determine the first direction of the first touch operation;
[0087] Control the target area to move along the first direction to adjust the position of the cursor in the target area.
[0088] In specific implementation, controlling the target area to move along the first direction includes:
[0089] Control the target area to scroll or jump along the first direction.
[0090] As an example, referring to Figure 4 , assuming that the pushing direction for the right joystick 204 is downward, then control the scrolling direction of the target area 105 to be downward.
[0091] In this exemplary embodiment, the handle further includes a plurality of direction keys, and the method further includes:
[0092] In response to a second touch operation on the first joystick, controlling the cursor to move to a first sub-region of the operation interface and controlling the switching of the first identifier to a second identifier;
[0093] In response to a touch operation on any one of the plurality of direction keys corresponding to the second identifier, determining a second direction based on the touched direction key, determining a second sub-region of the operation interface based on the second direction, and controlling the cursor to move to the second sub-region.
[0094] In specific implementation, the first sub-region includes a preset sub-region of the operation interface;
[0095] The second sub-region includes a sub-region adjacent to the first sub-region in the second direction.
[0096] In specific implementation, the determining a second direction based on the touched direction key, determining a second sub-region of the operation interface based on the second direction, and controlling the cursor to move to the second sub-region includes:
[0097] In response to at least a part of the second sub-region not being displayed in the graphical user interface, controlling the operation interface to move until the entire second sub-region is displayed in the graphical user interface.
[0098] As an example, referring to Figure 6 , when there is a touch operation on the right joystick 204 corresponding to the first identifier 106, controlling the cursor 102 to move to the upper edge preset region (such as the middle position of the right edge) of the topmost first sub-region 107 in the list 104, and controlling the switching of the first identifier 106 on the cursor 102 to the second identifier 108;
[0099] When there is a touch operation on the down direction key among the plurality of direction keys 201 corresponding to the second identifier 108, controlling the cursor 102 to move to the upper edge preset region (such as the middle position of the right edge) of the second sub-region 109 adjacent to the first sub-region 107 in the downward direction.
[0100] In specific implementation, the touch operation may be a click operation.
[0101] In this exemplary embodiment, the determining a second direction based on the touched direction key, determining a second sub-region of the operation interface based on the second direction, and controlling the cursor to move to the second sub-region includes:
[0102] In response to at least a part of the second sub-region not being displayed in the graphical user interface, control the operation interface to move until the entire second sub-region is displayed in the graphical user interface.
[0103] In this exemplary embodiment, the handle further includes a trigger button and a plurality of direction buttons, and the method further includes:
[0104] In response to a simultaneous touch operation on at least one of the trigger button and the plurality of direction buttons, control the cursor to move to a first preset position in the operation interface corresponding to the touched direction button.
[0105] In this exemplary embodiment, the simultaneous touch operation on at least one of the trigger button and the plurality of direction buttons includes:
[0106] While in a state of touching the trigger button, touch at least one of the plurality of direction buttons.
[0107] In this exemplary embodiment, when the touched direction buttons are the right direction button and the up direction button, the first preset position is the upper right corner position of the operation interface.
[0108] As an example, referring to Figure 7 , when there is a simultaneous touch operation on the trigger button (left trigger button 205 or right trigger button 206) and the right direction button among the plurality of direction buttons 201, control the cursor 102 to move to the middle position of the right edge in the operation interface corresponding to the touched right direction button;
[0109] When there is a simultaneous touch operation on the trigger button (left trigger button 205 or right trigger button 206) and the left direction button among the plurality of direction buttons 201, control the cursor 102 to move to the middle position of the left edge in the operation interface corresponding to the touched left direction button.
[0110] In this exemplary embodiment, the simultaneous touch operation on at least one of the trigger button and the plurality of direction buttons includes:
[0111] While in a state of touching the trigger button, touch at least one of the plurality of direction buttons.
[0112] In this exemplary embodiment, when the touched direction buttons are the right direction button and the up direction button, the first preset position is the upper right corner position of the operation interface.
[0113] In this exemplary embodiment, the handle further includes a second joystick, and the method further includes:
[0114] In response to a touch operation on the second joystick, control the cursor to move to a second preset position on the operation interface.
[0115] In specific implementation, the second preset position includes the center position of the operation interface.
[0116] As an example, referring to Figure 8 , when there is a touch operation on the second joystick (which can be either the left joystick 202 or the right joystick 204), control the cursor 102 to move to the second preset position on the operation interface.
[0117] In specific implementation, the touch operation can be a click operation.
[0118] In this exemplary embodiment, the method further includes:
[0119] Determine a preset duration, and within the preset duration, control the cursor to move from a starting position to an ending position, and display the moving trajectory of the cursor.
[0120] As an example, corresponding to any of the above embodiments, if the preset duration is 0.5 seconds, then within 0.5 seconds, control the cursor 102 to move from the starting position to the ending position, and display the moving trajectory of the cursor 102.
[0121] Through the above exemplary embodiments, the user can clearly observe the moving trajectory of the cursor 102.
[0122] As can be seen from the above, for the handle control method provided by the embodiments of the present disclosure, the handle includes a first joystick, a graphical user interface is provided through a terminal device, the graphical user interface includes an operation interface and a cursor, and this solution specifically includes: determining the position of the cursor in the operation interface; in response to the position being located in a target area of the operation interface, controlling the first joystick to switch to a first state, and displaying a first identifier on the operation interface; in response to a first touch operation on the first joystick, adjusting the position of the cursor in the target area.
[0123] Through the present disclosure, the operation efficiency of the handle in the application scenario of interface scrolling is improved, and the operation difficulty of the handle in the application scenario of interface scrolling is reduced. Through some exemplary embodiments, the operation efficiency of the handle in the application scenario of selecting screen edge components is improved, and the operation difficulty of the handle in the application scenario of selecting screen edge components is reduced. On the basis of the interaction logic of moving the cursor with the handle, both fast list scrolling and fast cursor movement are taken into account, achieving an efficient and smooth interaction experience at low cost. It is especially suitable for the situation where mobile games do not consider the handle operation requirements during the initial development stage and then introduce handle support after going online.
[0124] It should be noted that the method of the embodiments of the present disclosure can be executed by a single device, such as a computer or a server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In such a distributed scenario, one of the multiple devices can only execute one or more steps of the method of the embodiments of the present disclosure, and these multiple devices will interact with each other to complete the described method.
[0125] It should be noted that some embodiments of the present disclosure have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the above embodiments and still achieve the desired results. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0126] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure also provides a handle control device.
[0127] Referring to Figure 9 , the handle control device includes the following modules:
[0128] A cursor position determination module 910, configured to determine the position of the cursor in the operation interface;
[0129] An operation identifier display module 920, configured to control the first joystick to switch to a first state and display a first identifier on the operation interface in response to the position being in a target area of the operation interface;
[0130] An interaction operation implementation module 930, configured to adjust the position of the cursor in the target area in response to a first touch operation on the first joystick.
[0131] In some exemplary embodiments, the target area includes any one of the following:
[0132] A scrollable area or a paging area of the operation interface.
[0133] In some exemplary embodiments, the interaction operation implementation module 930 is specifically configured to:
[0134] Determine a first direction of the first touch operation in response to the first touch operation on the first joystick;
[0135] Control the target area to move in the first direction to adjust the position of the cursor in the target area.
[0136] In some exemplary embodiments, the operation identification display module 920 is specifically configured to:
[0137] Provide the first identification on the cursor.
[0138] In some exemplary embodiments, the operation identification display module 920 is specifically configured to:
[0139] In response to a second touch operation on the first rocker, control the cursor to move to a first sub-region of the operation interface, and control the switching of the first identification to a second identification;
[0140] In some exemplary embodiments, the interaction operation implementation module 930 is specifically configured to:
[0141] In response to a touch operation on any one of the plurality of direction keys, determine a second direction based on the touched direction key, determine a second sub-region of the operation interface based on the second direction, and control the cursor to move to the second sub-region.
[0142] In some exemplary embodiments, the first sub-region includes a preset sub-region of the operation interface;
[0143] The second sub-region includes a sub-region adjacent to the first sub-region along the second direction.
[0144] In some exemplary embodiments, the interaction operation implementation module 930 is specifically configured to:
[0145] In response to at least a part of the second sub-region not being displayed in the graphical user interface, control the operation interface to move until the entire second sub-region is displayed in the graphical user interface.
[0146] In some exemplary embodiments, the interaction operation implementation module 930 is specifically configured to:
[0147] In response to a simultaneous touch operation on the trigger button and at least one of the plurality of direction keys, control the cursor to move to a first preset position corresponding to the touched direction key in the operation interface.
[0148] In some exemplary embodiments, the interaction operation implementation module 930 is specifically configured to:
[0149] While in a state of touching the trigger button, touch at least one of the plurality of direction keys.
[0150] In some exemplary embodiments, when the touched direction keys are the right direction key and the up direction key, the first preset position is the upper right corner position of the operation interface.
[0151] In some exemplary embodiments, the interaction operation implementation module 930 is specifically configured to:
[0152] In response to a touch operation on the second joystick, control the cursor to move to a second preset position on the operation interface.
[0153] In some exemplary embodiments, the second preset position includes the center position of the operation interface.
[0154] In some exemplary embodiments, the interaction operation implementation module 930 is specifically configured to:
[0155] Determine a preset duration, and within the preset duration, control the cursor to move from a starting position to an ending position and display the movement trajectory of the cursor.
[0156] For convenience of description, when describing the above device, various modules are described separately according to their functions. Of course, when implementing the present disclosure, the functions of each module can be implemented in one or more software and / or hardware.
[0157] The device of the above embodiment is used to implement the corresponding handle control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be described herein again.
[0158] Based on the same inventive concept, corresponding to the method in any of the above embodiments, the present disclosure further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, it implements the handle control method described in any of the above embodiments.
[0159] Figure 10 FIG. shows a more specific schematic diagram of the hardware structure of the electronic device provided in this embodiment. The device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. Among them, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are communicatively connected to each other inside the device through the bus 1050.
[0160] The processor 1010 can be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0161] The memory 1020 can be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 can store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0162] The input / output interface 1030 is used to connect to an input / output module to achieve information input and output. The input / output module can be configured as a component in the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Among them, the input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.
[0163] The communication interface 1040 is used to connect to a communication module (not shown in the figure) to achieve communication interaction between this device and other devices. Among them, the communication module can achieve communication through a wired method (such as USB, network cable, etc.) or through a wireless method (such as a mobile network, WIFI, Bluetooth, etc.).
[0164] The bus 1050 includes a path for transmitting information between various components of the device (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0165] It should be noted that although only the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050 are shown in the above device, in the specific implementation process, this device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solutions of the embodiments of this specification, and do not have to include all the components shown in the figure.
[0166] The electronic device in the above embodiments is used to implement the corresponding handle control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0167] The memory 1020 stores machine-readable instructions executable by the processor 1010. When the electronic device runs, the processor 1010 communicates with the memory 1020 through the bus 1030, so that the processor 1010 executes the following instructions when running:
[0168] Determine the position of the cursor in the operation interface;
[0169] In response to the position being in the target area of the operation interface, control the first joystick to switch to the first state and display a first identifier on the operation interface;
[0170] In response to a first touch operation on the first joystick, adjust the position of the cursor in the target area.
[0171] In a possible implementation, among the instructions executed by the processor 1010, the target area includes any one of the following:
[0172] The scrollable area and the paging area of the operation interface.
[0173] In a possible implementation, among the instructions executed by the processor 1010, the adjusting the position of the cursor in the target area in response to a first touch operation on the first joystick includes:
[0174] In response to a first touch operation on the first joystick, determine the first direction of the first touch operation;
[0175] Control the target area to move in the first direction to adjust the position of the cursor in the target area.
[0176] In a possible implementation, among the instructions executed by the processor 1010, the displaying a first identifier on the operation interface includes:
[0177] Provide the first identifier on the cursor.
[0178] In a possible implementation, among the instructions executed by the processor 1010, after controlling the first joystick to switch to the first state and displaying a first identifier on the operation interface, the method further includes:
[0179] In response to a second touch operation on the first joystick, control the cursor to move to the first sub-area of the operation interface and control the first identifier to be switched to a second identifier;
[0180] In response to a touch operation on any one of the plurality of direction keys, determine a second direction based on the touched direction key, determine a second sub-region of the operation interface based on the second direction, and control the cursor to move to the second sub-region.
[0181] In a possible implementation, in the instructions executed by the processor 1010, the first sub-region includes a preset sub-region of the operation interface;
[0182] The second sub-region includes a sub-region adjacent to the first sub-region along the second direction.
[0183] In a possible implementation, in the instructions executed by the processor 1010, the determining the second direction based on the touched direction key, determining the second sub-region of the operation interface based on the second direction, and controlling the cursor to move to the second sub-region includes:
[0184] In response to at least a part of the second sub-region not being displayed in the graphical user interface, control the operation interface to move until the entire second sub-region is displayed in the graphical user interface.
[0185] In a possible implementation, in the instructions executed by the processor 1010, the handle further includes a trigger key and a plurality of direction keys, and the method further includes:
[0186] In response to a simultaneous touch operation on the trigger key and at least one of the plurality of direction keys, control the cursor to move to a first preset position in the operation interface corresponding to the touched direction key.
[0187] In a possible implementation, in the instructions executed by the processor 1010, the simultaneous touch operation on the trigger key and at least one of the plurality of direction keys includes:
[0188] While in a state of touching the trigger key, touch at least one of the plurality of direction keys.
[0189] In a possible implementation, in the instructions executed by the processor 1010, when the touched direction keys are the right direction key and the up direction key, the first preset position is the upper right corner position of the operation interface.
[0190] In a possible implementation, in the instructions executed by the processor 1010, the method further includes:
[0191] In response to a touch operation on the second joystick, control the cursor to move to a second preset position in the operation interface.
[0192] In a possible implementation manner, among the instructions executed by the processor 1010, the second preset position includes the central position of the operation interface.
[0193] In a possible implementation manner, among the instructions executed by the processor 1010, the method further includes:
[0194] Determine a preset duration, and within the preset duration, control the cursor to move from a starting position to an ending position, and display the moving trajectory of the cursor.
[0195] Based on the same inventive concept, corresponding to the method in any of the above embodiments, the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the handle control method described in any one of the above embodiments.
[0196] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible by a computing device.
[0197] The above non-transitory computer-readable storage medium can be any available medium or data storage device accessible by a computer, including but not limited to magnetic memory (such as floppy disks, hard disks, magnetic tapes, magneto-optical discs (MO), etc.), optical memory (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (such as ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid state drives (SSD)), etc.
[0198] The computer instructions stored in the storage medium of the above embodiment are used to cause the computer to execute the handle control method described in any one of the above exemplary method embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0199] Based on the same inventive concept, corresponding to the handle control method described in any of the above embodiments, the present disclosure also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer to cause the computer and / or the processor to execute the handle control method. Corresponding to the execution subjects of the respective steps in the respective embodiments of the handle control method, the processor that executes the corresponding steps can belong to the corresponding execution subject.
[0200] The computer program product of the above embodiments is used to cause the computer and / or the processor to execute the handle control method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated here.
[0201] Those skilled in the art know that the embodiments of the present disclosure can be implemented as a system, a method, or a computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: completely hardware, completely software (including firmware, resident software, microcode, etc.), or a combination of hardware and software, generally referred to as "circuit", "module" or "system" in this document. In addition, in some embodiments, the present disclosure can also be implemented in the form of a computer program product in one or more computer-readable media, which contain computer-readable program code.
[0202] Any combination of one or more computer-readable media can be adopted. The computer-readable media can be computer-readable signal media or computer-readable storage media. The computer-readable storage media can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive examples) of the computer-readable storage media can include, for example: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, the computer-readable storage media can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device.
[0203] A computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, in which computer-readable program code is carried. Such a propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device.
[0204] The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0205] The computer program code for performing the operations of the present disclosure can be written in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0206] It should be understood that each block of the flowchart and / or block diagram, and combinations of blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine. These computer program instructions, when executed by a computer or other programmable data processing device, produce a device for implementing the functions / operations specified in the blocks of the flowchart and / or block diagram.
[0207] These computer program instructions can also be stored in a computer-readable medium that can cause a computer or other programmable data processing device to work in a specific manner. In this way, the instructions stored in the computer-readable medium produce a product that includes an instruction device for implementing the functions / operations specified in the blocks of the flowchart and / or block diagram.
[0208] Computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other devices, so that a series of operation steps are performed on the computer, other programmable data processing apparatus, or other devices to generate a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable apparatus to provide a process for implementing the functions / operations specified in the blocks of the flowchart and / or block diagram.
[0209] In addition, although the operations of the method of the present disclosure are described in a specific order in the drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart can be changed in the order of execution. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution.
[0210] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. Among them, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the above-mentioned module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0211] It should be noted that although several modules or units of devices for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0212] Those of ordinary skill in the art should understand that: The discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of the present application (including the claims) is limited to these examples; Under the concept of the present application, the technical features in the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations in different aspects of the embodiments of the present application as described above, and for the sake of brevity, they are not provided in detail.
[0213] In addition, for simplicity of explanation and discussion, and so as not to make the embodiments of the present application difficult to understand, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Further, the devices may be shown in block diagram form in order to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details regarding the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (i.e., these details should be entirely within the understanding of those skilled in the art). In cases where specific details (such as circuits) are set forth to describe exemplary embodiments of the present application, it will be apparent to those skilled in the art that the embodiments of the present application may be implemented without these specific details or with variations of these specific details. Accordingly, these descriptions should be regarded as illustrative rather than restrictive.
[0214] Although the present application has been described in connection with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art based on the foregoing description. For example, other memory architectures (such as dynamic RAM (DRAM)) may be used with the embodiments discussed.
[0215] The embodiments of the present application are intended to cover all such alternatives, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of the present application shall be included within the protection scope of the present application.
[0216] Although the spirit and principles of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the specific embodiments disclosed, and the division of each aspect does not mean that the features in these aspects cannot be combined for benefit, and this division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. The scope of the appended claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
Claims
1. A handle control method, wherein the handle includes a first joystick, and a graphical user interface is provided through a terminal device, wherein the graphical user interface includes an operation interface and a cursor, wherein: The method comprises: Determining the position of the cursor in the operation interface; In response to the position being located in a target area of the operation interface, controlling the first joystick to switch to a first state, and displaying a first mark on the operation interface; In response to a first touch operation on the first joystick, a position of the cursor in the target area is adjusted.
2. According to the method of claim 1, the target area includes any one of the following: The scrollable area and page-turning area of the operation interface.
3. The method according to claim 2, wherein in response to the first touch operation on the first joystick, adjusting the position of the cursor in the target area comprises: In response to a first touch operation on the first joystick, determining a first direction of the first touch operation; The target area is controlled to move along the first direction to adjust the position of the cursor in the target area.
4. The method according to claim 1, wherein displaying a first mark on the operation interface comprises: The first mark is provided on the cursor.
5. The method according to claim 1, wherein the handle further comprises a plurality of direction buttons, characterized in that: The method further comprises: In response to a second touch operation on the first joystick, controlling the cursor to move to a first sub-area of the operation interface, and controlling the first mark to switch to a second mark; In response to a touch operation on any one of the multiple direction keys, a second direction is determined based on the touched direction key, a second sub-area of the operation interface is determined based on the second direction, and the cursor is controlled to move to the second sub-area.
6. The method according to claim 5, characterized in that The first sub-area includes a preset sub-area of the operation interface; The second sub-region includes a sub-region adjacent to the first sub-region along the second direction.
7. The method according to claim 5, characterized in that The method of determining a second direction based on the touched direction key, determining a second sub-area of the operation interface based on the second direction, and controlling the cursor to move to the second sub-area includes: In response to at least a portion of the second sub-area not being displayed on the graphical user interface, the operation interface is controlled to move until the entire second sub-area is displayed on the graphical user interface.
8. The method according to claim 1, wherein the handle further comprises a trigger button and a plurality of direction buttons, wherein: The method further comprises: In response to a simultaneous touch operation on the trigger button and at least one direction button among the plurality of direction buttons, the cursor is controlled to move to a first preset position corresponding to the touched direction button in the operation interface.
9. The method according to claim 8, characterized in that The simultaneous touch operation on the trigger button and at least one direction button among the plurality of direction buttons includes: While the trigger button is being touched, at least one direction button among the plurality of direction buttons is touched.
10. The method according to claim 8, characterized in that When the touched direction button is a right direction button and an upward direction button, the first preset position is the upper right corner position of the operation interface.
11. The method according to claim 1, wherein the handle further comprises a second rocker, characterized in that: The method further comprises: In response to a touch operation on the second joystick, the cursor is controlled to move to a second preset position on the operation interface. 12 . The method according to claim 11 , wherein the second preset position comprises a center position of the operation interface.
13. The method according to claim 1, characterized in that The method further comprises: A preset time length is determined, and within the preset time length, the cursor is controlled to move from a starting position to an ending position, and a moving track of the cursor is displayed.
14. A handle control device, the handle comprising a first joystick, providing a graphical user interface through a terminal device, the graphical user interface comprising an operation interface and a cursor, characterized in that: The device comprises: A cursor position determination module, configured to determine the position of the cursor in the operation interface; an operation mark display module, configured to control the first joystick to switch to a first state and display a first mark on the operation interface in response to the position being located in a target area of the operation interface; The interactive operation implementation module is configured to adjust the position of the cursor in the target area in response to a first touch operation on the first joystick.
15. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 13 is implemented.
16. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a computer to execute any one of claims 1 to 13.
17. A computer program product, characterized in that The method comprises computer program instructions, which, when executed on a computer, cause the computer to execute the method according to any one of claims 1 to 13.